Thanks Diogo, running "php scripts/updateurls.php" fixed the URLs for me. My instance is a standalone single service, so it is simpler without federated dependencies.
You mentioned `scripts/updateurls.php`twice - did you mean some other script with the other? --- Harri On 2020-05-29 01:02, Diogo Peralta Cordeiro wrote: > Hi, > >> anyone out there? > > I'm here! :) > I don't know how many people still are monitoring this mailing list tho, but > there other friendly helpful pals in the project's IRC channel at > #[email protected] that may give you further assistance! ^^ > >> Changing a hostname of the server hosting a Gnusocial instance seems to be a >> bit problematic. The visible setting under Admin / PATHS / Server does not >> change the hostname everywhere. The old hostname, possibly non-functional, >> remains on the URLs of the posts. > > Yes, that's true, I think running `scripts/updateurls.php` and > `scripts/updateurls.php` after doing such changes might fix most if not all > the issues tho. > Note that, although for a non-federated-enabled GNU social instance it is > entirely fine to do such change, in the context of the free network, doing > this kind of change is a bit more complicated - the webfinger aliases must > reflect this change for a smooth transition and eventual other nuances > required by the OStatus protocol (for ActivityPub this would probably be > enough but I still have to check). > >> Does anyone know how to fix this? Possibly replacing a string in the mysql >> database directly? > > It kinda is that easy for a non-federated-enable instance, but it's a bit > more complicated for a federating one. I'll see if we check this up during > the summer. > > Happy hacking, > --- > Diogo Peralta Cordeiro > Developer > GNU social > https://www.diogo.site/ > > On 2020-05-28 21:16, Harri Suutari wrote: > >> Hello, >> anyone out there? >> >> Changing a hostname of the server hosting a Gnusocial instance seems >> to be a bit problematic. The visible setting under Admin / PATHS / >> Server does not change the hostname everywhere. The old hostname, >> possibly non-functional, remains on the URLs of the posts. >> >> Does anyone know how to fix this? Possibly replacing a string in the >> mysql database directly? >> >> Regards,
