NodeBB v4.0.0 — Federate good times, come on!
-
wrote on 18 Feb 2025, 18:03 last edited by
@Jakub-Urbanowicz
http://forum_n66_pl
this suggests there's an upstream block.Can you paste your entire nginx config?
-
wrote on 18 Feb 2025, 18:10 last edited by
I am afraid I hit a wall, No idea what else I could do short of reinstalling the whole thing.
-
wrote on 18 Feb 2025, 18:33 last edited by
@julian just a moment; it's a bit complex, because configuration is divided into several files.
-
@Jakub-Urbanowicz
http://forum_n66_pl
this suggests there's an upstream block.Can you paste your entire nginx config?
wrote on 19 Feb 2025, 05:14 last edited by@julian Please find attached a summary of my nginx settings.
The back-end installation of NodeBB was done manually in a home directory, while the reverse proxy is part of on automated server solution called Webinoly. It is typically used for self-hosting WordPress, but not only. It worked pretty well before the advent of Federation capabilities, so I wasn't bothered. I just uncommented some proxy headers in /etc/nginx/apps.d/forum.n66.pl-proxy.conf and added "X-NginX-Proxy true" as per documentation. Mongodb (7.0) is provided from a deb repository as is nodejs.
I'm not sure why the web root directory as mentioned in /etc/nginx/sites-available/forum.n66.pl does not exist (root /var/www/forum.n66.pl/htdocs). I don't even have /var/www/forum.n66.pl/.
Thank you for helping me. -
@julian Please find attached a summary of my nginx settings.
The back-end installation of NodeBB was done manually in a home directory, while the reverse proxy is part of on automated server solution called Webinoly. It is typically used for self-hosting WordPress, but not only. It worked pretty well before the advent of Federation capabilities, so I wasn't bothered. I just uncommented some proxy headers in /etc/nginx/apps.d/forum.n66.pl-proxy.conf and added "X-NginX-Proxy true" as per documentation. Mongodb (7.0) is provided from a deb repository as is nodejs.
I'm not sure why the web root directory as mentioned in /etc/nginx/sites-available/forum.n66.pl does not exist (root /var/www/forum.n66.pl/htdocs). I don't even have /var/www/forum.n66.pl/.
Thank you for helping me.wrote on 19 Feb 2025, 05:34 last edited by@Jakub-Urbanowicz whatever your nginx config, if it was working before, it should not require any changes to support federation.
I would revert back to a working config if you're seeing issues with regular usage of NodeBB. Otherwise if the site is loading fine then tweaking nginx (probably) won't fix anything and the problem likely lies elsewhere.
I will look into your configs tomorrow.
-
@julian haha now that reposting from fedi instances is possible, maybe you need to collapse the "... shared this topic N minutes ago", by default in the UI
wrote on 21 Feb 2025, 18:03 last edited by@wall_e@ioc.exchange This is done now, consecutive shares are merged.
-
wrote on 23 Feb 2025, 08:36 last edited by
@julian Updated to nodejs 22.x and nodebb 4.0.5. Still no joy with Federation. Did you manage to have a look at my Nginx settings? I have quite a few people subscribed, but not a piece of new ever showed from them. Otherwise the forum is working fine.
-
wrote on 23 Feb 2025, 14:36 last edited by
@Jakub-Urbanowicz can you please:
- create a test account on ActivityPub.academy
- Run your NodeBB in dev mode (
./nodebb dev
) - mention your account on your forum?
- Have your forum account reply back.
See if there are any errors logged. ActivityPub errors are only logged to console in dev mode.
-
wrote 13 days ago last edited by
Hi from Lemmy