Skip to content

Snap set siteurl "is not a valid url" #51

@motherboard1999

Description

@motherboard1999

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions