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
Hi,
I installed Rocket.chat with the testing branch (6e94ffa).
I just had to comment line 147 mongo --eval "printjson(rs.initiate())" in scripts/install, but I managed to install it.
I also had another problem (introduced with the last commit I am afraid), I installed it in rocketchat.maindomain.tld with the path /, which resulted in an error 404 when opening https://rocketchat.maindomain.tld.
In the rocketchat.service files, ROOT_URL was indeed defined as ROOT_URL=https://rocketchat.maindomain.tld/:3000. Where I could find my server! But this url was not very practical so I needed to change it.
After changing it to ROOT_URL=https://rocketchat.maindomain.tld/, I was still not able to open rocket chat at this address.
Then I found this page explaining that ROOT_URL becomes stored in mongodb at the first connection, so you have to change it there also: https://www.ryadel.com/en/rocket-chat-change-root_url-site-url-rocketchat/
The steps to change url:
> mongo
> use rocketchat
> db.rocketchat_settings.update({"_id":"Site_Url"},{$set:{value:"<YOUR NEW URL>"}})
I thought it would be useful to implement the change_url script.
The text was updated successfully, but these errors were encountered:
The update to version 4.1.2 worked well, thanks!
But the change_url script is not working. ROOT_URL is not changed in rocketchat.service and more importantly "Site_Url" is not changed in mongodb, as I described in my first message.
Maybe adding the following to the change_url script could work:
Hi,
I installed Rocket.chat with the
testing
branch (6e94ffa).I just had to comment line 147
mongo --eval "printjson(rs.initiate())"
inscripts/install
, but I managed to install it.I also had another problem (introduced with the last commit I am afraid), I installed it in
rocketchat.maindomain.tld
with the path/
, which resulted in an error 404 when openinghttps://rocketchat.maindomain.tld
.In the
rocketchat.service
files,ROOT_URL
was indeed defined asROOT_URL=https://rocketchat.maindomain.tld/:3000
. Where I could find my server! But this url was not very practical so I needed to change it.After changing it to
ROOT_URL=https://rocketchat.maindomain.tld/
, I was still not able to open rocket chat at this address.Then I found this page explaining that
ROOT_URL
becomes stored in mongodb at the first connection, so you have to change it there also:https://www.ryadel.com/en/rocket-chat-change-root_url-site-url-rocketchat/
The steps to change url:
I thought it would be useful to implement the
change_url
script.The text was updated successfully, but these errors were encountered: