Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Nach Update läuft nichts mehr!

    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

    Nach Update läuft nichts mehr!

    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      Jan1 @SaschaS last edited by

      @SaschaS
      Schau mal ob der IOBroker erreichbar ist. Wenn ja, würde ich die Adapter über den Admin updaten, wobei noch ein npm rebuild wegen des Node Updates anstehen dürfte.
      Das soll aber Thomas mal dirigieren.

      S 1 Reply Last reply Reply Quote 0
      • S
        SaschaS last edited by

        @Thomas-Braun @Jan1 Oh Oh... Da scheint wieder was nicht zu passen.

        pi@raspberrypi:/opt/iobroker $ iobroker upgrade
        Update admin from @3.7.8 to @4.0.10
        host.raspberrypi Adapter "system.adapter.admin.0" is stopped.
        NPM version: 6.14.2
        npm install iobroker.admin@4.0.10 --loglevel error --prefix "/opt/iobroker" (System call)
        npm ERR! code EACCES
        npm ERR! syscall access
        npm ERR! path /opt/iobroker/node_modules/iobroker.admin
        npm ERR! errno -13
        npm ERR! Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker.admin'
        npm ERR!  { Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker.admin'
        npm ERR!   stack: 'Error: EACCES: permission denied, access \'/opt/iobroker/node_modules/iobroker.admin\'',
        npm ERR!   errno: -13,
        npm ERR!   code: 'EACCES',
        npm ERR!   syscall: 'access',
        npm ERR!   path: '/opt/iobroker/node_modules/iobroker.admin' }
        npm ERR! 
        npm ERR! The operation was rejected by your operating system.
        npm ERR! It is likely you do not have the permissions to access this file as the current user
        npm ERR! 
        npm ERR! If you believe this might be a permissions issue, please double-check the
        npm ERR! permissions of the file and its containing directories, or try running
        npm ERR! the command again as root/Administrator.
        
        npm ERR! A complete log of this run can be found in:
        npm ERR!     /home/pi/.npm/_logs/2020-05-21T08_49_06_019Z-debug.log
        host.raspberrypi Cannot install iobroker.admin@4.0.10: 243
        

        Soll ich das ganze noch einmal mit sudo probieren?

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

          @SaschaS Nein.

          groups
          

          zeigen.

          S 1 Reply Last reply Reply Quote 0
          • S
            SaschaS @Jan1 last edited by

            @Jan1 IoBroker war kurzzeitig über die Weboberfläche erreichbar. Zeit mir auch an, dass 9 Adapter aktualisiert werden können.

            J 1 Reply Last reply Reply Quote 0
            • S
              SaschaS @Thomas Braun last edited by

              @Thomas-Braun said in Nach Update läuft nichts mehr!:

              @SaschaS Nein.

              groups
              

              zeigen.

              pi@raspberrypi:/opt/iobroker $ groups
              pi adm dialout cdrom sudo audio video plugdev games users input netdev bluetooth gpio i2c spi
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • J
                Jan1 @SaschaS last edited by

                @SaschaS
                sehr gut, dann weiter mit der Anweisung von Thomas

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

                  @SaschaS

                  sudo usermod -aG iobroker pi
                  

                  Dann den user 'pi' einmal ausloggen und wieder als 'pi' einloggen.

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

                    @Thomas-Braun said in Nach Update läuft nichts mehr!:

                    sudo usermod -aG iobroker pi

                    Ich frage lieber nach. Ausloggen mit exit, logout ? peinlich?

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

                      @SaschaS Ja, mit

                      exit
                      
                      S 1 Reply Last reply Reply Quote 0
                      • S
                        SaschaS @Thomas Braun last edited by

                        @Thomas-Braun

                        pi@raspberrypi:/opt/iobroker $ groups
                        pi adm dialout cdrom sudo audio video plugdev games users input netdev bluetooth gpio i2c spi iobroker
                        

                        da hier jetzt iobroker in der Liste aufgeführt ist, gehe ich mal davon aus, dass jetzt mehr Rechte da sind und ich noch einmal das upgrade anstoßen kann.

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

                          @SaschaS Richtig, das war der Plan...

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

                            @Thomas-Braun Weniger erfolgreich..

                            pi@raspberrypi:/opt/iobroker $ iobroker upgrade
                            Update admin from @3.7.8 to @4.0.10
                            NPM version: 6.14.2
                            npm install iobroker.admin@4.0.10 --loglevel error --prefix "/opt/iobroker" (System call)
                            npm ERR! code EACCES
                            npm ERR! syscall access
                            npm ERR! path /opt/iobroker/node_modules/iobroker.admin
                            npm ERR! errno -13
                            npm ERR! Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker.admin'
                            npm ERR!  { Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker.admin'
                            npm ERR!   stack: 'Error: EACCES: permission denied, access \'/opt/iobroker/node_modules/iobroker.admin\'',
                            npm ERR!   errno: -13,
                            npm ERR!   code: 'EACCES',
                            npm ERR!   syscall: 'access',
                            npm ERR!   path: '/opt/iobroker/node_modules/iobroker.admin' }
                            npm ERR! 
                            npm ERR! The operation was rejected by your operating system.
                            npm ERR! It is likely you do not have the permissions to access this file as the current user
                            npm ERR! 
                            npm ERR! If you believe this might be a permissions issue, please double-check the
                            npm ERR! permissions of the file and its containing directories, or try running
                            npm ERR! the command again as root/Administrator.
                            
                            npm ERR! A complete log of this run can be found in:
                            npm ERR!     /home/pi/.npm/_logs/2020-05-21T08_58_31_749Z-debug.log
                            host.raspberrypi Cannot install iobroker.admin@4.0.10: 243
                            
                            J Thomas Braun 2 Replies Last reply Reply Quote 0
                            • J
                              Jan1 @SaschaS last edited by Jan1

                              @SaschaS
                              das riecht nach "den Fixer noch mal laufen lassen"
                              Wobei ich die Updates lieber direkt aus IOBroker Admin raus starten würde.

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

                                @SaschaS Jag den Fixer nochmal drüber:

                                curl -sL https://iobroker.net/fix.sh | bash -
                                
                                1 Reply Last reply Reply Quote 0
                                • S
                                  SaschaS @Jan1 last edited by SaschaS

                                  @Jan1 @Thomas-Braun

                                  pi@raspberrypi:/opt/iobroker $ curl -sL https://iobroker.net/fix.sh | bash -
                                  library: loaded
                                  Library version=2020-04-12
                                  ioBroker or some processes are still running:
                                   io.discovery.0
                                   io.history.0
                                   io.javascript.0
                                   io.web.0
                                   io.cloud.0
                                   io.info.0
                                   io.deconz.0
                                   io.tankerkoenig.0
                                   io.ble.0
                                  Please stop them first and try again!
                                  

                                  Wieso laufen denn da noch Dienste?

                                  pi@raspberrypi:/opt/iobroker $ iobroker stop
                                  iobroker controller daemon is not running
                                  

                                  Wie kille ich die jetzt am saubersten?

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

                                    @SaschaS

                                    sudo pkill io
                                    
                                    S 1 Reply Last reply Reply Quote 0
                                    • S
                                      SaschaS @Thomas Braun last edited by

                                      @Thomas-Braun

                                      nach

                                      sudo pkill io
                                      

                                      laufen immer noch Dienste

                                      pi@raspberrypi:/opt/iobroker $ ps auxww | grep io
                                      root        12  0.0  0.0      0     0 ?        S    10:39   0:00 [migration/0]
                                      root        15  0.0  0.0      0     0 ?        S    10:39   0:00 [migration/1]
                                      root        20  0.0  0.0      0     0 ?        S    10:39   0:00 [migration/2]
                                      root        25  0.0  0.0      0     0 ?        S    10:39   0:00 [migration/3]
                                      root        41  0.0  0.0      0     0 ?        I<   10:39   0:00 [rpciod]
                                      root        43  0.0  0.0      0     0 ?        I<   10:39   0:00 [xprtiod]
                                      root        47  0.0  0.0      0     0 ?        I<   10:39   0:00 [nfsiod]
                                      root        62  0.0  0.0      0     0 ?        I<   10:39   0:00 [DWC Notificatio]
                                      message+   350  0.0  0.3   6512  3472 ?        Ss   10:39   0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
                                      iobroker 16869 30.8 11.5 186284 109716 ?       Dsl  11:04   0:08 iobroker.js-controller
                                      iobroker 16920  9.9  4.5 120552 42908 ?        Sl   11:04   0:02 io.discovery.0
                                      iobroker 16990 21.0  6.5 140452 62140 ?        Sl   11:04   0:03 io.history.0
                                      iobroker 17030 45.6 10.8 181700 103192 ?       Sl   11:04   0:05 /usr/bin/node /opt/iobroker/node_modules/iobroker.javascript/main.js 0 info
                                      pi       17155  0.0  0.0   4772   576 pts/0    S+   11:04   0:00 grep --color=auto io
                                      pi@raspberrypi:/opt/iobroker $
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • S
                                        SaschaS last edited by

                                        Und das werden immer mehr...wieso starten die denn jetzt alle durch?

                                        pi@raspberrypi:/opt/iobroker $ ps auxww | grep io
                                        root        12  0.0  0.0      0     0 ?        S    10:39   0:00 [migration/0]
                                        root        15  0.0  0.0      0     0 ?        S    10:39   0:00 [migration/1]
                                        root        20  0.0  0.0      0     0 ?        S    10:39   0:00 [migration/2]
                                        root        25  0.0  0.0      0     0 ?        S    10:39   0:00 [migration/3]
                                        root        41  0.0  0.0      0     0 ?        I<   10:39   0:00 [rpciod]
                                        root        43  0.0  0.0      0     0 ?        I<   10:39   0:00 [xprtiod]
                                        root        47  0.0  0.0      0     0 ?        I<   10:39   0:00 [nfsiod]
                                        root        62  0.0  0.0      0     0 ?        I<   10:39   0:00 [DWC Notificatio]
                                        message+   350  0.0  0.3   6512  3472 ?        Ss   10:39   0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
                                        iobroker 16869 25.7 10.4 175232 99196 ?        Dsl  11:04   0:22 iobroker.js-controller
                                        iobroker 16920  2.8  4.5 120552 42936 ?        Sl   11:04   0:02 io.discovery.0
                                        iobroker 16990  7.1  3.7 128760 35148 ?        Sl   11:04   0:05 io.history.0
                                        iobroker 17030 20.8 14.2 211672 134692 ?       Sl   11:04   0:15 io.javascript.0
                                        iobroker 17237 12.1  4.5 135500 42748 ?        Rl   11:04   0:06 io.stiebel-isg.0
                                        iobroker 17248  7.9  4.2 133872 40160 ?        Sl   11:04   0:04 io.web.0
                                        iobroker 17254  7.3  3.9 131960 37660 ?        Sl   11:04   0:03 /usr/bin/node /opt/iobroker/node_modules/iobroker.cloud/main.js 0 info
                                        iobroker 17261  5.3  4.5 121004 43076 ?        Sl   11:04   0:02 /usr/bin/node /opt/iobroker/node_modules/iobroker.info/main.js 0 info
                                        iobroker 17339  7.5  5.1 131932 49248 ?        Sl   11:04   0:03 io.deconz.0
                                        iobroker 17699 21.6  4.7 131708 45304 ?        Sl   11:05   0:03 /usr/bin/node /opt/iobroker/node_modules/iobroker.tankerkoenig/main.js 0 info
                                        iobroker 17706 22.6  5.1 132704 49024 ?        Sl   11:05   0:03 io.ical.0
                                        iobroker 17716 21.6  4.0 131016 38792 ?        Sl   11:05   0:03 io.ble.0
                                        pi       17888  0.0  0.0   4772   524 pts/0    S+   11:05   0:00 grep --color=auto io
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @SaschaS last edited by

                                          @SaschaS

                                          sudo kill 16869 16920 16990
                                          
                                          S 1 Reply Last reply Reply Quote 0
                                          • S
                                            SaschaS @Thomas Braun last edited by

                                            @Thomas-Braun said in Nach Update läuft nichts mehr!:

                                            sudo kill 16869 16920 16990

                                            Der scheint verdammt hartnäckig zu sein

                                            pi@raspberrypi:/opt/iobroker $ sudo kill 16869
                                            pi@raspberrypi:/opt/iobroker $ ps auxww | grep io
                                            root        12  0.0  0.0      0     0 ?        S    10:39   0:00 [migration/0]
                                            root        15  0.0  0.0      0     0 ?        S    10:39   0:00 [migration/1]
                                            root        20  0.0  0.0      0     0 ?        S    10:39   0:00 [migration/2]
                                            root        25  0.0  0.0      0     0 ?        S    10:39   0:00 [migration/3]
                                            root        41  0.0  0.0      0     0 ?        I<   10:39   0:00 [rpciod]
                                            root        43  0.0  0.0      0     0 ?        I<   10:39   0:00 [xprtiod]
                                            root        47  0.0  0.0      0     0 ?        I<   10:39   0:00 [nfsiod]
                                            root        62  0.0  0.0      0     0 ?        I<   10:39   0:00 [DWC Notificatio]
                                            message+   350  0.0  0.3   6512  3472 ?        Ss   10:39   0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
                                            iobroker 16869 16.7 10.2 199612 97400 ?        Dsl  11:04   0:40 iobroker.js-controller
                                            pi       19863  0.0  0.0   4772   552 pts/0    S+   11:08   0:00 grep --color=auto io
                                            
                                            S 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

                                            783
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            help wanted iobroker update js controller update json npm
                                            18
                                            416
                                            53379
                                            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