-
Notifications
You must be signed in to change notification settings - Fork 75
Installation on NAS Synology DS1513+ #8
Comments
|
I am trying step 1. But get error: sudo: apt-get: command not found |
Synology do not allow it directly. You have to install the Debian Chroot package. |
By the way, I am only have node 4.4.2. wanted: {"node":"^6.9.1"} (current: {"node":"4.4.2","npm":"2.15.0"}) |
I am on the step 2:
There are Python Module and Python3. I installed both. What can I do now? |
You need node 6.9.1 |
Sorry, There is no Debian Chroot in the package center after adding the community resource. Should I think about node 6.9.1 or try to install Debian Chroot manually? |
That tutorial is quite old and is no longer entirely relevant. Maybe @littleskunk can help you? |
Sorry, how can I contact @littleskunk ? |
Like that :) He should get notified. |
Sorry. Debian Chroot found. Thanks to https://www.reddit.com/r/synology/comments/56c9d7/package_center_doesnt_show_any_packages_from/ |
I am at the step:
I get warning: bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8) And finally get: root@DiskStation:/# Then at the next step:
I get error: bash: apt-get: command not found So, what can I do next? |
Got through
Thanks to SynoCommunity/spksrc#2327 I still get warning:
And finally get:
Then at the next step |
On Synology, you must use For the locale warning, see the spksrc reader instructions :
|
On step 10
... |
P.s. python 3 (pip3) seems not supported. Stick to python 2 |
When I do: I receive:
So I continue with |
So I do:
|
You have to do it in several steps. Here's my tipical way to connect from the start:
|
Thank you for clarification concerning |
I see again some 'Permission denied'. Have you tried |
I have just tried with the same result:
|
Not sure if this will help, but try:
Go through the questions, just hitting return (use the defaults) and don't set a password. Then try this again. If it works, I know what can be done to resolve it. |
The same output after running
|
Okay try this:
|
returns error. Output in pdf attached. It seems the node version is not enough:
|
yes, you need node 6 |
Please, let me know how. I try:
But it doesn't upgrade:
|
the version in the repositories is outdated, follow the instructions here: https://github.com/Storj/storjshare-daemon#nodejs--npm |
Okey.
What's wrong? |
You must be new to GNU+Linux? You need to install the
|
I'm happy to help you, but there is a difference between supporting this package and teaching gnu+linux basics. Remember duckduckgo.com is your friend for a lot of this stuff. https://duckduckgo.com/?q=bash%3A+curl%3A+command+not+found&t=h_&ia=qa |
Thank you for the tip! You are too kind to me! So, Then
And finally,
Is it ok or not? What can I do now? |
Almost there. So you are root, so you need to add the
|
I am there :) Thank you for the patience! Output is attached. May I ask a question? I did:
Then I did
Should I do this everytime? And finally: |
You should remove the version you installed from apt.
|
Thank you so much!
|
I was trying to access my NAS shared folders from chroot to specify one of them in storage option. Thanks to @littleskunk who helped me with this link: https://markpith.wordpress.com/2015/10/26/debian-chroot-on-synology-nas/ So: inside chroot: outside chroot: add to under under where |
Now, I would like to set up starting storjshare daemon after NAS reboot... |
crontab |
hi, I am trying to start storjshare daemon automatically at startup. I added in crontab the following string:
Then I exit chroot and reboot, after reboot, I enter debian chroot, but daemon is not running. |
I am trying to install command-line interface on my nas (synology 1513+ DSM 6.0.2-8451 Update 7):
sudo npm install -g storjshare-daemon
But I am getting error:
npm WARN engine storj-lib@6.0.11: wanted: {"node":"^6.9.1"} (current: {"node":"4.4.2","npm":"2.15.0"})
npm WARN deprecated node-uuid@1.4.7: use uuid module instead
weak@1.0.1 install /usr/local/lib/node_modules/storjshare-daemon/node_modules/dnode/node_modules/weak
node-gyp rebuild
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/4.4.2"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/storjshare-daemon/node_modules/dnode/node_modules/weak/.node-gyp"
gyp ERR! build error
gyp ERR! stack Error: not found: make
gyp ERR! stack at F (/usr/local/lib/node_modules/npm/node_modules/which/which.js:63:19)
gyp ERR! stack at E (/usr/local/lib/node_modules/npm/node_modules/which/which.js:72:29)
gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/which.js:81:16
gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:82:15)
gyp ERR! System Linux 3.10.77
gyp ERR! command "/volume1/@appstore/Node.js_v4/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/storjshare-daemon/node_modules/dnode/node_modules/weak
gyp ERR! node -v v4.4.2
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
npm WARN engine kad@1.6.4: wanted: {"node":"4.x.x 6.x.x"} (current: {"node":"4.4.2","npm":"2.15.0"})
npm WARN optional dep failed, continuing weak@1.0.1
tldjs@1.7.0 postinstall /usr/local/lib/node_modules/storjshare-daemon/node_modules/storj-lib/node_modules/diglet/node_modules/tldjs
node ./bin/postinstall.js
npm WARN deprecated to-iso-string@0.0.2: to-iso-string has been deprecated, use @segment/to-iso-string instead.
npm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
dtrace-provider@0.6.0 install /usr/local/lib/node_modules/storjshare-daemon/node_modules/storj-lib/node_modules/restify/node_modules/dtrace-provider
node scripts/install.js
dtrace-provider@0.8.0 install /usr/local/lib/node_modules/storjshare-daemon/node_modules/storj-lib/node_modules/diglet/node_modules/bunyan/node_modules/dtrace-provider
node scripts/install.js
dtrace-provider@0.8.0 install /usr/local/lib/node_modules/storjshare-daemon/node_modules/storj-lib/node_modules/restify/node_modules/bunyan/node_modules/dtrace-provider
node scripts/install.js
secp256k1@3.2.5 install /usr/local/lib/node_modules/storjshare-daemon/node_modules/storj-lib/node_modules/secp256k1
prebuild-install || node-gyp rebuild || echo "Secp256k1 bindings compilation fail. Pure JS implementation will be used."
prebuild-install info begin Prebuild-install version 2.1.0
prebuild-install info looking for local prebuild @ prebuilds/secp256k1-v3.2.5-node-v46-linux-x64.tar.gz
prebuild-install WARN install EACCES: permission denied, access '/root/.npm'
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/4.4.2"
attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/storjshare-daemon/node_modules/storj-lib/node_modules/secp256k1/.node-gyp"
gyp ERR! build error
gyp ERR! stack Error: not found: make
gyp ERR! stack at F (/usr/local/lib/node_modules/npm/node_modules/which/which.js:63:19)
ERR! stack at E (/usr/local/lib/node_modules/npm/node_modules/which/which.js:72:29)
gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/which.js:81:16
gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:82:15)
gyp ERR! System Linux 3.10.77
gyp ERR! command "/volume1/@appstore/Node.js_v4/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/storjshare-daemon/node_modules/storj-lib/node_modules/secp256k1
gyp ERR! node -v v4.4.2
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
Secp256k1 bindings compilation fail. Pure JS implementation will be used.
leveldown@1.5.3 install /usr/local/lib/node_modules/storjshare-daemon/node_modules/storj-lib/node_modules/leveldown
prebuild --install
prebuild info begin Prebuild version 5.1.2
prebuild info looking for local prebuild @ prebuilds/leveldown-v1.5.3-node-v46-linux-x64.tar.gz
prebuild WARN install EACCES: permission denied, access '/root/.npm'
prebuild info install We will now try to compile from source.
prebuild ERR! build error
prebuild ERR! stack Error: not found: make
prebuild ERR! stack at getNotFoundError (/usr/local/lib/node_modules/storjshare-daemon/node_modules/storj-lib/node_modules/leveldown/node_modules/prebuild/node_modules/node-gyp/node_modules/which/which.js:13:12)
prebuild ERR! stack at F (/usr/local/lib/node_modules/storjshare-daemon/node_modules/storj-lib/node_modules/leveldown/node_modules/prebuild/node_modules/node-gyp/node_modules/which/which.js:68:19)
prebuild ERR! stack at E (/usr/local/lib/node_modules/storjshare-daemon/node_modules/storj-lib/node_modules/leveldown/node_modules/prebuild/node_modules/node-gyp/node_modules/which/which.js:80:29)
prebuild ERR! stack at /usr/local/lib/node_modules/storjshare-daemon/node_modules/storj-lib/node_modules/leveldown/node_modules/prebuild/node_modules/node-gyp/node_modules/which/which.js:89:16
prebuild ERR! stack at /usr/local/lib/node_modules/storjshare-daemon/node_modules/storj-lib/node_modules/leveldown/node_modules/prebuild/node_modules/node-gyp/node_modules/which/node_modules/isexe/index.js:44:5
prebuild ERR! stack at /usr/local/lib/node_modules/storjshare-daemon/node_modules/storj-lib/node_modules/leveldown/node_modules/prebuild/node_modules/node-gyp/node_modules/which/node_modules/isexe/access.js:8:5
prebuild ERR! stack at FSReqWrap.oncomplete (fs.js:82:15)
prebuild ERR! not ok
prebuild ERR! build Error: not found: make
prebuild ERR! build at getNotFoundError (/usr/local/lib/node_modules/storjshare-daemon/node_modules/storj-lib/node_modules/leveldown/node_modules/prebuild/node_modules/node-gyp/node_modules/which/which.js:13:12)
prebuild ERR! build at F (/usr/local/lib/node_modules/storjshare-daemon/node_modules/storj-lib/node_modules/leveldown/node_modules/prebuild/node_modules/node-gyp/node_modules/which/which.js:68:19)
prebuild ERR! build at E (/usr/local/lib/node_modules/storjshare-daemon/node_modules/storj-lib/node_modules/leveldown/node_modules/prebuild/node_modules/node-gyp/node_modules/which/which.js:80:29)
prebuild ERR! build at /usr/local/lib/node_modules/storjshare-daemon/node_modules/storj-lib/node_modules/leveldown/node_modules/prebuild/node_modules/node-gyp/node_modules/which/which.js:89:16
prebuild ERR! build at /usr/local/lib/node_modules/storjshare-daemon/node_modules/storj-lib/node_modules/leveldown/node_modules/prebuild/node_modules/node-gyp/node_modules/which/node_modules/isexe/index.js:44:5
prebuild ERR! build at /usr/local/lib/node_modules/storjshare-daemon/node_modules/storj-lib/node_modules/leveldown/node_modules/prebuild/node_modules/node-gyp/node_modules/which/node_modules/isexe/access.js:8:5
prebuild ERR! build at FSReqWrap.oncomplete (fs.js:82:15)
npm ERR! Linux 3.10.77
npm ERR! argv "/volume1/@appstore/Node.js_v4/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "storjshare-daemon"
npm ERR! node v4.4.2
npm ERR! npm v2.15.0
npm ERR! code ELIFECYCLE
npm ERR! leveldown@1.5.3 install: prebuild --install
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the leveldown@1.5.3 install script 'prebuild --install'.
npm ERR! This is most likely a problem with the leveldown package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! prebuild --install
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs leveldown
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls leveldown
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /volume1/homes/admin/npm-debug.log
npm-debug.txt
The text was updated successfully, but these errors were encountered: