Probleme iobroker auf USB Stick zu installieren

Status
Für weitere Antworten geschlossen.

Feelgood187

Benutzer
Mitglied seit
28. Jun 2019
Beiträge
1
Punkte für Reaktionen
0
Punkte
0
Hallo zusammen, ich habe mir gerade eine neue DS218 gekauft und möchte darauf iobroker zum Laufen kriegen. Mangels Intel CPU (daher geht kein Docker) bleibt nur der weg es manuell zu installieren.

Damit die HDDs (2x 6TB WD Red) nicht permanent laufen wenn iobroker läuft, möchte ich das gerne node.js und iobroker auf einem angeschlossenen USB-Stick installieren.
Ich bin leider nicht besonders versiert mit der Kommandozeile und tue mich da jetzt sehr schwer.

Ich habe es geschafft die node.js Version auf 10.16 upzudaten, das sollte für iobroker ja reichen.

Nun versuche ich anhand der offiziellen ANleitung iobroker zu installieren (https://github.com/ioBroker/ioBroker/wiki/installation) - daran scheitere ich aber. Er sagt zwar am Ende

Rich (BBCode):
 ioBroker was installed successfully
    Open http://192.168.178.68:8081 in a browser and start configuring!

Aber das kann glaube ich nicht sein, denn er spuckt beim Installieren soo viele Errors aus, dass da irgendwas falsch läuft.

Was kann ich tun? Ich komm nicht weiter.

Rich (BBCode):
admin@FxDiskStation:/volumeUSB1/usbshare/iobroker$ npm install iobroker
node: /lib64/libstdc++.so.6: no version information available (required by node)
node: /lib64/libstdc++.so.6: no version information available (required by node)
node: /lib64/libstdc++.so.6: no version information available (required by node)


> iobroker@2.0.3 install /volumeUSB1/usbshare/iobroker/node_modules/iobroker
> node lib/checkVersions.js

node: /lib64/libstdc++.so.6: no version information available (required by node)
node: /lib64/libstdc++.so.6: no version information available (required by node)
node: /lib64/libstdc++.so.6: no version information available (required by node)


NPM version: 6.9.0

> iobroker@2.0.3 postinstall /volumeUSB1/usbshare/iobroker/node_modules/iobroker
> node lib/install.js

node: /lib64/libstdc++.so.6: no version information available (required by node)
node: /lib64/libstdc++.so.6: no version information available (required by node)
node: /lib64/libstdc++.so.6: no version information available (required by node)



???????????????????????????????????????????????????????????
?                                                         ?
? Manual installation of ioBroker is no longer supported  ?
? on Linux, OSX and FreeBSD!                              ?
? Please refer to the documentation on how to install it! ?
? https://github.com/ioBroker/ioBroker/wiki/Installation  ?
?                                                         ?
???????????????????????????????????????????????????????????


npm WARN enoent ENOENT: no such file or directory, open '/volumeUSB1/usbshare/iobroker/package.json'
npm WARN iobroker No description
npm WARN iobroker No repository field.
npm WARN iobroker No README data
npm WARN iobroker No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 100
npm ERR! iobroker@2.0.3 postinstall: `node lib/install.js`
npm ERR! Exit status 100
npm ERR!
npm ERR! Failed at the iobroker@2.0.3 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /var/services/homes/admin/.npm/_logs/2019-06-28T16_22_32_022Z-debug.log
admin@FxDiskStation:/volumeUSB1/usbshare/iobroker$ nodejs -v
-sh: nodejs: command not found
admin@FxDiskStation:/volumeUSB1/usbshare/iobroker$ npm -v
node: /lib64/libstdc++.so.6: no version information available (required by node)
node: /lib64/libstdc++.so.6: no version information available (required by node)
node: /lib64/libstdc++.so.6: no version information available (required by node)

6.9.0
admin@FxDiskStation:/volumeUSB1/usbshare/iobroker$
admin@FxDiskStation:/volumeUSB1/usbshare/iobroker$
admin@FxDiskStation:/volumeUSB1/usbshare/iobroker$
admin@FxDiskStation:/volumeUSB1/usbshare/iobroker$ sudo apt-get install -y build-essential libavahi-compat-libdnssd-dev libudev-dev libpam0g-dev
sudo: apt-get: command not found
admin@FxDiskStation:/volumeUSB1/usbshare/iobroker$ curl -sL https://iobroker.net/install.sh | bash -

==========================================================================

    Welcome to the ioBroker installer!
    Installer version: 2019-05-14

    You might need to enter your password a couple of times.

==========================================================================


==========================================================================
    Installing prerequisites (1/4)
==========================================================================

sudo: apt-get: command not found
Installed acl
sudo: apt-get: command not found
Installed sudo
sudo: apt-get: command not found
Installed libcap2-bin
sudo: apt-get: command not found
Installed build-essential
sudo: apt-get: command not found
Installed libavahi-compat-libdnssd-dev
sudo: apt-get: command not found
Installed libudev-dev
sudo: apt-get: command not found
Installed libpam0g-dev
sudo: apt-get: command not found
Installed pkg-config
sudo: apt-get: command not found
Installed git
sudo: apt-get: command not found
Installed curl
sudo: apt-get: command not found
Installed unzip
sudo: setcap: command not found

==========================================================================
    Creating ioBroker user and directory (2/4)
==========================================================================

sudo: useradd: command not found
User iobroker created
sudo: usermod: command not found
sudo: visudo: command not found
chown: invalid group: ‘admin:admin’
Directory /opt/iobroker created
chmod: changing permissions of ‘/opt/iobroker/INSTALLER_INFO.txt’: Operation not permitted

==========================================================================
    Installing ioBroker (3/4)
==========================================================================

node: /lib64/libstdc++.so.6: no version information available (required by node)
node: /lib64/libstdc++.so.6: no version information available (required by node)
node: /lib64/libstdc++.so.6: no version information available (required by node)
node: /lib64/libstdc++.so.6: no version information available (required by node)
node: /lib64/libstdc++.so.6: no version information available (required by node)
node: /lib64/libstdc++.so.6: no version information available (required by node)
node: /lib64/libstdc++.so.6: no version information available (required by node)
node: /lib64/libstdc++.so.6: no version information available (required by node)
npm ERR! path /opt/iobroker/node_modules/iobroker
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker'
npm ERR!  { [Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker']
npm ERR!   stack:
npm ERR!    'Error: EACCES: permission denied, access \'/opt/iobroker/node_modules/iobroker\'',
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'access',
npm ERR!   path: '/opt/iobroker/node_modules/iobroker' }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).

npm ERR! A complete log of this run can be found in:
npm ERR!     /var/services/homes/admin/.npm/_logs/2019-06-28T16_25_41_615Z-debug.log
node: /lib64/libstdc++.so.6: no version information available (required by node)
npm ERR! path /opt/iobroker/node_modules
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access '/opt/iobroker/node_modules'
npm ERR!  { [Error: EACCES: permission denied, access '/opt/iobroker/node_modules']
npm ERR!   stack:
npm ERR!    'Error: EACCES: permission denied, access \'/opt/iobroker/node_modules\'',
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'access',
npm ERR!   path: '/opt/iobroker/node_modules' }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).

npm ERR! A complete log of this run can be found in:
npm ERR!     /var/services/homes/admin/.npm/_logs/2019-06-28T16_26_00_853Z-debug.log

==========================================================================
    Finalizing installation (4/4)
==========================================================================

bash: line 556: /opt/iobroker/iobroker: Permission denied
Unsupported init system, cannot enable autostart!
Fixing directory permissions...
chown: invalid user: ‘iobroker:iobroker’
sudo: usermod: command not found
This system does not support setting default permissions.
Do not use npm to manually install adapters unless you know what you are doing!

==========================================================================

    ioBroker was installed successfully
    Open http://192.168.178.68:8081 in a browser and start configuring!

==========================================================================


You need to re-login before doing anything else on the console!
 

eror

Benutzer
Mitglied seit
06. Mai 2012
Beiträge
3
Punkte für Reaktionen
0
Punkte
0
Hallo zusammen,
ich bekommen den ioBroker auch nicht installiert.
Weiß jemand wie man das Problem löst.
Viele Grüße
Georg
 
Status
Für weitere Antworten geschlossen.
 

Kaffeautomat

Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.

Als Dankeschön schalten wir deinen Account werbefrei.

:coffee:

Hier gehts zum Kaffeeautomat