Giter Site home page Giter Site logo

Comments (8)

Joonas-M avatar Joonas-M commented on August 10, 2024 1

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.

AlexanderKrall avatar AlexanderKrall commented on August 10, 2024

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.

ignasurba avatar ignasurba commented on August 10, 2024

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.

drasbeck avatar drasbeck commented on August 10, 2024

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.

Ed-80 avatar Ed-80 commented on August 10, 2024

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.

Joonas-M avatar Joonas-M commented on August 10, 2024

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.

Sing-Li avatar Sing-Li commented on August 10, 2024

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.

image

from rocket.chat.raspberrypi.

Sing-Li avatar Sing-Li commented on August 10, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.