Comments (8)
Hi, I'll leave a comment here for others to read as well, as we discussed about this with Sing-Li at https://open.rocket.chat/channel/raspberrypi So the issue was not with the Ubuntu 20.04 version but with the user :) Mongo was complaining "start request repeated too quickly", which could have been fixed if the following was done
Stopping both services first. THEN Restarting in this order -> first mongo, then watch logs until it stablize THEN RC
as stated by Li.
So, if you want to try Ubuntu 20.04, remember those steps as well.
from rocket.chat.raspberrypi.
It seems like the main issue is that the rocketchat software install on snap points to the wrong location for dig. Is there anyway I can fix this so that it points to the right location?
from rocket.chat.raspberrypi.
Found myself in the same boat. This worked:
sudo nano /etc/ld.so.preload
and comment out the line:
/usr/lib/arm-linux-gnueabihf/libarmmem.so
but now:
dig: error while loading shared libraries: libdns.so.162: cannot open shared object file: No such file or directory
from rocket.chat.raspberrypi.
I am experiencing the same issue as OP.
Environment: Rpi4 4GB running Linux 4.19.80-v8-james #15 SMP PREEMPT Sun Oct 27 21:58:14 PDT 2019 aarch64 GNU/Linux from here
Installation method: snap --edge channel, so server version 1.3.2
from rocket.chat.raspberrypi.
I ran into a similar problem. I followed the instructions how to set up caddy manually and that seemed to reslove it for me. I was then experiencing the pi would drop the wired ethernet connection after a few hours. The work around I did for this was manually setup a static IP address on the pi.
I hope this helps.
-Ed
from rocket.chat.raspberrypi.
I had the same problem with the Raspbian OS (I have RaspberryPi 4 with 4GB RAM). I didn't really find a proper workaround for it but there are couple of problems. The snap gives only version one from rocketchat-server
and not the newest one (version 3). Also, the OS does not have dnsutils
installed so dig
cannot be used for dns lookups.
Because Raspbian failed, I started to try Ubuntu images provided by the Imager software. Unfortunately I first installed Ubuntu 20.04 as that does not work either. The Mongo db does not start up. That is probably because it is not supported as stated here https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/
I finally installed Ubuntu core 18 64 bit version. Installing and using that image is a bit of a pain because you need to create an Ubuntu SSO account and copy your SSH key there (as stated here https://ubuntu.com/download/raspberry-pi-core). After that, you cannot just use the OS after installing it on the Pi. You need to access your rbp from another computer using SSH. From there, installing the rocketchat-server snap version 3 works fine.
However, to enable HTTPS using caddy, you need to follow the manual configuration steps set here https://rocket.chat/docs/installation/manual-installation/ubuntu/snaps/autossl/#enabling-caddy Basically the first option set forth on that page does not work because sudo snap set rocketchat-server https=enable
fails. What I did was more like
sudo snap set rocketchat-server caddy-url=https://<your-domain-name>
sudo snap set rocketchat-server caddy=enable
sudo snap run rocketchat-server.initcaddy
edit /var/snap/rocketchat-server/current/Caddyfile
to look like
<your-domain-name> {
proxy / localhost:3000 {
websocket
transparent
}
}
as stated in the documentation. Then run
sudo systemctl restart snap.rocketchat-server.rocketchat-server.service
sudo systemctl restart snap.rocketchat-server.rocketchat-caddy.service
I don't remember if those were the exact steps to get it work. Hopefully this helps someone!
from rocket.chat.raspberrypi.
Because Raspbian failed, I started to try Ubuntu images provided by the Imager software. Unfortunately I first installed Ubuntu 20.04 as that does not work either. The Mongo db does not start up. That is probably because it is not supported as stated here https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/
@Joonas-M did you try the 64bit version of Unbuntu 20.04 ? It should actually work fine.
from rocket.chat.raspberrypi.
I finally got a chance to try 20.04lts with the snap (containing latest arm64 mongodb). And there is some fundamental compatibility problem.
MongoDB's official support literature currently do not cover 20.04lts.
I have updated our README to reflect this.
All production servers should use Arm64 Ubuntu 18.04lts in the meantime.
from rocket.chat.raspberrypi.
Related Issues (20)
- Rocket.chat throws exception after updating to 0.62.1 HOT 1
- 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
- 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?
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.