social-discuss
[Top][All Lists]
Advanced

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

Re: Change of server hostname does not change it everywhere


From: Diogo Peralta Cordeiro
Subject: Re: Change of server hostname does not change it everywhere
Date: Sat, 30 May 2020 14:29:54 +0100
User-agent: Roundcube Webmail/FCUP

Hi Harry,

You mentioned `scripts/updateurls.php`twice - did you mean some other script with the other?

My bad, the other was meant to be `updateuris.php`, but that's something we are only going to release with GNU social v2 (it's only present in nightly at the moment: https://notabug.org/diogo/gnu-social/src/nightly/scripts/updateuris.php) and, you shouldn't really need it as you're running a standalone single service :)

Happy hacking,
---
Diogo Peralta Cordeiro
Developer
GNU social
https://www.diogo.site/

On 2020-05-29 14:18, Harri Suutari wrote:

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 #social@irc.freenode.net 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,



reply via email to

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