Comments (12)
For anyone who needed a little more clarification on @michaelgotchosen helpful post. You need to modify field in mongo db instance. open mongo shell -> use rocketchat -> db.rocketchat_settings.update({"_id" : "Site_Url"},{$set:{value:"NEW_URL"}})
from rocket.chat.raspberrypi.
I have been looking to change this setting for a while. I finally took the time to find it. I'm going to place it here in hopes that it will help someone else...
rocketchat->rocketchat_settings->Site_Url->value
breakdown for clarity
rocketchat - db
rocketchat_settings - collection
Site_Url - Key
value - field
from rocket.chat.raspberrypi.
@GorgiAstro I had a similar problem and solved it by dropping mongo database. It appears that ROOT_URL
is read and stored to mongo on first launch. So if you change it later it will be ignored.
from rocket.chat.raspberrypi.
@sekrett I'm having the same problem I miss-clicked the option and then my reverse proxy broke and I can't delete the whole database. Do you know which collection has the settings? Or how can I achieve your behavior?
from rocket.chat.raspberrypi.
OK my bad, when connecting to the web interface, I get a warning that suggests me to change the site URL... And it is possible to change it in the web interface settings.
from rocket.chat.raspberrypi.
@GorgiAstro It appears like you are using my script :) You can change Rocket.Chat environement variables like ROOT_URL in its systemd service in /etc/systemd/system/rocket.chat.service
from rocket.chat.raspberrypi.
Yes, but my question was if the site URL is defined by the environment variable ROOT_URL. Because the site URL when Rocket.Chat started (192.168.178.49) was different than the one (192.168.2.2) I had defined in the systemd service file. Now I fixed the site URL from the web interface, but maybe there is an issue in the Rocket.Chat startup process :)
from rocket.chat.raspberrypi.
After modifying it have you run systemctl daemon-reload
and then systemctl restart rocket.chat
?
from rocket.chat.raspberrypi.
@fzamperin no, I don't know. I dropped entire database.
from rocket.chat.raspberrypi.
Excellent and thank you @michaelgotchosen
Please write a short wiki page for us if possible with the above information.
from rocket.chat.raspberrypi.
Thanks. You saved me hours.
from rocket.chat.raspberrypi.
Does "packageValue" also need changing?
db.rocketchat_settings.update({"_id" : "Site_Url"},{$set:{packageValue:"NEW_URL"}})
from rocket.chat.raspberrypi.
Related Issues (20)
- Rocket.Chat on Pi 3b fibers/future.js:278 throws error HOT 4
- https://cdn-download.rocket.chat/build/rocket.chat-pi-develop.tgz not reachable/ OFFLINE? HOT 4
- ngrok HOT 2
- Snap daemon won't start HOT 1
- Rocket.Chat on Qnap TS-431X with ARM architektur HOT 1
- Problem installing Rocket Chat. HOT 3
- snap install yields cannot open shared object file HOT 1
- Caddy Error When Enabling HTTPS HOT 8
- Raspberry Pi 3B+ can running? HOT 1
- RocketChat V3 on RPi 3B+ HOT 1
- Running on 64-bit kernel
- Cannot setup HTTPS support HOT 4
- What about this error on Raspberry Pi 3 B+ ? HOT 2
- Ubuntu 20.04 LTS should now work.
- Fresh install via snap but version 1.3.2
- Change the port HOT 3
- Do not reveive e-mails | SMTP Config
- Cannot connect to Rocket.Chat from desktop clients
- any docker image for the raspberry pi?
- No buildpath available for Raspberry pi 4 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rocket.chat.raspberrypi.