uninstalled all apps from web UI. No errors, everything fine;
restarted the machine;
tried to install Rocket.Chat from consolle. The result is apparently the same;
I have sent you the log apart via mail.
Here follows the consolle contents. By the way: about 20’ before getting the error message as usual:
root@syncloud:~# sudo snap install rocketchat
error: cannot perform the following tasks:
- Start snap "rocketchat" (190609478) services ([start snap.rocketchat.mongodb.s ervice snap.rocketchat.server.service snap.rocketchat.nginx.service] failed with exit status 1: Job for snap.rocketchat.nginx.service failed because the control process exited with error code.
See "systemctl status snap.rocketchat.nginx.service" and "journalctl -xe" for de tails.
)
wget https://github.com/syncloud/3rdparty/releases/download/1/mongodb-armv7l.tar.gz
tar xf mongodb-armv7l.tar.gz
mkdir db
LC_ALL=C ./mongodb/bin/mongod --storageEngine mmapv1 --dbpath ./db
you should see something like this:
2021-12-21T09:30:27.183+0000 I CONTROL [main]
2021-12-21T09:30:27.183+0000 W CONTROL [main] 32-bit servers don't have journaling enabled by default. Please use --journal if you want durability.
2021-12-21T09:30:27.183+0000 I CONTROL [main]
2021-12-21T09:30:27.196+0000 I CONTROL [initandlisten] MongoDB starting : pid=4534 port=27017 dbpath=./db 32-bit host=syncloud
2021-12-21T09:30:27.196+0000 I CONTROL [initandlisten] db version v3.2.22
2021-12-21T09:30:27.196+0000 I CONTROL [initandlisten] git version: 105acca0d443f9a47c1a5bd608fd7133840a58dd
2021-12-21T09:30:27.196+0000 I CONTROL [initandlisten] allocator: system
2021-12-21T09:30:27.196+0000 I CONTROL [initandlisten] modules: none
2021-12-21T09:30:27.196+0000 I CONTROL [initandlisten] build environment:
2021-12-21T09:30:27.197+0000 I CONTROL [initandlisten] distarch: arm
2021-12-21T09:30:27.197+0000 I CONTROL [initandlisten] target_arch: arm
2021-12-21T09:30:27.197+0000 I CONTROL [initandlisten] options: { storage: { dbPath: "./db", engine: "mmapv1" } }
2021-12-21T09:30:27.724+0000 I CONTROL [initandlisten]
2021-12-21T09:30:27.724+0000 I CONTROL [initandlisten] ** WARNING: This 32-bit MongoDB binary is deprecated
2021-12-21T09:30:27.724+0000 I CONTROL [initandlisten] ** WARNING: You are running this process as the root user, which is not recommended.
2021-12-21T09:30:27.724+0000 I CONTROL [initandlisten]
2021-12-21T09:30:27.724+0000 I CONTROL [initandlisten]
2021-12-21T09:30:27.724+0000 I CONTROL [initandlisten] ** NOTE: This is a 32 bit MongoDB binary.
2021-12-21T09:30:27.724+0000 I CONTROL [initandlisten] ** 32 bit builds are limited to less than 2GB of data (or less with --journal).
2021-12-21T09:30:27.724+0000 I CONTROL [initandlisten] ** Note that journaling defaults to off for 32 bit and is currently off.
2021-12-21T09:30:27.724+0000 I CONTROL [initandlisten] ** See http://dochub.mongodb.org/core/32bit
2021-12-21T09:30:27.725+0000 I CONTROL [initandlisten]
2021-12-21T09:30:27.730+0000 I INDEX [initandlisten] allocating new ns file ./db/local.ns, filling with zeroes...
2021-12-21T09:30:28.084+0000 I STORAGE [FileAllocator] allocating new datafile ./db/local.0, filling with zeroes...
2021-12-21T09:30:28.084+0000 I STORAGE [FileAllocator] creating directory ./db/_tmp
2021-12-21T09:30:28.237+0000 I STORAGE [FileAllocator] done allocating datafile ./db/local.0, size: 64MB, took 0.034 secs
2021-12-21T09:30:28.270+0000 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory './db/diagnostic.data'
2021-12-21T09:30:28.270+0000 I NETWORK [initandlisten] waiting for connections on port 27017
You are right, the behavior looks the same as yours:
login as: root
root@192.168.1.14's password:
Linux syncloud 4.9.236-63 #1 SMP PREEMPT Wed Dec 9 22:25:50 UTC 2020 aarch64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sun Dec 19 18:29:04 2021 from 192.168.1.11
root@syncloud:~# wget https://github.com/syncloud/3rdparty/releases/download/1/m ongodb-armv7l.tar.gz
--2021-12-21 14:50:08-- https://github.com/syncloud/3rdparty/releases/download/ 1/mongodb-armv7l.tar.gz
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset- 2e65be/37301457/d6dc6800-fd5f-11e9-9a13-f48612d31fe8?X-Amz-Algorithm=AWS4-HMAC-S HA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20211221%2Fus-east-1%2Fs3%2Faws4_r equest&X-Amz-Date=20211221T145008Z&X-Amz-Expires=300&X-Amz-Signature=02379ccfcf6 5988d453dd786e98422ce08e45d7fd459a726889ae7064282bbaf&X-Amz-SignedHeaders=host&a ctor_id=0&key_id=0&repo_id=37301457&response-content-disposition=attachment%3B%2 0filename%3Dmongodb-armv7l.tar.gz&response-content-type=application%2Foctet-stre am [following]
--2021-12-21 14:50:08-- https://objects.githubusercontent.com/github-production -release-asset-2e65be/37301457/d6dc6800-fd5f-11e9-9a13-f48612d31fe8?X-Amz-Algori thm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20211221%2Fus-east- 1%2Fs3%2Faws4_request&X-Amz-Date=20211221T145008Z&X-Amz-Expires=300&X-Amz-Signat ure=02379ccfcf65988d453dd786e98422ce08e45d7fd459a726889ae7064282bbaf&X-Amz-Signe dHeaders=host&actor_id=0&key_id=0&repo_id=37301457&response-content-disposition= attachment%3B%20filename%3Dmongodb-armv7l.tar.gz&response-content-type=applicati on%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.1 99.109.133, 185.199.110.133, 185.199.111.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185. 199.109.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 484427190 (462M) [application/octet-stream]
Saving to: 'mongodb-armv7l.tar.gz.1'
mongodb-armv7l.tar. 100%[===================>] 461.99M 13.8MB/s in 37s
2021-12-21 14:50:45 (12.6 MB/s) - 'mongodb-armv7l.tar.gz.1' saved [484427190/484 427190]
root@syncloud:~# tar xf mongodb-armv7l.tar.gz
root@syncloud:~# mkdir db
root@syncloud:~# LC_ALL=C ./mongodb/bin/mongod --storageEngine mmapv1 --dbpath . /db
2021-12-21T14:53:56.140+0000 I CONTROL [main]
2021-12-21T14:53:56.140+0000 W CONTROL [main] 32-bit servers don't have journal ing enabled by default. Please use --journal if you want durability.
2021-12-21T14:53:56.140+0000 I CONTROL [main]
2021-12-21T14:53:56.151+0000 I CONTROL [initandlisten] MongoDB starting : pid=2 774 port=27017 dbpath=./db 32-bit host=syncloud
2021-12-21T14:53:56.152+0000 I CONTROL [initandlisten] db version v3.2.22
2021-12-21T14:53:56.152+0000 I CONTROL [initandlisten] git version: 105acca0d44 3f9a47c1a5bd608fd7133840a58dd
2021-12-21T14:53:56.152+0000 I CONTROL [initandlisten] allocator: system
2021-12-21T14:53:56.152+0000 I CONTROL [initandlisten] modules: none
2021-12-21T14:53:56.152+0000 I CONTROL [initandlisten] build environment:
2021-12-21T14:53:56.152+0000 I CONTROL [initandlisten] distarch: arm
2021-12-21T14:53:56.152+0000 I CONTROL [initandlisten] target_arch: arm
2021-12-21T14:53:56.152+0000 I CONTROL [initandlisten] options: { storage: { db Path: "./db", engine: "mmapv1" } }
2021-12-21T14:53:56.213+0000 I CONTROL [initandlisten]
2021-12-21T14:53:56.213+0000 I CONTROL [initandlisten] ** WARNING: This 32-bit MongoDB binary is deprecated
2021-12-21T14:53:56.214+0000 I CONTROL [initandlisten] ** WARNING: You are runn ing this process as the root user, which is not recommended.
2021-12-21T14:53:56.214+0000 I CONTROL [initandlisten]
2021-12-21T14:53:56.214+0000 I CONTROL [initandlisten]
2021-12-21T14:53:56.214+0000 I CONTROL [initandlisten] ** NOTE: This is a 32 bi t MongoDB binary.
2021-12-21T14:53:56.214+0000 I CONTROL [initandlisten] ** 32 bit builds a re limited to less than 2GB of data (or less with --journal).
2021-12-21T14:53:56.214+0000 I CONTROL [initandlisten] ** Note that journ aling defaults to off for 32 bit and is currently off.
2021-12-21T14:53:56.214+0000 I CONTROL [initandlisten] ** See http://doch ub.mongodb.org/core/32bit
2021-12-21T14:53:56.214+0000 I CONTROL [initandlisten]
2021-12-21T14:53:56.214+0000 I CONTROL [initandlisten] ** WARNING: /sys/kernel/ mm/transparent_hugepage/enabled is 'always'.
2021-12-21T14:53:56.214+0000 I CONTROL [initandlisten] ** We suggest set ting it to 'never'
2021-12-21T14:53:56.214+0000 I CONTROL [initandlisten]
2021-12-21T14:53:56.215+0000 I INDEX [initandlisten] allocating new ns file . /db/local.ns, filling with zeroes...
2021-12-21T14:53:56.859+0000 I STORAGE [FileAllocator] allocating new datafile ./db/local.0, filling with zeroes...
2021-12-21T14:53:56.860+0000 I STORAGE [FileAllocator] creating directory ./db/ _tmp
2021-12-21T14:53:56.873+0000 I STORAGE [FileAllocator] done allocating datafile ./db/local.0, size: 64MB, took 0.008 secs
2021-12-21T14:53:56.886+0000 I NETWORK [HostnameCanonicalizationWorker] Startin g hostname canonicalization worker
2021-12-21T14:53:56.887+0000 I FTDC [initandlisten] Initializing full-time d iagnostic data capture with directory './db/diagnostic.data'
2021-12-21T14:53:56.888+0000 I NETWORK [initandlisten] waiting for connections on port 27017
I had to revert latest update from stable channel as it had upgrade issues.
So the right way for you test for now is to install using command line for now:
Hi Boris,
new image is on SD but I cannot activate it because the Android app crashes. I (should have) sent you the logs via mail. What I have already tried to do:
I have deactivated the old device on syncloud.it but the problem still remains;
I have installed Syncloud on another Android device. Same result as soon as I press the “add” button ("+" sign on blue button);
I have deleted my account on Syncloud.it and recreated it → same error;
I have created a different account (different mail) → same error
It looks like the crash occurs during the “search” (add button) regardless of anything else.
What I’m gonna do: restore the old system on the SD and try. I’ll keep you up to date. Thanks for the moment
==UPDATE==
Old system restored and reactivated. Now I am ready to try anything else without fear
I have tried the blue button on the Android app once again with the old image up and running: the app does not crash and finds the system (despite it is useless due to the fact it is already activated…just for test). It seems like there is something wrong between the new image and Android app.
Really, I’m available for other tests and thanks a lot
Ok, Android app is not needed for this just open IP address of the device in the browser or even SSH for the above command. Could you create a separate thread for Android issue?
from ssh (Putty): I need credential (user+pw). Found them in https://syncloud.org/faq.html: Can I access my device with SSH?
Yes. Default account before activation is this, login: root, password: syncloud. After activation password becomes the same as device password.
It seems like the installation went fine:
root@syncloud:~# snap install rocketchat --channel=rc
rocketchat (rc) 142 from 'syncloud' installed
Snap rocketchat is no longer tracking rc/stable.
root@syncloud:~#
Rocketchat is working. In the while I have been able to access the device through Mozilla (security warning → advanced → go ahead at your own risk). Yesterday I was trying through Chrome and here’s why I did not succeed. Through Mozilla I have been able to register the device on Syncloud.it without the Android app.
Could you create a separate thread for Android issue?
Synthesis: success! Great job, Boris!
For the moment I revert back to the old 32 bit image to exploit all apps. I’ll be happy to start using this 64 bit image as soon as Nextcloud and Plex will be available too. I’m not in a hurry for this, take your time.
Thank you very much indeed for your efforts.
Hi @boris,
I was wandering around my old posts and have landed here.
Is the official OS for HC4 still 32bits or its 64? In case it is a 64 bits, the published apps for that version are still the same of January ? I’m still on the 32, as you can imagine. Thanks
Simone