Giter Site home page Giter Site logo

rocket.chat.raspberrypi's Issues

Change the port

Sorry, I don't really understand snap, can you tell me how to change the web server port?

Rocket.Chat on Pi 3b fibers/future.js:278 throws error

Hello,

Installed rocketchat on a new Pi 3b Setup, used the manual installation guide
https://github.com/RocketChat/Rocket.Chat.RaspberryPi

Now it gives me some error when starting the server with

PORT=3000 ROOT_URL=http://localhost:3000 MONGO_URL=mongodb://:@:/dataurlfrommongolabs $HOME/meteor/dev_bundle/bin/node main.js

(And yes, I am using a DB on our side and the DB is working fine)

Error:

/home/pi/rocketchat/bundle/programs/server/node_modules/fibers/future.js:278
throw(ex);
^
[object Object]
at Object.Future.wait (/home/pi/rocketchat/bundle/programs/server/node_modules/fibers/future.js:398:15)
at new MongoConnection (packages/mongo/mongo_driver.js:213:1)
at new MongoInternals.RemoteCollectionDriver (packages/mongo/remote_collection_driver.js:4:1)
at Object. (packages/mongo/remote_collection_driver.js:38:1)
at Object.defaultRemoteCollectionDriver (packages/underscore/underscore.js:750:1)
at new Mongo.Collection (packages/mongo/collection.js:102:1)
at AccountsServer.AccountsCommon (accounts_common.js:23:18)
at new AccountsServer (accounts_server.js:16:5)
at Package (globals_server.js:5:12)
at /home/pi/rocketchat/bundle/programs/server/packages/accounts-base.js:1762:4

What can I do here? I am already trying to get Rocket.Chat running the whole week.
Used Pi 3b+ before, now trying it iwht Pi 3b.
Clean and fresh Raspbian installation, tried every method. Even with ubuntu core and so on, everything really "sad" and not working.

Thanks for any help :)

Mobile iOS notifications not working fully

iOS V. 9.3.4 (13G35) iPhone 6s Rocket.Chat App

I have a couple rooms enabled that have all messages set to notify. Unfortunately, it doesn't' appear that they are being sent when a message arrives.

I'm using the application Franz (http://meetfranz.com/) that is connected also to the Rocketchat server I have created. It receives desktop notifications fine.

As well, when I run the "test mobile notification" it sends out correctly and I see the test.

Mentions are working OK as well I believe, but I'll have to test again.

Rocket.Chat Server Info
Version: 0.34.0

Please let me know if there is any other information needed.

Snap daemon won't start

Hello there !

After following the install instructions, with the latest version (November 2018) of
Raspbian Stretch Lite on Raspberry Pi B+, i get stuck at sudo snap install rocketchat-server.
The problem seems to be related to snapd that always fails to start, even after reboot.

pi@raspberrypi:/lib/systemd/system $ sudo systemctl status snapd
● snapd.service - Snappy daemon
   Loaded: loaded (/lib/systemd/system/snapd.service; enabled; vendor preset: enabled)
   Active: failed (Result: signal) since Thu 2018-12-27 16:02:28 CET; 7s ago
  Process: 2212 ExecStart=/usr/lib/snapd/snapd (code=killed, signal=SEGV)
 Main PID: 2212 (code=killed, signal=SEGV)

déc. 27 16:02:28 raspberrypi systemd[1]: snapd.service: Failed with result 'signal'.
déc. 27 16:02:28 raspberrypi systemd[1]: snapd.service: Service hold-off time over, scheduling restart.
déc. 27 16:02:28 raspberrypi systemd[1]: Stopped Snappy daemon.
déc. 27 16:02:28 raspberrypi systemd[1]: snapd.service: Start request repeated too quickly.
déc. 27 16:02:28 raspberrypi systemd[1]: Failed to start Snappy daemon.
déc. 27 16:02:28 raspberrypi systemd[1]: snapd.service: Unit entered failed state.
déc. 27 16:02:28 raspberrypi systemd[1]: snapd.service: Failed with result 'signal'.

WIth a little investigation, it seems that at the end of snapd installation, something went wrong:

Job for snapd.autoimport.service failed because a fatal signal was delivered to the control process.
See "systemctl status snapd.autoimport.service" and "journalctl -xe" for details.
snapd.autoimport.service couldn't start.

