![]() ![]() Loginctl enable-linger alarm Run on Startup To keep session running after logout in Arch Linux use: $HOME/meteor/dev_bundle/bin/node main.js Linger ~/meteor/dev_bundle/bin/npm install -python=python2.7 -save Testing to make sure it worksĮxport ROOT_URL= url or ip address:3000 exportĮxport MONGO_URL=mongodb://localhost:27017/rocketchat ![]() I used –save to figure out that I did not have gcc (g++) installed. Now try the install procedure but use python 2.7 and –save will show any errors that happen. This will download and untar the app in $HOME/rocketchatĪfter some trial and error I discovered that some dependencies were needed. Download the Rocket.Chat binary for Raspberry Pi You do not need to be root to perform this step. I received some great help and encouragement from the Raspberry Pi community on the Rocket.Chat chat site. $HOME/meteor/meteor -v Rocket Chat Install The easiest way to get both is to clone from the Meteor universal project. Some of these following directions are based on Meteor and NPM install Pacman -S screen screen mongod -storageEngine=mmapv1 To have it continue running on logout install screen. So for now I run it as a regular user with the mongod command. Rocket Chat says that the database driver version 2.7 is incompatible. Modify the /usr/lib/systemd/system/rvice file with the storage engine settings.īut having it run as a service caused issues when starting Rocket.Chat. In theory you should enable mongodb so it will startup on boot. On 32 bit architectures you must start it with the mmapv1 storage engine. Now try and start mongodb to see if it works. ‘mongod mongod’ shows who owns the directory, and which group that directory belongs to. The left side ‘drwxr-xr-x’ shows the permissions for the User, Group, and Others. You should have an entry for mongod in /etc/passwd, as it’s a daemon.Ĭhown -R 498:496 /data/db # using the user-id, group-idĭrwxr-xr-x 4 mongod mongod 4096 Oct 26 10:31 /data/db/ If your ‘/data/db’ directory doesn’t have the permissions and ownership above, do this:įirst check what user and group your mongo user has: ![]() Now we need to make a data directory for Mongo. This caused issues with incompatible versions. If you are connecting via ssh login as alarm from there you can su root. Arch Linux has the default user of alarm. Hopefully the Pi server is expected to handle a little less.”įirst the dependencies as root. “that’s by no means limitation for Rocket.Chat ? a 2 GB mongodb database IS VERY LARGE ! For reference … this demo server with 38,000 registered users and close to 300,000 messages has a database that is less than 2 GB in size (for message storage). ![]() Sing Li who is a contributor to the Rocket.Chat project told me on their demo chat server, This means that MongoDB will support 2 GB database sizes. One item of note with MongoDB on Raspberry Pi is that ARM is inherently a 32 bit OS. I found instructions for an old version that did work but it was too old for Rocket.Chat. There was not a build that would work on the Raspberry Pi 2 and support Rocket.Chat. Mongo DBįirst I installed Mongo DB because it was the hardest part on Raspbian. This required me to write the package to the SDcard and boot from there. The major issue is that as of NOOBS 1.5 there was no support to install Arch Linux on the Raspberry Pi 2 using the NOOBS installer. This was a side adventure documented in Installing Arch Linux on Raspberry Pi 2. There is a version of Linux called Arch Linux that has MongoDB 3.2. I could not find a build of MongoDB that worked on the Raspberry Pi 2.īut the goal was to get it all working on a single Raspberry Pi. But they call for using for the mongo database. They should have a build soon for the Raspberry Pi Zero. After much searching and compiling of different versions of MongoDb and Node, following the installation without docker instructions, the Rocket.Chat RockOnPi Community released Rocket Chat Raspberry Pi directions. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |