[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change of server hostname does not change it everywhere

From: Harri Suutari
Subject: Re: Change of server hostname does not change it everywhere
Date: Fri, 29 May 2020 16:18:56 +0300
User-agent: Roundcube Webmail/1.3.11

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?


On 2020-05-29 01:02, Diogo Peralta Cordeiro wrote:


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 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
GNU social

On 2020-05-28 21:16, Harri Suutari wrote:
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?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]