NodeBB v4.0.0 — Federate good times, come on!
-
@julian@community.nodebb.org thanks for the reply! Is there a tracking issue I can subscribe to?
(I am having a lot of fun with our new NodeBB instance btw!)
-
@julian@community.nodebb.org thanks for the reply! Is there a tracking issue I can subscribe to?
(I am having a lot of fun with our new NodeBB instance btw!)
@reynir@forum.fedi.dk there wasn't, so I added one:
Reports of blank posts · Issue #13172 · NodeBB/NodeBB
There are reports of blank posts appearing on NodeBB. They are related to remote posts who have markdown defined. At some point in the logic the post is parsed with the empty content and cached as empty. A NodeBB restart usually temporar...
GitHub (github.com)
-
@julian That and upgrading to 4.0.4 helped a little – at least direct messages are coming through, but following still not working in either direction. Following seems to be set up correctly and confirmed on both the forum and other AP instances. Testing with Friendica and Mastodon. Only the messages are stopped somewhere.
-
@julian I am now unable to import threads using the search area. It worked a few days ago (before 4.0.4) and maybe before changing http to https in config.json. Now I can only follow users without actually following their content (no following is operational). While importing threads worked, it was still useless, because I couldn't join in on conversations.
Yesterday I experimented with different proxy_pass values in my nginx proxy.conf file:proxy_pass http://forum_n66_pl;
– original configurationproxy_pass http://127.0.0.1:4567;
– no effect on AP behaviour, nodebb's admin privileges affectedproxy_pass https://forum_n66_pl;
– resulted in a "Bad Gateway" error.
I attach the recent log file: https://u.pcloud.link/publink/show?code=XZun2L5Zy2PaNwGjuh72kxKbh6Wl9jEb4FmX
Please tell me you know how to fix it.
-
@julian I am now unable to import threads using the search area. It worked a few days ago (before 4.0.4) and maybe before changing http to https in config.json. Now I can only follow users without actually following their content (no following is operational). While importing threads worked, it was still useless, because I couldn't join in on conversations.
Yesterday I experimented with different proxy_pass values in my nginx proxy.conf file:proxy_pass http://forum_n66_pl;
– original configurationproxy_pass http://127.0.0.1:4567;
– no effect on AP behaviour, nodebb's admin privileges affectedproxy_pass https://forum_n66_pl;
– resulted in a "Bad Gateway" error.
I attach the recent log file: https://u.pcloud.link/publink/show?code=XZun2L5Zy2PaNwGjuh72kxKbh6Wl9jEb4FmX
Please tell me you know how to fix it.
@Jakub-Urbanowicz
http://forum_n66_pl
this suggests there's an upstream block.Can you paste your entire nginx config?
-
@julian just a moment; it's a bit complex, because configuration is divided into several files.
-
@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.@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
@wall_e@ioc.exchange This is done now, consecutive shares are merged.
-
@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 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.
-
@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.
@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.