Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] iobroker lässt sich nicht richtig installieren

    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

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

    This topic has been deleted. Only users with topic management privileges can see it.
    • DJMarc75
      DJMarc75 @MiPl last edited by

      @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 1 Reply Last reply Reply Quote 0
      • M
        MiPl @DJMarc75 last edited by 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".

        DJMarc75 Homoran 2 Replies Last reply Reply Quote 0
        • DJMarc75
          DJMarc75 @MiPl last edited by

          @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 1 Reply Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators @MiPl last edited by

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

            iob diag gibt nichts aus:

            iob stop
            iob fix
            iob start
            
            .....warten
            
            
            iob diag 
            
            1 Reply Last reply Reply Quote 0
            • M
              MiPl @DJMarc75 last edited by

              @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!
              
              ==========================================================================
              
              
              Homoran DJMarc75 2 Replies Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators @MiPl last edited by

                @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 1 Reply Last reply Reply Quote 0
                • DJMarc75
                  DJMarc75 @MiPl last edited by

                  @mipl mach es so wie @Homoran geschrieben hat.

                  1 Reply Last reply Reply Quote 0
                  • M
                    MiPl @Homoran last edited by

                    @homoran
                    Installation via ssh mit dem Befehl:

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

                    iob diag geht weiterhin nicht.

                    Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @MiPl last edited by 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 1 Reply Last reply Reply Quote 1
                      • Homoran
                        Homoran Global Moderator Administrators @MiPl last edited by

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

                        Installation via ssh mit dem Befehl:

                        als root??

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

                          @thomas-braun

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

                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • M
                            MiPl @Homoran last edited by

                            @homoran

                            Nein, nicht als root

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

                              @mipl

                              curl -L -o diag.sh https://iobroker.net/diag.sh && bash diag.sh
                              
                              M 1 Reply Last reply Reply Quote 1
                              • M
                                MiPl @Thomas Braun last edited by 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 Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @MiPl last edited by

                                  @mipl

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

                                  1 Reply Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators @MiPl last edited by

                                    @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 1 Reply Last reply Reply Quote 0
                                    • M
                                      MiPl @Homoran last edited by

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

                                      Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                                      • Homoran
                                        Homoran Global Moderator Administrators @MiPl last edited by Homoran

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

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

                                          @mipl

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

                                          M 1 Reply Last reply Reply Quote 1
                                          • M
                                            MiPl @Thomas Braun last edited by

                                            @thomas-braun
                                            Du meintest so?

                                            pi@ubuntu:/$ cd /home/pi
                                            pi@ubuntu:~$ pwd
                                            /home/pi
                                            pi@ubuntu:~$ ls -l
                                            total 1872
                                            -rw-rw-r-- 1 pi pi    1800 Mar  1  2023 Cron-Send-new-IP.sh
                                            -rw-rw-r-- 1 pi pi      70 Mar  1  2023 IP-per-Email.txt
                                            -rw-rw-r-- 1 pi pi 1908226 Sep 20  2023 get-pip.py
                                            
                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

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

                                            396
                                            Online

                                            31.9k
                                            Users

                                            80.3k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            27
                                            1176
                                            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