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.
    • S
      SaschaS last edited by

      Ich kann keine Fehlermeldung erkennen...Hä? Das wird doch jetzt nicht geklappt haben.

      pi@raspberrypi:/opt/iobroker $ sudo apt install -y nodejs
      Paketlisten werden gelesen... Fertig
      Abhängigkeitsbaum wird aufgebaut.       
      Statusinformationen werden eingelesen.... Fertig
      Die folgenden NEUEN Pakete werden installiert:
        nodejs
      0 aktualisiert, 1 neu installiert, 0 zu entfernen und 29 nicht aktualisiert.
      Es müssen 15,9 MB an Archiven heruntergeladen werden.
      Nach dieser Operation werden 83,8 MB Plattenplatz zusätzlich benutzt.
      Holen:1 https://deb.nodesource.com/node_12.x stretch/main armhf nodejs armhf 12.16.3-1nodesource1 [15,9 MB]
      Es wurden 15,9 MB in 3 s geholt (4.202 kB/s).
      Vormals nicht ausgewähltes Paket nodejs wird gewählt.
      (Lese Datenbank ... 55248 Dateien und Verzeichnisse sind derzeit installiert.)
      Vorbereitung zum Entpacken von .../nodejs_12.16.3-1nodesource1_armhf.deb ...
      Entpacken von nodejs (12.16.3-1nodesource1) ...
      nodejs (12.16.3-1nodesource1) wird eingerichtet ...
      Trigger für man-db (2.7.6.1-2) werden verarbeitet 
      
      pi@raspberrypi:/opt/iobroker $ node -v
      v12.16.3
      pi@raspberrypi:/opt/iobroker $ nodejs -v
      v12.16.3
      pi@raspberrypi:/opt/iobroker $ npm -v
      6.14.4
      
      Wal 1 Reply Last reply Reply Quote 1
      • S
        SaschaS last edited by

        @Wal Das würde ich ja schon fast als kleines Etappenziel betrachten.

        Ich mach mal einen Reboot und dann versuche ich noch einmal

        cd /opt/iobroker
        iobroker version
        iobroker update
        iobroker upgrade
        iobroker stop
        iobroker upgrade self
        iobroker rebuild 
        iobroker start
        
        
        Wal 1 Reply Last reply Reply Quote 0
        • Wal
          Wal Developer @SaschaS last edited by

          @SaschaS
          ok, jetzt in den Ordner /opt/iobroker

          1 Reply Last reply Reply Quote 0
          • Wal
            Wal Developer @SaschaS last edited by

            @SaschaS
            ok ich war zu langsam 😉

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

              @Wal Bin in dem Ordner. Habe aber noch nichts ausgeführt außer reboot.
              Frage btw warum sind wir nur auf node 12 gegangen, wenn es schon die 14 gibt? Ich will das ganze Prozedur nicht nochmal machen müssen 😄

              haselchen crunchip 2 Replies Last reply Reply Quote 0
              • haselchen
                haselchen Most Active @SaschaS last edited by

                @SaschaS

                Weil 12 empfohlen wird und 14 noch nicht stabil mit den Adaptern läuft.

                1 Reply Last reply Reply Quote 0
                • crunchip
                  crunchip Forum Testing Most Active @SaschaS last edited by crunchip

                  @SaschaS weil V14 noch nicht ganz ausgereift ist und noch nicht 100% unterstützt wird
                  @haselchen die entscheidenden millisekunden😂

                  haselchen 1 Reply Last reply Reply Quote 0
                  • haselchen
                    haselchen Most Active @crunchip last edited by

                    @crunchip

                    Versprochen, wenn die Corona Regeln aufgehoben werden, hauen wir uns auf meine Kosten einen rein 👍 🍺

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

                      @crunchip und @haselchen valide Antwort. Akzeptiert 😉
                      @Wal Wieder Rechteprobleme mit iobroker upgrade

                      Mit sudo iobroker upgrade probieren? Oder Wieder Rechte für iobroker vergeben?

                      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-21T13_35_26_358Z-debug.log
                      host.raspberrypi Cannot install iobroker.admin@4.0.10: 243
                      
                      Wal 1 Reply Last reply Reply Quote 0
                      • Wal
                        Wal Developer @SaschaS last edited by

                        @SaschaS
                        nein kein sudo
                        versuche den Fixer noch einmal

                        1 Reply Last reply Reply Quote 0
                        • Wal
                          Wal Developer last edited by

                          Wenn es nicht funktioniert mach ein:

                          sudo chmod -R 777 /opt/iobroker
                          sudo chown -R iobroker:iobroker /opt/iobroker
                          
                          1 Reply Last reply Reply Quote 0
                          • S
                            SaschaS last edited by SaschaS

                            @Wal Sooorrry...ich hab's doch mit sudo gestartet. Bislang läufts aber auch ohne Fehler durch. Javascript hat er diesmal auch brav upgedated.

                            Grad mach ich's Maul zu...

                            Update simple-api from @2.3.2 to @2.4.5
                            NPM version: 6.14.2
                            npm install iobroker.simple-api@2.4.5 --unsafe-perm --loglevel error --prefix "/opt/iobroker" (System call)
                            npm ERR! code Z_BUF_ERROR
                            npm ERR! errno -5
                            npm ERR! zlib: unexpected end of file
                            
                            npm ERR! A complete log of this run can be found in:
                            npm ERR!     /root/.npm/_logs/2020-05-21T13_58_52_570Z-debug.log
                            host.raspberrypi Cannot install iobroker.simple-api@2.4.5: 25
                            

                            Dabei weiß ich nichtmal wofür ich simple-api benötigt habe..

                            Wal 2 Replies Last reply Reply Quote 0
                            • Wal
                              Wal Developer @SaschaS last edited by

                              @SaschaS sagte in Nach Update läuft nichts mehr!:

                              @Wal Sooorrry...ich hab's doch mit sudo gestartet. Bislang läufts aber auch ohne Fehler durch. Javascript hat er diesmal auch brav upgedated.

                              Das Problem wirst du bei späteren updates haben.

                              1 Reply Last reply Reply Quote 0
                              • Wal
                                Wal Developer @SaschaS last edited by

                                @SaschaS sagte in Nach Update läuft nichts mehr!:

                                Dabei weiß ich nichtmal wofür ich simple-api benötigt habe..

                                Für eine Vis für android/iphone ?

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

                                  @Wal Na gut. Macht Sinn.. VIS habe ich im Einsatz

                                  Wal 2 Replies Last reply Reply Quote 0
                                  • Wal
                                    Wal Developer @SaschaS last edited by

                                    @SaschaS sagte in Nach Update läuft nichts mehr!:

                                    @Wal Na gut. Macht Sinn.. VIS habe ich im Einsatz

                                    Versuche nochmal den Fixer und die Befehle von oben, danach die iobroker Befehle ohne sudo

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

                                      @Wal Werde ich später versuchen. Ich brauch jetzt eine Pause. Das hat mich schon genug nerven gekostet..
                                      Ich habe übrigens gerade noch ... am Laufen. Ist das gut, dass er die Strukturen bemängelt? Wer bereinigt die?

                                      pi@raspberrypi:/opt/iobroker $ sudo chmod -R 777 /opt/iobroker
                                      chmod: Zugriff auf '/opt/iobroker/node_modules/@serialport/stream/@types/iobroker/lib' nicht möglich: Die Struktur muss bereinigt werden
                                      chmod: Zugriff auf '/opt/iobroker/node_modules/@serialport/stream/@types/iobroker/worker-json.js' nicht möglich: Die Struktur muss bereinigt werden
                                      chmod: Zugriff auf '/opt/iobroker/node_modules/@serialport/stream/@types/iobroker/index.html.map' nicht möglich: Die Struktur muss bereinigt werden
                                      chmod: Zugriff auf '/opt/iobroker/node_modules/@serialport/stream/@types/iobroker/configs.html' nicht möglich: Die Struktur muss bereinigt werden
                                      chmod: Zugriff auf '/opt/iobroker/node_modules/@serialport/stream/@types/iobroker/favicon.ico' nicht möglich: Die Struktur muss bereinigt werden
                                      chmod: Zugriff auf '/opt/iobroker/node_modules/@serialport/stream/@types/iobroker/index.html' nicht möglich: Die Struktur muss bereinigt werden
                                      chmod: Zugriff auf '/opt/iobroker/node_modules/@serialport/stream/@types/iobroker/mode-json.js' nicht möglich: Die Struktur muss bereinigt werden
                                      chmod: Zugriff auf '/opt/iobroker/node_modules/@serialport/stream/@types/iobroker/css' nicht möglich: Die Struktur muss bereinigt werden
                                      chmod: Zugriff auf '/opt/iobroker/node_modules/iobroker.discovery/node_modules/@types/iobroker/lib' nicht möglich: Die Struktur muss bereinigt werden
                                      chmod: Zugriff auf '/opt/iobroker/node_modules/iobroker.discovery/node_modules/@types/iobroker/worker-json.js' nicht möglich: Die Struktur muss bereinigt werden
                                      chmod: Zugriff auf '/opt/iobroker/node_modules/iobroker.discovery/node_modules/@types/iobroker/index.html.map' nicht möglich: Die Struktur muss bereinigt werden
                                      chmod: Zugriff auf '/opt/iobroker/node_modules/iobroker.discovery/node_modules/@types/iobroker/configs.html' nicht möglich: Die Struktur muss bereinigt werden
                                      chmod: Zugriff auf '/opt/iobroker/node_modules/iobroker.discovery/node_modules/@types/iobroker/favicon.ico' nicht möglich: Die Struktur muss bereinigt werden
                                      chmod: Zugriff auf '/opt/iobroker/node_modules/iobroker.discovery/node_modules/@types/iobroker/index.html' nicht möglich: Die Struktur muss bereinigt werden
                                      chmod: Zugriff auf '/opt/iobroker/node_modules/iobroker.discovery/node_modules/@types/iobroker/mode-json.js' nicht möglich: Die Struktur muss bereinigt werden
                                      chmod: Zugriff auf '/opt/iobroker/node_modules/iobroker.discovery/node_modules/@types/iobroker/css' nicht möglich: Die Struktur muss bereinigt werden
                                      chmod: Zugriff auf '/opt/iobroker/node_modules/iobroker.history/docs/de/media/ms' nicht möglich: Die Struktur muss bereinigt werden
                                      chmod: Zugriff auf '/opt/iobroker/node_modules/systeminformation/lib/@serialport' nicht möglich: Die Struktur muss bereinigt werden
                                      chmod: Zugriff auf '/opt/iobroker/node_modules/iobroker.admin/src-rx/build/lib/js' nicht möglich: Die Struktur muss bereinigt werden
                                      chmod: Zugriff auf '/opt/iobroker/node_modules/iobroker.admin/admin' nicht möglich: Die Struktur muss bereinigt werden
                                      chmod: Zugriff auf '/opt/iobroker/node_modules/iobroker.admin/www-react/js' nicht möglich: Die Struktur muss bereinigt werden
                                      chmod: Zugriff auf '/opt/iobroker/node_modules/iobroker.admin/www-react/lib/js' nicht möglich: Die Struktur muss bereinigt werden
                                      chmod: Zugriff auf '/opt/iobroker/node_modules/iobroker.admin/www/js' nicht möglich: Die Struktur muss bereinigt werden
                                      chmod: Zugriff auf '/opt/iobroker/node_modules/iobroker.admin/www/lib/js' nicht möglich: Die Struktur muss bereinigt werden
                                      chmod: Zugriff auf '/opt/iobroker/node_modules/iobroker.admin/www/lib/css/images' nicht möglich: Die Struktur muss bereinigt werden
                                      chmod: Zugriff auf '/opt/iobroker/node_modules/iobroker.admin/www/img' nicht möglich: Die Struktur muss bereinigt werden
                                      chmod: Zugriff auf '/opt/iobroker/node_modules/iobroker.admin/www/login' nicht möglich: Die Struktur muss bereinigt werden
                                      
                                      Wal 1 Reply Last reply Reply Quote 0
                                      • Wal
                                        Wal Developer @SaschaS last edited by

                                        @SaschaS sagte in Nach Update läuft nichts mehr!:

                                        @Wal Na gut. Macht Sinn.. VIS habe ich im Einsatz

                                        Habe im Inet gesucht:
                                        npm cache clean --force

                                        1 Reply Last reply Reply Quote 0
                                        • Wal
                                          Wal Developer @SaschaS last edited by

                                          @SaschaS
                                          nein das ist nicht gut

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

                                            @Wal
                                            Bügelt der mir jetzt mit dem Fixer wieder node 8 drauf? Dann fang ich an zu weinen..

                                            pi@raspberrypi:/opt/iobroker $ curl -sL https://iobroker.net/fix.sh | bash -
                                            library: loaded
                                            Library version=2020-04-12
                                            
                                            ==========================================================================
                                            
                                                Welcome to the ioBroker installation fixer!
                                                Script version: 2020-04-12
                                                
                                                You might need to enter your password a couple of times.
                                            
                                            ==========================================================================
                                            
                                            
                                            ==========================================================================
                                                Installing prerequisites (1/3)
                                            ==========================================================================
                                            
                                            OK:1 http://phoscon.de/apt/deconz stretch InRelease
                                            Holen:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15,0 kB]
                                            Holen:3 http://archive.raspberrypi.org/debian stretch InRelease [25,4 kB]
                                            OK:4 https://deb.nodesource.com/node_8.x stretch InRelease   
                                            
                                            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

                                            452
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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