systemctl status snapd.autoimport.service gives me:

pi@raspberrypi:~ $ systemctl status snapd.autoimport.service
● snapd.autoimport.service - Auto import assertions from block devices
   Loaded: loaded (/lib/systemd/system/snapd.autoimport.service; enabled; vendor preset: enabled)
   Active: failed (Result: signal) since Thu 2018-12-27 17:15:20 CET; 23s ago
  Process: 1389 ExecStart=/usr/bin/snap auto-import (code=killed, signal=ILL)
 Main PID: 1389 (code=killed, signal=ILL)

déc. 27 17:15:20 raspberrypi systemd[1]: Starting Auto import assertions from block devices...
déc. 27 17:15:20 raspberrypi /usr/bin/snap[1389]: cmd.go:105: DEBUG: restarting into "/snap/core/current/usr/bin/snap"
déc. 27 17:15:20 raspberrypi systemd[1]: snapd.autoimport.service: Main process exited, code=killed, status=4/ILL
déc. 27 17:15:20 raspberrypi systemd[1]: Failed to start Auto import assertions from block devices.
déc. 27 17:15:20 raspberrypi systemd[1]: snapd.autoimport.service: Unit entered failed state.
déc. 27 17:15:20 raspberrypi systemd[1]: snapd.autoimport.service: Failed with result 'signal'.

journalctl -xe gives me:

déc. 27 17:15:21 raspberrypi /usr/lib/snapd/snapd[1410]: cmd.go:105: DEBUG: restarting into "/snap/core/current/usr/li
déc. 27 17:15:21 raspberrypi systemd[1]: snapd.service: Main process exited, code=killed, status=11/SEGV
déc. 27 17:15:21 raspberrypi systemd[1]: snapd.service: Unit entered failed state.
déc. 27 17:15:21 raspberrypi systemd[1]: snapd.service: Failed with result 'signal'.
déc. 27 17:15:21 raspberrypi systemd[1]: snapd.service: Service hold-off time over, scheduling restart.
déc. 27 17:15:21 raspberrypi systemd[1]: Stopped Snappy daemon.

Does anyone have an idea on how to solve this ?

Error when starting rocketchat server.

/home/pi/rocketchat/bundle/programs/server/node_modules/fibers/future.js:245
throw(ex);
^
Error: No replica set primary available for query with ReadPreference PRIMARY
at Object.Future.wait (/home/pi/rocketchat/bundle/programs/server/node_modules/fibers/future.js:395:16)
at [object Object].MongoConnection._ensureIndex (packages/mongo/mongo_driver.js:790:1)
at [object Object].Mongo.Collection._ensureIndex (packages/mongo/collection.js:635:1)
at setupUsersCollection (accounts_server.js:1413:9)
at new AccountsServer (accounts_server.js:49:5)
at Package (globals_server.js:5:12)
at /home/pi/rocketchat/bundle/programs/server/packages/accounts-base.js:1814:4
at /home/pi/rocketchat/bundle/programs/server/packages/accounts-base.js:1825:3
at /home/pi/rocketchat/bundle/programs/server/boot.js:242:10
at Array.forEach (native)
- - - - -
at [object Object].ReplSet.checkoutReader (/home/pi/rocketchat/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/repl_set/repl_set.js:619:14)
at Cursor.nextObject (/home/pi/rocketchat/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/cursor.js:748:48)
at Cursor.toArray (/home/pi/rocketchat/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/cursor.js:169:10)
at Db.indexInformation (/home/pi/rocketchat/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/db.js:1631:39)
at Db.ensureIndex (/home/pi/rocketchat/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/db.js:1498:8)
at Collection.ensureIndex (/home/pi/rocketchat/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/collection/index.js:68:11)
at [object Object].MongoConnection._ensureIndex (packages/mongo/mongo_driver.js:789:1)
at [object Object].Mongo.Collection._ensureIndex (packages/mongo/collection.js:635:1)
at setupUsersCollection (accounts_server.js:1413:9)
at new AccountsServer (accounts_server.js:49:5)

Cannot connect to Rocket.Chat from desktop clients

I have a Rocket.Chat server running on a raspberry pi 4 with SSL, notifications, etc. Things seem to be working quite well.

I can connect from the browser and currently ( as of Feb 2022 ) from an iOS client ( I have not tested android ). However, I cannot access the server from the Linux or Mac desktop clients ( haven't tested windows but assume it will be the same ). It says something along the lines of it not being able to find the server.

On the server, I am getting the message from rocket.cat: "MongoDB version 3.2.15 is deprecated, please upgrade your installation." I suspect this has something to do with it.

Will this be fixed in the snap and in the meantime, Is there a workaround?

Thanks

server won't restart after shutdown

I use this code after shutting down my pi
cd /home/pi/rocketchat/bundle
PORT=3000 ROOT_URL=http://localhost:3000 MONGO_URL=mongodb://'user':'password'@':host':'port'/'user' /home/pi/meteor/dev_bundle/bin/node main.js
but receive the following error message
/home/pi/rocketchat/bundle/programs/server/node_modules/fibers/future.js:278
throw(ex);
^
MongoError: Authentication failed.
at Object.Future.wait (/home/pi/rocketchat/bundle/programs/server/node_modules/fibers/future.js:398:15)
at new MongoConnection (packages/mongo/mongo_driver.js:213:1)
at new MongoInternals.RemoteCollectionDriver (packages/mongo/remote_collection_driver.js:4:1)
at Object. (packages/mongo/remote_collection_driver.js:38:1)
at Object.defaultRemoteCollectionDriver (packages/underscore/underscore.js:750:1)
at new Mongo.Collection (packages/mongo/collection.js:102:1)
at AccountsServer.AccountsCommon (accounts_common.js:23:18)
at new AccountsServer (accounts_server.js:16:5)
at Package (globals_server.js:5:12)
at /home/pi/rocketchat/bundle/programs/server/packages/accounts-base.js:1814:4
- - - - -
at Object.toError (/home/pi/rocketchat/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/utils.js:114:11)
at /home/pi/rocketchat/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/db.js:1196:31
at /home/pi/rocketchat/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/db.js:1905:9
at Server.Base._callHandler (/home/pi/rocketchat/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/base.js:453:41)
at /home/pi/rocketchat/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/server.js:488:18
at [object Object].MongoReply.parseBody (/home/pi/rocketchat/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/responses/mongo_reply.js:68:5)
at [object Object]. (/home/pi/rocketchat/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/server.js:446:20)
at [object Object].emit (events.js:95:17)
at [object Object]. (/home/pi/rocketchat/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:207:13)
at [object Object].emit (events.js:98:17)

any reason why I keep getting this ?
thanks

Cannot setup HTTPS support

Hi,
i did everything as per the instructions in this file (https://github.com/RocketChat/Rocket.Chat.RaspberryPi) but am unable to enable https for rocket.chat.
I am using the raspi 4 8gb with the 64 bit rasbian image that is also linked there.
When i try to follow these instructions (https://docs.rocket.chat/installation/manual-installation/ubuntu/snaps/autossl) i ecountered the following issue when executing

sudo snap set rocketchat-server https=enable

error: cannot perform the following tasks:

  • Run configure hook of "rocketchat-server" snap (run hook "configure":

dig: error while loading shared libraries: libdns.so.162: cannot open shared object file: No such file or directory
Error: Can't resove DNS query for my domain, check your DNS configuration, disabling https ...
-----)

Port forwarding is set (80, 443 and 3000), http works on port 3000.
This closed issue did not help me: #41

Hope someone can help me.

Error: Cannot find module 'fibers'

i tried also everything i still got this

Error: Cannot find module 'fibers'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/root/roooocket/bundle/programs/server/boot.js:1:75)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)

Running on 64-bit kernel

I was trying experiment with the Raspbian 64-bit kernel and it seemed that the Rocket Chat server cannot start. Is this to be expected?

Error: No replica set primary available for query with ReadPreference PRIMARY

When installing rocketchat on my Raspberry Pi 2B i get this error

Error: No replica set primary available for query with ReadPreference PRIMARY at Object.Future.wait (/home/pi/rocketchat/bundle/programs/server/node_modules/fibers/future.js:395:16) at [object Object].MongoConnection._ensureIndex (packages/mongo/mongo_driver.js:790:1) at [object Object].Mongo.Collection._ensureIndex (packages/mongo/collection.js:635:1) at setupUsersCollection (accounts_server.js:1413:9) at new AccountsServer (accounts_server.js:49:5) at Package (globals_server.js:5:12) at /home/pi/rocketchat/bundle/programs/server/packages/accounts-base.js:1762:4 at /home/pi/rocketchat/bundle/programs/server/packages/accounts-base.js:1773:3 at /home/pi/rocketchat/bundle/programs/server/boot.js:242:10 at Array.forEach (native) - - - - - at [object Object].ReplSet.checkoutReader (/home/pi/rocketchat/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/con nection/repl_set/repl_set.js:619:14) at Cursor.nextObject (/home/pi/rocketchat/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/cursor.js:748:48) at Cursor.toArray (/home/pi/rocketchat/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/cursor.js:169:10) at Db.indexInformation (/home/pi/rocketchat/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/db.js:1631:39) at Db.ensureIndex (/home/pi/rocketchat/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/db.js:1498:8) at Collection.ensureIndex (/home/pi/rocketchat/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/collection/index.js :68:11) at [object Object].MongoConnection._ensureIndex (packages/mongo/mongo_driver.js:789:1) at [object Object].Mongo.Collection._ensureIndex (packages/mongo/collection.js:635:1) at setupUsersCollection (accounts_server.js:1413:9) at new AccountsServer (accounts_server.js:49:5)

My statement line is the following (changed user data)

PORT=3000 ROOT_URL=http://localhost:3000 MONGO_URL=mongodb://aSampleUser:[email protected].
com:33607/rocketdb /home/pi/meteor/dev_bundle/bin/node main.js

Used Mongodb version

mongod version: 3.2.10 (MMAPv1)

Used Raspbian Jessie

Linux pi21 4.4.26+ #915 Thu Oct 20 17:02:14 BST 2016 armv6l GNU/Linux

I couldn´t find a solution to this problem online. What should i do to get rocketchat running?

typo in command execution

I believe this line is incorrent:

PORT=3000  ROOT_URL=http://localhost:3000   MONGO_URL=mongo://user@password:dataurlfrommongolabs    $HOME/rocketchat/dev_bundle/bin/node main.js

It should be:

PORT=3000  ROOT_URL=http://localhost:3000   MONGO_URL=mongo://user@password:dataurlfrommongolabs    $HOME/meteor/dev_bundle/bin/node main.js

Do not reveive e-mails | SMTP Config

Hello,

I have installed the Ubuntu 20.4 LTS on my RPI 4 8GB. For that, I used the instructions from here to install Rocket.Chat on it.

Unfortunately, I can not receive any e-mail which was sent by my rocket.chat server. First I tried it with a Microsoft Exchange server. Then I tried it with Gmail. Did also not work.

The only thing I want to do is to invite other users.

The SMTP config is as follows:
Protocol: smtps
Host: smtp.gmail.com
Port: 587
IgnoreTLS disabled
Pool enabled

  • my credentials

Do you know what could be the reason for that?

Thanks!!

Regards,
Sinic

ngrok instructions

Hi, the instructions for installing ngrok asks the user to run the following command:

curl https://dl.ngrok.com/ngrok_2.0.19_linux_arm.zip -o ngrok.zip unzip ngrok.zip cd ngrok ./ngrok http 3000

However, on a newly installed Ubtuntu Core server, doing so gives this result:

-bash: curl: command not found

How do you actually get Ngrok on the Pi?

Caddy Error When Enabling HTTPS

To whom it may concern:

I followed the installation instructions listed for the Raspberry Pi version of Rocket Chat. The software installs properly. However, I am having an issue enabling HTTPS using caddy. The instructions state that I have to run the following commands:

  1. sudo snap set rocketchat-server caddy-url=https://<your-domain-name>
  2. sudo snap set rocketchat-server caddy=enable
  3. sudo snap set rocketchat-server https=enable
  4. sudo rocketchat-server.initcaddy

When running the third command, I get this error:
error: cannot perform the following tasks:
- Run configure hook of "rocketchat-server" snap (run hook "configure":
-----
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
dig: error while loading shared libraries: libdns.so.162: cannot open shared object file: No such file or directory
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
Error: Can't resolve DNS query for <your-domain-name>, check your DNS configuration, disabling https . . .
-----)

Note:

  • Wherever the code says "your-domain-name" I did actually put my real domain name in.
  • I am using a Raspberry Pi Model 4, 4GB with a fresh installation of the September 26th version of Raspbian Buster Lite.
  • I am using GoDaddy with an A record to link my domain name to my router's public IP.
  • Port 80 and Port 443 are open on my router. I have enabled port forwarding.
  • If I open port 3000 on my router, I am able to access Rocket from :3000. However, this does not enable https, which is what I would like.
  • My pi does have a static IP set up for it

Any help would be much appreciated!

problems with mobile clients

If I try to connect to my raspberry pie version of rocket.chat the interface dont work. Only html text interface without a gui around it. Any ideas?

RocketChat V3 on RPi 3B+

Hello ! Thank you for your amazing job !

Just to confirm a throught :
On Rpi 3B+, I can't upgrade above v1.03 in stable version and 1.3.2 in candidate/edge/beta version.

There is no 2.X or 3.X channels availible on snap, maybe because of the processor's type ?

I tried installing via a CENTOS server in ovh, and it offer the V2 (but no V3) version natively, so it confirm my hypothesis...

I will consider stopping my stuff in rPi and rent a proper server for my services (nextcloud, gitlab & rocketchat)

Cheers
Victor

EDIT: here is my snap info rocketchat-server on rpi 3b+ :

pi@raspberrypi:~ $ sudo snap info rocketchat-server
name:      rocketchat-server
summary:   Group chat server for 100s,  installed in seconds.
publisher: Rocket.Chat (rocketchat✓)
store-url: https://snapcraft.io/rocketchat-server
contact:   https://open.rocket.chat/channel/ubuntu-snap
license:   unset
description: |
  Slack-like online chat server for your office, group or family.   Up and running in seconds.
  Supports file sharing, video conference, geolocation, and much more.   Web and mobile client.  
  MIT licensed Open Source project.   List of features at  https://rocket.chat/ ,  MIT licensed
  source code at https://github.com/RocketChat/Rocket.Chat , 24 x 7 community support and community
  server at https://open.rocket.chat/
commands:
  - rocketchat-server.backupdb
  - rocketchat-server.initcaddy
  - rocketchat-server.mongo
  - rocketchat-server.restoredb
services:
  rocketchat-server.rocketchat-caddy: simple, enabled, inactive
  rocketchat-server.rocketchat-mongo: simple, enabled, active
  rocketchat-server:                  simple, enabled, active
snap-id:      wdBUbiEuMNHmAHLBCXQXOcXaOCvbWS1e
tracking:     latest/candidate
refresh-date: today at 13:41 CEST
channels:
  latest/stable:    1.0.3 2019-05-28 (1375) 191MB -
  latest/candidate: 1.3.2 2020-02-11 (1397) 187MB -
  latest/beta:      1.3.2 2020-02-11 (1397) 187MB -
  latest/edge:      1.3.2 2019-08-24 (1397) 187MB -
installed:          1.3.2            (1397) 187MB -

Raspberry pi zero intructions

The raspberry pi zero instructions are incorrect the link are dead and if can find the correct version it breaks and it never installs

Error: failed to connect to [81:27017]

Hi,

When I run whit my user and password:

PORT=3000 ROOT_URL=http://localhost:3000 MONGO_URL=mongodb://<user>:<password>@<host>:<port>/dataurlfrommongolabs $HOME/meteor/dev_bundle/bin/node main.js

I get:

Error: failed to connect to [81:27017]

I created a db on https://mlab.com
What shoul I do?

Thanks

Improvemnt for documentation to install meteor universal

Hi @Sing-Li

Cool repo here 👍 I like it!

Just to inform you: Meteor universal ist now on release 1.3.3.1.

So if you run git clone without a branch it will head always to the latest marked branch when we switch that on github. If you want to point to a special meteor release, you may add the branch to be stable for deployment.

git clone --depth 1 -b release-1.3.3.1-universal https://github.com/4commerce-technologies-AG/meteor.git meteor

Cheers
Tom

What about this error on Raspberry Pi 3 B+ ?

error: snap "rocketchat-server" is not available on stable but is available to install on the
following channels:

   candidate  snap install --candidate rocketchat-server
   beta       snap install --beta rocketchat-server
   edge       snap install --edge rocketchat-server

   Please be mindful pre-release channels may include features not completely tested or
   implemented. Get more information with 'snap info rocketchat-server'.

Snap "core" core-support-plug

Good day everyone,

I'm currently trying to test Rocket.chat on my RPI 3, before deploying it on an other server for a group. Unfortunetly, I'm blocked during the install, and don't understand why. (I'm like a beginner in linux and Raspberry)

For now, I've install ca-certificates sudo apt install snapd ca-certificates
But when I lunch the install for rocketchat with sudo snap install rocketchat-server it run without end on `2017-08-26T14:01:11+02:00 INFO snap "core" has bad plugs or slots: core-support-plug (unknown interface)
error: cannot perform the following tasks:

  • Run configure hook of "core" snap if present (run hook "configure"`

When I stop it after few hours, I have ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.

I don't understand the problem with "core".
Anybody could give me a hand on this problem?

Thank you for your help by advence, and sorry for my english :)

ROOT_URL env variable does not change site URL

Hello,

I have installed Rocket.Chat on my Raspberry Pi 3 (running up-to-date Raspbian Jessie) through the DPlatform installer. When I have installed it, the Raspberry Pi had a different IP address (192.168.178.49) than it has now (192.168.2.2).

The URL of Rocket.Chat is supposed to be defined at startup by the environment variable ROOT_URL. However, the systemd logs show that Rocket.Chat actually starts with the Site URL 192.168.178.49. On my laptop with the web interface or the Windows Rocket.Chat client, it is not an issue, but it is an issue for the Android and iOS clients: if the IP of the Raspberry Pi does not match the rocket.chat site URL, these clients do not want to connect.

In the systemd service file, this variable is correct:

root@raspberrypi:/home/rocketchat# cat /etc/systemd/system/rocket.chat.service
[Unit]
Description=Rocket.Chat Server
Wants=mongod.service
After=network.target mongod.service
[Service]
Type=simple
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=RocketChat
WorkingDirectory=/home/rocketchat/Rocket.Chat
ExecStart=/usr/share/meteor/dev_bundle/bin/node main.js
Environment=ROOT_URL=http://192.168.2.2:3004/ PORT=3004
Environment=MONGO_URL=mongodb://localhost:27017/rocketchat
User=rocketchat
Restart=always
[Install]
WantedBy=multi-user.target

However, the systemd logs show that the site URL is not the correct one:

root@raspberrypi:/home/rocketchat# systemctl status -l -n 30 rocket.chat
● rocket.chat.service - Rocket.Chat Server
   Loaded: loaded (/etc/systemd/system/rocket.chat.service; enabled)
   Active: active (running) since Mon 2016-07-18 10:57:59 CEST; 1min 55s ago
 Main PID: 1651 (node)
   CGroup: /system.slice/rocket.chat.service
           └─1651 /usr/share/meteor/dev_bundle/bin/node main.js

Jul 18 10:57:59 raspberrypi systemd[1]: Started Rocket.Chat Server.
Jul 18 10:58:34 raspberrypi RocketChat[1651]: Updating process.env.MAIL_URL
Jul 18 10:58:42 raspberrypi RocketChat[1651]: ufs: store created at
Jul 18 10:59:00 raspberrypi RocketChat[1651]: ufs: store created at
Jul 18 10:59:25 raspberrypi RocketChat[1651]: {"line":"114","file":"migrations.js","message":"Migrations: Not migrating, already at version 54","time":{"$date":1468832365627},"level":"info"}
Jul 18 10:59:36 raspberrypi RocketChat[1651]: Updating process.env.MAIL_URL
Jul 18 10:59:46 raspberrypi RocketChat[1651]: Using GridFS for Avatar storage
Jul 18 10:59:46 raspberrypi RocketChat[1651]: ➔ System ➔ startup
Jul 18 10:59:46 raspberrypi RocketChat[1651]: ➔ +---------------------------------------------+
Jul 18 10:59:46 raspberrypi RocketChat[1651]: ➔ |                SERVER RUNNING               |
Jul 18 10:59:46 raspberrypi RocketChat[1651]: ➔ +---------------------------------------------+
Jul 18 10:59:46 raspberrypi RocketChat[1651]: ➔ |                                             |
Jul 18 10:59:46 raspberrypi RocketChat[1651]: ➔ |       Version: 0.34.0                       |
Jul 18 10:59:46 raspberrypi RocketChat[1651]: ➔ |  Process Port: 3004                         |
Jul 18 10:59:46 raspberrypi RocketChat[1651]: ➔ |      Site URL: http://192.168.178.49:3004/  |
Jul 18 10:59:46 raspberrypi RocketChat[1651]: ➔ |                                             |
Jul 18 10:59:46 raspberrypi RocketChat[1651]: ➔ +---------------------------------------------+

Is there a config file defining the site URL? I could not find it.

Problem installing Rocket Chat.

I've tried to install Rocket Chat on my raspberry pi following this guide: [(https://github.com/RocketChat/Rocket.Chat.RaspberryPi)]

After applying "sudo snap install rocket chat-server" reported a mistake, I didn't remember.

localhost:3000 doesn't work
curl -i localhost:3000 gives "curl: (7) Failed to connect to localhost port 3000: Connection refused"

When I'm trying to apply sudo snap install rocket chat-server one more time "Illegal instruction" appears. When trying to delete the package tells that no such package installed.

Looks like snap is down, haven't find a way to repair it yet.

Help ,me please. Really like the idea of using rocket chat on my local.

Best regards, Alexey.

Rocket.Chat on Qnap TS-431X with ARM architektur

Hello,
I have a Docker container with arm32v7 / ubuntu: xenial installed on my Qnap TS-431X. Is it possible to install Rocket.chat on it and if so how?

With snap, it can not be installed in any case. = (

Could someone please help me there? Or. create a container that works?

Ever thank you in advance!

Best regards

Audio/Video not working

I installed according to the guide and everything starts but clicking on the microphone icon does nothing, any ideas? Tried both Chrome and FF.

snap install yields cannot open shared object file

Im getting this error just following the steps in the readme

error: cannot perform the following tasks:
- Run configure hook of "rocketchat-server" snap if present (run hook "configure":
-----
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
"((enable)|(disable))" is not a valid, set to enable or disable
-----)

uname -a
Linux raspberrypi 4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l GNU/Linux

cat /etc/os-release
...
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
...

Rocket.chat throws exception after updating to 0.62.1

I have written about this over at open.rocket.chat and forums.rocket.chat but might as well post it here since I saw one other having the same problem, and there has been zero communication from rocket.chat devs.

I have a rpi3 running ubuntu core and rocket.chat installed as a snap. Regular standard install, nothing custom, just have caddy enabled.
About three weeks ago, it updated automatically to version 0.62.1, but since then I have been unable to access the site. It just says “502 bad gateway”. After digging around this is the error that I found after using this command “sudo journalctl -u snap.rocketchat-server.rocketchat-server”:
image
About a week after noticing this issue I got some clarification over on open.rocket.chat from “sing.li” regarding the exception. According to him it seems that the module “sharp” is trying to load a non ARM binary, resulting in the error.
I have also tried to just uninstall and reinstall rocket.chat, just starting over and still the same error, and I tried to roll back before that, still same error. I don't understand why a breaking bug like this is allowed to persist for so long.

ngrok

"Login, download and start ngrok (see ngrok.com if you need more information):"
Ngrok didn't provide me with any information. I can get to the server on my local network, but I don't understand the whole ngrok thing. I have the zip file, I have it unzipped, but when I run it, nothing happens. If I tell it to open in a terminal window, and tell it to keep that window open after it executes, it doesn't. Something flashes on the screen and that's it. I can't get the authtoken and I don't understand why.

Fresh install via snap but version 1.3.2

I've just installed rocket chat on a Pi 3 model B via snap.
But the admin backend says i am running versiob 1.3.2
This is a very old version an i am not able to connect to the server with a desktop client.
How can i upgrade the server?

No buildpath available for Raspberry pi 4

I have a Raspberry Pi 4b, and at current there appears to be no path to install rocketchat-server on it.

I've attempted the snap but it shows that avx and avx2 are not supported by the Pi, I've also attempted following the instructions to install with docker, but it also confirms the same issue, no currently supported version of mongodb will run on the raspberry pi 4.

This has killed this entire repo as I cannot see another path forward for this. If I'm missing something, please advise.

Best regards,
Mike

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.