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

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. [gelöst] iobroker lässt sich nicht richtig installieren

NEWS

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    10
    1
    112

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.4k

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

[gelöst] iobroker lässt sich nicht richtig installieren

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
27 Beiträge 4 Kommentatoren 2.5k Aufrufe 3 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • M Offline
    M Offline
    MiPl
    schrieb am zuletzt editiert von MiPl
    #1

    Hallo,

    ich komme bei einer Installation auf einem Raspberry 3B+ nicht weiter und hoffe auf Eure Hilfe:

    System auf dem Raspi:

    NAME="Ubuntu"
    VERSION="20.04.6 LTS (Focal Fossa)"
    ID=ubuntu
    ID_LIKE=debian
    PRETTY_NAME="Ubuntu 20.04.6 LTS"
    VERSION_ID="20.04"
    HOME_URL="https://www.ubuntu.com/"
    SUPPORT_URL="https://help.ubuntu.com/"
    BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
    PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
    VERSION_CODENAME=focal
    UBUNTU_CODENAME=focal
    

    System ist mit apt-get update und apt-upgrade aktualisiert.

    Auf dem Raspi läuft noch ein anderes Programm, so dass der Port 8081 bereits belegt ist.

    Bei meiner ersten iobroker-Installation lief diese problemlos durch. Im Log hatte ich gelesen, dass der Port 8081 belegt ist und daher 8083 genommen wird. Darüber ließ sich die Startseite problemlos aufrufen. Ich habe dann die Ersteinrichtung vorgenommen und die ersten Adapter installiert. Erst danach habe ich gesehen, dass im Adapter admin noch der Port 8081 eingetragen war. Das habe ich dann auf 8083 geändert. Damit fingen die Probleme an:

    Der bereits installierte Adapter RPI lief nicht mehr. Die anderen Adapter funktionierten jedoch weiterhin. Ok dachte ich, mache ich eine Neuinstallation des Adapters - funktionierte nicht, also dann Neuinstallation iobroker. Zunächst habe ich jedoch alles deinstalliert:

    sudo systemctl disable iobroker.service
    sudo rm /usr/bin/iobroker
    sudo rm -fR /opt/iobroker
    sudo apt remove --purge nodejs
    sudo rm -R /etc/sudoers.d/iobroker
    sudo rm -R /home/iobroker
    

    Danach habe ich (nun schon dreimal) neu installiert mit:

    curl -sLf https://iobroker.net/install.sh | bash -
    library: loaded
    Library version=2024-05-24
    
    ==========================================================================
    
        Welcome to the ioBroker installer!
        Installer version: 2024-01-04
        
        You might need to enter your password a couple of times.
    
    ==========================================================================
    
    
    ==========================================================================
        Installing prerequisites (1/4)
    ==========================================================================
    
    Hit:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease
    Hit:2 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease
    Hit:3 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease    
    Hit:4 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease     
    Hit:5 https://deb.nodesource.com/node_20.x nodistro InRelease
    Reading package lists... Done
    
    ==========================================================================
    
        Node.js not found. Installing...
    
    ==========================================================================
    
    deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main
    Package: nodejs
    Pin: origin deb.nodesource.com
    Pin-Priority: 1001
     Processing triggers for man-db (2.9.1-1) ...source1_arm64.deb ...lled.)
    Installed nodejs
    Node.js Installed successfully!
    
    ==========================================================================
        Creating ioBroker user and directory (2/4)
    ==========================================================================
    
    Created /etc/sudoers.d/iobroker
    Directory /opt/iobroker created
    
    ==========================================================================
        Installing ioBroker (3/4)
    ==========================================================================
    
    ⠧bash: line 994:  4769 Killed                  npm i --production --loglevel error --unsafe-perm > /dev/null
    
    ==========================================================================
        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://10.56.78.100:8081 in a browser and start configuring!
    
    ==========================================================================
    
    
    You need to re-login before doing anything else on the console!
    
    

    Bei Schritt 3 scheint es ein Problem zu geben, dass ich nicht lösen kann. Iobroker kann ich nun gar nicht mehr aufrufen - weder über den Port 8081 noch über 8082 oder 8083.

    Der Dienst läuft jedoch:

    systemctl status iobroker
    ● iobroker.service - ioBroker Server
         Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled)
         Active: active (running) since Mon 2024-07-01 19:27:41 CEST; 3min 8s ago
           Docs: http://iobroker.net
       Main PID: 5240 (iobroker.js-con)
          Tasks: 11 (limit: 970)
         CGroup: /system.slice/iobroker.service
                 └─5240 iobroker.js-controller
    
    Jul 01 19:27:41 ubuntu systemd[1]: Started ioBroker Server.
    Jul 01 19:27:49 ubuntu sudo[5284]: iobroker : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/sbin/setcap cap_net_admin,cap_net_bind_service,cap_net_raw+epi /usr/bin/node
    Jul 01 19:27:49 ubuntu sudo[5284]: pam_unix(sudo:session): session opened for user root by (uid=0)
    Jul 01 19:27:49 ubuntu sudo[5284]: pam_unix(sudo:session): session closed for user root
    Jul 01 19:27:50 ubuntu bash[5240]: object system.meta.uuid created: 67b55ea4-7e7d-e632-81e0-66bd95578b60
    Jul 01 19:27:50 ubuntu bash[5240]: object system.user.admin created
    
    

    Hier noch das Log-File:

    more iobroker.2024-07-01.log
    2024-07-01 19:27:48.803  - info: host.ubuntu iobroker.js-controller version 5.0.19 js-controller starting
    2024-07-01 19:27:48.817  - info: host.ubuntu Copyright (c) 2014-2023 bluefox, 2014 hobbyquaker
    2024-07-01 19:27:48.820  - info: host.ubuntu hostname: ubuntu, node: v20.15.0
    2024-07-01 19:27:48.822  - info: host.ubuntu ip addresses: 10.56.78.100
    2024-07-01 19:27:49.080  - info: host.ubuntu Objects protocol version has changed, disconnecting!
    2024-07-01 19:27:49.154  - error: host.ubuntu Cannot read system.config: null (OK when migrating or restoring)
    2024-07-01 19:27:49.225  - error: host.ubuntu Cannot find view "system" for search "host"
    2024-07-01 19:27:49.371  - info: host.ubuntu connected to Objects and States
    2024-07-01 19:27:49.454  - info: host.ubuntu Node.js version has changed from unknown to 20.15.0
    2024-07-01 19:27:49.542  - info: host.ubuntu added notifications configuration of host
    2024-07-01 19:27:49.547  - info: host.ubuntu Successfully updated capabilities "cap_net_admin, cap_net_bind_service, cap_net_raw" for /usr/bin/node
    2024-07-01 19:27:49.614  - error: host.ubuntu Cannot find view "system" for search "instance"
    2024-07-01 19:27:49.617  - error: host.ubuntu Could not add notifications config of this host: Could not get notifications setup from instances: Cannot find view "system"
    2024-07-01 19:27:49.697  - info: host.ubuntu Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system
    2024-07-01 19:27:49.716  - error: host.ubuntu Cannot find view "system" for search "host"
    2024-07-01 19:27:49.737  - error: host.ubuntu Cannot find view "system" for search "state"
    2024-07-01 19:27:49.739  - error: host.ubuntu Cannot find view "system" for search "instance"
    2024-07-01 19:27:49.741  - error: host.ubuntu Could not collect system.host.ubuntu states to check for obsolete states: Cannot find view "system"
    2024-07-01 19:27:49.743  - error: host.ubuntu  _design/system missing - call node iobroker.js setup
    2024-07-01 19:27:49.744  - info: host.ubuntu  no instances found
    2024-07-01 19:27:49.745  - info: host.ubuntu no instances found
    2024-07-01 19:27:50.339  - info: host.ubuntu Created UUID: 67b55ea4-7e7d-e632-81e0-66bd95578b60
    

    Hat jemand einen Lösungsansatz?

    DJMarc75D 1 Antwort Letzte Antwort
    0
    • M MiPl

      Hallo,

      ich komme bei einer Installation auf einem Raspberry 3B+ nicht weiter und hoffe auf Eure Hilfe:

      System auf dem Raspi:

      NAME="Ubuntu"
      VERSION="20.04.6 LTS (Focal Fossa)"
      ID=ubuntu
      ID_LIKE=debian
      PRETTY_NAME="Ubuntu 20.04.6 LTS"
      VERSION_ID="20.04"
      HOME_URL="https://www.ubuntu.com/"
      SUPPORT_URL="https://help.ubuntu.com/"
      BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
      PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
      VERSION_CODENAME=focal
      UBUNTU_CODENAME=focal
      

      System ist mit apt-get update und apt-upgrade aktualisiert.

      Auf dem Raspi läuft noch ein anderes Programm, so dass der Port 8081 bereits belegt ist.

      Bei meiner ersten iobroker-Installation lief diese problemlos durch. Im Log hatte ich gelesen, dass der Port 8081 belegt ist und daher 8083 genommen wird. Darüber ließ sich die Startseite problemlos aufrufen. Ich habe dann die Ersteinrichtung vorgenommen und die ersten Adapter installiert. Erst danach habe ich gesehen, dass im Adapter admin noch der Port 8081 eingetragen war. Das habe ich dann auf 8083 geändert. Damit fingen die Probleme an:

      Der bereits installierte Adapter RPI lief nicht mehr. Die anderen Adapter funktionierten jedoch weiterhin. Ok dachte ich, mache ich eine Neuinstallation des Adapters - funktionierte nicht, also dann Neuinstallation iobroker. Zunächst habe ich jedoch alles deinstalliert:

      sudo systemctl disable iobroker.service
      sudo rm /usr/bin/iobroker
      sudo rm -fR /opt/iobroker
      sudo apt remove --purge nodejs
      sudo rm -R /etc/sudoers.d/iobroker
      sudo rm -R /home/iobroker
      

      Danach habe ich (nun schon dreimal) neu installiert mit:

      curl -sLf https://iobroker.net/install.sh | bash -
      library: loaded
      Library version=2024-05-24
      
      ==========================================================================
      
          Welcome to the ioBroker installer!
          Installer version: 2024-01-04
          
          You might need to enter your password a couple of times.
      
      ==========================================================================
      
      
      ==========================================================================
          Installing prerequisites (1/4)
      ==========================================================================
      
      Hit:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease
      Hit:2 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease
      Hit:3 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease    
      Hit:4 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease     
      Hit:5 https://deb.nodesource.com/node_20.x nodistro InRelease
      Reading package lists... Done
      
      ==========================================================================
      
          Node.js not found. Installing...
      
      ==========================================================================
      
      deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main
      Package: nodejs
      Pin: origin deb.nodesource.com
      Pin-Priority: 1001
       Processing triggers for man-db (2.9.1-1) ...source1_arm64.deb ...lled.)
      Installed nodejs
      Node.js Installed successfully!
      
      ==========================================================================
          Creating ioBroker user and directory (2/4)
      ==========================================================================
      
      Created /etc/sudoers.d/iobroker
      Directory /opt/iobroker created
      
      ==========================================================================
          Installing ioBroker (3/4)
      ==========================================================================
      
      ⠧bash: line 994:  4769 Killed                  npm i --production --loglevel error --unsafe-perm > /dev/null
      
      ==========================================================================
          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://10.56.78.100:8081 in a browser and start configuring!
      
      ==========================================================================
      
      
      You need to re-login before doing anything else on the console!
      
      

      Bei Schritt 3 scheint es ein Problem zu geben, dass ich nicht lösen kann. Iobroker kann ich nun gar nicht mehr aufrufen - weder über den Port 8081 noch über 8082 oder 8083.

      Der Dienst läuft jedoch:

      systemctl status iobroker
      ● iobroker.service - ioBroker Server
           Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled)
           Active: active (running) since Mon 2024-07-01 19:27:41 CEST; 3min 8s ago
             Docs: http://iobroker.net
         Main PID: 5240 (iobroker.js-con)
            Tasks: 11 (limit: 970)
           CGroup: /system.slice/iobroker.service
                   └─5240 iobroker.js-controller
      
      Jul 01 19:27:41 ubuntu systemd[1]: Started ioBroker Server.
      Jul 01 19:27:49 ubuntu sudo[5284]: iobroker : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/sbin/setcap cap_net_admin,cap_net_bind_service,cap_net_raw+epi /usr/bin/node
      Jul 01 19:27:49 ubuntu sudo[5284]: pam_unix(sudo:session): session opened for user root by (uid=0)
      Jul 01 19:27:49 ubuntu sudo[5284]: pam_unix(sudo:session): session closed for user root
      Jul 01 19:27:50 ubuntu bash[5240]: object system.meta.uuid created: 67b55ea4-7e7d-e632-81e0-66bd95578b60
      Jul 01 19:27:50 ubuntu bash[5240]: object system.user.admin created
      
      

      Hier noch das Log-File:

      more iobroker.2024-07-01.log
      2024-07-01 19:27:48.803  - info: host.ubuntu iobroker.js-controller version 5.0.19 js-controller starting
      2024-07-01 19:27:48.817  - info: host.ubuntu Copyright (c) 2014-2023 bluefox, 2014 hobbyquaker
      2024-07-01 19:27:48.820  - info: host.ubuntu hostname: ubuntu, node: v20.15.0
      2024-07-01 19:27:48.822  - info: host.ubuntu ip addresses: 10.56.78.100
      2024-07-01 19:27:49.080  - info: host.ubuntu Objects protocol version has changed, disconnecting!
      2024-07-01 19:27:49.154  - error: host.ubuntu Cannot read system.config: null (OK when migrating or restoring)
      2024-07-01 19:27:49.225  - error: host.ubuntu Cannot find view "system" for search "host"
      2024-07-01 19:27:49.371  - info: host.ubuntu connected to Objects and States
      2024-07-01 19:27:49.454  - info: host.ubuntu Node.js version has changed from unknown to 20.15.0
      2024-07-01 19:27:49.542  - info: host.ubuntu added notifications configuration of host
      2024-07-01 19:27:49.547  - info: host.ubuntu Successfully updated capabilities "cap_net_admin, cap_net_bind_service, cap_net_raw" for /usr/bin/node
      2024-07-01 19:27:49.614  - error: host.ubuntu Cannot find view "system" for search "instance"
      2024-07-01 19:27:49.617  - error: host.ubuntu Could not add notifications config of this host: Could not get notifications setup from instances: Cannot find view "system"
      2024-07-01 19:27:49.697  - info: host.ubuntu Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system
      2024-07-01 19:27:49.716  - error: host.ubuntu Cannot find view "system" for search "host"
      2024-07-01 19:27:49.737  - error: host.ubuntu Cannot find view "system" for search "state"
      2024-07-01 19:27:49.739  - error: host.ubuntu Cannot find view "system" for search "instance"
      2024-07-01 19:27:49.741  - error: host.ubuntu Could not collect system.host.ubuntu states to check for obsolete states: Cannot find view "system"
      2024-07-01 19:27:49.743  - error: host.ubuntu  _design/system missing - call node iobroker.js setup
      2024-07-01 19:27:49.744  - info: host.ubuntu  no instances found
      2024-07-01 19:27:49.745  - info: host.ubuntu no instances found
      2024-07-01 19:27:50.339  - info: host.ubuntu Created UUID: 67b55ea4-7e7d-e632-81e0-66bd95578b60
      

      Hat jemand einen Lösungsansatz?

      DJMarc75D Offline
      DJMarc75D Offline
      DJMarc75
      schrieb am zuletzt editiert von
      #2

      @mipl sagte in iobroker lässt sich nicht richtig installieren:

      Hat jemand einen Lösungsansatz?

      So fängt es schon mal an:

      • RPI3 mit 1GB (könnte unterdimensioniert sein)
      • Ubuntu (warum kein normales Debian?)

      Hast Du eine komplette Neuinstallation gemacht oder iob irgendwie drübergebügelt?

      Bitte die Langfassung von

      iob diag
      

      in Codetags zeigen.

      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

      M 1 Antwort Letzte Antwort
      0
      • DJMarc75D DJMarc75

        @mipl sagte in iobroker lässt sich nicht richtig installieren:

        Hat jemand einen Lösungsansatz?

        So fängt es schon mal an:

        • RPI3 mit 1GB (könnte unterdimensioniert sein)
        • Ubuntu (warum kein normales Debian?)

        Hast Du eine komplette Neuinstallation gemacht oder iob irgendwie drübergebügelt?

        Bitte die Langfassung von

        iob diag
        

        in Codetags zeigen.

        M Offline
        M Offline
        MiPl
        schrieb am zuletzt editiert von MiPl
        #3

        @djmarc75

        Hmm, Größe könnte ein Problem sein/werden.
        Ubuntu: War mir bisher nicht bewusst, dass hier Debian eventuell vorzuziehen sei. Warum wäre das System besser?

        Ähm und iob diag gibt nichts aus:

        Last login: Mon Jul  1 19:13:12 2024 from 10.56.78.99
        pi@ubuntu:~$ iob diag
        [sudo] password for pi: 
        pi@ubuntu:~$ 
        
        

        Habe iobroker auf ein laufendes System "hinzuinstalliert".

        DJMarc75D HomoranH 2 Antworten Letzte Antwort
        0
        • M MiPl

          @djmarc75

          Hmm, Größe könnte ein Problem sein/werden.
          Ubuntu: War mir bisher nicht bewusst, dass hier Debian eventuell vorzuziehen sei. Warum wäre das System besser?

          Ähm und iob diag gibt nichts aus:

          Last login: Mon Jul  1 19:13:12 2024 from 10.56.78.99
          pi@ubuntu:~$ iob diag
          [sudo] password for pi: 
          pi@ubuntu:~$ 
          
          

          Habe iobroker auf ein laufendes System "hinzuinstalliert".

          DJMarc75D Offline
          DJMarc75D Offline
          DJMarc75
          schrieb am zuletzt editiert von
          #4

          @mipl sagte in iobroker lässt sich nicht richtig installieren:

          Ähm und iob diag gibt nichts aus

          mööööp.... dann mach mal

          iob fix
          

          scheinst ja nicht gerade aktuell zu sein dünkt es mir ;)

          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

          M 1 Antwort Letzte Antwort
          0
          • M MiPl

            @djmarc75

            Hmm, Größe könnte ein Problem sein/werden.
            Ubuntu: War mir bisher nicht bewusst, dass hier Debian eventuell vorzuziehen sei. Warum wäre das System besser?

            Ähm und iob diag gibt nichts aus:

            Last login: Mon Jul  1 19:13:12 2024 from 10.56.78.99
            pi@ubuntu:~$ iob diag
            [sudo] password for pi: 
            pi@ubuntu:~$ 
            
            

            Habe iobroker auf ein laufendes System "hinzuinstalliert".

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

            @mipl sagte in iobroker lässt sich nicht richtig installieren:

            iob diag gibt nichts aus:

            iob stop
            iob fix
            iob start
            
            .....warten
            
            
            iob diag 
            

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

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

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

            1 Antwort Letzte Antwort
            0
            • DJMarc75D DJMarc75

              @mipl sagte in iobroker lässt sich nicht richtig installieren:

              Ähm und iob diag gibt nichts aus

              mööööp.... dann mach mal

              iob fix
              

              scheinst ja nicht gerade aktuell zu sein dünkt es mir ;)

              M Offline
              M Offline
              MiPl
              schrieb am zuletzt editiert von
              #6

              @djmarc75

              da kommt:

              pi@ubuntu:~$ iob fix
              library: loaded
              Library version=2024-05-24
              
              ==========================================================================
              
                  Welcome to the ioBroker installation fixer!
                  Script version: 2024-01-04
                  
                  You might need to enter your password a couple of times.
              
              ==========================================================================
              
              
              ==========================================================================
                  Installing prerequisites (1/5)
              ==========================================================================
              
              Hit:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease
              Get:2 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease [128 kB]
              Hit:3 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease               
              Hit:4 https://deb.nodesource.com/node_20.x nodistro InRelease
              Hit:5 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease
              Fetched 128 kB in 3s (42.9 kB/s)
              Reading package lists... Done
              
              ==========================================================================
                  Checking ioBroker user and directory permissions (2/5)
              ==========================================================================
              
              Created /etc/sudoers.d/iobroker
              Fixing directory permissions...
              
              ==========================================================================
                  Check and cleanup npm temporary directories (3/5)
              ==========================================================================
              
              Done.
              
              ==========================================================================
                  Database maintenance (4/5)
              ==========================================================================
              
              Checking for uncompressed JSONL databases... This might take a while!
              
              npm error code EACCES
              npm error syscall mkdir
              npm error path /home/iobroker
              npm error errno EACCES
              npm error FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/@iobroker%2fjsonltool: EACCES: permission denied, mkdir '/home/iobroker'
              npm error     at /usr/lib/node_modules/npm/node_modules/minipass-fetch/lib/body.js:170:15
              npm error     at async Response.json (/usr/lib/node_modules/npm/node_modules/minipass-fetch/lib/body.js:75:17)
              npm error     at async RegistryFetcher.packument (/usr/lib/node_modules/npm/node_modules/pacote/lib/registry.js:98:25)
              npm error     at async RegistryFetcher.manifest (/usr/lib/node_modules/npm/node_modules/pacote/lib/registry.js:129:23)
              npm error     at async getManifest (/usr/lib/node_modules/npm/node_modules/libnpmexec/lib/index.js:27:22)
              npm error     at async missingFromTree (/usr/lib/node_modules/npm/node_modules/libnpmexec/lib/index.js:61:22)
              npm error     at async /usr/lib/node_modules/npm/node_modules/libnpmexec/lib/index.js:163:32
              npm error     at async Promise.all (index 0)
              npm error     at async exec (/usr/lib/node_modules/npm/node_modules/libnpmexec/lib/index.js:161:3)
              npm error     at async module.exports (/usr/lib/node_modules/npm/lib/cli/entry.js:74:5) {
              npm error   code: 'EACCES',
              npm error   errno: 'EACCES',
              npm error   syscall: 'mkdir',
              npm error   path: '/home/iobroker',
              npm error   type: 'system'
              npm error }
              npm error
              npm error The operation was rejected by your operating system.
              npm error It is likely you do not have the permissions to access this file as the current user
              npm error
              npm error If you believe this might be a permissions issue, please double-check the
              npm error permissions of the file and its containing directories, or try running
              npm error the command again as root/Administrator.
              
              npm error Log files were not written due to an error writing to the directory: /home/iobroker/.npm/_logs
              npm error You can rerun the command with `--loglevel=verbose` to see the logs in your terminal
              
              ==========================================================================
                  Checking autostart (5/5)
              ==========================================================================
              
              Enabling autostart...
              Autostart enabled!
              
              ==========================================================================
              
                  Your installation was fixed successfully
                  Run iobroker start to start ioBroker again!
              
              ==========================================================================
              
              
              HomoranH DJMarc75D 2 Antworten Letzte Antwort
              0
              • M MiPl

                @djmarc75

                da kommt:

                pi@ubuntu:~$ iob fix
                library: loaded
                Library version=2024-05-24
                
                ==========================================================================
                
                    Welcome to the ioBroker installation fixer!
                    Script version: 2024-01-04
                    
                    You might need to enter your password a couple of times.
                
                ==========================================================================
                
                
                ==========================================================================
                    Installing prerequisites (1/5)
                ==========================================================================
                
                Hit:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease
                Get:2 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease [128 kB]
                Hit:3 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease               
                Hit:4 https://deb.nodesource.com/node_20.x nodistro InRelease
                Hit:5 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease
                Fetched 128 kB in 3s (42.9 kB/s)
                Reading package lists... Done
                
                ==========================================================================
                    Checking ioBroker user and directory permissions (2/5)
                ==========================================================================
                
                Created /etc/sudoers.d/iobroker
                Fixing directory permissions...
                
                ==========================================================================
                    Check and cleanup npm temporary directories (3/5)
                ==========================================================================
                
                Done.
                
                ==========================================================================
                    Database maintenance (4/5)
                ==========================================================================
                
                Checking for uncompressed JSONL databases... This might take a while!
                
                npm error code EACCES
                npm error syscall mkdir
                npm error path /home/iobroker
                npm error errno EACCES
                npm error FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/@iobroker%2fjsonltool: EACCES: permission denied, mkdir '/home/iobroker'
                npm error     at /usr/lib/node_modules/npm/node_modules/minipass-fetch/lib/body.js:170:15
                npm error     at async Response.json (/usr/lib/node_modules/npm/node_modules/minipass-fetch/lib/body.js:75:17)
                npm error     at async RegistryFetcher.packument (/usr/lib/node_modules/npm/node_modules/pacote/lib/registry.js:98:25)
                npm error     at async RegistryFetcher.manifest (/usr/lib/node_modules/npm/node_modules/pacote/lib/registry.js:129:23)
                npm error     at async getManifest (/usr/lib/node_modules/npm/node_modules/libnpmexec/lib/index.js:27:22)
                npm error     at async missingFromTree (/usr/lib/node_modules/npm/node_modules/libnpmexec/lib/index.js:61:22)
                npm error     at async /usr/lib/node_modules/npm/node_modules/libnpmexec/lib/index.js:163:32
                npm error     at async Promise.all (index 0)
                npm error     at async exec (/usr/lib/node_modules/npm/node_modules/libnpmexec/lib/index.js:161:3)
                npm error     at async module.exports (/usr/lib/node_modules/npm/lib/cli/entry.js:74:5) {
                npm error   code: 'EACCES',
                npm error   errno: 'EACCES',
                npm error   syscall: 'mkdir',
                npm error   path: '/home/iobroker',
                npm error   type: 'system'
                npm error }
                npm error
                npm error The operation was rejected by your operating system.
                npm error It is likely you do not have the permissions to access this file as the current user
                npm error
                npm error If you believe this might be a permissions issue, please double-check the
                npm error permissions of the file and its containing directories, or try running
                npm error the command again as root/Administrator.
                
                npm error Log files were not written due to an error writing to the directory: /home/iobroker/.npm/_logs
                npm error You can rerun the command with `--loglevel=verbose` to see the logs in your terminal
                
                ==========================================================================
                    Checking autostart (5/5)
                ==========================================================================
                
                Enabling autostart...
                Autostart enabled!
                
                ==========================================================================
                
                    Your installation was fixed successfully
                    Run iobroker start to start ioBroker again!
                
                ==========================================================================
                
                
                HomoranH Nicht stören
                HomoranH Nicht stören
                Homoran
                Global Moderator Administrators
                schrieb am zuletzt editiert von
                #7

                @mipl sagte in iobroker lässt sich nicht richtig installieren:

                EACCES: permission denied,

                ohh, oooooh!

                @mipl sagte in iobroker lässt sich nicht richtig installieren:

                Habe iobroker auf ein laufendes System "hinzuinstalliert".

                wie genau hast du das gemacht?

                klappt iob diag jetzt trotzdem?

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

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

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

                M 1 Antwort Letzte Antwort
                0
                • M MiPl

                  @djmarc75

                  da kommt:

                  pi@ubuntu:~$ iob fix
                  library: loaded
                  Library version=2024-05-24
                  
                  ==========================================================================
                  
                      Welcome to the ioBroker installation fixer!
                      Script version: 2024-01-04
                      
                      You might need to enter your password a couple of times.
                  
                  ==========================================================================
                  
                  
                  ==========================================================================
                      Installing prerequisites (1/5)
                  ==========================================================================
                  
                  Hit:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease
                  Get:2 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease [128 kB]
                  Hit:3 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease               
                  Hit:4 https://deb.nodesource.com/node_20.x nodistro InRelease
                  Hit:5 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease
                  Fetched 128 kB in 3s (42.9 kB/s)
                  Reading package lists... Done
                  
                  ==========================================================================
                      Checking ioBroker user and directory permissions (2/5)
                  ==========================================================================
                  
                  Created /etc/sudoers.d/iobroker
                  Fixing directory permissions...
                  
                  ==========================================================================
                      Check and cleanup npm temporary directories (3/5)
                  ==========================================================================
                  
                  Done.
                  
                  ==========================================================================
                      Database maintenance (4/5)
                  ==========================================================================
                  
                  Checking for uncompressed JSONL databases... This might take a while!
                  
                  npm error code EACCES
                  npm error syscall mkdir
                  npm error path /home/iobroker
                  npm error errno EACCES
                  npm error FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/@iobroker%2fjsonltool: EACCES: permission denied, mkdir '/home/iobroker'
                  npm error     at /usr/lib/node_modules/npm/node_modules/minipass-fetch/lib/body.js:170:15
                  npm error     at async Response.json (/usr/lib/node_modules/npm/node_modules/minipass-fetch/lib/body.js:75:17)
                  npm error     at async RegistryFetcher.packument (/usr/lib/node_modules/npm/node_modules/pacote/lib/registry.js:98:25)
                  npm error     at async RegistryFetcher.manifest (/usr/lib/node_modules/npm/node_modules/pacote/lib/registry.js:129:23)
                  npm error     at async getManifest (/usr/lib/node_modules/npm/node_modules/libnpmexec/lib/index.js:27:22)
                  npm error     at async missingFromTree (/usr/lib/node_modules/npm/node_modules/libnpmexec/lib/index.js:61:22)
                  npm error     at async /usr/lib/node_modules/npm/node_modules/libnpmexec/lib/index.js:163:32
                  npm error     at async Promise.all (index 0)
                  npm error     at async exec (/usr/lib/node_modules/npm/node_modules/libnpmexec/lib/index.js:161:3)
                  npm error     at async module.exports (/usr/lib/node_modules/npm/lib/cli/entry.js:74:5) {
                  npm error   code: 'EACCES',
                  npm error   errno: 'EACCES',
                  npm error   syscall: 'mkdir',
                  npm error   path: '/home/iobroker',
                  npm error   type: 'system'
                  npm error }
                  npm error
                  npm error The operation was rejected by your operating system.
                  npm error It is likely you do not have the permissions to access this file as the current user
                  npm error
                  npm error If you believe this might be a permissions issue, please double-check the
                  npm error permissions of the file and its containing directories, or try running
                  npm error the command again as root/Administrator.
                  
                  npm error Log files were not written due to an error writing to the directory: /home/iobroker/.npm/_logs
                  npm error You can rerun the command with `--loglevel=verbose` to see the logs in your terminal
                  
                  ==========================================================================
                      Checking autostart (5/5)
                  ==========================================================================
                  
                  Enabling autostart...
                  Autostart enabled!
                  
                  ==========================================================================
                  
                      Your installation was fixed successfully
                      Run iobroker start to start ioBroker again!
                  
                  ==========================================================================
                  
                  
                  DJMarc75D Offline
                  DJMarc75D Offline
                  DJMarc75
                  schrieb am zuletzt editiert von
                  #8

                  @mipl mach es so wie @Homoran geschrieben hat.

                  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 Antwort Letzte Antwort
                  0
                  • HomoranH Homoran

                    @mipl sagte in iobroker lässt sich nicht richtig installieren:

                    EACCES: permission denied,

                    ohh, oooooh!

                    @mipl sagte in iobroker lässt sich nicht richtig installieren:

                    Habe iobroker auf ein laufendes System "hinzuinstalliert".

                    wie genau hast du das gemacht?

                    klappt iob diag jetzt trotzdem?

                    M Offline
                    M Offline
                    MiPl
                    schrieb am zuletzt editiert von
                    #9

                    @homoran
                    Installation via ssh mit dem Befehl:

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

                    iob diag geht weiterhin nicht.

                    Thomas BraunT HomoranH 2 Antworten Letzte Antwort
                    0
                    • M MiPl

                      @homoran
                      Installation via ssh mit dem Befehl:

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

                      iob diag geht weiterhin nicht.

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

                      @mipl

                      Dann ruf iob diag wie in meiner Signatur zu sehen auf.

                      Also per

                      curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh
                      

                      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

                      M 1 Antwort Letzte Antwort
                      1
                      • M MiPl

                        @homoran
                        Installation via ssh mit dem Befehl:

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

                        iob diag geht weiterhin nicht.

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

                        @mipl sagte in iobroker lässt sich nicht richtig installieren:

                        Installation via ssh mit dem Befehl:

                        als root??

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

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

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

                        M 1 Antwort Letzte Antwort
                        0
                        • Thomas BraunT Thomas Braun

                          @mipl

                          Dann ruf iob diag wie in meiner Signatur zu sehen auf.

                          Also per

                          curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh
                          
                          M Offline
                          M Offline
                          MiPl
                          schrieb am zuletzt editiert von
                          #12

                          @thomas-braun

                          Keine Ausgabe mit curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                          Thomas BraunT 1 Antwort Letzte Antwort
                          0
                          • HomoranH Homoran

                            @mipl sagte in iobroker lässt sich nicht richtig installieren:

                            Installation via ssh mit dem Befehl:

                            als root??

                            M Offline
                            M Offline
                            MiPl
                            schrieb am zuletzt editiert von
                            #13

                            @homoran

                            Nein, nicht als root

                            HomoranH 1 Antwort Letzte Antwort
                            0
                            • M MiPl

                              @thomas-braun

                              Keine Ausgabe mit curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

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

                              @mipl

                              curl -L -o diag.sh https://iobroker.net/diag.sh && bash diag.sh
                              

                              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

                              M 1 Antwort Letzte Antwort
                              1
                              • Thomas BraunT Thomas Braun

                                @mipl

                                curl -L -o diag.sh https://iobroker.net/diag.sh && bash diag.sh
                                
                                M Offline
                                M Offline
                                MiPl
                                schrieb am zuletzt editiert von MiPl
                                #15

                                @thomas-braun
                                liefert

                                pi@ubuntu:/$ curl -L -o diag.sh https://iobroker.net/diag.sh && bash diag.sh
                                  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                100   169  100   169    0     0    800      0 --:--:-- --:--:-- --:--:--   800
                                Warning: Failed to create the file diag.sh: Permission denied
                                 69 23302   69 16126    0     0  37502      0 --:--:-- --:--:-- --:--:-- 37502
                                curl: (23) Failed writing body (0 != 16126)
                                
                                Thomas BraunT 1 Antwort Letzte Antwort
                                0
                                • M MiPl

                                  @thomas-braun
                                  liefert

                                  pi@ubuntu:/$ curl -L -o diag.sh https://iobroker.net/diag.sh && bash diag.sh
                                    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  100   169  100   169    0     0    800      0 --:--:-- --:--:-- --:--:--   800
                                  Warning: Failed to create the file diag.sh: Permission denied
                                   69 23302   69 16126    0     0  37502      0 --:--:-- --:--:-- --:--:-- 37502
                                  curl: (23) Failed writing body (0 != 16126)
                                  
                                  Thomas BraunT Online
                                  Thomas BraunT Online
                                  Thomas Braun
                                  Most Active
                                  schrieb am zuletzt editiert von
                                  #16

                                  @mipl

                                  Bitte immer die vollständigen Ein- wie Ausgaben inkl. LoginPrompt posten.

                                  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 Antwort Letzte Antwort
                                  0
                                  • M MiPl

                                    @homoran

                                    Nein, nicht als root

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

                                    @mipl sagte in iobroker lässt sich nicht richtig installieren:

                                    nicht als root

                                    wieso dann

                                    @mipl sagte in iobroker lässt sich nicht richtig installieren:

                                    System ist mit apt-get update und apt-upgrade aktualisiert.

                                    ohne sudo?

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

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

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

                                    M 1 Antwort Letzte Antwort
                                    0
                                    • HomoranH Homoran

                                      @mipl sagte in iobroker lässt sich nicht richtig installieren:

                                      nicht als root

                                      wieso dann

                                      @mipl sagte in iobroker lässt sich nicht richtig installieren:

                                      System ist mit apt-get update und apt-upgrade aktualisiert.

                                      ohne sudo?

                                      M Offline
                                      M Offline
                                      MiPl
                                      schrieb am zuletzt editiert von
                                      #18

                                      @homoran
                                      update und upgrade wurde mit sudo ausgeführt.

                                      HomoranH Thomas BraunT 2 Antworten Letzte Antwort
                                      0
                                      • M MiPl

                                        @homoran
                                        update und upgrade wurde mit sudo ausgeführt.

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

                                        @mipl Danke!
                                        hmm, wo klemmt's denn dann mit den Rechten?

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

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

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

                                        1 Antwort Letzte Antwort
                                        0
                                        • M MiPl

                                          @homoran
                                          update und upgrade wurde mit sudo ausgeführt.

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

                                          @mipl

                                          Stell dich in das home-Verzeichnis vom pi. Der darf (zum Glück) nicht in / schreiben.

                                          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

                                          M 1 Antwort Letzte Antwort
                                          1
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          795

                                          Online

                                          32.5k

                                          Benutzer

                                          81.7k

                                          Themen

                                          1.3m

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

                                          • Du hast noch kein Konto? Registrieren

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