Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Installation
    5. Erfolgreiche Installation aber kein Webinterface

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Erfolgreiche Installation aber kein Webinterface

    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      Waidmann @Codierknecht last edited by

      @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 Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active last edited by

        @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.

        DJMarc75 W 2 Replies Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Waidmann last edited by

          @waidmann

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

          1 Reply Last reply Reply Quote 0
          • DJMarc75
            DJMarc75 @Thomas Braun last edited by

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

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

            Tut er leider noch nicht.

            1 Reply Last reply Reply Quote 0
            • W
              Waidmann @Thomas Braun last edited by

              @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 Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Waidmann last edited by

                @waidmann

                Kannst auch mal hier reinschauen:

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

                W 1 Reply Last reply Reply Quote 0
                • W
                  Waidmann @Thomas Braun last edited by 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 Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Waidmann last edited by 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 A 2 Replies Last reply Reply Quote 0
                    • W
                      Waidmann @Thomas Braun last edited by

                      @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 Braun 2 Replies Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Waidmann last edited by

                        @waidmann

                        apt policy npm
                        

                        sagt?
                        Versuch Mal

                        sudo apt install --reinstall nodejs
                        
                        1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @Waidmann last edited by

                          @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 1 Reply Last reply Reply Quote 0
                          • W
                            Waidmann @Thomas Braun last edited by

                            @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 Braun 2 Replies Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @Waidmann last edited by

                              @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.

                              1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @Waidmann last edited by

                                @waidmann

                                Was kommt bei

                                iobroker setup first
                                

                                Und

                                iob diag
                                

                                auch mal anschauen.

                                W 1 Reply Last reply Reply Quote 0
                                • W
                                  Waidmann @Thomas Braun last edited by

                                  @thomas-braun

                                  Unfassbar... ich habe eine andere SD Karte genommen und im ersten Anlauf klappt es. Da scheint auf dem Speicher ein Fehler zu sein. Mit der dem Retropie OS gibt es keine Problem, ansonsten läuft die SD Karte auch als Massenspeicher unter Windows.... was das Teil also für Probleme hat - ich weiß es nicht.

                                  Sorry für die Umstände und Danke für die Hilfsbereitschaft.

                                  Thomas Braun G 2 Replies Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Waidmann last edited by

                                    @waidmann sagte in Erfolgreiche Installation aber kein Webinterface:

                                    Da scheint auf dem Speicher ein Fehler zu sein.

                                    Das ist bei den Karten ja auch gar nicht so selten.

                                    1 Reply Last reply Reply Quote 0
                                    • G
                                      gerd0355 @Waidmann last edited by

                                      @waidmann
                                      Vielleicht hilft dir die Beschreibung der Vorgehensweise in meinem Post "Anmeldename Erstinstallation"

                                      1 Reply Last reply Reply Quote 0
                                      • A
                                        aba320 @Thomas Braun last edited by

                                        @thomas-braun Hallo habe auch das Problem der originaldocu befehl springt in nächste Zeile.
                                        mit Deinem neuen Befehl kommt folgende Meldung

                                        login as: pi
                                        pi@192.168.178.160's password:
                                        Linux iobroker-pi 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: Mon May 22 13:49:10 2023 from 192.168.178.10
                                        
                                        Wi-Fi is currently blocked by rfkill.
                                        Use raspi-config to set the country before use.
                                        
                                        pi@iobroker-pi:~ $ curl -sLf https://iobroker.net/install.sh | bash -
                                        pi@iobroker-pi:~ $ curl -Lf https://iobroker.net/install.sh | bash -
                                          % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                         Dload  Upload   Total   Spent    Left  Speed
                                          0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                        curl: (7) Failed to connect to iobroker.net port 443: Connection refused
                                        pi@iobroker-pi:~ $
                                        
                                        
                                        

                                        Sieht für mich als Laien aus als ob er das Script nicht ausführen kann.
                                        vielleicht ein Hinweis?
                                        Gruß

                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @aba320 last edited by

                                          @aba320 sagte in Erfolgreiche Installation aber kein Webinterface:

                                          iobroker.net

                                          Heute Vormittag war das Forum down. Vielleicht sind noch andere Services ausgefallen.
                                          Versuch es später nochmal.

                                          A 1 Reply Last reply Reply Quote 0
                                          • A
                                            aba320 @Thomas Braun last edited by

                                            @thomas-braun Danke für Dein Bemühen! aber wie so oft ist der Fehler bei einem selbst zu finden. hier war es der pihole . dort iobroker net freigegeben und es läuft.

                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            677
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            7
                                            27
                                            1111
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo