Hardware: Old laptop or computer YunoHost version: 3.6.4.6 I have access to my server : Through SSH | through the webadmin Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
Description of my issue
Hello!
I’ve recently purchased a domain and have began migrating my apps from my domain.nohost.me to my purchased domain.se
So far everything has gone smoothly, I began with the Shell In a box and moved on to Nextcloud, RSS etc to make sure I understood the process with configuring the DNS in the Registrar.
The way I did this was to use the Yunohost web interface of each app to run the change url command.
Now when I took the initiative to start migrating Riot, I really hit a snag.
It seems like even though I’ve done the same procedure as for the other apps (made a subdomain.domain.se, installed let’s encrypt and then changed the domain for Riot, the iOS and desktop applications won’t accept my new domain.se (returns a 404).
Fortunately I guess, the old domain.nohost.me still works in those apps so I’m not blocked from communicating with the other users on Riot.
I don’t, however, know how to proceed.
Strangely enough, accessing riot.domain.se in the web browser seems to work, but the domain.nohost.me doesn’t.
Please advice
Error messages:
I can see a lot of
open() “/var/www/riot/config.riot.domain.se.json” failed (2: No such file or directory),
and indeed there is no such file in the www/riot folder.
There is a config.json in that path however.
Firstly, please use the template to file a support request.
You haven’t made clear how you are doing the migration. Are you using the CLI with the backup and restore commands or? In general, it sounds like you need to run the change_url action on your riot installation so it uses the new domain.
Please disregard my previous comment, I completely misread what you wrote. My apologies.
I ran the change url from the Admin UI to point to my new URL, my subdomain.domain.se
When I now run the change-url command from the terminal, I get the message
The old and new domain/url_path are identical (‘subdomain.domain.se/’), nothing to do
I found a reference to my old domain.nohost.me in /var/www/riot/config.json
Tried changing that to my new domain but without success. Still only in a desktop web browser can I access Riot, but using the mobile app this URL returns a 404 error.
Seems like I’ve yet again conflated the server with the Riot app.
So to make the move of my Synapse installation, and thereby changing the URL of my ‘custom server’-field to my new domain, I’ll have to do a backup, uninstall, re-install to my desired domain and restore procedure to not loose all my conversations and whatnot. Correct?
Looks pretty straightforward, anything I should keep in mind?
For Synapse: it’s not possible to change the domain of the install. Maybe when #136 will be finished something might be possible. But for now nothing is possible because if you change the domain of synapse you change the username of all synapse user… and this is not possible.
For Riot: there are no data. This is just a web client. The app just provide some javascipt and html code and some pictures. Nothing more. So removing this app will dop any data. If you still have a problem to change the url of this app you can just remove the old install and install the app on the new domain.