[ioBroker - Debian] Umzug auf den Beelink S1 mit 8GB RAM [Tutorial]

  • tach zusammen, ich bin auch mal umgestiegen von pi auf einen pc (zbox-id85)

    debian erfolgreich installiert, scheitere aber bei iobroker

    node lässt sich nicht installieren

    nodejs geht

    npm geht nicht

    folgende (fehler)meldung bekomme ich bei node

    ## Installing the NodeSource Node.js 8.x LTS Carbon repo...


    ## Populating apt-get cache...

    + apt-get update

    Ign:1 cdrom://[Debian GNU/Linux 9.6.0 _Stretch_ - Official i386 xfce-CD Binary-1 20181110-12:19] stretch InRelease

    Ign:2 cdrom://[Debian GNU/Linux 9.6.0 _Stretch_ - Official i386 xfce-CD Binary-1 20181110-12:19] stretch Release

    OK:3 cdrom://[Debian GNU/Linux 9.6.0 _Stretch_ - Official i386 xfce-CD Binary-1 20181110-12:19] stretch/main i386 Packages

    Ign:4 cdrom://[Debian GNU/Linux 9.6.0 _Stretch_ - Official i386 xfce-CD Binary-1 20181110-12:19] stretch/main all Packages

    OK:5 cdrom://[Debian GNU/Linux 9.6.0 _Stretch_ - Official i386 xfce-CD Binary-1 20181110-12:19] stretch/main Translation-de

    OK:6 cdrom://[Debian GNU/Linux 9.6.0 _Stretch_ - Official i386 xfce-CD Binary-1 20181110-12:19] stretch/main Translation-de_DE

    OK:7 cdrom://[Debian GNU/Linux 9.6.0 _Stretch_ - Official i386 xfce-CD Binary-1 20181110-12:19] stretch/main Translation-en

    Ign:3 cdrom://[Debian GNU/Linux 9.6.0 _Stretch_ - Official i386 xfce-CD Binary-1 20181110-12:19] stretch/main i386 Packages

    Ign:4 cdrom://[Debian GNU/Linux 9.6.0 _Stretch_ - Official i386 xfce-CD Binary-1 20181110-12:19] stretch/main all Packages

    Ign:5 cdrom://[Debian GNU/Linux 9.6.0 _Stretch_ - Official i386 xfce-CD Binary-1 20181110-12:19] stretch/main Translation-de

    OK:3 cdrom://[Debian GNU/Linux 9.6.0 _Stretch_ - Official i386 xfce-CD Binary-1 20181110-12:19] stretch/main i386 Packages

    Ign:6 cdrom://[Debian GNU/Linux 9.6.0 _Stretch_ - Official i386 xfce-CD Binary-1 20181110-12:19] stretch/main Translation-de_DE

    Ign:4 cdrom://[Debian GNU/Linux 9.6.0 _Stretch_ - Official i386 xfce-CD Binary-1 20181110-12:19] stretch/main all Packages

    Ign:7 cdrom://[Debian GNU/Linux 9.6.0 _Stretch_ - Official i386 xfce-CD Binary-1 20181110-12:19] stretch/main Translation-en

    OK:5 cdrom://[Debian GNU/Linux 9.6.0 _Stretch_ - Official i386 xfce-CD Binary-1 20181110-12:19] stretch/main Translation-de

    Ign:3 cdrom://[Debian GNU/Linux 9.6.0 _Stretch_ - Official i386 xfce-CD Binary-1 20181110-12:19] stretch/main i386 Packages

    OK:6 cdrom://[Debian GNU/Linux 9.6.0 _Stretch_ - Official i386 xfce-CD Binary-1 20181110-12:19] stretch/main Translation-de_DE

    Ign:5 cdrom://[Debian GNU/Linux 9.6.0 _Stretch_ - Official i386 xfce-CD Binary-1 20181110-12:19] stretch/main Translation-de

    Ign:4 cdrom://[Debian GNU/Linux 9.6.0 _Stretch_ - Official i386 xfce-CD Binary-1 20181110-12:19] stretch/main all Packages

    Ign:6 cdrom://[Debian GNU/Linux 9.6.0 _Stretch_ - Official i386 xfce-CD Binary-1 20181110-12:19] stretch/main Translation-de_DE

    OK:7 cdrom://[Debian GNU/Linux 9.6.0 _Stretch_ - Official i386 xfce-CD Binary-1 20181110-12:19] stretch/main Translation-en

    OK:3 cdrom://[Debian GNU/Linux 9.6.0 _Stretch_ - Official i386 xfce-CD Binary-1 20181110-12:19] stretch/main i386 Packages

    Ign:7 cdrom://[Debian GNU/Linux 9.6.0 _Stretch_ - Official i386 xfce-CD Binary-1 20181110-12:19] stretch/main Translation-en

    OK:5 cdrom://[Debian GNU/Linux 9.6.0 _Stretch_ - Official i386 xfce-CD Binary-1 20181110-12:19] stretch/main Translation-de

    Ign:3 cdrom://[Debian GNU/Linux 9.6.0 _Stretch_ - Official i386 xfce-CD Binary-1 20181110-12:19] stretch/main i386 Packages

    Ign:4 cdrom://[Debian GNU/Linux 9.6.0 _Stretch_ - Official i386 xfce-CD Binary-1 20181110-12:19] stretch/main all Packages

    Ign:5 cdrom://[Debian GNU/Linux 9.6.0 _Stretch_ - Official i386 xfce-CD Binary-1 20181110-12:19] stretch/main Translation-de

    OK:6 cdrom://[Debian GNU/Linux 9.6.0 _Stretch_ - Official i386 xfce-CD Binary-1 20181110-12:19] stretch/main Translation-de_DE

    OK:7 cdrom://[Debian GNU/Linux 9.6.0 _Stretch_ - Official i386 xfce-CD Binary-1 20181110-12:19] stretch/main Translation-en

    Ign:6 cdrom://[Debian GNU/Linux 9.6.0 _Stretch_ - Official i386 xfce-CD Binary-1 20181110-12:19] stretch/main Translation-de_DE

    OK:3 cdrom://[Debian GNU/Linux 9.6.0 _Stretch_ - Official i386 xfce-CD Binary-1 20181110-12:19] stretch/main i386 Packages

    Ign:7 cdrom://[Debian GNU/Linux 9.6.0 _Stretch_ - Official i386 xfce-CD Binary-1 20181110-12:19] stretch/main Translation-en

    Ign:4 cdrom://[Debian GNU/Linux 9.6.0 _Stretch_ - Official i386 xfce-CD Binary-1 20181110-12:19] stretch/main all Packages

    OK:5 cdrom://[Debian GNU/Linux 9.6.0 _Stretch_ - Official i386 xfce-CD Binary-1 20181110-12:19] stretch/main Translation-de

    OK:6 cdrom://[Debian GNU/Linux 9.6.0 _Stretch_ - Official i386 xfce-CD Binary-1 20181110-12:19] stretch/main Translation-de_DE

    OK:7 cdrom://[Debian GNU/Linux 9.6.0 _Stretch_ - Official i386 xfce-CD Binary-1 20181110-12:19] stretch/main Translation-en

    OK:8 http://security.debian.org/debian-security stretch/updates InRelease

    Ign:9 http://ftp.de.debian.org/debian stretch InRelease

    OK:10 http://ftp.de.debian.org/debian stretch-updates InRelease

    OK:11 http://ftp.de.debian.org/debian stretch Release

    Paketlisten werden gelesen... Fertig

    W: The repository 'cdrom://[Debian GNU/Linux 9.6.0 _Stretch_ - Official i386 xfc e-CD Binary-1 20181110-12:19] stretch Release' does not have a Release file.

    N: Data from such a repository can't be authenticated and is therefore potential ly dangerous to use.

    N: See apt-secure(8) manpage for repository creation and user configuration deta ils.

    ## Installing packages required for setup: apt-transport-https...

    + apt-get install -y apt-transport-https > /dev/null 2>&1

    hier kann ich nur mit strg c abbrechen

    node js klappt ja

    und bei npm kommt verzeichnis nicht vorhanden...

    was mache ich falsch?

  • Ähm gute frage...

    War der meinung es ist 64bit

    Ist das die lösung für das problem?

    Wenn es läuft wollte ich eh nochmal alles neu installieren damit der datenmüll den ich produziert habe weg ist

  • so für die jenigen die das selbe problem haben oder hatten, bei mir läuft es jetzt

    nochmal zu meiner hardware :

    zbox id85

    4 gb Ram

    16 gb ssd

    intel Prozessor

    Problem war das kleine linux image

    nach der insterlation von dem link:

    https://cdimage.debian.org/cdimage/unoffi…s2UULHjW8dXRZSU

    Iso DVD

    läuft alles ohne probleme durch

    Leider lässt sich aus irgend einen Grund iobroker nicht starten

    Node hat ne v nummer: v8.14.0

    Nodejs hat auch eine v nummer: v8.14.0

    Npm hat auch eine v nummer: 4.6.1

    Jemand rad für das problem?

    2 Mal editiert, zuletzt von wolf_666 (12. Dezember 2018 um 20:20)

  • so und auch hier konnte ich mir durch viel versuchen witerhelfen (ggf müsste die anleitung mal überarbeitet werden)

    curl -sL https://deb.nodesource.com/setup_6.x | bash - (6.x muss durch 10.x) ersetzt werden

    curl -sL https://deb.nodesource.com/setup_10.x | bash -

    anschließend den befehlt im grünen kästchen ausführen... es werden zwar einige warnungen und errors angezeigt aber es läuft

  • Hallo zusammen, ich habe ein Problem und zwar nachdem ich den Befehl: iobroker restore 0 dann sagt er

    host.Iobroker object system.certificates created

    System successfully restored!

    Danach bekomme ich vollgendes:

    root@Iobroker:/opt/iobroker# iobroker restore 0

    No connection to states 127.0.0.1:6379[redis]

    root@Iobroker:/opt/iobroker# iobroker start all

    No connection to states 127.0.0.1:6379[redis]

    Kann mir jemand helfen?

    Ich musste redis installieren!

    und zwar mit: apt-get install redis-server

    danach den iobroker neu starten und los ging die wilde Fahrt 8o

    Einmal editiert, zuletzt von NinjaTurtle (13. Dezember 2018 um 19:51) aus folgendem Grund: Lösung

  • Hier auch ein Problem bei der Installation von IoBroker:

    Div. Fehlermeldungen erscheinen nach dem ich "npm install iobroker --unsafe -perm" oder so angegeben habe.

    Wie kann ich hier noch gleich Fotos anhängen?

    Grüße

  • Mein Raspi stößt langsam auch an seine Grenzen, deshalb wird auch bei mir der Umzug anstehen.

    Welchen Mini-PC könnt ihr mir empfehlen? Sollte nicht all zu teuer sein .....

    Ich habe hier noch einen alten Igel-5/4. Würde der evtl. passen und kann man den RAM von 256MB auf 2 oder 4 GB upgraden?

    Würde der hier passen? Link - anklicken

    Einmal editiert, zuletzt von martin (16. Dezember 2018 um 15:11)

  • hallo leute,

    ich bin jetzt mal bis punkt 11 gekommen.

    1. mkdir /opt/iobroker
    2. chmod 777 /opt/iobroker
    3. cd /opt/iobroker

    aber an 11.4 scheitere ich

    4. npm install iobroker --unsafe-perm

    könnt ihr mir weiterhelfen

  • hallo leute,

    ich bin jetzt mal bis punkt 11 gekommen.


    1. mkdir /opt/iobroker
    2. chmod 777 /opt/iobroker
    3. cd /opt/iobroker

    aber an 11.4 scheitere ich

    4. npm install iobroker --unsafe-perm

    könnt ihr mir weiterhelfen

    Meine Glaskugel ist heute in der Spülmaschine, sorry.

    Vielleicht ein Screenshot bzw, Informationen, was genau da "scheitert"?

  • Meine Glaskugel ist heute in der Spülmaschine, sorry.

    Vielleicht ein Screenshot bzw, Informationen, was genau da "scheitert"?

    root@debian-iobroker:~# chmod 777 /opt/iobroker

    root@debian-iobroker:~# cd /opt/iobroker

    root@debian-iobroker:/opt/iobroker# npm install iobroker --unsafe-perm

    > iobroker@1.3.1 install /opt/iobroker/node_modules/iobroker

    > node lib/checkVersions.js

    NPM version: 3.10.10

    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    ioBroker needs at least Node.JS 8.12. You have installed 6.16.0

    Please update your Node.JS version!

    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    npm WARN enoent ENOENT: no such file or directory, open '/opt/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! Linux 4.9.0-8-686-pae

    npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker" "--unsafe-perm"

    npm ERR! node v6.16.0

    npm ERR! npm v3.10.10

    npm ERR! code ELIFECYCLE

    npm ERR! iobroker@1.3.1 install: `node lib/checkVersions.js`

    npm ERR! Exit status 2

    npm ERR!

    npm ERR! Failed at the iobroker@1.3.1 install script 'node lib/checkVersions.js'.

    npm ERR! Make sure you have the latest version of node.js and npm installed.

    npm ERR! If you do, this is most likely a problem with the iobroker package,

    npm ERR! not with npm itself.

    npm ERR! Tell the author that this fails on your system:

    npm ERR! node lib/checkVersions.js

    npm ERR! You can get information on how to open an issue for this project with:

    npm ERR! npm bugs iobroker

    npm ERR! Or if that isn't available, you can get their info via:

    npm ERR! npm owner ls iobroker

    npm ERR! There is likely additional logging output above.

    npm ERR! Please include the following file with any support request:

    npm ERR! /opt/iobroker/npm-debug.log

    root@debian-iobroker:/opt/iobroker#

  • Code
    NPM version: 3.10.10
    
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    
    ioBroker needs at least Node.JS 8.12. You have installed 6.16.0
    
    Please update your Node.JS version!
    
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    Da steht doch des Rätsels Lösung.

    NPM kommt mir auch sehr alt vor.

  • sudo npm install -g npm@8

    danach kannst du IoBroker installieren.

  • sudo npm install -g npm@8

    danach kannst du IoBroker installieren.

    nodejs habe ich auf die reihe bekomme nun ist das mein

    problem


    root@debian-iobroker:~# npm install -g npm@8

    npm ERR! code ETARGET

    npm ERR! notarget No matching version found for npm@8

    npm ERR! notarget In most cases you or one of your dependencies are requesting

    npm ERR! notarget a package version that doesn't exist.

    npm ERR! A complete log of this run can be found in:

    npm ERR! /root/.npm/_logs/2018-12-30T23_09_18_442Z-debug.log

    root@debian-iobroker:~#

  • was geben den die 3 Befehle aus?

    Code
    node -v
    nodejs -v
    npm -v
  • was geben den die 3 Befehle aus?

    Code
    node -v
    nodejs -v
    npm -v

    root@debian-iobroker:~# node -v

    v6.16.0

    root@debian-iobroker:~# nodejs -v

    v6.16.0

    root@debian-iobroker:~# npm -v

    6.5.0


    npm brauche ich aber 8.12


    NPM version: 6.5.0

    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    ioBroker needs at least Node.JS 8.12. You have installed 6.16.0

    Please update your Node.JS version!

    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    npm WARN enoent ENOENT: no such file or directory, open '/root/package.json'

    npm WARN root No description

    npm WARN root No repository field.

    npm WARN root No README data

    npm WARN root No license field.

    npm ERR! code ELIFECYCLE

    npm ERR! errno 2

    npm ERR! iobroker@1.3.1 install: `node lib/checkVersions.js`

    npm ERR! Exit status 2

    npm ERR!

    npm ERR! Failed at the iobroker@1.3.1 install 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! /root/.npm/_logs/2018-12-30T23_24_35_696Z-debug.log

    root@debian-iobroker:~#

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!