Skip to content
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. Einsteigerfragen
  4. Installation
  5. Erfolgreiche Installation aber kein Webinterface

NEWS

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

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.8k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.0k

Erfolgreiche Installation aber kein Webinterface

Erfolgreiche Installation aber kein Webinterface

Scheduled Pinned Locked Moved Installation
27 Posts 7 Posters 2.4k Views 7 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    Waidmann
    wrote on last edited by
    #1

    Hi zusammen,

    habe ich auf einem Rasp 3b iobroker installiert. Soweit keine Fehler bei der Installation. Wenn ich am PC dann über den Browser die Setuproutine aufrufen will ist die Seite nicht erreichbar. Ich komme nicht weiter.

    node version 16.19.1
    npm version 8.19.3

    hat jemand eine idee was ich tun kann?

    crunchipC CodierknechtC 2 Replies Last reply
    0
    • W Waidmann

      Hi zusammen,

      habe ich auf einem Rasp 3b iobroker installiert. Soweit keine Fehler bei der Installation. Wenn ich am PC dann über den Browser die Setuproutine aufrufen will ist die Seite nicht erreichbar. Ich komme nicht weiter.

      node version 16.19.1
      npm version 8.19.3

      hat jemand eine idee was ich tun kann?

      crunchipC Away
      crunchipC Away
      crunchip
      Forum Testing Most Active
      wrote on last edited by
      #2

      @waidmann sagte in Erfolgreiche Installation aber kein Webinterface:

      Wenn ich am PC dann über den Browser die Setuproutine aufrufen will ist die Seite nicht erreichbar.

      was ist damit gemeint?

      umgestiegen von Proxmox auf Unraid

      1 Reply Last reply
      0
      • W Waidmann

        Hi zusammen,

        habe ich auf einem Rasp 3b iobroker installiert. Soweit keine Fehler bei der Installation. Wenn ich am PC dann über den Browser die Setuproutine aufrufen will ist die Seite nicht erreichbar. Ich komme nicht weiter.

        node version 16.19.1
        npm version 8.19.3

        hat jemand eine idee was ich tun kann?

        CodierknechtC Offline
        CodierknechtC Offline
        Codierknecht
        Developer Most Active
        wrote on last edited by
        #3

        @waidmann
        Mal abgesehen davon, dass Du mit einem Raspi3 nicht lange glücklich sein wirst:
        Wie rufst Du das Webinterface des ioBroker auf?

        http://ip.vom.raspi:8081
        

        "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler, "Refactoring")

        Proxmox 8.2.4 LXC|8 GB|Core i7-6700
        HmIP|ZigBee|Tasmota|Unifi + dies & das
        Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

        W 1 Reply Last reply
        0
        • CodierknechtC Codierknecht

          @waidmann
          Mal abgesehen davon, dass Du mit einem Raspi3 nicht lange glücklich sein wirst:
          Wie rufst Du das Webinterface des ioBroker auf?

          http://ip.vom.raspi:8081
          
          W Offline
          W Offline
          Waidmann
          wrote on last edited by
          #4

          @codierknecht

          ich nehme einen brower an meinem desktop pc (im gleichen netzwerk) und gebe "http://192.168.72.154:8081" in die adresszeile ein. ist die IP des Rasp.
          ist der 3b dafür zu schwach auf der brust? eigentlich soll nur iobroker und nextcloud darauf laufen.

          @crunchip
          per ssh hab ich die installationsroutine auf dem raps ohne fehler beendet, was ja mit der aufforderung endet wie oben beschrieben per browser aufzurufen. nur genau das funktioniert nicht.

          Thomas BraunT CodierknechtC 2 Replies Last reply
          0
          • W Waidmann

            @codierknecht

            ich nehme einen brower an meinem desktop pc (im gleichen netzwerk) und gebe "http://192.168.72.154:8081" in die adresszeile ein. ist die IP des Rasp.
            ist der 3b dafür zu schwach auf der brust? eigentlich soll nur iobroker und nextcloud darauf laufen.

            @crunchip
            per ssh hab ich die installationsroutine auf dem raps ohne fehler beendet, was ja mit der aufforderung endet wie oben beschrieben per browser aufzurufen. nur genau das funktioniert nicht.

            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            wrote on last edited by
            #5

            @waidmann
            Führ mal

            iob diag
            

            aus. Da kann man ggf. direkt sehen wo es klemmt.

            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

            1 Reply Last reply
            0
            • W Waidmann

              @codierknecht

              ich nehme einen brower an meinem desktop pc (im gleichen netzwerk) und gebe "http://192.168.72.154:8081" in die adresszeile ein. ist die IP des Rasp.
              ist der 3b dafür zu schwach auf der brust? eigentlich soll nur iobroker und nextcloud darauf laufen.

              @crunchip
              per ssh hab ich die installationsroutine auf dem raps ohne fehler beendet, was ja mit der aufforderung endet wie oben beschrieben per browser aufzurufen. nur genau das funktioniert nicht.

              CodierknechtC Offline
              CodierknechtC Offline
              Codierknecht
              Developer Most Active
              wrote on last edited by Codierknecht
              #6

              @waidmann sagte in Erfolgreiche Installation aber kein Webinterface:

              ist der 3b dafür zu schwach auf der brust? eigentlich soll nur iobroker und nextcloud darauf laufen.

              Der Raspi3 hat 1 GB RAM? Da ist schon beim ioBroker alleine bei nur wenigen Adaptern Ende der Fahnenstange.
              Zusammen mit NextCloud wird's dann vermutlich ganz schnell eng.

              Aber grundsätzlich sollte das erstmal laufen. Zum Testen sollte das erstmal reichen.

              Windows-Firewall kann ich mir zwar nicht wirklich vorstellen, aber vielleicht schaltest Du die mal testweise ab.

              Was sagt denn

              iob diag
              

              in der Konsole (SSH)?

              "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler, "Refactoring")

              Proxmox 8.2.4 LXC|8 GB|Core i7-6700
              HmIP|ZigBee|Tasmota|Unifi + dies & das
              Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

              W 1 Reply Last reply
              0
              • CodierknechtC Codierknecht

                @waidmann sagte in Erfolgreiche Installation aber kein Webinterface:

                ist der 3b dafür zu schwach auf der brust? eigentlich soll nur iobroker und nextcloud darauf laufen.

                Der Raspi3 hat 1 GB RAM? Da ist schon beim ioBroker alleine bei nur wenigen Adaptern Ende der Fahnenstange.
                Zusammen mit NextCloud wird's dann vermutlich ganz schnell eng.

                Aber grundsätzlich sollte das erstmal laufen. Zum Testen sollte das erstmal reichen.

                Windows-Firewall kann ich mir zwar nicht wirklich vorstellen, aber vielleicht schaltest Du die mal testweise ab.

                Was sagt denn

                iob diag
                

                in der Konsole (SSH)?

                W Offline
                W Offline
                Waidmann
                wrote on last edited by
                #7

                @Codierknecht @Thomas-Braun

                ======================= SUMMARY =======================
                                     v.2023-04-02
                
                
                Operatingsystem:        Raspbian GNU/Linux 11 (bullseye)
                Kernel:                 6.1.21-v7+
                Installation:           Native
                Timezone:               Europe/Berlin (CEST, +0200)
                User-ID:                1000
                X-Server:               false
                Boot Target:            multi-user.target
                
                Pending OS-Updates:     0
                /opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/core/dispatchRequest.js:1
                �<
                ^
                
                SyntaxError: Invalid or unexpected token
                    at Object.compileFunction (node:vm:360:18)
                    at wrapSafe (node:internal/modules/cjs/loader:1119:15)
                    at Module._compile (node:internal/modules/cjs/loader:1155:27)
                    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
                    at Module.load (node:internal/modules/cjs/loader:1069:32)
                    at Function.Module._load (node:internal/modules/cjs/loader:904:12)
                    at Module.require (node:internal/modules/cjs/loader:1093:19)
                    at require (node:internal/modules/cjs/helpers:108:18)
                    at Object.<anonymous> (/opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/core/Axios.js:6:23)
                    at Module._compile (node:internal/modules/cjs/loader:1191:14)
                Pending iob updates:    0
                
                Nodejs-Installation:    /usr/bin/nodejs         v16.19.1
                                        /usr/bin/node           v16.19.1
                                        /usr/bin/npm            8.19.3
                                        /usr/bin/npx            8.19.3
                
                Recommended versions are nodejs 18.x.y and npm 9.x.y
                
                MEMORY:
                               total        used        free      shared  buff/cache   available
                Mem:            921M         59M        506M        1.0M        356M        806M
                Swap:            99M          0B         99M
                Total:          1.0G         59M        606M
                
                /opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/core/dispatchRequest.js:1
                �<
                ^
                
                SyntaxError: Invalid or unexpected token
                    at Object.compileFunction (node:vm:360:18)
                    at wrapSafe (node:internal/modules/cjs/loader:1119:15)
                    at Module._compile (node:internal/modules/cjs/loader:1155:27)
                    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
                    at Module.load (node:internal/modules/cjs/loader:1069:32)
                    at Function.Module._load (node:internal/modules/cjs/loader:904:12)
                    at Module.require (node:internal/modules/cjs/loader:1093:19)
                    at require (node:internal/modules/cjs/helpers:108:18)
                    at Object.<anonymous> (/opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/core/Axios.js:6:23)
                    at Module._compile (node:internal/modules/cjs/loader:1191:14)
                Active iob-Instances:   0
                /opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/core/dispatchRequest.js:1
                �<
                ^
                
                SyntaxError: Invalid or unexpected token
                    at Object.compileFunction (node:vm:360:18)
                    at wrapSafe (node:internal/modules/cjs/loader:1119:15)
                    at Module._compile (node:internal/modules/cjs/loader:1155:27)
                    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
                    at Module.load (node:internal/modules/cjs/loader:1069:32)
                    at Function.Module._load (node:internal/modules/cjs/loader:904:12)
                    at Module.require (node:internal/modules/cjs/loader:1093:19)
                    at require (node:internal/modules/cjs/helpers:108:18)
                    at Object.<anonymous> (/opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/core/Axios.js:6:23)
                    at Module._compile (node:internal/modules/cjs/loader:1191:14)
                
                /opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/core/dispatchRequest.js:1
                �<
                ^
                
                SyntaxError: Invalid or unexpected token
                    at Object.compileFunction (node:vm:360:18)
                    at wrapSafe (node:internal/modules/cjs/loader:1119:15)
                    at Module._compile (node:internal/modules/cjs/loader:1155:27)
                    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
                    at Module.load (node:internal/modules/cjs/loader:1069:32)
                    at Function.Module._load (node:internal/modules/cjs/loader:904:12)
                    at Module.require (node:internal/modules/cjs/loader:1093:19)
                    at require (node:internal/modules/cjs/helpers:108:18)
                    at Object.<anonymous> (/opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/core/Axios.js:6:23)
                    at Module._compile (node:internal/modules/cjs/loader:1191:14)
                ioBroker Core:          js-controller
                /opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/core/dispatchRequest.js:1
                �<
                ^
                
                SyntaxError: Invalid or unexpected token
                    at Object.compileFunction (node:vm:360:18)
                    at wrapSafe (node:internal/modules/cjs/loader:1119:15)
                    at Module._compile (node:internal/modules/cjs/loader:1155:27)
                    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
                    at Module.load (node:internal/modules/cjs/loader:1069:32)
                    at Function.Module._load (node:internal/modules/cjs/loader:904:12)
                    at Module.require (node:internal/modules/cjs/loader:1093:19)
                    at require (node:internal/modules/cjs/helpers:108:18)
                    at Object.<anonymous> (/opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/core/Axios.js:6:23)
                    at Module._compile (node:internal/modules/cjs/loader:1191:14)
                                        admin
                
                /opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/core/dispatchRequest.js:1
                �<
                ^
                
                SyntaxError: Invalid or unexpected token
                    at Object.compileFunction (node:vm:360:18)
                    at wrapSafe (node:internal/modules/cjs/loader:1119:15)
                    at Module._compile (node:internal/modules/cjs/loader:1155:27)
                    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
                    at Module.load (node:internal/modules/cjs/loader:1069:32)
                    at Function.Module._load (node:internal/modules/cjs/loader:904:12)
                    at Module.require (node:internal/modules/cjs/loader:1093:19)
                    at require (node:internal/modules/cjs/helpers:108:18)
                    at Object.<anonymous> (/opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/core/Axios.js:6:23)
                    at Module._compile (node:internal/modules/cjs/loader:1191:14)
                ioBroker Status:
                
                Status admin and web instance:
                /opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/core/dispatchRequest.js:1
                �<
                ^
                
                SyntaxError: Invalid or unexpected token
                    at Object.compileFunction (node:vm:360:18)
                    at wrapSafe (node:internal/modules/cjs/loader:1119:15)
                    at Module._compile (node:internal/modules/cjs/loader:1155:27)
                    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
                    at Module.load (node:internal/modules/cjs/loader:1069:32)
                    at Function.Module._load (node:internal/modules/cjs/loader:904:12)
                    at Module.require (node:internal/modules/cjs/loader:1093:19)
                    at require (node:internal/modules/cjs/helpers:108:18)
                    at Object.<anonymous> (/opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/core/Axios.js:6:23)
                    at Module._compile (node:internal/modules/cjs/loader:1191:14)
                
                Objects:                0
                States:                 0
                
                Size of iob-Database:
                
                96K     /opt/iobroker/iobroker-data/objects.jsonl
                4.0K    /opt/iobroker/iobroker-data/states.jsonl
                
                
                
                =================== END OF SUMMARY ====================
                
                Thomas BraunT 1 Reply Last reply
                0
                • Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  wrote on last edited by
                  #8

                  @waidmann

                  iobroker ist nicht richtig installiert. Was hast du genau gemacht?
                  Der iob-Installer würde wohl auch derzeitig nodejs18 anschleppen, also irgendwas hast du da falsch/anders als vorgesehen gemacht.

                  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

                  DJMarc75D W 2 Replies Last reply
                  0
                  • W Waidmann

                    @Codierknecht @Thomas-Braun

                    ======================= SUMMARY =======================
                                         v.2023-04-02
                    
                    
                    Operatingsystem:        Raspbian GNU/Linux 11 (bullseye)
                    Kernel:                 6.1.21-v7+
                    Installation:           Native
                    Timezone:               Europe/Berlin (CEST, +0200)
                    User-ID:                1000
                    X-Server:               false
                    Boot Target:            multi-user.target
                    
                    Pending OS-Updates:     0
                    /opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/core/dispatchRequest.js:1
                    �<
                    ^
                    
                    SyntaxError: Invalid or unexpected token
                        at Object.compileFunction (node:vm:360:18)
                        at wrapSafe (node:internal/modules/cjs/loader:1119:15)
                        at Module._compile (node:internal/modules/cjs/loader:1155:27)
                        at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
                        at Module.load (node:internal/modules/cjs/loader:1069:32)
                        at Function.Module._load (node:internal/modules/cjs/loader:904:12)
                        at Module.require (node:internal/modules/cjs/loader:1093:19)
                        at require (node:internal/modules/cjs/helpers:108:18)
                        at Object.<anonymous> (/opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/core/Axios.js:6:23)
                        at Module._compile (node:internal/modules/cjs/loader:1191:14)
                    Pending iob updates:    0
                    
                    Nodejs-Installation:    /usr/bin/nodejs         v16.19.1
                                            /usr/bin/node           v16.19.1
                                            /usr/bin/npm            8.19.3
                                            /usr/bin/npx            8.19.3
                    
                    Recommended versions are nodejs 18.x.y and npm 9.x.y
                    
                    MEMORY:
                                   total        used        free      shared  buff/cache   available
                    Mem:            921M         59M        506M        1.0M        356M        806M
                    Swap:            99M          0B         99M
                    Total:          1.0G         59M        606M
                    
                    /opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/core/dispatchRequest.js:1
                    �<
                    ^
                    
                    SyntaxError: Invalid or unexpected token
                        at Object.compileFunction (node:vm:360:18)
                        at wrapSafe (node:internal/modules/cjs/loader:1119:15)
                        at Module._compile (node:internal/modules/cjs/loader:1155:27)
                        at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
                        at Module.load (node:internal/modules/cjs/loader:1069:32)
                        at Function.Module._load (node:internal/modules/cjs/loader:904:12)
                        at Module.require (node:internal/modules/cjs/loader:1093:19)
                        at require (node:internal/modules/cjs/helpers:108:18)
                        at Object.<anonymous> (/opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/core/Axios.js:6:23)
                        at Module._compile (node:internal/modules/cjs/loader:1191:14)
                    Active iob-Instances:   0
                    /opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/core/dispatchRequest.js:1
                    �<
                    ^
                    
                    SyntaxError: Invalid or unexpected token
                        at Object.compileFunction (node:vm:360:18)
                        at wrapSafe (node:internal/modules/cjs/loader:1119:15)
                        at Module._compile (node:internal/modules/cjs/loader:1155:27)
                        at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
                        at Module.load (node:internal/modules/cjs/loader:1069:32)
                        at Function.Module._load (node:internal/modules/cjs/loader:904:12)
                        at Module.require (node:internal/modules/cjs/loader:1093:19)
                        at require (node:internal/modules/cjs/helpers:108:18)
                        at Object.<anonymous> (/opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/core/Axios.js:6:23)
                        at Module._compile (node:internal/modules/cjs/loader:1191:14)
                    
                    /opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/core/dispatchRequest.js:1
                    �<
                    ^
                    
                    SyntaxError: Invalid or unexpected token
                        at Object.compileFunction (node:vm:360:18)
                        at wrapSafe (node:internal/modules/cjs/loader:1119:15)
                        at Module._compile (node:internal/modules/cjs/loader:1155:27)
                        at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
                        at Module.load (node:internal/modules/cjs/loader:1069:32)
                        at Function.Module._load (node:internal/modules/cjs/loader:904:12)
                        at Module.require (node:internal/modules/cjs/loader:1093:19)
                        at require (node:internal/modules/cjs/helpers:108:18)
                        at Object.<anonymous> (/opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/core/Axios.js:6:23)
                        at Module._compile (node:internal/modules/cjs/loader:1191:14)
                    ioBroker Core:          js-controller
                    /opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/core/dispatchRequest.js:1
                    �<
                    ^
                    
                    SyntaxError: Invalid or unexpected token
                        at Object.compileFunction (node:vm:360:18)
                        at wrapSafe (node:internal/modules/cjs/loader:1119:15)
                        at Module._compile (node:internal/modules/cjs/loader:1155:27)
                        at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
                        at Module.load (node:internal/modules/cjs/loader:1069:32)
                        at Function.Module._load (node:internal/modules/cjs/loader:904:12)
                        at Module.require (node:internal/modules/cjs/loader:1093:19)
                        at require (node:internal/modules/cjs/helpers:108:18)
                        at Object.<anonymous> (/opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/core/Axios.js:6:23)
                        at Module._compile (node:internal/modules/cjs/loader:1191:14)
                                            admin
                    
                    /opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/core/dispatchRequest.js:1
                    �<
                    ^
                    
                    SyntaxError: Invalid or unexpected token
                        at Object.compileFunction (node:vm:360:18)
                        at wrapSafe (node:internal/modules/cjs/loader:1119:15)
                        at Module._compile (node:internal/modules/cjs/loader:1155:27)
                        at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
                        at Module.load (node:internal/modules/cjs/loader:1069:32)
                        at Function.Module._load (node:internal/modules/cjs/loader:904:12)
                        at Module.require (node:internal/modules/cjs/loader:1093:19)
                        at require (node:internal/modules/cjs/helpers:108:18)
                        at Object.<anonymous> (/opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/core/Axios.js:6:23)
                        at Module._compile (node:internal/modules/cjs/loader:1191:14)
                    ioBroker Status:
                    
                    Status admin and web instance:
                    /opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/core/dispatchRequest.js:1
                    �<
                    ^
                    
                    SyntaxError: Invalid or unexpected token
                        at Object.compileFunction (node:vm:360:18)
                        at wrapSafe (node:internal/modules/cjs/loader:1119:15)
                        at Module._compile (node:internal/modules/cjs/loader:1155:27)
                        at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
                        at Module.load (node:internal/modules/cjs/loader:1069:32)
                        at Function.Module._load (node:internal/modules/cjs/loader:904:12)
                        at Module.require (node:internal/modules/cjs/loader:1093:19)
                        at require (node:internal/modules/cjs/helpers:108:18)
                        at Object.<anonymous> (/opt/iobroker/node_modules/@alcalzone/pak/node_modules/axios/lib/core/Axios.js:6:23)
                        at Module._compile (node:internal/modules/cjs/loader:1191:14)
                    
                    Objects:                0
                    States:                 0
                    
                    Size of iob-Database:
                    
                    96K     /opt/iobroker/iobroker-data/objects.jsonl
                    4.0K    /opt/iobroker/iobroker-data/states.jsonl
                    
                    
                    
                    =================== END OF SUMMARY ====================
                    
                    Thomas BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    wrote on last edited by
                    #9

                    @waidmann

                    Ich würde das nochmal neu von Grund auf aufsetzen und dann auch die 64bit-Version von Raspberry OS hernehmen.

                    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

                    1 Reply Last reply
                    0
                    • Thomas BraunT Thomas Braun

                      @waidmann

                      iobroker ist nicht richtig installiert. Was hast du genau gemacht?
                      Der iob-Installer würde wohl auch derzeitig nodejs18 anschleppen, also irgendwas hast du da falsch/anders als vorgesehen gemacht.

                      DJMarc75D Offline
                      DJMarc75D Offline
                      DJMarc75
                      wrote on last edited by
                      #10

                      @thomas-braun sagte in Erfolgreiche Installation aber kein Webinterface:

                      Der iob-Installer würde wohl auch derzeitig nodejs18 anschleppen

                      Tut er leider noch nicht.

                      Lehrling seit 1975 !!!
                      Beitrag geholfen ? dann gerne ein upvote rechts unten im Beitrag klicken ;)
                      https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge

                      1 Reply Last reply
                      0
                      • Thomas BraunT Thomas Braun

                        @waidmann

                        iobroker ist nicht richtig installiert. Was hast du genau gemacht?
                        Der iob-Installer würde wohl auch derzeitig nodejs18 anschleppen, also irgendwas hast du da falsch/anders als vorgesehen gemacht.

                        W Offline
                        W Offline
                        Waidmann
                        wrote on last edited by
                        #11

                        @thomas-braun

                        So steht es in der Dokumenation unter Installation -> Linux, und das hab ich so gemacht. Am Ende kam successfully weshalb ich da kein Problem gesehen hab.
                        Ich mache grad das 64bit image fertig und versuche es erneut.

                        Über die Konsole und je nach verwendetem OS ein System-Update mit sudo apt-get update && sudo apt-get upgrade bzw. sudo apt update && sudo apt upgrade durchführen.

                        ioBroker mit dem curl -sLf https://iobroker.net/install.sh | bash - installieren.

                        Es wird das Installationsskript ausgeführt. Je nach Hardware kann die Installation dauern.

                        Die Installation erfolgt in 4 Schritten welche in der Konsole zu sehen sind:

                        Installing prerequisites (1/4)

                        Creating ioBroker user and directory (2/4)

                        Installing ioBroker (3/4)

                        Finalizing installation (4/4)

                        Zum Abschluss kommt dann noch die Meldung

                        ioBroker was installed successfully

                        Open http://localhost:8081 in a browser and start configuring!

                        Thomas BraunT 1 Reply Last reply
                        0
                        • W Waidmann

                          @thomas-braun

                          So steht es in der Dokumenation unter Installation -> Linux, und das hab ich so gemacht. Am Ende kam successfully weshalb ich da kein Problem gesehen hab.
                          Ich mache grad das 64bit image fertig und versuche es erneut.

                          Über die Konsole und je nach verwendetem OS ein System-Update mit sudo apt-get update && sudo apt-get upgrade bzw. sudo apt update && sudo apt upgrade durchführen.

                          ioBroker mit dem curl -sLf https://iobroker.net/install.sh | bash - installieren.

                          Es wird das Installationsskript ausgeführt. Je nach Hardware kann die Installation dauern.

                          Die Installation erfolgt in 4 Schritten welche in der Konsole zu sehen sind:

                          Installing prerequisites (1/4)

                          Creating ioBroker user and directory (2/4)

                          Installing ioBroker (3/4)

                          Finalizing installation (4/4)

                          Zum Abschluss kommt dann noch die Meldung

                          ioBroker was installed successfully

                          Open http://localhost:8081 in a browser and start configuring!

                          Thomas BraunT Online
                          Thomas BraunT Online
                          Thomas Braun
                          Most Active
                          wrote on last edited by
                          #12

                          @waidmann

                          Kannst auch mal hier reinschauen:

                          https://forum.iobroker.net/topic/51869/installation-auf-raspi-einfacher-geht-s-nicht

                          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

                          W 1 Reply Last reply
                          0
                          • Thomas BraunT Thomas Braun

                            @waidmann

                            Kannst auch mal hier reinschauen:

                            https://forum.iobroker.net/topic/51869/installation-auf-raspi-einfacher-geht-s-nicht

                            W Offline
                            W Offline
                            Waidmann
                            wrote on last edited by Waidmann
                            #13

                            @thomas-braun

                            So, 64 bit ohne Desktop installation inkl. upgrade durchgelaufen. dann noch die häufigkeit der SD Karte angepasst und reboot. per putty drauf und

                            curl -sLf https://iobroker.net/install.sh | bash -
                            

                            eingegeben. Die Kommandozeile spricht ohne Hinweise in die nächste Zeile und nichts passiert...

                            Also irgendwie stimmt doch hier was nicht...

                            Nachtrag:
                            bei curl befehlen kommt oft "Illegal instruction"

                            Thomas BraunT 1 Reply Last reply
                            0
                            • W Waidmann

                              @thomas-braun

                              So, 64 bit ohne Desktop installation inkl. upgrade durchgelaufen. dann noch die häufigkeit der SD Karte angepasst und reboot. per putty drauf und

                              curl -sLf https://iobroker.net/install.sh | bash -
                              

                              eingegeben. Die Kommandozeile spricht ohne Hinweise in die nächste Zeile und nichts passiert...

                              Also irgendwie stimmt doch hier was nicht...

                              Nachtrag:
                              bei curl befehlen kommt oft "Illegal instruction"

                              Thomas BraunT Online
                              Thomas BraunT Online
                              Thomas Braun
                              Most Active
                              wrote on last edited by Thomas Braun
                              #14

                              @waidmann sagte in Erfolgreiche Installation aber kein Webinterface:

                              curl -sLf https://iobroker.net/install.sh

                              Versuch mal den Befehl:

                              curl -Lf https://iobroker.net/install.sh | bash -
                              

                              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

                              W A 2 Replies Last reply
                              0
                              • Thomas BraunT Thomas Braun

                                @waidmann sagte in Erfolgreiche Installation aber kein Webinterface:

                                curl -sLf https://iobroker.net/install.sh

                                Versuch mal den Befehl:

                                curl -Lf https://iobroker.net/install.sh | bash -
                                
                                W Offline
                                W Offline
                                Waidmann
                                wrote on last edited by
                                #15

                                @thomas-braun

                                war mir nicht sicher versehentlich was falsches eingegeben zu haben. Also nochmal das 64bit img auf die SD Karte via imager (ohne desktop). Ganze Prozedere erneut gemäß Anleitung. Also erstmal alle update pakete geladen und dann direkt mit dem upgrade auf den neusten stand, SD Befehl vor dem Reboot hinterhergeschoben und neustart.
                                Dann über den befehl iobroker installiert. beim punkt 3 kam jetzt ein Fehler. am Ende fehlt wohl npm jetzt. Wie kann mit dem gleichen image und gleichem Verfahren auf mal ein Fehler auftauchen?
                                Hab am Ende nochmal manuel versucht node und npm nachzuinstallieren. Aber ne, klappt auch nicht. vielleicht muss ich erstmal ausschlafen.... danke für eure mühen... 😞

                                Hier der gesamte Log:

                                Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023 aarc                                                                                                                                                                                                                                             h64
                                
                                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: Sat Apr  8 01:05:44 2023
                                waidi@raspberrypi:~ $ curl -Lf https://iobroker.net/install.sh | bash -
                                  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                100    65  100    65    0     0    280      0 --:--:-- --:--:-- --:--:--   280
                                100 38978  100 38978    0     0   118k      0 --:--:-- --:--:-- --:--:--  118k
                                library: loaded
                                Library version=2022-12-09
                                
                                ==========================================================================
                                
                                    Welcome to the ioBroker installer!
                                    Installer version: 2022-12-22
                                
                                    You might need to enter your password a couple of times.
                                
                                ==========================================================================
                                
                                
                                ==========================================================================
                                    Installing prerequisites (1/4)
                                ==========================================================================
                                
                                OK:1 http://security.debian.org/debian-security bullseye-security InRelease
                                OK:2 http://deb.debian.org/debian bullseye InRelease
                                OK:3 http://deb.debian.org/debian bullseye-updates InRelease
                                OK:4 http://archive.raspberrypi.org/debian bullseye InRelease
                                Holen:5 http://deb.debian.org/debian bullseye/main Translation-de_DE [830 B]
                                Holen:6 http://deb.debian.org/debian bullseye/main Translation-de [1.718 kB]
                                Es wurden 1.719 kB in 4 s geholt (428 kB/s).
                                Paketlisten werden gelesen… Fertig
                                
                                ==========================================================================
                                
                                    Node.js not found. Installing...
                                
                                ==========================================================================
                                
                                
                                ## Installing the NodeSource Node.js 16.x repo...
                                
                                
                                ## Populating apt-get cache...
                                
                                + apt-get update
                                OK:1 http://security.debian.org/debian-security bullseye-security InRelease
                                OK:2 http://deb.debian.org/debian bullseye InRelease
                                OK:3 http://deb.debian.org/debian bullseye-updates InRelease
                                OK:4 http://archive.raspberrypi.org/debian bullseye InRelease
                                Paketlisten werden gelesen… Fertig
                                
                                ## Confirming "bullseye" is supported...
                                
                                + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_16.x/dists/bullseye/Release'
                                
                                ## Adding the NodeSource signing key to your keyring...
                                
                                + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesource.gpg >/dev/null
                                
                                ## Creating apt sources list file for the NodeSource Node.js 16.x repo...
                                
                                + echo 'deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x bullseye main' > /etc/apt/sources.list.d/nodesource.list
                                + echo 'deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x bullseye main' >> /etc/apt/sources.list.d/nodesource.list
                                
                                ## Running `apt-get update` for you...
                                
                                + apt-get update
                                OK:1 http://deb.debian.org/debian bullseye InRelease
                                OK:2 http://deb.debian.org/debian bullseye-updates InRelease
                                OK:3 http://security.debian.org/debian-security bullseye-security InRelease
                                Holen:4 https://deb.nodesource.com/node_16.x bullseye InRelease [4.586 B]
                                OK:5 http://archive.raspberrypi.org/debian bullseye InRelease
                                Holen:6 https://deb.nodesource.com/node_16.x bullseye/main arm64 Packages [776 B]
                                Holen:7 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages [783 B]
                                Es wurden 6.145 B in 3 s geholt (2.203 B/s).
                                Paketlisten werden gelesen… Fertig
                                
                                ## Run `sudo apt-get install -y nodejs` to install Node.js 16.x and npm
                                ## You may also need development tools to build native addons:
                                     sudo apt-get install gcc g++ make
                                ## To install the Yarn package manager, run:
                                     curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null
                                     echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
                                     sudo apt-get update && sudo apt-get install yarn
                                
                                
                                Installed nodejs
                                Node.js Installed successfully!
                                Changing npm registry to https://registry.npmjs.org
                                Installed acl
                                Installed gcc-c++
                                Installed libavahi-compat-libdnssd-dev
                                Installed libudev-dev
                                Installed libpam0g-dev
                                Installed git
                                Installed libcairo2-dev
                                
                                Installed libpango1.0-dev
                                Installed libjpeg-dev
                                Installed libgif-dev
                                Installed librsvg2-dev
                                Installed cmake
                                
                                ==========================================================================
                                    Creating ioBroker user and directory (2/4)
                                ==========================================================================
                                
                                User iobroker created
                                Created /etc/sudoers.d/iobroker
                                Directory /opt/iobroker created
                                
                                ==========================================================================
                                    Installing ioBroker (3/4)
                                ==========================================================================
                                
                                npm ERR! code 1
                                npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
                                npm ERR! command failed
                                npm ERR! command sh -c -- node iobroker.js setup first
                                npm ERR! /opt/iobroker/node_modules/jsonwebtoken/verify.js:1
                                npm ERR! 31bc23
                                npm ERR! ^^
                                npm ERR!
                                npm ERR! SyntaxError: Invalid or unexpected token
                                npm ERR!     at Object.compileFunction (node:vm:360:18)
                                npm ERR!     at wrapSafe (node:internal/modules/cjs/loader:1119:15)
                                npm ERR!     at Module._compile (node:internal/modules/cjs/loader:1155:27)
                                npm ERR!     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
                                npm ERR!     at Module.load (node:internal/modules/cjs/loader:1069:32)
                                npm ERR!     at Function.Module._load (node:internal/modules/cjs/loader:904:12)
                                npm ERR!     at Module.require (node:internal/modules/cjs/loader:1093:19)
                                npm ERR!     at require (node:internal/modules/cjs/helpers:108:18)
                                npm ERR!     at Object.<anonymous> (/opt/iobroker/node_modules/jsonwebtoken/index.js:3:11)
                                npm ERR!     at Module._compile (node:internal/modules/cjs/loader:1191:14)
                                
                                npm ERR! A complete log of this run can be found in:
                                npm ERR!     /home/waidi/.npm/_logs/2023-04-07T23_49_51_717Z-debug-0.log
                                
                                ==========================================================================
                                    Finalizing installation (4/4)
                                ==========================================================================
                                
                                Enabling autostart...
                                Created symlink /etc/systemd/system/multi-user.target.wants/iobroker.service → /lib/systemd/system/iobroker.service.
                                Autostart enabled!
                                Fixing directory permissions...
                                
                                ==========================================================================
                                
                                    ioBroker was installed successfully
                                    Open http://192.168.178.55:8081 in a browser and start configuring!
                                
                                ==========================================================================
                                
                                
                                You need to re-login before doing anything else on the console!
                                
                                waidi@raspberrypi:~ $
                                waidi@raspberrypi:~ $ node -v
                                v16.19.1
                                waidi@raspberrypi:~ $ npm -v
                                node:internal/modules/cjs/loader:1021
                                  const err = new Error(message);
                                              ^
                                
                                Error: Cannot find module 'gauge'
                                Require stack:
                                - /usr/lib/node_modules/npm/node_modules/npmlog/lib/log.js
                                - /usr/lib/node_modules/npm/lib/utils/log-shim.js
                                - /usr/lib/node_modules/npm/lib/utils/exit-handler.js
                                - /usr/lib/node_modules/npm/lib/cli.js
                                - /usr/lib/node_modules/npm/bin/npm-cli.js
                                    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1021:15)
                                    at Function.Module._load (node:internal/modules/cjs/loader:866:27)
                                    at Module.require (node:internal/modules/cjs/loader:1093:19)
                                    at require (node:internal/modules/cjs/helpers:108:18)
                                    at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/npmlog/lib/log.js:3:13)
                                    at Module._compile (node:internal/modules/cjs/loader:1191:14)
                                    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
                                    at Module.load (node:internal/modules/cjs/loader:1069:32)
                                    at Function.Module._load (node:internal/modules/cjs/loader:904:12)
                                    at Module.require (node:internal/modules/cjs/loader:1093:19) {
                                  code: 'MODULE_NOT_FOUND',
                                  requireStack: [
                                    '/usr/lib/node_modules/npm/node_modules/npmlog/lib/log.js',
                                    '/usr/lib/node_modules/npm/lib/utils/log-shim.js',
                                    '/usr/lib/node_modules/npm/lib/utils/exit-handler.js',
                                    '/usr/lib/node_modules/npm/lib/cli.js',
                                    '/usr/lib/node_modules/npm/bin/npm-cli.js'
                                  ]
                                }
                                waidi@raspberrypi:~ $ curl -sSL https://deb.nodesource.com/setup_16.x | sudo bash -
                                
                                ## Installing the NodeSource Node.js 16.x repo...
                                
                                
                                ## Populating apt-get cache...
                                
                                + apt-get update
                                OK:1 http://archive.raspberrypi.org/debian bullseye InRelease
                                OK:2 http://deb.debian.org/debian bullseye InRelease
                                OK:3 http://deb.debian.org/debian bullseye-updates InRelease
                                OK:4 http://security.debian.org/debian-security bullseye-security InRelease
                                OK:5 https://deb.nodesource.com/node_16.x bullseye InRelease
                                Paketlisten werden gelesen… Fertig
                                
                                ## Confirming "bullseye" is supported...
                                
                                + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_16.x/dists/bullseye/Release'
                                
                                ## Adding the NodeSource signing key to your keyring...
                                
                                + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesource.gpg >/dev/null
                                
                                ## Creating apt sources list file for the NodeSource Node.js 16.x repo...
                                
                                + echo 'deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x bullseye main' > /etc/apt/sources.list.d/nodesource.list
                                + echo 'deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x bullseye main' >> /etc/apt/sources.list.d/nodesource.list
                                
                                ## Running `apt-get update` for you...
                                
                                + apt-get update
                                OK:1 http://deb.debian.org/debian bullseye InRelease
                                OK:2 http://deb.debian.org/debian bullseye-updates InRelease
                                OK:3 http://security.debian.org/debian-security bullseye-security InRelease
                                OK:4 http://archive.raspberrypi.org/debian bullseye InRelease
                                OK:5 https://deb.nodesource.com/node_16.x bullseye InRelease
                                Paketlisten werden gelesen… Fertig
                                
                                ## Run `sudo apt-get install -y nodejs` to install Node.js 16.x and npm
                                ## You may also need development tools to build native addons:
                                     sudo apt-get install gcc g++ make
                                ## To install the Yarn package manager, run:
                                     curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null
                                     echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
                                     sudo apt-get update && sudo apt-get install yarn
                                
                                
                                waidi@raspberrypi:~ $ sudo apt-get install -y nodejs
                                Paketlisten werden gelesen… Fertig
                                Abhängigkeitsbaum wird aufgebaut… Fertig
                                Statusinformationen werden eingelesen… Fertig
                                nodejs ist schon die neueste Version (16.19.1-deb-1nodesource1).
                                0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                                waidi@raspberrypi:~ $ node -v
                                v16.19.1
                                waidi@raspberrypi:~ $ npm -v
                                node:internal/modules/cjs/loader:1021
                                  const err = new Error(message);
                                              ^
                                
                                Error: Cannot find module 'gauge'
                                Require stack:
                                - /usr/lib/node_modules/npm/node_modules/npmlog/lib/log.js
                                - /usr/lib/node_modules/npm/lib/utils/log-shim.js
                                - /usr/lib/node_modules/npm/lib/utils/exit-handler.js
                                - /usr/lib/node_modules/npm/lib/cli.js
                                - /usr/lib/node_modules/npm/bin/npm-cli.js
                                    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1021:15)
                                    at Function.Module._load (node:internal/modules/cjs/loader:866:27)
                                    at Module.require (node:internal/modules/cjs/loader:1093:19)
                                    at require (node:internal/modules/cjs/helpers:108:18)
                                    at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/npmlog/lib/log.js:3:13)
                                    at Module._compile (node:internal/modules/cjs/loader:1191:14)
                                    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
                                    at Module.load (node:internal/modules/cjs/loader:1069:32)
                                    at Function.Module._load (node:internal/modules/cjs/loader:904:12)
                                    at Module.require (node:internal/modules/cjs/loader:1093:19) {
                                  code: 'MODULE_NOT_FOUND',
                                  requireStack: [
                                    '/usr/lib/node_modules/npm/node_modules/npmlog/lib/log.js',
                                    '/usr/lib/node_modules/npm/lib/utils/log-shim.js',
                                    '/usr/lib/node_modules/npm/lib/utils/exit-handler.js',
                                    '/usr/lib/node_modules/npm/lib/cli.js',
                                    '/usr/lib/node_modules/npm/bin/npm-cli.js'
                                  ]
                                }
                                waidi@raspberrypi:~ $
                                
                                
                                Thomas BraunT 2 Replies Last reply
                                0
                                • W Waidmann

                                  @thomas-braun

                                  war mir nicht sicher versehentlich was falsches eingegeben zu haben. Also nochmal das 64bit img auf die SD Karte via imager (ohne desktop). Ganze Prozedere erneut gemäß Anleitung. Also erstmal alle update pakete geladen und dann direkt mit dem upgrade auf den neusten stand, SD Befehl vor dem Reboot hinterhergeschoben und neustart.
                                  Dann über den befehl iobroker installiert. beim punkt 3 kam jetzt ein Fehler. am Ende fehlt wohl npm jetzt. Wie kann mit dem gleichen image und gleichem Verfahren auf mal ein Fehler auftauchen?
                                  Hab am Ende nochmal manuel versucht node und npm nachzuinstallieren. Aber ne, klappt auch nicht. vielleicht muss ich erstmal ausschlafen.... danke für eure mühen... 😞

                                  Hier der gesamte Log:

                                  Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023 aarc                                                                                                                                                                                                                                             h64
                                  
                                  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: Sat Apr  8 01:05:44 2023
                                  waidi@raspberrypi:~ $ curl -Lf https://iobroker.net/install.sh | bash -
                                    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  100    65  100    65    0     0    280      0 --:--:-- --:--:-- --:--:--   280
                                  100 38978  100 38978    0     0   118k      0 --:--:-- --:--:-- --:--:--  118k
                                  library: loaded
                                  Library version=2022-12-09
                                  
                                  ==========================================================================
                                  
                                      Welcome to the ioBroker installer!
                                      Installer version: 2022-12-22
                                  
                                      You might need to enter your password a couple of times.
                                  
                                  ==========================================================================
                                  
                                  
                                  ==========================================================================
                                      Installing prerequisites (1/4)
                                  ==========================================================================
                                  
                                  OK:1 http://security.debian.org/debian-security bullseye-security InRelease
                                  OK:2 http://deb.debian.org/debian bullseye InRelease
                                  OK:3 http://deb.debian.org/debian bullseye-updates InRelease
                                  OK:4 http://archive.raspberrypi.org/debian bullseye InRelease
                                  Holen:5 http://deb.debian.org/debian bullseye/main Translation-de_DE [830 B]
                                  Holen:6 http://deb.debian.org/debian bullseye/main Translation-de [1.718 kB]
                                  Es wurden 1.719 kB in 4 s geholt (428 kB/s).
                                  Paketlisten werden gelesen… Fertig
                                  
                                  ==========================================================================
                                  
                                      Node.js not found. Installing...
                                  
                                  ==========================================================================
                                  
                                  
                                  ## Installing the NodeSource Node.js 16.x repo...
                                  
                                  
                                  ## Populating apt-get cache...
                                  
                                  + apt-get update
                                  OK:1 http://security.debian.org/debian-security bullseye-security InRelease
                                  OK:2 http://deb.debian.org/debian bullseye InRelease
                                  OK:3 http://deb.debian.org/debian bullseye-updates InRelease
                                  OK:4 http://archive.raspberrypi.org/debian bullseye InRelease
                                  Paketlisten werden gelesen… Fertig
                                  
                                  ## Confirming "bullseye" is supported...
                                  
                                  + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_16.x/dists/bullseye/Release'
                                  
                                  ## Adding the NodeSource signing key to your keyring...
                                  
                                  + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesource.gpg >/dev/null
                                  
                                  ## Creating apt sources list file for the NodeSource Node.js 16.x repo...
                                  
                                  + echo 'deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x bullseye main' > /etc/apt/sources.list.d/nodesource.list
                                  + echo 'deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x bullseye main' >> /etc/apt/sources.list.d/nodesource.list
                                  
                                  ## Running `apt-get update` for you...
                                  
                                  + apt-get update
                                  OK:1 http://deb.debian.org/debian bullseye InRelease
                                  OK:2 http://deb.debian.org/debian bullseye-updates InRelease
                                  OK:3 http://security.debian.org/debian-security bullseye-security InRelease
                                  Holen:4 https://deb.nodesource.com/node_16.x bullseye InRelease [4.586 B]
                                  OK:5 http://archive.raspberrypi.org/debian bullseye InRelease
                                  Holen:6 https://deb.nodesource.com/node_16.x bullseye/main arm64 Packages [776 B]
                                  Holen:7 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages [783 B]
                                  Es wurden 6.145 B in 3 s geholt (2.203 B/s).
                                  Paketlisten werden gelesen… Fertig
                                  
                                  ## Run `sudo apt-get install -y nodejs` to install Node.js 16.x and npm
                                  ## You may also need development tools to build native addons:
                                       sudo apt-get install gcc g++ make
                                  ## To install the Yarn package manager, run:
                                       curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null
                                       echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
                                       sudo apt-get update && sudo apt-get install yarn
                                  
                                  
                                  Installed nodejs
                                  Node.js Installed successfully!
                                  Changing npm registry to https://registry.npmjs.org
                                  Installed acl
                                  Installed gcc-c++
                                  Installed libavahi-compat-libdnssd-dev
                                  Installed libudev-dev
                                  Installed libpam0g-dev
                                  Installed git
                                  Installed libcairo2-dev
                                  
                                  Installed libpango1.0-dev
                                  Installed libjpeg-dev
                                  Installed libgif-dev
                                  Installed librsvg2-dev
                                  Installed cmake
                                  
                                  ==========================================================================
                                      Creating ioBroker user and directory (2/4)
                                  ==========================================================================
                                  
                                  User iobroker created
                                  Created /etc/sudoers.d/iobroker
                                  Directory /opt/iobroker created
                                  
                                  ==========================================================================
                                      Installing ioBroker (3/4)
                                  ==========================================================================
                                  
                                  npm ERR! code 1
                                  npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
                                  npm ERR! command failed
                                  npm ERR! command sh -c -- node iobroker.js setup first
                                  npm ERR! /opt/iobroker/node_modules/jsonwebtoken/verify.js:1
                                  npm ERR! 31bc23
                                  npm ERR! ^^
                                  npm ERR!
                                  npm ERR! SyntaxError: Invalid or unexpected token
                                  npm ERR!     at Object.compileFunction (node:vm:360:18)
                                  npm ERR!     at wrapSafe (node:internal/modules/cjs/loader:1119:15)
                                  npm ERR!     at Module._compile (node:internal/modules/cjs/loader:1155:27)
                                  npm ERR!     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
                                  npm ERR!     at Module.load (node:internal/modules/cjs/loader:1069:32)
                                  npm ERR!     at Function.Module._load (node:internal/modules/cjs/loader:904:12)
                                  npm ERR!     at Module.require (node:internal/modules/cjs/loader:1093:19)
                                  npm ERR!     at require (node:internal/modules/cjs/helpers:108:18)
                                  npm ERR!     at Object.<anonymous> (/opt/iobroker/node_modules/jsonwebtoken/index.js:3:11)
                                  npm ERR!     at Module._compile (node:internal/modules/cjs/loader:1191:14)
                                  
                                  npm ERR! A complete log of this run can be found in:
                                  npm ERR!     /home/waidi/.npm/_logs/2023-04-07T23_49_51_717Z-debug-0.log
                                  
                                  ==========================================================================
                                      Finalizing installation (4/4)
                                  ==========================================================================
                                  
                                  Enabling autostart...
                                  Created symlink /etc/systemd/system/multi-user.target.wants/iobroker.service → /lib/systemd/system/iobroker.service.
                                  Autostart enabled!
                                  Fixing directory permissions...
                                  
                                  ==========================================================================
                                  
                                      ioBroker was installed successfully
                                      Open http://192.168.178.55:8081 in a browser and start configuring!
                                  
                                  ==========================================================================
                                  
                                  
                                  You need to re-login before doing anything else on the console!
                                  
                                  waidi@raspberrypi:~ $
                                  waidi@raspberrypi:~ $ node -v
                                  v16.19.1
                                  waidi@raspberrypi:~ $ npm -v
                                  node:internal/modules/cjs/loader:1021
                                    const err = new Error(message);
                                                ^
                                  
                                  Error: Cannot find module 'gauge'
                                  Require stack:
                                  - /usr/lib/node_modules/npm/node_modules/npmlog/lib/log.js
                                  - /usr/lib/node_modules/npm/lib/utils/log-shim.js
                                  - /usr/lib/node_modules/npm/lib/utils/exit-handler.js
                                  - /usr/lib/node_modules/npm/lib/cli.js
                                  - /usr/lib/node_modules/npm/bin/npm-cli.js
                                      at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1021:15)
                                      at Function.Module._load (node:internal/modules/cjs/loader:866:27)
                                      at Module.require (node:internal/modules/cjs/loader:1093:19)
                                      at require (node:internal/modules/cjs/helpers:108:18)
                                      at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/npmlog/lib/log.js:3:13)
                                      at Module._compile (node:internal/modules/cjs/loader:1191:14)
                                      at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
                                      at Module.load (node:internal/modules/cjs/loader:1069:32)
                                      at Function.Module._load (node:internal/modules/cjs/loader:904:12)
                                      at Module.require (node:internal/modules/cjs/loader:1093:19) {
                                    code: 'MODULE_NOT_FOUND',
                                    requireStack: [
                                      '/usr/lib/node_modules/npm/node_modules/npmlog/lib/log.js',
                                      '/usr/lib/node_modules/npm/lib/utils/log-shim.js',
                                      '/usr/lib/node_modules/npm/lib/utils/exit-handler.js',
                                      '/usr/lib/node_modules/npm/lib/cli.js',
                                      '/usr/lib/node_modules/npm/bin/npm-cli.js'
                                    ]
                                  }
                                  waidi@raspberrypi:~ $ curl -sSL https://deb.nodesource.com/setup_16.x | sudo bash -
                                  
                                  ## Installing the NodeSource Node.js 16.x repo...
                                  
                                  
                                  ## Populating apt-get cache...
                                  
                                  + apt-get update
                                  OK:1 http://archive.raspberrypi.org/debian bullseye InRelease
                                  OK:2 http://deb.debian.org/debian bullseye InRelease
                                  OK:3 http://deb.debian.org/debian bullseye-updates InRelease
                                  OK:4 http://security.debian.org/debian-security bullseye-security InRelease
                                  OK:5 https://deb.nodesource.com/node_16.x bullseye InRelease
                                  Paketlisten werden gelesen… Fertig
                                  
                                  ## Confirming "bullseye" is supported...
                                  
                                  + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_16.x/dists/bullseye/Release'
                                  
                                  ## Adding the NodeSource signing key to your keyring...
                                  
                                  + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesource.gpg >/dev/null
                                  
                                  ## Creating apt sources list file for the NodeSource Node.js 16.x repo...
                                  
                                  + echo 'deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x bullseye main' > /etc/apt/sources.list.d/nodesource.list
                                  + echo 'deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x bullseye main' >> /etc/apt/sources.list.d/nodesource.list
                                  
                                  ## Running `apt-get update` for you...
                                  
                                  + apt-get update
                                  OK:1 http://deb.debian.org/debian bullseye InRelease
                                  OK:2 http://deb.debian.org/debian bullseye-updates InRelease
                                  OK:3 http://security.debian.org/debian-security bullseye-security InRelease
                                  OK:4 http://archive.raspberrypi.org/debian bullseye InRelease
                                  OK:5 https://deb.nodesource.com/node_16.x bullseye InRelease
                                  Paketlisten werden gelesen… Fertig
                                  
                                  ## Run `sudo apt-get install -y nodejs` to install Node.js 16.x and npm
                                  ## You may also need development tools to build native addons:
                                       sudo apt-get install gcc g++ make
                                  ## To install the Yarn package manager, run:
                                       curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null
                                       echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
                                       sudo apt-get update && sudo apt-get install yarn
                                  
                                  
                                  waidi@raspberrypi:~ $ sudo apt-get install -y nodejs
                                  Paketlisten werden gelesen… Fertig
                                  Abhängigkeitsbaum wird aufgebaut… Fertig
                                  Statusinformationen werden eingelesen… Fertig
                                  nodejs ist schon die neueste Version (16.19.1-deb-1nodesource1).
                                  0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                                  waidi@raspberrypi:~ $ node -v
                                  v16.19.1
                                  waidi@raspberrypi:~ $ npm -v
                                  node:internal/modules/cjs/loader:1021
                                    const err = new Error(message);
                                                ^
                                  
                                  Error: Cannot find module 'gauge'
                                  Require stack:
                                  - /usr/lib/node_modules/npm/node_modules/npmlog/lib/log.js
                                  - /usr/lib/node_modules/npm/lib/utils/log-shim.js
                                  - /usr/lib/node_modules/npm/lib/utils/exit-handler.js
                                  - /usr/lib/node_modules/npm/lib/cli.js
                                  - /usr/lib/node_modules/npm/bin/npm-cli.js
                                      at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1021:15)
                                      at Function.Module._load (node:internal/modules/cjs/loader:866:27)
                                      at Module.require (node:internal/modules/cjs/loader:1093:19)
                                      at require (node:internal/modules/cjs/helpers:108:18)
                                      at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/npmlog/lib/log.js:3:13)
                                      at Module._compile (node:internal/modules/cjs/loader:1191:14)
                                      at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
                                      at Module.load (node:internal/modules/cjs/loader:1069:32)
                                      at Function.Module._load (node:internal/modules/cjs/loader:904:12)
                                      at Module.require (node:internal/modules/cjs/loader:1093:19) {
                                    code: 'MODULE_NOT_FOUND',
                                    requireStack: [
                                      '/usr/lib/node_modules/npm/node_modules/npmlog/lib/log.js',
                                      '/usr/lib/node_modules/npm/lib/utils/log-shim.js',
                                      '/usr/lib/node_modules/npm/lib/utils/exit-handler.js',
                                      '/usr/lib/node_modules/npm/lib/cli.js',
                                      '/usr/lib/node_modules/npm/bin/npm-cli.js'
                                    ]
                                  }
                                  waidi@raspberrypi:~ $
                                  
                                  
                                  Thomas BraunT Online
                                  Thomas BraunT Online
                                  Thomas Braun
                                  Most Active
                                  wrote on last edited by
                                  #16

                                  @waidmann

                                  apt policy npm
                                  

                                  sagt?
                                  Versuch Mal

                                  sudo apt install --reinstall 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

                                  1 Reply Last reply
                                  0
                                  • W Waidmann

                                    @thomas-braun

                                    war mir nicht sicher versehentlich was falsches eingegeben zu haben. Also nochmal das 64bit img auf die SD Karte via imager (ohne desktop). Ganze Prozedere erneut gemäß Anleitung. Also erstmal alle update pakete geladen und dann direkt mit dem upgrade auf den neusten stand, SD Befehl vor dem Reboot hinterhergeschoben und neustart.
                                    Dann über den befehl iobroker installiert. beim punkt 3 kam jetzt ein Fehler. am Ende fehlt wohl npm jetzt. Wie kann mit dem gleichen image und gleichem Verfahren auf mal ein Fehler auftauchen?
                                    Hab am Ende nochmal manuel versucht node und npm nachzuinstallieren. Aber ne, klappt auch nicht. vielleicht muss ich erstmal ausschlafen.... danke für eure mühen... 😞

                                    Hier der gesamte Log:

                                    Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023 aarc                                                                                                                                                                                                                                             h64
                                    
                                    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: Sat Apr  8 01:05:44 2023
                                    waidi@raspberrypi:~ $ curl -Lf https://iobroker.net/install.sh | bash -
                                      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                     Dload  Upload   Total   Spent    Left  Speed
                                    100    65  100    65    0     0    280      0 --:--:-- --:--:-- --:--:--   280
                                    100 38978  100 38978    0     0   118k      0 --:--:-- --:--:-- --:--:--  118k
                                    library: loaded
                                    Library version=2022-12-09
                                    
                                    ==========================================================================
                                    
                                        Welcome to the ioBroker installer!
                                        Installer version: 2022-12-22
                                    
                                        You might need to enter your password a couple of times.
                                    
                                    ==========================================================================
                                    
                                    
                                    ==========================================================================
                                        Installing prerequisites (1/4)
                                    ==========================================================================
                                    
                                    OK:1 http://security.debian.org/debian-security bullseye-security InRelease
                                    OK:2 http://deb.debian.org/debian bullseye InRelease
                                    OK:3 http://deb.debian.org/debian bullseye-updates InRelease
                                    OK:4 http://archive.raspberrypi.org/debian bullseye InRelease
                                    Holen:5 http://deb.debian.org/debian bullseye/main Translation-de_DE [830 B]
                                    Holen:6 http://deb.debian.org/debian bullseye/main Translation-de [1.718 kB]
                                    Es wurden 1.719 kB in 4 s geholt (428 kB/s).
                                    Paketlisten werden gelesen… Fertig
                                    
                                    ==========================================================================
                                    
                                        Node.js not found. Installing...
                                    
                                    ==========================================================================
                                    
                                    
                                    ## Installing the NodeSource Node.js 16.x repo...
                                    
                                    
                                    ## Populating apt-get cache...
                                    
                                    + apt-get update
                                    OK:1 http://security.debian.org/debian-security bullseye-security InRelease
                                    OK:2 http://deb.debian.org/debian bullseye InRelease
                                    OK:3 http://deb.debian.org/debian bullseye-updates InRelease
                                    OK:4 http://archive.raspberrypi.org/debian bullseye InRelease
                                    Paketlisten werden gelesen… Fertig
                                    
                                    ## Confirming "bullseye" is supported...
                                    
                                    + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_16.x/dists/bullseye/Release'
                                    
                                    ## Adding the NodeSource signing key to your keyring...
                                    
                                    + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesource.gpg >/dev/null
                                    
                                    ## Creating apt sources list file for the NodeSource Node.js 16.x repo...
                                    
                                    + echo 'deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x bullseye main' > /etc/apt/sources.list.d/nodesource.list
                                    + echo 'deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x bullseye main' >> /etc/apt/sources.list.d/nodesource.list
                                    
                                    ## Running `apt-get update` for you...
                                    
                                    + apt-get update
                                    OK:1 http://deb.debian.org/debian bullseye InRelease
                                    OK:2 http://deb.debian.org/debian bullseye-updates InRelease
                                    OK:3 http://security.debian.org/debian-security bullseye-security InRelease
                                    Holen:4 https://deb.nodesource.com/node_16.x bullseye InRelease [4.586 B]
                                    OK:5 http://archive.raspberrypi.org/debian bullseye InRelease
                                    Holen:6 https://deb.nodesource.com/node_16.x bullseye/main arm64 Packages [776 B]
                                    Holen:7 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages [783 B]
                                    Es wurden 6.145 B in 3 s geholt (2.203 B/s).
                                    Paketlisten werden gelesen… Fertig
                                    
                                    ## Run `sudo apt-get install -y nodejs` to install Node.js 16.x and npm
                                    ## You may also need development tools to build native addons:
                                         sudo apt-get install gcc g++ make
                                    ## To install the Yarn package manager, run:
                                         curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null
                                         echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
                                         sudo apt-get update && sudo apt-get install yarn
                                    
                                    
                                    Installed nodejs
                                    Node.js Installed successfully!
                                    Changing npm registry to https://registry.npmjs.org
                                    Installed acl
                                    Installed gcc-c++
                                    Installed libavahi-compat-libdnssd-dev
                                    Installed libudev-dev
                                    Installed libpam0g-dev
                                    Installed git
                                    Installed libcairo2-dev
                                    
                                    Installed libpango1.0-dev
                                    Installed libjpeg-dev
                                    Installed libgif-dev
                                    Installed librsvg2-dev
                                    Installed cmake
                                    
                                    ==========================================================================
                                        Creating ioBroker user and directory (2/4)
                                    ==========================================================================
                                    
                                    User iobroker created
                                    Created /etc/sudoers.d/iobroker
                                    Directory /opt/iobroker created
                                    
                                    ==========================================================================
                                        Installing ioBroker (3/4)
                                    ==========================================================================
                                    
                                    npm ERR! code 1
                                    npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
                                    npm ERR! command failed
                                    npm ERR! command sh -c -- node iobroker.js setup first
                                    npm ERR! /opt/iobroker/node_modules/jsonwebtoken/verify.js:1
                                    npm ERR! 31bc23
                                    npm ERR! ^^
                                    npm ERR!
                                    npm ERR! SyntaxError: Invalid or unexpected token
                                    npm ERR!     at Object.compileFunction (node:vm:360:18)
                                    npm ERR!     at wrapSafe (node:internal/modules/cjs/loader:1119:15)
                                    npm ERR!     at Module._compile (node:internal/modules/cjs/loader:1155:27)
                                    npm ERR!     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
                                    npm ERR!     at Module.load (node:internal/modules/cjs/loader:1069:32)
                                    npm ERR!     at Function.Module._load (node:internal/modules/cjs/loader:904:12)
                                    npm ERR!     at Module.require (node:internal/modules/cjs/loader:1093:19)
                                    npm ERR!     at require (node:internal/modules/cjs/helpers:108:18)
                                    npm ERR!     at Object.<anonymous> (/opt/iobroker/node_modules/jsonwebtoken/index.js:3:11)
                                    npm ERR!     at Module._compile (node:internal/modules/cjs/loader:1191:14)
                                    
                                    npm ERR! A complete log of this run can be found in:
                                    npm ERR!     /home/waidi/.npm/_logs/2023-04-07T23_49_51_717Z-debug-0.log
                                    
                                    ==========================================================================
                                        Finalizing installation (4/4)
                                    ==========================================================================
                                    
                                    Enabling autostart...
                                    Created symlink /etc/systemd/system/multi-user.target.wants/iobroker.service → /lib/systemd/system/iobroker.service.
                                    Autostart enabled!
                                    Fixing directory permissions...
                                    
                                    ==========================================================================
                                    
                                        ioBroker was installed successfully
                                        Open http://192.168.178.55:8081 in a browser and start configuring!
                                    
                                    ==========================================================================
                                    
                                    
                                    You need to re-login before doing anything else on the console!
                                    
                                    waidi@raspberrypi:~ $
                                    waidi@raspberrypi:~ $ node -v
                                    v16.19.1
                                    waidi@raspberrypi:~ $ npm -v
                                    node:internal/modules/cjs/loader:1021
                                      const err = new Error(message);
                                                  ^
                                    
                                    Error: Cannot find module 'gauge'
                                    Require stack:
                                    - /usr/lib/node_modules/npm/node_modules/npmlog/lib/log.js
                                    - /usr/lib/node_modules/npm/lib/utils/log-shim.js
                                    - /usr/lib/node_modules/npm/lib/utils/exit-handler.js
                                    - /usr/lib/node_modules/npm/lib/cli.js
                                    - /usr/lib/node_modules/npm/bin/npm-cli.js
                                        at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1021:15)
                                        at Function.Module._load (node:internal/modules/cjs/loader:866:27)
                                        at Module.require (node:internal/modules/cjs/loader:1093:19)
                                        at require (node:internal/modules/cjs/helpers:108:18)
                                        at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/npmlog/lib/log.js:3:13)
                                        at Module._compile (node:internal/modules/cjs/loader:1191:14)
                                        at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
                                        at Module.load (node:internal/modules/cjs/loader:1069:32)
                                        at Function.Module._load (node:internal/modules/cjs/loader:904:12)
                                        at Module.require (node:internal/modules/cjs/loader:1093:19) {
                                      code: 'MODULE_NOT_FOUND',
                                      requireStack: [
                                        '/usr/lib/node_modules/npm/node_modules/npmlog/lib/log.js',
                                        '/usr/lib/node_modules/npm/lib/utils/log-shim.js',
                                        '/usr/lib/node_modules/npm/lib/utils/exit-handler.js',
                                        '/usr/lib/node_modules/npm/lib/cli.js',
                                        '/usr/lib/node_modules/npm/bin/npm-cli.js'
                                      ]
                                    }
                                    waidi@raspberrypi:~ $ curl -sSL https://deb.nodesource.com/setup_16.x | sudo bash -
                                    
                                    ## Installing the NodeSource Node.js 16.x repo...
                                    
                                    
                                    ## Populating apt-get cache...
                                    
                                    + apt-get update
                                    OK:1 http://archive.raspberrypi.org/debian bullseye InRelease
                                    OK:2 http://deb.debian.org/debian bullseye InRelease
                                    OK:3 http://deb.debian.org/debian bullseye-updates InRelease
                                    OK:4 http://security.debian.org/debian-security bullseye-security InRelease
                                    OK:5 https://deb.nodesource.com/node_16.x bullseye InRelease
                                    Paketlisten werden gelesen… Fertig
                                    
                                    ## Confirming "bullseye" is supported...
                                    
                                    + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_16.x/dists/bullseye/Release'
                                    
                                    ## Adding the NodeSource signing key to your keyring...
                                    
                                    + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesource.gpg >/dev/null
                                    
                                    ## Creating apt sources list file for the NodeSource Node.js 16.x repo...
                                    
                                    + echo 'deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x bullseye main' > /etc/apt/sources.list.d/nodesource.list
                                    + echo 'deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x bullseye main' >> /etc/apt/sources.list.d/nodesource.list
                                    
                                    ## Running `apt-get update` for you...
                                    
                                    + apt-get update
                                    OK:1 http://deb.debian.org/debian bullseye InRelease
                                    OK:2 http://deb.debian.org/debian bullseye-updates InRelease
                                    OK:3 http://security.debian.org/debian-security bullseye-security InRelease
                                    OK:4 http://archive.raspberrypi.org/debian bullseye InRelease
                                    OK:5 https://deb.nodesource.com/node_16.x bullseye InRelease
                                    Paketlisten werden gelesen… Fertig
                                    
                                    ## Run `sudo apt-get install -y nodejs` to install Node.js 16.x and npm
                                    ## You may also need development tools to build native addons:
                                         sudo apt-get install gcc g++ make
                                    ## To install the Yarn package manager, run:
                                         curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null
                                         echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
                                         sudo apt-get update && sudo apt-get install yarn
                                    
                                    
                                    waidi@raspberrypi:~ $ sudo apt-get install -y nodejs
                                    Paketlisten werden gelesen… Fertig
                                    Abhängigkeitsbaum wird aufgebaut… Fertig
                                    Statusinformationen werden eingelesen… Fertig
                                    nodejs ist schon die neueste Version (16.19.1-deb-1nodesource1).
                                    0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                                    waidi@raspberrypi:~ $ node -v
                                    v16.19.1
                                    waidi@raspberrypi:~ $ npm -v
                                    node:internal/modules/cjs/loader:1021
                                      const err = new Error(message);
                                                  ^
                                    
                                    Error: Cannot find module 'gauge'
                                    Require stack:
                                    - /usr/lib/node_modules/npm/node_modules/npmlog/lib/log.js
                                    - /usr/lib/node_modules/npm/lib/utils/log-shim.js
                                    - /usr/lib/node_modules/npm/lib/utils/exit-handler.js
                                    - /usr/lib/node_modules/npm/lib/cli.js
                                    - /usr/lib/node_modules/npm/bin/npm-cli.js
                                        at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1021:15)
                                        at Function.Module._load (node:internal/modules/cjs/loader:866:27)
                                        at Module.require (node:internal/modules/cjs/loader:1093:19)
                                        at require (node:internal/modules/cjs/helpers:108:18)
                                        at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/npmlog/lib/log.js:3:13)
                                        at Module._compile (node:internal/modules/cjs/loader:1191:14)
                                        at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
                                        at Module.load (node:internal/modules/cjs/loader:1069:32)
                                        at Function.Module._load (node:internal/modules/cjs/loader:904:12)
                                        at Module.require (node:internal/modules/cjs/loader:1093:19) {
                                      code: 'MODULE_NOT_FOUND',
                                      requireStack: [
                                        '/usr/lib/node_modules/npm/node_modules/npmlog/lib/log.js',
                                        '/usr/lib/node_modules/npm/lib/utils/log-shim.js',
                                        '/usr/lib/node_modules/npm/lib/utils/exit-handler.js',
                                        '/usr/lib/node_modules/npm/lib/cli.js',
                                        '/usr/lib/node_modules/npm/bin/npm-cli.js'
                                      ]
                                    }
                                    waidi@raspberrypi:~ $
                                    
                                    
                                    Thomas BraunT Online
                                    Thomas BraunT Online
                                    Thomas Braun
                                    Most Active
                                    wrote on last edited by
                                    #17

                                    @waidmann
                                    Oder installiere nodejs mal vor dem iobroker.
                                    Einfach mit dem nodejs-Installer. Ich würde dann auch gleich nodejs18 reinholen.

                                    Genauer steht es 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

                                    W 1 Reply Last reply
                                    0
                                    • Thomas BraunT Thomas Braun

                                      @waidmann
                                      Oder installiere nodejs mal vor dem iobroker.
                                      Einfach mit dem nodejs-Installer. Ich würde dann auch gleich nodejs18 reinholen.

                                      Genauer steht es in meiner Signatur.

                                      W Offline
                                      W Offline
                                      Waidmann
                                      wrote on last edited by
                                      #18

                                      @thomas-braun

                                      So, ich gebe auf. Habe jetzt wirklich alle Varianten durchprobiert und verstehe es nicht.

                                      • 64 bit und 32 bit variante probier, ohne desktop auf mit imager sauber erstellt
                                      • update und uprade durchgeführt
                                      • sd kartenbefehl gem. installationshinweis
                                      • reboot
                                      • dann verison nodejs 18.x bzw. 19.x installiert (beides versucht)
                                      • dann iobroker installation (da gibt es fehler)

                                      hier der komplette code:

                                      Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023 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: Sat Apr  8 14:00:18 2023 from 127.0.0.1
                                      waidi@raspberrypi:~ $ node -v
                                      v19.8.1
                                      waidi@raspberrypi:~ $ npm -v
                                      9.5.1
                                      waidi@raspberrypi:~ $ sudo apt update && sudo apt full-upgrade
                                      Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
                                      Hit:2 http://deb.debian.org/debian bullseye InRelease
                                      Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
                                      Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
                                      Hit:5 https://deb.nodesource.com/node_18.x bullseye InRelease
                                      Reading package lists... Done
                                      Building dependency tree... Done
                                      Reading state information... Done
                                      All packages are up to date.
                                      Reading package lists... Done
                                      Building dependency tree... Done
                                      Reading state information... Done
                                      Calculating upgrade... Done
                                      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                                      waidi@raspberrypi:~ $ apt policy npm
                                      npm:
                                        Installed: (none)
                                        Candidate: 7.5.2+ds-2
                                        Version table:
                                           7.5.2+ds-2 500
                                              500 http://deb.debian.org/debian bullseye/main arm64 Packages
                                              500 http://deb.debian.org/debian bullseye/main armhf Packages
                                      waidi@raspberrypi:~ $ ^C
                                      waidi@raspberrypi:~ $ curl -sLf https://iobroker.net/install.sh | bash -
                                      library: loaded
                                      Library version=2022-12-09
                                      
                                      ==========================================================================
                                      
                                          Welcome to the ioBroker installer!
                                          Installer version: 2022-12-22
                                      
                                          You might need to enter your password a couple of times.
                                      
                                      ==========================================================================
                                      
                                      
                                      ==========================================================================
                                          Installing prerequisites (1/4)
                                      ==========================================================================
                                      
                                      Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
                                      Hit:2 http://deb.debian.org/debian bullseye InRelease
                                      Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
                                      Hit:4 http://security.debian.org/debian-security bullseye-security InRelease
                                      Hit:5 https://deb.nodesource.com/node_18.x bullseye InRelease
                                      Reading package lists... Done
                                      Changing npm registry to https://registry.npmjs.org
                                      Installed gcc-c++
                                      
                                      ==========================================================================
                                          Creating ioBroker user and directory (2/4)
                                      ==========================================================================
                                      
                                      Created /etc/sudoers.d/iobroker
                                      Directory /opt/iobroker created
                                      
                                      ==========================================================================
                                          Installing ioBroker (3/4)
                                      ==========================================================================
                                      
                                      npm ERR! code 22
                                      npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
                                      npm ERR! command failed
                                      npm ERR! command sh -c node iobroker.js setup first
                                      npm ERR! creating conf/iobroker.json
                                      npm ERR! No connection to databases possible ...
                                      npm ERR!  Cannot load "custom": Connection is closed.
                                      npm ERR!  Cannot initialize database scripts: Cannot load "custom" into objects database: Connection is closed.
                                      
                                      npm ERR! A complete log of this run can be found in:
                                      npm ERR!     /home/waidi/.npm/_logs/2023-04-08T12_40_29_789Z-debug-0.log
                                      
                                      ==========================================================================
                                          Finalizing installation (4/4)
                                      ==========================================================================
                                      
                                      Enabling autostart...
                                      Autostart enabled!
                                      Fixing directory permissions...
                                      
                                      ==========================================================================
                                      
                                          ioBroker was installed successfully
                                          Open http://192.168.178.55:8081 in a browser and start configuring!
                                      
                                      ==========================================================================
                                      
                                      
                                      You need to re-login before doing anything else on the console!
                                      
                                      

                                      Für mich sieht es gerade danach aus, dass diese Installationen unfassbar fragil sind. Also ich hab jetzt wirklich alles versucht und weder iobroker noch nextcloud hat sich irgendwie lauffähig installieren lassen.
                                      Versuche später mal eine andere SD Karte.... war noch nie so ratlos.

                                      Thomas BraunT 2 Replies Last reply
                                      0
                                      • W Waidmann

                                        @thomas-braun

                                        So, ich gebe auf. Habe jetzt wirklich alle Varianten durchprobiert und verstehe es nicht.

                                        • 64 bit und 32 bit variante probier, ohne desktop auf mit imager sauber erstellt
                                        • update und uprade durchgeführt
                                        • sd kartenbefehl gem. installationshinweis
                                        • reboot
                                        • dann verison nodejs 18.x bzw. 19.x installiert (beides versucht)
                                        • dann iobroker installation (da gibt es fehler)

                                        hier der komplette code:

                                        Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023 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: Sat Apr  8 14:00:18 2023 from 127.0.0.1
                                        waidi@raspberrypi:~ $ node -v
                                        v19.8.1
                                        waidi@raspberrypi:~ $ npm -v
                                        9.5.1
                                        waidi@raspberrypi:~ $ sudo apt update && sudo apt full-upgrade
                                        Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
                                        Hit:2 http://deb.debian.org/debian bullseye InRelease
                                        Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
                                        Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
                                        Hit:5 https://deb.nodesource.com/node_18.x bullseye InRelease
                                        Reading package lists... Done
                                        Building dependency tree... Done
                                        Reading state information... Done
                                        All packages are up to date.
                                        Reading package lists... Done
                                        Building dependency tree... Done
                                        Reading state information... Done
                                        Calculating upgrade... Done
                                        0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                                        waidi@raspberrypi:~ $ apt policy npm
                                        npm:
                                          Installed: (none)
                                          Candidate: 7.5.2+ds-2
                                          Version table:
                                             7.5.2+ds-2 500
                                                500 http://deb.debian.org/debian bullseye/main arm64 Packages
                                                500 http://deb.debian.org/debian bullseye/main armhf Packages
                                        waidi@raspberrypi:~ $ ^C
                                        waidi@raspberrypi:~ $ curl -sLf https://iobroker.net/install.sh | bash -
                                        library: loaded
                                        Library version=2022-12-09
                                        
                                        ==========================================================================
                                        
                                            Welcome to the ioBroker installer!
                                            Installer version: 2022-12-22
                                        
                                            You might need to enter your password a couple of times.
                                        
                                        ==========================================================================
                                        
                                        
                                        ==========================================================================
                                            Installing prerequisites (1/4)
                                        ==========================================================================
                                        
                                        Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
                                        Hit:2 http://deb.debian.org/debian bullseye InRelease
                                        Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
                                        Hit:4 http://security.debian.org/debian-security bullseye-security InRelease
                                        Hit:5 https://deb.nodesource.com/node_18.x bullseye InRelease
                                        Reading package lists... Done
                                        Changing npm registry to https://registry.npmjs.org
                                        Installed gcc-c++
                                        
                                        ==========================================================================
                                            Creating ioBroker user and directory (2/4)
                                        ==========================================================================
                                        
                                        Created /etc/sudoers.d/iobroker
                                        Directory /opt/iobroker created
                                        
                                        ==========================================================================
                                            Installing ioBroker (3/4)
                                        ==========================================================================
                                        
                                        npm ERR! code 22
                                        npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
                                        npm ERR! command failed
                                        npm ERR! command sh -c node iobroker.js setup first
                                        npm ERR! creating conf/iobroker.json
                                        npm ERR! No connection to databases possible ...
                                        npm ERR!  Cannot load "custom": Connection is closed.
                                        npm ERR!  Cannot initialize database scripts: Cannot load "custom" into objects database: Connection is closed.
                                        
                                        npm ERR! A complete log of this run can be found in:
                                        npm ERR!     /home/waidi/.npm/_logs/2023-04-08T12_40_29_789Z-debug-0.log
                                        
                                        ==========================================================================
                                            Finalizing installation (4/4)
                                        ==========================================================================
                                        
                                        Enabling autostart...
                                        Autostart enabled!
                                        Fixing directory permissions...
                                        
                                        ==========================================================================
                                        
                                            ioBroker was installed successfully
                                            Open http://192.168.178.55:8081 in a browser and start configuring!
                                        
                                        ==========================================================================
                                        
                                        
                                        You need to re-login before doing anything else on the console!
                                        
                                        

                                        Für mich sieht es gerade danach aus, dass diese Installationen unfassbar fragil sind. Also ich hab jetzt wirklich alles versucht und weder iobroker noch nextcloud hat sich irgendwie lauffähig installieren lassen.
                                        Versuche später mal eine andere SD Karte.... war noch nie so ratlos.

                                        Thomas BraunT Online
                                        Thomas BraunT Online
                                        Thomas Braun
                                        Most Active
                                        wrote on last edited by
                                        #19

                                        @waidmann sagte in Erfolgreiche Installation aber kein Webinterface:

                                        dass diese Installationen unfassbar fragil sind.

                                        Eigentlich nicht. Warum das bei dir gerade nicht funktioniert sehe ich aber auch nicht. Aber lass die Experimente mit ungeraden nodejs-Versionen sein. Entweder 16 oder 18 einsetzen.

                                        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

                                        1 Reply Last reply
                                        0
                                        • W Waidmann

                                          @thomas-braun

                                          So, ich gebe auf. Habe jetzt wirklich alle Varianten durchprobiert und verstehe es nicht.

                                          • 64 bit und 32 bit variante probier, ohne desktop auf mit imager sauber erstellt
                                          • update und uprade durchgeführt
                                          • sd kartenbefehl gem. installationshinweis
                                          • reboot
                                          • dann verison nodejs 18.x bzw. 19.x installiert (beides versucht)
                                          • dann iobroker installation (da gibt es fehler)

                                          hier der komplette code:

                                          Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023 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: Sat Apr  8 14:00:18 2023 from 127.0.0.1
                                          waidi@raspberrypi:~ $ node -v
                                          v19.8.1
                                          waidi@raspberrypi:~ $ npm -v
                                          9.5.1
                                          waidi@raspberrypi:~ $ sudo apt update && sudo apt full-upgrade
                                          Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
                                          Hit:2 http://deb.debian.org/debian bullseye InRelease
                                          Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
                                          Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
                                          Hit:5 https://deb.nodesource.com/node_18.x bullseye InRelease
                                          Reading package lists... Done
                                          Building dependency tree... Done
                                          Reading state information... Done
                                          All packages are up to date.
                                          Reading package lists... Done
                                          Building dependency tree... Done
                                          Reading state information... Done
                                          Calculating upgrade... Done
                                          0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                                          waidi@raspberrypi:~ $ apt policy npm
                                          npm:
                                            Installed: (none)
                                            Candidate: 7.5.2+ds-2
                                            Version table:
                                               7.5.2+ds-2 500
                                                  500 http://deb.debian.org/debian bullseye/main arm64 Packages
                                                  500 http://deb.debian.org/debian bullseye/main armhf Packages
                                          waidi@raspberrypi:~ $ ^C
                                          waidi@raspberrypi:~ $ curl -sLf https://iobroker.net/install.sh | bash -
                                          library: loaded
                                          Library version=2022-12-09
                                          
                                          ==========================================================================
                                          
                                              Welcome to the ioBroker installer!
                                              Installer version: 2022-12-22
                                          
                                              You might need to enter your password a couple of times.
                                          
                                          ==========================================================================
                                          
                                          
                                          ==========================================================================
                                              Installing prerequisites (1/4)
                                          ==========================================================================
                                          
                                          Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
                                          Hit:2 http://deb.debian.org/debian bullseye InRelease
                                          Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
                                          Hit:4 http://security.debian.org/debian-security bullseye-security InRelease
                                          Hit:5 https://deb.nodesource.com/node_18.x bullseye InRelease
                                          Reading package lists... Done
                                          Changing npm registry to https://registry.npmjs.org
                                          Installed gcc-c++
                                          
                                          ==========================================================================
                                              Creating ioBroker user and directory (2/4)
                                          ==========================================================================
                                          
                                          Created /etc/sudoers.d/iobroker
                                          Directory /opt/iobroker created
                                          
                                          ==========================================================================
                                              Installing ioBroker (3/4)
                                          ==========================================================================
                                          
                                          npm ERR! code 22
                                          npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
                                          npm ERR! command failed
                                          npm ERR! command sh -c node iobroker.js setup first
                                          npm ERR! creating conf/iobroker.json
                                          npm ERR! No connection to databases possible ...
                                          npm ERR!  Cannot load "custom": Connection is closed.
                                          npm ERR!  Cannot initialize database scripts: Cannot load "custom" into objects database: Connection is closed.
                                          
                                          npm ERR! A complete log of this run can be found in:
                                          npm ERR!     /home/waidi/.npm/_logs/2023-04-08T12_40_29_789Z-debug-0.log
                                          
                                          ==========================================================================
                                              Finalizing installation (4/4)
                                          ==========================================================================
                                          
                                          Enabling autostart...
                                          Autostart enabled!
                                          Fixing directory permissions...
                                          
                                          ==========================================================================
                                          
                                              ioBroker was installed successfully
                                              Open http://192.168.178.55:8081 in a browser and start configuring!
                                          
                                          ==========================================================================
                                          
                                          
                                          You need to re-login before doing anything else on the console!
                                          
                                          

                                          Für mich sieht es gerade danach aus, dass diese Installationen unfassbar fragil sind. Also ich hab jetzt wirklich alles versucht und weder iobroker noch nextcloud hat sich irgendwie lauffähig installieren lassen.
                                          Versuche später mal eine andere SD Karte.... war noch nie so ratlos.

                                          Thomas BraunT Online
                                          Thomas BraunT Online
                                          Thomas Braun
                                          Most Active
                                          wrote on last edited by
                                          #20

                                          @waidmann

                                          Was kommt bei

                                          iobroker setup first
                                          

                                          Und

                                          iob diag
                                          

                                          auch mal anschauen.

                                          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

                                          W 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          602

                                          Online

                                          32.4k

                                          Users

                                          81.3k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe