Open motherboard1999 opened 1 year ago
I would also be interested in seeing how this is resolved. I have not yet tried to change the variable through snap set rocketchat-server siteurl=<URL, not localhost>
but if that is the course I need to take it would be great to know. I do get the same issue, however, of the Site URL resetting to localhost:3000
every time the service restarts. This is on RC 5.4.0.
Hey,
I founded the following bug, which is very critical for us.
We want to change the Site URL of our Rocketchat system. We change it in the webinterface and works perfect UNITL we restart the service. Then Rocketchat use the default "http://localhost:3000" again.
After I changed the URL in the webinterface I checked the snap configuration:
root@rocketchat:~# snap get rocketchat-server siteurl http://localhost:3000
You can see webinterface do not override this variable. I think thats the problem.So I tried to change the variable:
root@rocketchat:~# snap set rocketchat-server siteurl=http://localhost root@rocketchat:~# snap set rocketchat-server siteurl=http://localhost.de error: cannot perform the following tasks: Run configure hook of "rocketchat-server" snap (run hook "configure": [ERROR] "http://localhost.de" is not a valid url)
But you see so soon I use a FQDN with .de the hook says it's not a valid url.+-------------------------------------------------+`
Thank you!