17

WordPress and ActivityPub: my first fail

@selfhosted

I've already posted about my success and fail in the past, but I have something else to talk about: ActivityPub fails in my self hosted WordPress (hostinger vps).

Setup: YunoHost, WordPress multisite. For a multisite network, YunoHost requires WordPress to reside in a folder. Such as "domain .ext /folder" and not "site1 . domain .ext" or "site2 .domain .ext"

Started setup, the site apparently works. But, before involving a co-worker to help me with theme, I wanted to try installing ActivityPub plugin first.

Immediately WordPress health system, warned that endpoint webfinger wasn't accessible.

Watching the logs, it was YunoHost ssowat and I tried to comment it on domain's nginx file - /etc/nginx/config.d/domain.ext.conf

Result, from 302 error, it returned 500. "error establishing database connection".

The .well-known stays on /var/www/.well-known, while WordPress lives on /var/www/wordpress__3

I set all YunoHost's permissions to "visitors"

I really don't know where to go, at the moment.

#ActivityPub #AskFedi #FediHelp #selfhost #selfhosting #WordPress #YunoHost

you are viewing a single comment's thread
view the rest of the comments
[-] ju_ri@social.tchncs.de 1 points 2 days ago

@elettrona
hmm isn't it you have to leave a code snippet in root folder to reach from mastodon? I don't remember really, sorry

@selfhosted

[-] elettrona@poliversity.it 1 points 2 days ago

@ju_ri @selfhosted I don't think so. The plugin is called "enable mastodon apps"

this post was submitted on 19 Jul 2026
17 points (94.7% liked)

Selfhosted

60861 readers
527 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS