• I recently installed and activated AcivityPub on my website.

    I can see the instance on mastodon.social .

    The blog avator and header images appear and change if I make a changes on my website but my new blog posts don’t appear.

    On the instance, I can see that there are 101 “Older posts from other servers are not displayed.” and the number of posts are up from the 89 when I started this process a few weeks ago but can’t see any of the new posts that I have created since I installed ActivityPub. I’ve been following since I set it up.

    Here’s what I have done to try to troubleshoot:

    check WordPress Site Health: no errors related to ActivityPub
    Installed, and updated the AcitvityPub Plugin
    Deactivated Plugin, waited
    reactivated plugin, waited
    created new posts and waited

    Help?


    @[email protected]

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

Viewing 15 replies - 1 through 15 (of 19 total)
  • Same here!

    Plugin Author Matthias Pfefferle

    (@pfefferle)

    Hey @sandrak2024 ??

    Mastodon does not import old posts yet, that is why the total number of posts will always be bigger than the actual number.

    I can see an issue, where your posts will not return the needed JSON, when called with a special Accept header. Here is an example request that should return JSON instead of HTML:

    curl "https://themobileretiree.com/portugal-national-tile-museum/" \
    -H 'Accept: application/ld+json; profile="https://www.w3.org/ns/activitystreams"'

    The issue here is most likely caching. We have made a list of plugins that support/do not support ActivityPub here: https://github.com/Automattic/wordpress-activitypub/wiki/Caching

    Sorry for all the technical details, but ActivityPub has some specialties that do not always work nicely on shared hosting or might have issues with other plugins. We hope to work around that better in the future!

    @srbanister to be able to help you, I would also need some more informations, like your blog URL for example.

    @pfefferle thank you so much for your quick reply! It seems like caching might be the solution here, as I use WP-Optimize for my blog at https://urbanister.photos.

    This plugin is great because it also supports excluding URLs from caching. This is really useful for the RSS feed, for example. I wonder if that could be an option for our problem here? It would be really helpful to know what URLs to exclude in this case.

    Plugin Author Matthias Pfefferle

    (@pfefferle)

    @srbanister I am not sure if this is practical, because you would have to exclude all author URLs, post URLs and every other URL of custom post type you want to be supported and then there might not be a lot left to cache ??

    I know that this is very tricky in the WordPress world, but sadly the ActivityPub spec does require it (at least for now, we try to bring other alternatives to the table for future versions of ActivityPub).

    Because WP-Optimize is often used in combination with the ActivityPub plugin, I try to file a support ticket there, to see if we can make both plugins play nicely together.

    Thanks @pfefferle !

    Thread Starter sandrak2024

    (@sandrak2024)

    Thank you @pfefferle for responding so quickly. I’m not a techy so the json stuff is all greek to me. If I disable the offending plugin W3 Total Cache, should that solve the issue? It’s not a long term solution but doable.

    Plugin Author Matthias Pfefferle

    (@pfefferle)

    Thread Starter sandrak2024

    (@sandrak2024)

    @pfefferle Good to hear! In my haste to figure out how to fix this I did disabled the plugin and created a test post…. and I still don’t see it on mastodon.social almost two hours later… ( I did delete the post from my website after waiting about an hour)

    Thoughts on what else I might do to find out why?

    Also, I noticed that even though I changed the blog profile’s header and icon yesterday, the icon updated but the header did not. I have no idea if the issues are related.

    I REALLY appreciate you helping me with this!

    Plugin Author Matthias Pfefferle

    (@pfefferle)

    Do you follow your blog? Can you see yourself in the Followers list of your blog?

    Checking your blogs profile, it says 0 followers, so there is no one, the plugin could send posts to ??

    Thread Starter sandrak2024

    (@sandrak2024)

    ok, now it’s getting even weirder…. yes, I follow the blog or at least I thought I was… because I see the “Unfollow” button, but when you asked this question I went to go double check and although I see the Unfollow button I also see that the profile has zero followers… and just now when I went to go double check I see a post from Jun 16th on the profile, which wasn’t there when I looked this morning… https://mastodon.social/@[email protected]/112626833863296433

    Thread Starter sandrak2024

    (@sandrak2024)

    here’s a screen shot of what I see on the blog profile

    Plugin Author Matthias Pfefferle

    (@pfefferle)

    Try to unfollow and re-follow. Maybe this was also a glitch because of the caching! The post on the fediverse might be because of me. If you put the URL of one of your blog posts into the search field of Mastodon, it will be indexed ??

    Plugin Author Matthias Pfefferle

    (@pfefferle)

    hmmm ??

    just tried it with my Mastodon account and you seem to have a second problem ??

    I will check tomorrow why the plugin does not add the follower properly!

    Thread Starter sandrak2024

    (@sandrak2024)

    Thank you again for all your help! Cool tip about indexing posts. just tried it myself and see a new post on that blog profile… I unfollowed and refollowed… still not a follower… thank you again for all your assistance!

    Plugin Author Matthias Pfefferle

    (@pfefferle)

    @sandrak2024 can you maybe tell me your hosting provider?

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