Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. noob0ne

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    N
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 4
    • Best 1
    • Groups 1

    noob0ne

    @noob0ne

    Starter

    1
    Reputation
    3
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    noob0ne Follow
    Starter

    Best posts made by noob0ne

    • RE: Neuinstallation - iobroker.js "MODULE_NOT_FOUND"

      @tt-tom said in Neuinstallation - iobroker.js "MODULE_NOT_FOUND":

      der User Felix gehört zur Gruppe sudo?

      Felix ist der normale Standart-Nutzer, den ich bei der Installation mit dem RaspberryImager erstellt habe.
      Zu welcher Gruppe er gehört weiß ich nicht. Er kann aber sudo Befehle ausführen.

      Hast du die Kiste mal neu gestartet?

      Ja bereits mehrfach ausprobiert.

      LÖSUNG:
      Ich habe eine SD-Karte nochmal komplett mit neuem OS aufgesetzt und dann die Installation genau gleich durchgeführt. Jetzt funktioniert alles.

      Als Hostname hatte ich beim ersten Versuch "iobroker" beim Zweiten dann "smarthome" vielleicht lag es daran?

      posted in Installation
      N
      noob0ne

    Latest posts made by noob0ne

    • RE: Neuinstallation - iobroker.js "MODULE_NOT_FOUND"

      @tt-tom said in Neuinstallation - iobroker.js "MODULE_NOT_FOUND":

      der User Felix gehört zur Gruppe sudo?

      Felix ist der normale Standart-Nutzer, den ich bei der Installation mit dem RaspberryImager erstellt habe.
      Zu welcher Gruppe er gehört weiß ich nicht. Er kann aber sudo Befehle ausführen.

      Hast du die Kiste mal neu gestartet?

      Ja bereits mehrfach ausprobiert.

      LÖSUNG:
      Ich habe eine SD-Karte nochmal komplett mit neuem OS aufgesetzt und dann die Installation genau gleich durchgeführt. Jetzt funktioniert alles.

      Als Hostname hatte ich beim ersten Versuch "iobroker" beim Zweiten dann "smarthome" vielleicht lag es daran?

      posted in Installation
      N
      noob0ne
    • RE: Neuinstallation - iobroker.js "MODULE_NOT_FOUND"

      @tt-tom said in Neuinstallation - iobroker.js "MODULE_NOT_FOUND":

      Hast du versucht noch einmal drüber zu installieren?

      Ja, bringt jedoch keine Änderung:

      felix@iobroker:~ $ curl -sSLf https://iobroker.net/install.sh | bash -
      library: loaded
      Library version=2024-10-22
      
      ==========================================================================
      
          Welcome to the ioBroker installer!
          Installer version: 2024-10-22
          
          You might need to enter your password a couple of times.
      
      ==========================================================================
      
      
      ==========================================================================
          Installing prerequisites (1/4)
      ==========================================================================
      
      Hit:1 http://deb.debian.org/debian bookworm InRelease
      Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease                                                 
      Get:3 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]                                                 
      Hit:4 http://phoscon.de/apt/deconz generic InRelease                                                                    
      Hit:5 http://archive.raspberrypi.com/debian bookworm InRelease                                                          
      Hit:6 https://deb.nodesource.com/node_20.x nodistro InRelease                                                           
      Fetched 55.4 kB in 3s (19.1 kB/s)                            
      Reading package lists... Done
      
      ==========================================================================
          Creating ioBroker user and directory (2/4)
      ==========================================================================
      
      Created /etc/sudoers.d/iobroker
      Directory /opt/iobroker created
      
      ==========================================================================
          Installing ioBroker (3/4)
      ==========================================================================
      
      npm error Invalid or unexpected token
      npm error A complete log of this run can be found in: /home/felix/.npm/_logs/2024-12-29T08_57_14_762Z-debug-0.log
      
      ==========================================================================
          Finalizing installation (4/4)
      ==========================================================================
      
      Enabling autostart...
      Autostart enabled!
      Fixing directory permissions...
      
      ==========================================================================
      
          ioBroker was installed successfully
          Open http://192.168.2.22:8081 in a browser and start configuring!
      
      ==========================================================================
      
      
      You need to re-login before doing anything else on the console!
      

      Hast du dir ein normalen User angelegt?

      Ja den Nutzer "felix" und mit diesem auch alle Befehlt ausgeführt. Den ioBroker-Nutzer habe ich noch nicht angefasst.

      posted in Installation
      N
      noob0ne
    • RE: Neuinstallation - iobroker.js "MODULE_NOT_FOUND"

      @tt-tom said in Neuinstallation - iobroker.js "MODULE_NOT_FOUND":

      da waren doch schon Fehler bei der Installation, was steht den in dem Log

      (fast?) das gleiche wie in dem anderen logfile

      0 verbose cli /usr/bin/node /usr/bin/npm
      1 info using npm@10.8.2
      2 info using node@v20.18.1
      3 silly config load:file:/usr/lib/node_modules/npm/npmrc
      4 warn config production Use `--omit=dev` instead.
      5 silly config load:file:/opt/iobroker/.npmrc
      6 silly config load:file:/home/felix/.npmrc
      7 silly config load:file:/usr/etc/npmrc
      8 verbose title npm i
      9 verbose argv "i" "--production" "--loglevel" "error" "--unsafe-perm"
      10 verbose logfile logs-max:10 dir:/home/felix/.npm/_logs/2024-12-28T21_26_18_682Z-
      11 verbose logfile /home/felix/.npm/_logs/2024-12-28T21_26_18_682Z-debug-0.log
      12 silly logfile done cleaning log files
      13 verbose stack /usr/lib/node_modules/npm/node_modules/pacote/lib/fetcher.js:1
      13 verbose stack �^E^T^F�^E�^P^U^B%�^B��^Fb
      13 verbose stack
      13 verbose stack
      13 verbose stack SyntaxError: Invalid or unexpected token
      13 verbose stack     at wrapSafe (node:internal/modules/cjs/loader:1378:20)
      13 verbose stack     at Module._compile (node:internal/modules/cjs/loader:1428:41)
      13 verbose stack     at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
      13 verbose stack     at Module.load (node:internal/modules/cjs/loader:1288:32)
      13 verbose stack     at Module._load (node:internal/modules/cjs/loader:1104:12)
      13 verbose stack     at Module.require (node:internal/modules/cjs/loader:1311:19)
      13 verbose stack     at require (node:internal/modules/helpers:179:18)
      13 verbose stack     at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/pacote/lib/index.js:1:17)
      13 verbose stack     at Module._compile (node:internal/modules/cjs/loader:1469:14)
      13 verbose stack     at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
      14 error Invalid or unexpected token
      15 verbose cwd /opt/iobroker
      16 verbose os Linux 6.6.62+rpt-rpi-v8
      17 verbose node v20.18.1
      18 verbose npm  v10.8.2
      19 verbose exit 1
      20 verbose code 1
      21 error A complete log of this run can be found in: /home/felix/.npm/_logs/2024-12-28T21_26_18_682Z-debug-0.log
      
      
      posted in Installation
      N
      noob0ne
    • Neuinstallation - iobroker.js "MODULE_NOT_FOUND"

      Ich wollte mein System auf einer neuen SD-Karte frisch aufsetzen und habe mich dabei an die folgende Anleitung (https://forum.iobroker.net/topic/51869/installation-auf-raspi-einfacher-geht-s-nicht/1) gehalten.

      Das ganze soll in einem Raspberry 3B verbaut werden. Als OS habe ich "Raspberry Pi OS Lite (64-bit)" ausgewählt.

      Allerdings ist trotz erfolgreicher Abschlussmeldung der webserver im Anschluss nicht erreichbar.

      curl -sSLf https://iobroker.net/install.sh | bash -
      library: loaded
      Library version=2024-10-22
      
      ==========================================================================
      
          Welcome to the ioBroker installer!
          Installer version: 2024-10-22
          
          You might need to enter your password a couple of times.
      
      ==========================================================================
      
      
      ==========================================================================
          Installing prerequisites (1/4)
      ==========================================================================
      
      Hit:1 http://phoscon.de/apt/deconz generic InRelease
      Hit:2 http://deb.debian.org/debian bookworm InRelease                                                                                        
      Hit:3 http://deb.debian.org/debian-security bookworm-security InRelease                                                                      
      Hit:4 http://deb.debian.org/debian bookworm-updates InRelease                                                                                
      Hit:5 http://archive.raspberrypi.com/debian bookworm InRelease                                                                               
      Hit:6 https://deb.nodesource.com/node_20.x nodistro InRelease                                                                                
      Reading package lists... Done                                
      
      ==========================================================================
          Creating ioBroker user and directory (2/4)
      ==========================================================================
      
      Created /etc/sudoers.d/iobroker
      Directory /opt/iobroker created
      
      ==========================================================================
          Installing ioBroker (3/4)
      ==========================================================================
      
      npm error Invalid or unexpected token
      npm error A complete log of this run can be found in: /home/felix/.npm/_logs/2024-12-28T21_26_18_682Z-debug-0.log
      
      ==========================================================================
          Finalizing installation (4/4)
      ==========================================================================
      
      Enabling autostart...
      Autostart enabled!
      Fixing directory permissions...
      
      ==========================================================================
      
          ioBroker was installed successfully
          Open http://192.168.2.22:8081 in a browser and start configuring!
      
      ==========================================================================
      
      
      You need to re-login before doing anything else on the console!
      
      

      npm und node wurden installiert:

      npm -v
      10.8.2
      node -v
      v20.18.1
      

      iobroker.js kann nicht gefunden werden:

      iobroker status
      node:internal/modules/cjs/loader:1228
        throw err;
        ^
      
      Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
          at Module._resolveFilename (node:internal/modules/cjs/loader:1225:15)
          at Module._load (node:internal/modules/cjs/loader:1051:27)
          at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:173:12)
          at node:internal/main/run_main_module:28:49 {
        code: 'MODULE_NOT_FOUND',
        requireStack: []
      }
      
      Node.js v20.18.1
      
      

      Auch wenn ich den js-controller manuell installieren möchte kommt die gleiche Fehlermeldung:

      sudo -H -u iobroker npm install iobroker.js-controller
      npm error Invalid or unexpected token
      npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-12-28T21_40_20_628Z-debug-0.log
      

      Log-Datei:

      0 verbose cli /usr/bin/node /usr/bin/npm
      1 info using npm@10.8.2
      2 info using node@v20.18.1
      3 silly config load:file:/usr/lib/node_modules/npm/npmrc
      4 silly config load:file:/opt/iobroker/.npmrc
      5 silly config load:file:/home/iobroker/.npmrc
      6 silly config load:file:/usr/etc/npmrc
      7 verbose title npm install iobroker.js-controller
      8 verbose argv "install" "iobroker.js-controller"
      9 verbose logfile logs-max:10 dir:/home/iobroker/.npm/_logs/2024-12-28T21_40_20_628Z-
      10 verbose logfile /home/iobroker/.npm/_logs/2024-12-28T21_40_20_628Z-debug-0.log
      11 silly logfile done cleaning log files
      12 verbose stack /usr/lib/node_modules/npm/node_modules/pacote/lib/fetcher.js:1
      12 verbose stack �^E^T^F�^E�^P^U^B%�^B��^Fb
      12 verbose stack
      12 verbose stack
      12 verbose stack SyntaxError: Invalid or unexpected token
      12 verbose stack     at wrapSafe (node:internal/modules/cjs/loader:1378:20)
      12 verbose stack     at Module._compile (node:internal/modules/cjs/loader:1428:41)
      12 verbose stack     at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
      12 verbose stack     at Module.load (node:internal/modules/cjs/loader:1288:32)
      12 verbose stack     at Module._load (node:internal/modules/cjs/loader:1104:12)
      12 verbose stack     at Module.require (node:internal/modules/cjs/loader:1311:19)
      12 verbose stack     at require (node:internal/modules/helpers:179:18)
      12 verbose stack     at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/pacote/lib/index.js:1:17)
      12 verbose stack     at Module._compile (node:internal/modules/cjs/loader:1469:14)
      12 verbose stack     at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
      13 error Invalid or unexpected token
      14 verbose cwd /opt/iobroker
      15 verbose os Linux 6.6.62+rpt-rpi-v8
      16 verbose node v20.18.1
      17 verbose npm  v10.8.2
      18 verbose exit 1
      19 verbose code 1
      20 error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-12-28T21_40_20_628Z-debug-0.log
      
      

      Vielen Dank für die Hilfe.

      Liebe Grüße
      Felix

      posted in Installation
      N
      noob0ne
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo