• I recently moved a blog from wordpress.com, where the activitypub plugin worked perfectly, to self hosting (Amazon Lightsail). I’ve been trying to get ActivityPub working, but so far no luck. Posts don’t show up in Mastodon, follows of the profile (still there from when the blog was on wordpress.com) get “pending” and they don’t show any new posts.

    I’ve determined that wp-cron is running. I’ve checked webfinger for swduncan.com/author/swduncan and it’s ok, site health shows no issues.

    So I check the access logs and find “POST /wp-json/activitypub/1.0/actors/270596/inbox HTTP/1.1” 404, and I’m assuming that’s not good. Any idea what’s broken and/or how to fix?

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Matthias Pfefferle

    (@pfefferle)

    Hey @steveswduncancom ??

    It seems that some Mastodon servers still have the old URLs of WordPress.com in their caches. I just checked on Mastodon.social and it seems to be fine there and I was able to follow your blog.

    https://browser.pub/https://swduncan.com/author/swduncan

    Maybe you can change something little on your profile, so that the plugin will send a Profile-Update to all followers. That said, it seems that I am the only follower for now?!? Have you had issues transferring the followers? Your user ID is a different one on the self hosted blog, so you have to update the activitypub_user_id post meta, to match the new user_id.

    (I think we have to optimize the export/import part a bit)

    Thread Starter [email protected]

    (@steveswduncancom)

    Many thanks for the reply! Well, an account I have on mastodon.art shows that it is following it. Another account on mastodon.social is following it, and you say you’re following it, but I see only 1 follower when I search for the profile, and there should be three. BTW this is all using the web. I don’t need to transfer followers – I haven’t been back into this long enough to have any ??

    When I followed this morning, it no longer said pending.

    I did update the profile, and that came through instantly. I toggled a test post from published->draft->published, and it has not shown up. But it does show up using browser.pub, along with several other posts that seem to be stuck in the outbox…is that a Mastodon.Social issue?

    Last but not least, I don’t understand where I update the activitypub_user_id – is that in the wordpress db?

    Thanks again!

    Plugin Author Matthias Pfefferle

    (@pfefferle)

    Ok, then simply try to unfollow and refollow!

    Thread Starter [email protected]

    (@steveswduncancom)

    Ok, it is all working now it seems. I’d posted under a new user, and so I deleted all the posts since the last one that got federated, and now posts are going through as expected.

    Awesome! Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.