You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
Our system:
+-------------------------------------------------+ | SERVER RUNNING | +-------------------------------------------------+ | | | Rocket.Chat Version: 5.4.0 | | NodeJS Version: 14.19.3 - x64 | | MongoDB Version: 4.4.15 | | MongoDB Engine: wiredTiger | | Platform: linux | | Process Port: 3000 | | Site URL: https://rc.multamedio.de | | ReplicaSet OpLog: Enabled | | Commit Hash: 51f456a544 | | Commit Branch: HEAD | | | +-------------------------------------------------+
Thank you!
The text was updated successfully, but these errors were encountered: