Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Einsteigerfragen
  4. iobroker läuft nicht mehr

NEWS

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    11
    1
    324

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.5k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.5k

iobroker läuft nicht mehr

Geplant Angeheftet Gesperrt Verschoben Einsteigerfragen
87 Beiträge 4 Kommentatoren 5.9k Aufrufe 3 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • E Emi 0

    @thomas-braun

    sorry, die Frage ist bei mir untergegangen.
    Nein, es ist nur ein raspi, der den Stromverbrauch misst.

    Thomas BraunT Online
    Thomas BraunT Online
    Thomas Braun
    Most Active
    schrieb am zuletzt editiert von Thomas Braun
    #22

    @emi-0

    Prüf mal die nodeJS-Installation:

    sudo ln -s /usr/bin/node /usr/bin/nodejs
    which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
    

    Linux-Werkzeugkasten:
    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
    NodeJS Fixer Skript:
    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

    E 1 Antwort Letzte Antwort
    0
    • E Emi 0

      @thomas-braun

      sorry, die Frage ist bei mir untergegangen.
      Nein, es ist nur ein raspi, der den Stromverbrauch misst.

      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      schrieb am zuletzt editiert von
      #23

      @emi-0
      Wenn nodejs in Version 14 sauber installiert ist:

      cd /opt/iobroker 
      sudo -H -u iobroker npm install iobroker.js-controller
      

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      E 1 Antwort Letzte Antwort
      0
      • Thomas BraunT Thomas Braun

        @emi-0
        Wenn nodejs in Version 14 sauber installiert ist:

        cd /opt/iobroker 
        sudo -H -u iobroker npm install iobroker.js-controller
        
        E Offline
        E Offline
        Emi 0
        schrieb am zuletzt editiert von Emi 0
        #24

        @thomas-braun

        micros02@smartmeter:~ $ cd /opt/iobroker
        micros02@smartmeter:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller
        
        removed 82 packages in 1m
        
        38 packages are looking for funding
          run `npm fund` for details
        micros02@smartmeter:/opt/iobroker $
        
        

        soll ich iobroker nochmal starten?

        1 Antwort Letzte Antwort
        0
        • Thomas BraunT Thomas Braun

          @emi-0

          Prüf mal die nodeJS-Installation:

          sudo ln -s /usr/bin/node /usr/bin/nodejs
          which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
          
          E Offline
          E Offline
          Emi 0
          schrieb am zuletzt editiert von Emi 0
          #25

          @thomas-braun

          ich interpretiere das so, dass die nodeJS-Installatiion i.O ist:

          micros02@smartmeter:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
          /usr/bin/nodejs
          /usr/bin/node
          /usr/bin/npm
          v12.22.5
          v12.22.5
          7.5.2
          micros02
          /home/micros02
          Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
          Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
          Reading package lists... Done
          Building dependency tree... Done
          Reading state information... Done
          54 packages can be upgraded. Run 'apt list --upgradable' to see them.
          nodejs:
            Installed: 12.22.5~dfsg-2~11u1
            Candidate: 12.22.5~dfsg-2~11u1
            Version table:
           *** 12.22.5~dfsg-2~11u1 500
                  500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                  100 /var/lib/dpkg/status
          
          

          aber ich sehe gerade, dass es die 12.22.5 ist

          HomoranH 1 Antwort Letzte Antwort
          0
          • E Emi 0

            @thomas-braun

            ich interpretiere das so, dass die nodeJS-Installatiion i.O ist:

            micros02@smartmeter:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
            /usr/bin/nodejs
            /usr/bin/node
            /usr/bin/npm
            v12.22.5
            v12.22.5
            7.5.2
            micros02
            /home/micros02
            Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
            Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
            Reading package lists... Done
            Building dependency tree... Done
            Reading state information... Done
            54 packages can be upgraded. Run 'apt list --upgradable' to see them.
            nodejs:
              Installed: 12.22.5~dfsg-2~11u1
              Candidate: 12.22.5~dfsg-2~11u1
              Version table:
             *** 12.22.5~dfsg-2~11u1 500
                    500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                    100 /var/lib/dpkg/status
            
            

            aber ich sehe gerade, dass es die 12.22.5 ist

            HomoranH Nicht stören
            HomoranH Nicht stören
            Homoran
            Global Moderator Administrators
            schrieb am zuletzt editiert von Homoran
            #26

            @emi-0 sagte in iobroker läuft nicht mehr:

            dass die nodeJS-Installatiion i.O ist:

            mit:

            @emi-0 sagte in iobroker läuft nicht mehr:

            v12.22.5
            7.5.2

            npm v7 eher nicht

            kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

            E 1 Antwort Letzte Antwort
            0
            • HomoranH Homoran

              @emi-0 sagte in iobroker läuft nicht mehr:

              dass die nodeJS-Installatiion i.O ist:

              mit:

              @emi-0 sagte in iobroker läuft nicht mehr:

              v12.22.5
              7.5.2

              npm v7 eher nicht

              E Offline
              E Offline
              Emi 0
              schrieb am zuletzt editiert von
              #27

              @homoran

              was kann ich tun?

              Thomas BraunT 1 Antwort Letzte Antwort
              0
              • E Emi 0

                @homoran

                was kann ich tun?

                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von
                #28

                @emi-0

                Und es ist auch die dfsg-Version, nicht die von nodesource gepackte.
                Installier sauber node14, Anleitung in meiner Signatur.

                Linux-Werkzeugkasten:
                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                NodeJS Fixer Skript:
                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                E 1 Antwort Letzte Antwort
                0
                • Thomas BraunT Thomas Braun

                  @emi-0

                  Und es ist auch die dfsg-Version, nicht die von nodesource gepackte.
                  Installier sauber node14, Anleitung in meiner Signatur.

                  E Offline
                  E Offline
                  Emi 0
                  schrieb am zuletzt editiert von
                  #29

                  @thomas-braun

                  Habe es nach Deiner Anleitung mehrfach versucht.

                  micros02@smartmeter:~ $ sudo apt update
                  Get:1 http://archive.raspberrypi.org/debian bullseye InRelease [23.7 kB]
                  Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                  Get:3 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [282 kB]
                  Fetched 306 kB in 6s (48.4 kB/s)
                  Reading package lists... Done
                  Building dependency tree... Done
                  Reading state information... Done
                  1 package can be upgraded. Run 'apt list --upgradable' to see it.
                  N: Ignoring file 'nodesource.list.save.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
                  N: Ignoring file 'nodesource.list.save.2' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
                  micros02@smartmeter:~ $ sudo apt upgrade
                  Reading package lists... Done
                  Building dependency tree... Done
                  Reading state information... Done
                  Calculating upgrade... Done
                  The following packages will be upgraded:
                    rpi-eeprom
                  1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                  Need to get 2,037 kB of archives.
                  After this operation, 1,574 kB of additional disk space will be used.
                  N: Ignoring file 'nodesource.list.save.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
                  N: Ignoring file 'nodesource.list.save.2' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
                  Do you want to continue? [Y/n] Y
                  Get:1 http://archive.raspberrypi.org/debian bullseye/main armhf rpi-eeprom armhf 13.13-1 [2,037 kB]
                  Fetched 2,037 kB in 1s (1,540 kB/s)
                  Reading changelogs... Done
                  N: Ignoring file 'nodesource.list.save.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
                  N: Ignoring file 'nodesource.list.save.2' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
                  (Reading database ... 53199 files and directories currently installed.)
                  Preparing to unpack .../rpi-eeprom_13.13-1_armhf.deb ...
                  Unpacking rpi-eeprom (13.13-1) over (13.12-1) ...
                  Setting up rpi-eeprom (13.13-1) ...
                  Processing triggers for man-db (2.9.4-2) ...
                  micros02@smartmeter:~ $ uname -a
                  Linux smartmeter 5.15.32+ #1538 Thu Mar 31 19:37:58 BST 2022 armv6l GNU/Linux
                  micros02@smartmeter:~ $ lsb_release -a
                  No LSB modules are available.
                  Distributor ID: Raspbian
                  Description:    Raspbian GNU/Linux 11 (bullseye)
                  Release:        11
                  Codename:       bullseye
                  micros02@smartmeter:~ $ nodejs -v
                  v12.22.5
                  micros02@smartmeter:~ $
                  
                  

                  Bleibt aber bei v12.22.5

                  Thomas BraunT 1 Antwort Letzte Antwort
                  0
                  • E Emi 0

                    @thomas-braun

                    Habe es nach Deiner Anleitung mehrfach versucht.

                    micros02@smartmeter:~ $ sudo apt update
                    Get:1 http://archive.raspberrypi.org/debian bullseye InRelease [23.7 kB]
                    Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                    Get:3 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [282 kB]
                    Fetched 306 kB in 6s (48.4 kB/s)
                    Reading package lists... Done
                    Building dependency tree... Done
                    Reading state information... Done
                    1 package can be upgraded. Run 'apt list --upgradable' to see it.
                    N: Ignoring file 'nodesource.list.save.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
                    N: Ignoring file 'nodesource.list.save.2' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
                    micros02@smartmeter:~ $ sudo apt upgrade
                    Reading package lists... Done
                    Building dependency tree... Done
                    Reading state information... Done
                    Calculating upgrade... Done
                    The following packages will be upgraded:
                      rpi-eeprom
                    1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                    Need to get 2,037 kB of archives.
                    After this operation, 1,574 kB of additional disk space will be used.
                    N: Ignoring file 'nodesource.list.save.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
                    N: Ignoring file 'nodesource.list.save.2' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
                    Do you want to continue? [Y/n] Y
                    Get:1 http://archive.raspberrypi.org/debian bullseye/main armhf rpi-eeprom armhf 13.13-1 [2,037 kB]
                    Fetched 2,037 kB in 1s (1,540 kB/s)
                    Reading changelogs... Done
                    N: Ignoring file 'nodesource.list.save.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
                    N: Ignoring file 'nodesource.list.save.2' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
                    (Reading database ... 53199 files and directories currently installed.)
                    Preparing to unpack .../rpi-eeprom_13.13-1_armhf.deb ...
                    Unpacking rpi-eeprom (13.13-1) over (13.12-1) ...
                    Setting up rpi-eeprom (13.13-1) ...
                    Processing triggers for man-db (2.9.4-2) ...
                    micros02@smartmeter:~ $ uname -a
                    Linux smartmeter 5.15.32+ #1538 Thu Mar 31 19:37:58 BST 2022 armv6l GNU/Linux
                    micros02@smartmeter:~ $ lsb_release -a
                    No LSB modules are available.
                    Distributor ID: Raspbian
                    Description:    Raspbian GNU/Linux 11 (bullseye)
                    Release:        11
                    Codename:       bullseye
                    micros02@smartmeter:~ $ nodejs -v
                    v12.22.5
                    micros02@smartmeter:~ $
                    
                    

                    Bleibt aber bei v12.22.5

                    Thomas BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    schrieb am zuletzt editiert von Thomas Braun
                    #30

                    @emi-0 sagte in iobroker läuft nicht mehr:

                    Da fehlt die Datei nodesource.list
                    Dafür hast du da nodesource.list.save.xy drin. Die werden nicht eingelesen, nur Dateiendungen .list werden berücksichtigt.

                    Linux-Werkzeugkasten:
                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                    NodeJS Fixer Skript:
                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                    Thomas BraunT 1 Antwort Letzte Antwort
                    0
                    • Thomas BraunT Thomas Braun

                      @emi-0 sagte in iobroker läuft nicht mehr:

                      Da fehlt die Datei nodesource.list
                      Dafür hast du da nodesource.list.save.xy drin. Die werden nicht eingelesen, nur Dateiendungen .list werden berücksichtigt.

                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      schrieb am zuletzt editiert von Thomas Braun
                      #31

                      @thomas-braun

                      sudo rm /etc/apt/sources.list.d/nodesource.li*
                      sudo apt remove nodejs*
                      curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash
                      sudo apt update
                      sudo apt install nodejs
                      sudo ln -s /usr/bin/node /usr/bin/nodejs
                      

                      Linux-Werkzeugkasten:
                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                      NodeJS Fixer Skript:
                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                      E 1 Antwort Letzte Antwort
                      0
                      • Thomas BraunT Thomas Braun

                        @thomas-braun

                        sudo rm /etc/apt/sources.list.d/nodesource.li*
                        sudo apt remove nodejs*
                        curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash
                        sudo apt update
                        sudo apt install nodejs
                        sudo ln -s /usr/bin/node /usr/bin/nodejs
                        
                        E Offline
                        E Offline
                        Emi 0
                        schrieb am zuletzt editiert von
                        #32

                        @thomas-braun

                        habe alle Schritte wie beschrieben ausgeführt.
                        Bleibt bei v12.22.5.
                        Kann iobroker nicht starten.
                        Kann es darab liegen, dass ich einen raspi zero verwende?

                        micros02@smartmeter:~ $ iobroker start
                        micros02@smartmeter:~ $ iob status
                        Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
                        micros02@smartmeter:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs
                        /usr/bin/nodejs
                        /usr/bin/node
                        micros02@smartmeter:~ $ nodejs -v
                        v12.22.5
                        micros02@smartmeter:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                        /usr/bin/nodejs
                        /usr/bin/node
                        micros02@smartmeter:~ $ uname -a
                        Linux smartmeter 5.15.32+ #1538 Thu Mar 31 19:37:58 BST 2022 armv6l GNU/Linux
                        micros02@smartmeter:~ $ lsb_release -a
                        No LSB modules are available.
                        Distributor ID: Raspbian
                        Description:    Raspbian GNU/Linux 11 (bullseye)
                        Release:        11
                        Codename:       bullseye
                        micros02@smartmeter:~ $
                        
                        
                        Thomas BraunT 1 Antwort Letzte Antwort
                        0
                        • E Emi 0

                          @thomas-braun

                          habe alle Schritte wie beschrieben ausgeführt.
                          Bleibt bei v12.22.5.
                          Kann iobroker nicht starten.
                          Kann es darab liegen, dass ich einen raspi zero verwende?

                          micros02@smartmeter:~ $ iobroker start
                          micros02@smartmeter:~ $ iob status
                          Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
                          micros02@smartmeter:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs
                          /usr/bin/nodejs
                          /usr/bin/node
                          micros02@smartmeter:~ $ nodejs -v
                          v12.22.5
                          micros02@smartmeter:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                          /usr/bin/nodejs
                          /usr/bin/node
                          micros02@smartmeter:~ $ uname -a
                          Linux smartmeter 5.15.32+ #1538 Thu Mar 31 19:37:58 BST 2022 armv6l GNU/Linux
                          micros02@smartmeter:~ $ lsb_release -a
                          No LSB modules are available.
                          Distributor ID: Raspbian
                          Description:    Raspbian GNU/Linux 11 (bullseye)
                          Release:        11
                          Codename:       bullseye
                          micros02@smartmeter:~ $
                          
                          
                          Thomas BraunT Online
                          Thomas BraunT Online
                          Thomas Braun
                          Most Active
                          schrieb am zuletzt editiert von Thomas Braun
                          #33

                          @emi-0

                          Das ist ein alter Raspberry.
                          Der muss bezüglich nodejs besonders/anders angepackt werden. In meinem nodejs-HowTo wird das aber auch erwähnt. Schau mal rein

                          Der hat 512MB RAM, oder? Das dürfte kaum für eine
                          sinnvollen Betrieb ausreichen. Das Doppelte ist schon schwierig.

                          Linux-Werkzeugkasten:
                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                          NodeJS Fixer Skript:
                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                          E 2 Antworten Letzte Antwort
                          0
                          • Thomas BraunT Thomas Braun

                            @emi-0

                            Das ist ein alter Raspberry.
                            Der muss bezüglich nodejs besonders/anders angepackt werden. In meinem nodejs-HowTo wird das aber auch erwähnt. Schau mal rein

                            Der hat 512MB RAM, oder? Das dürfte kaum für eine
                            sinnvollen Betrieb ausreichen. Das Doppelte ist schon schwierig.

                            E Offline
                            E Offline
                            Emi 0
                            schrieb am zuletzt editiert von
                            #34

                            @thomas-braun

                            Habe ich versucht aber v14 wird nicht gefunden:

                            micros02@smartmeter:~ $ wget https://unofficial-builds.nodejs.org/download/release/14/node-v14-linux-armv6l.tar.xz
                            --2022-04-30 16:45:25--  https://unofficial-builds.nodejs.org/download/release/14/node-v14-linux-armv6l.tar.xz
                            Resolving unofficial-builds.nodejs.org (unofficial-builds.nodejs.org)... 45.55.98.129
                            Connecting to unofficial-builds.nodejs.org (unofficial-builds.nodejs.org)|45.55.98.129|:443... connected.
                            HTTP request sent, awaiting response... 404 Not Found
                            2022-04-30 16:45:26 ERROR 404: Not Found.
                            
                            
                            Thomas BraunT 1 Antwort Letzte Antwort
                            0
                            • E Emi 0

                              @thomas-braun

                              Habe ich versucht aber v14 wird nicht gefunden:

                              micros02@smartmeter:~ $ wget https://unofficial-builds.nodejs.org/download/release/14/node-v14-linux-armv6l.tar.xz
                              --2022-04-30 16:45:25--  https://unofficial-builds.nodejs.org/download/release/14/node-v14-linux-armv6l.tar.xz
                              Resolving unofficial-builds.nodejs.org (unofficial-builds.nodejs.org)... 45.55.98.129
                              Connecting to unofficial-builds.nodejs.org (unofficial-builds.nodejs.org)|45.55.98.129|:443... connected.
                              HTTP request sent, awaiting response... 404 Not Found
                              2022-04-30 16:45:26 ERROR 404: Not Found.
                              
                              
                              Thomas BraunT Online
                              Thomas BraunT Online
                              Thomas Braun
                              Most Active
                              schrieb am zuletzt editiert von
                              #35

                              @emi-0 sagte in iobroker läuft nicht mehr:

                              VERSION muss ersetzt werden.

                              Statt

                              wget https://unofficial-builds.nodejs.org/download/release/VERSION/node-vVERSION-linux-armv6l.tar.xz
                              

                              also

                              wget https://unofficial-builds.nodejs.org/download/release/v14.19.1/node-v14.19.1-linux-armv6l.tar.xz
                              

                              Linux-Werkzeugkasten:
                              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                              NodeJS Fixer Skript:
                              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                              E 1 Antwort Letzte Antwort
                              0
                              • Thomas BraunT Thomas Braun

                                @emi-0

                                Das ist ein alter Raspberry.
                                Der muss bezüglich nodejs besonders/anders angepackt werden. In meinem nodejs-HowTo wird das aber auch erwähnt. Schau mal rein

                                Der hat 512MB RAM, oder? Das dürfte kaum für eine
                                sinnvollen Betrieb ausreichen. Das Doppelte ist schon schwierig.

                                E Offline
                                E Offline
                                Emi 0
                                schrieb am zuletzt editiert von
                                #36

                                @thomas-braun

                                ja, der hat 512MB. Hat, wie gesagt, seit März gut funktioniert. Er liest nur alle 5s die aktuelle Leistung und den Stromverbrauch über einen Infrarot-Lesekopf aus und schreibt die Werte in je eine json-Datei.

                                1 Antwort Letzte Antwort
                                0
                                • Thomas BraunT Thomas Braun

                                  @emi-0 sagte in iobroker läuft nicht mehr:

                                  VERSION muss ersetzt werden.

                                  Statt

                                  wget https://unofficial-builds.nodejs.org/download/release/VERSION/node-vVERSION-linux-armv6l.tar.xz
                                  

                                  also

                                  wget https://unofficial-builds.nodejs.org/download/release/v14.19.1/node-v14.19.1-linux-armv6l.tar.xz
                                  
                                  E Offline
                                  E Offline
                                  Emi 0
                                  schrieb am zuletzt editiert von
                                  #37

                                  @thomas-braun

                                  ich hatte VERSION durch 14 ersetzt.
                                  Anscheinend ist die aktuelle Version 14.19.1
                                  Das wusste ich nicht.
                                  Jetzt habe ich dieses Ergebnis:

                                  micros02@smartmeter:~ $ micros02@smartmeter:~ $ wget https://unofficial-builds.nodejs.org/download/release/14/node-v14-linux-armv6l.tar.xz
                                  --2022-04-30 16:45:25--  https://unofficial-builds.nodejs.org/download/release/14/node-v14-linux-armv6l.tar.xz
                                  Resolving unofficial-builds.nodejs.org (unofficial-builds.nodejs.org)... 45.55.98.129
                                  Connecting to unofficial-builds.nodejs.org (unofficial-builds.nodejs.org)|45.55.98.129|:443... connected.
                                  HTTP request sent, awaiting response... 404 Not Found
                                  2022-04-30 16:45:26 ERROR 404: Not Found.
                                  wget https://unofficial-builds.nodejs.org/download/release/v14.19.1/node-v14.19.1-linux-armv6l.tar.xz
                                  -bash: micros02@smartmeter:~: command not found
                                  -bash: --2022-04-30: command not found
                                  -bash: syntax error near unexpected token `('
                                  -bash: syntax error near unexpected token `('
                                  -bash: HTTP: command not found
                                  -bash: 2022-04-30: command not found
                                  --2022-04-30 17:07:41--  https://unofficial-builds.nodejs.org/download/release/v14.19.1/node-v14.19.1-linux-armv6l.tar.xz
                                  Resolving unofficial-builds.nodejs.org (unofficial-builds.nodejs.org)... 45.55.98.129
                                  Connecting to unofficial-builds.nodejs.org (unofficial-builds.nodejs.org)|45.55.98.129|:443... connected.
                                  HTTP request sent, awaiting response... 200 OK
                                  Length: 19453756 (19M) [application/x-xz]
                                  Saving to: ‘node-v14.19.1-linux-armv6l.tar.xz’
                                  
                                  node-v14.19.1-linux 100%[===================>]  18.55M  2.90MB/s    in 6.8s
                                  
                                  2022-04-30 17:07:48 (2.73 MB/s) - ‘node-v14.19.1-linux-armv6l.tar.xz’ saved [19453756/19453756]
                                  
                                  
                                  Thomas BraunT 1 Antwort Letzte Antwort
                                  0
                                  • E Emi 0

                                    @thomas-braun

                                    ich hatte VERSION durch 14 ersetzt.
                                    Anscheinend ist die aktuelle Version 14.19.1
                                    Das wusste ich nicht.
                                    Jetzt habe ich dieses Ergebnis:

                                    micros02@smartmeter:~ $ micros02@smartmeter:~ $ wget https://unofficial-builds.nodejs.org/download/release/14/node-v14-linux-armv6l.tar.xz
                                    --2022-04-30 16:45:25--  https://unofficial-builds.nodejs.org/download/release/14/node-v14-linux-armv6l.tar.xz
                                    Resolving unofficial-builds.nodejs.org (unofficial-builds.nodejs.org)... 45.55.98.129
                                    Connecting to unofficial-builds.nodejs.org (unofficial-builds.nodejs.org)|45.55.98.129|:443... connected.
                                    HTTP request sent, awaiting response... 404 Not Found
                                    2022-04-30 16:45:26 ERROR 404: Not Found.
                                    wget https://unofficial-builds.nodejs.org/download/release/v14.19.1/node-v14.19.1-linux-armv6l.tar.xz
                                    -bash: micros02@smartmeter:~: command not found
                                    -bash: --2022-04-30: command not found
                                    -bash: syntax error near unexpected token `('
                                    -bash: syntax error near unexpected token `('
                                    -bash: HTTP: command not found
                                    -bash: 2022-04-30: command not found
                                    --2022-04-30 17:07:41--  https://unofficial-builds.nodejs.org/download/release/v14.19.1/node-v14.19.1-linux-armv6l.tar.xz
                                    Resolving unofficial-builds.nodejs.org (unofficial-builds.nodejs.org)... 45.55.98.129
                                    Connecting to unofficial-builds.nodejs.org (unofficial-builds.nodejs.org)|45.55.98.129|:443... connected.
                                    HTTP request sent, awaiting response... 200 OK
                                    Length: 19453756 (19M) [application/x-xz]
                                    Saving to: ‘node-v14.19.1-linux-armv6l.tar.xz’
                                    
                                    node-v14.19.1-linux 100%[===================>]  18.55M  2.90MB/s    in 6.8s
                                    
                                    2022-04-30 17:07:48 (2.73 MB/s) - ‘node-v14.19.1-linux-armv6l.tar.xz’ saved [19453756/19453756]
                                    
                                    
                                    Thomas BraunT Online
                                    Thomas BraunT Online
                                    Thomas Braun
                                    Most Active
                                    schrieb am zuletzt editiert von
                                    #38

                                    @emi-0

                                    Dann ist das Archiv jetzt heruntergeladen worden.
                                    Also weiter im Text.

                                    VERSION wie gehabt ersetzen. Die Tab-Taste ist dein Freund.

                                    tar -xvf node-vVERSION-linux-armv6l.tar.xz
                                    cd node-vVERSION-linux-armv6l/
                                    sudo cp -R * /usr/local/
                                    sudo ln -s /usr/local/bin/node /usr/local/bin/nodejs
                                    sudo reboot
                                    

                                    Linux-Werkzeugkasten:
                                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                    NodeJS Fixer Skript:
                                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                    E 1 Antwort Letzte Antwort
                                    0
                                    • Thomas BraunT Thomas Braun

                                      @emi-0

                                      Dann ist das Archiv jetzt heruntergeladen worden.
                                      Also weiter im Text.

                                      VERSION wie gehabt ersetzen. Die Tab-Taste ist dein Freund.

                                      tar -xvf node-vVERSION-linux-armv6l.tar.xz
                                      cd node-vVERSION-linux-armv6l/
                                      sudo cp -R * /usr/local/
                                      sudo ln -s /usr/local/bin/node /usr/local/bin/nodejs
                                      sudo reboot
                                      
                                      E Offline
                                      E Offline
                                      Emi 0
                                      schrieb am zuletzt editiert von
                                      #39

                                      @thomas-braun

                                      habe alle Schritte ausgeführt und die nodejs-Installation geprüft:

                                      micros02@smartmeter:~ $ sudo ln -s /usr/bin/node /usr/bin/nodejs
                                      ln: failed to create symbolic link '/usr/bin/nodejs': File exists
                                      micros02@smartmeter:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                      /usr/local/bin/nodejs
                                      /usr/local/bin/node
                                      /usr/local/bin/npm
                                      v14.19.1
                                      v14.19.1
                                      6.14.16
                                      micros02
                                      /home/micros02
                                      Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                                      Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
                                      Reading package lists... Done
                                      Building dependency tree... Done
                                      Reading state information... Done
                                      2 packages can be upgraded. Run 'apt list --upgradable' to see them.
                                      nodejs:
                                        Installed: (none)
                                        Candidate: 12.22.5~dfsg-2~11u1
                                        Version table:
                                           12.22.5~dfsg-2~11u1 500
                                              500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                                      micros02@smartmeter:~ $
                                      
                                      
                                      Thomas BraunT 1 Antwort Letzte Antwort
                                      0
                                      • E Emi 0

                                        @thomas-braun

                                        habe alle Schritte ausgeführt und die nodejs-Installation geprüft:

                                        micros02@smartmeter:~ $ sudo ln -s /usr/bin/node /usr/bin/nodejs
                                        ln: failed to create symbolic link '/usr/bin/nodejs': File exists
                                        micros02@smartmeter:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                        /usr/local/bin/nodejs
                                        /usr/local/bin/node
                                        /usr/local/bin/npm
                                        v14.19.1
                                        v14.19.1
                                        6.14.16
                                        micros02
                                        /home/micros02
                                        Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                                        Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
                                        Reading package lists... Done
                                        Building dependency tree... Done
                                        Reading state information... Done
                                        2 packages can be upgraded. Run 'apt list --upgradable' to see them.
                                        nodejs:
                                          Installed: (none)
                                          Candidate: 12.22.5~dfsg-2~11u1
                                          Version table:
                                             12.22.5~dfsg-2~11u1 500
                                                500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                                        micros02@smartmeter:~ $
                                        
                                        
                                        Thomas BraunT Online
                                        Thomas BraunT Online
                                        Thomas Braun
                                        Most Active
                                        schrieb am zuletzt editiert von
                                        #40

                                        @emi-0 sagte in iobroker läuft nicht mehr:

                                        nodeJS passt nun.

                                        Die beiden Updates noch einspielen:

                                        2 packages can be upgraded

                                        sudo apt full-upgrade
                                        

                                        Linux-Werkzeugkasten:
                                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                        NodeJS Fixer Skript:
                                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                        E 1 Antwort Letzte Antwort
                                        0
                                        • Thomas BraunT Thomas Braun

                                          @emi-0 sagte in iobroker läuft nicht mehr:

                                          nodeJS passt nun.

                                          Die beiden Updates noch einspielen:

                                          2 packages can be upgraded

                                          sudo apt full-upgrade
                                          
                                          E Offline
                                          E Offline
                                          Emi 0
                                          schrieb am zuletzt editiert von
                                          #41

                                          @thomas-braun

                                          das hat funktioniert:

                                          micros02@smartmeter:~ $ sudo apt full-upgrade
                                          Reading package lists... Done
                                          Building dependency tree... Done
                                          Reading state information... Done
                                          Calculating upgrade... Done
                                          The following packages were automatically installed and are no longer required:
                                            gyp javascript-common libc-ares2 libjs-highlight.js libjs-inherits
                                            libjs-is-typedarray libjs-psl libjs-typedarray-to-buffer libnode-dev
                                            libnode72 libssl-dev libuv1-dev xdg-utils
                                          Use 'sudo apt autoremove' to remove them.
                                          The following packages will be upgraded:
                                            libexpat1 libexpat1-dev
                                          2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                                          Need to get 198 kB of archives.
                                          After this operation, 3,072 B of additional disk space will be used.
                                          Do you want to continue? [Y/n] Y
                                          Get:1 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libexpat1-dev armhf 2.2.10-2+deb11u3 [123 kB]
                                          Get:2 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libexpat1 armhf 2.2.10-2+deb11u3 [74.9 kB]
                                          Fetched 198 kB in 1s (182 kB/s)
                                          Reading changelogs... Done
                                          (Reading database ... 49910 files and directories currently installed.)
                                          Preparing to unpack .../libexpat1-dev_2.2.10-2+deb11u3_armhf.deb ...
                                          Unpacking libexpat1-dev:armhf (2.2.10-2+deb11u3) over (2.2.10-2+deb11u2) ...
                                          Preparing to unpack .../libexpat1_2.2.10-2+deb11u3_armhf.deb ...
                                          Unpacking libexpat1:armhf (2.2.10-2+deb11u3) over (2.2.10-2+deb11u2) ...
                                          Setting up libexpat1:armhf (2.2.10-2+deb11u3) ...
                                          Setting up libexpat1-dev:armhf (2.2.10-2+deb11u3) ...
                                          Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u2) ...
                                          micros02@smartmeter:~ $
                                          
                                          
                                          Thomas BraunT 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          690

                                          Online

                                          32.5k

                                          Benutzer

                                          81.7k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe