Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Web Interface nach Update nicht erreichbar

    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

    Web Interface nach Update nicht erreichbar

    This topic has been deleted. Only users with topic management privileges can see it.
    • viper2033
      viper2033 @Thomas Braun last edited by

      @thomas-braun said in Web Interface nach Update nicht erreichbar:

      sudo -H -u iobroker npm install iobroker.js-controller

      Folgende Fehlermeldung:

      code_text
      pm WARN cleanup Failed to remove some directories [
      npm WARN cleanup   [
      npm WARN cleanup     '/opt/iobroker/node_modules/diskusage',
      npm WARN cleanup     [Error: ENOTEMPTY: directory not empty, rmdir '/opt/iobroker/node_modules/diskusage'] {
      npm WARN cleanup       errno: -39,
      npm WARN cleanup       code: 'ENOTEMPTY',
      npm WARN cleanup       syscall: 'rmdir',
      npm WARN cleanup       path: '/opt/iobroker/node_modules/diskusage'
      npm WARN cleanup     }
      npm WARN cleanup   ],
      npm WARN cleanup   [
      npm WARN cleanup     '/opt/iobroker/node_modules/diskusage',
      npm WARN cleanup     [Error: ENOTEMPTY: directory not empty, rmdir '/opt/iobroker/node_modules/diskusage'] {
      npm WARN cleanup       errno: -39,
      npm WARN cleanup       code: 'ENOTEMPTY',
      npm WARN cleanup       syscall: 'rmdir',
      npm WARN cleanup       path: '/opt/iobroker/node_modules/diskusage'
      npm WARN cleanup     }
      npm WARN cleanup   ]
      npm WARN cleanup ]
      npm ERR! code 1
      npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
      npm ERR! command failed
      npm ERR! command sh -c node iobroker.js setup first
      npm ERR! /opt/iobroker/node_modules/axios/dist/node/axios.cjs:1444
      npm ERR!     const hasJSONContentType = contentType.indexon$'K0qhicaTx+ljson?i*%-1;�(   #Onst"i7ObjekvPaiekad�=$etils9*ysE"Kect8dit!    ;J
      npm ERR!                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      npm ERR! 
      npm ERR! SyntaxError: Invalid or unexpected token
      npm ERR!     at internalCompileFunction (node:internal/vm:73:18)
      npm ERR!     at wrapSafe (node:internal/modules/cjs/loader:1274:20)
      npm ERR!     at Module._compile (node:internal/modules/cjs/loader:1320:27)
      npm ERR!     at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
      npm ERR!     at Module.load (node:internal/modules/cjs/loader:1197:32)
      npm ERR!     at Module._load (node:internal/modules/cjs/loader:1013:12)
      npm ERR!     at Module.require (node:internal/modules/cjs/loader:1225:19)
      npm ERR!     at require (node:internal/modules/helpers:177:18)
      npm ERR!     at Object.<anonymous> (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/tools.js:36:33)
      npm ERR!     at Module._compile (node:internal/modules/cjs/loader:1356:14)
      npm ERR! 
      npm ERR! Node.js v18.19.0```
      Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @viper2033 last edited by

        @viper2033 sagte in Web Interface nach Update nicht erreichbar:

        npm ERR! /opt/iobroker/node_modules/axios/dist/node/axios.cjs:1444
                                                                        
                                                                        npm ERR!     const hasJSONContentType = contentType.indexon$'K0qhicaTx+ljson?i*%-1;�(   #Onst"i7ObjekvPaiekad�=$etils9*ysE"Kect8dit!    ;J
                                                                        
                                                                        npm ERR!
        

        Hab ich so auch noch nicht gesehen. Keine Ahnung was da kaputt ist.

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

          @viper2033 sagte in Web Interface nach Update nicht erreichbar:

          Folgende Fehlermeldung:

          wo bist du da?
          bitte immer alles komplett zeigen.

          Ein- und Ausgaben

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

            @homoran

            Jetzt zeigt er mir folgendes an nach eingabe von
            sudo -H -u iobroker npm install iobroker.js-controller

            code_text
            npm ERR! code ENOTEMPTY
            npm ERR! syscall rename
            npm ERR! path /opt/iobroker/node_modules/diskusage
            npm ERR! dest /opt/iobroker/node_modules/.diskusage-SbL2R1mm
            npm ERR! errno -39
            npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/diskusage' -> '/opt/iobroker/node_modules/.diskusage-SbL2R1mm'```
            Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @viper2033 last edited by

              @viper2033

              Nochmal:

              iob stop
              iob fix
              cd /opt/iobroker
              sudo -H -u iobroker npm install iobroker.js-controller
              
              1 Reply Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators @viper2033 last edited by

                @viper2033 sagte in Web Interface nach Update nicht erreichbar:

                nach eingabe von

                das sehe ich nicht!

                bitte Prompt und Eingabebefehl zeigen!!

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

                  @homoran

                  code_text
                  root@CT210:/opt/iobroker# sudo -H -u iobroker npm install iobroker.js-controller
                  npm ERR! code ENOTEMPTY
                  npm ERR! syscall rename
                  npm ERR! path /opt/iobroker/node_modules/diskusage
                  npm ERR! dest /opt/iobroker/node_modules/.diskusage-SbL2R1mm
                  npm ERR! errno -39
                  npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/diskusage' -> '/opt/iobroker/node_modules/.diskusage-SbL2R1mm'
                  
                  npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-01-18T15_53_31_534Z-debug-0.log
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @viper2033 last edited by

                    @viper2033 sagte in Web Interface nach Update nicht erreichbar:

                    root@CT210

                    War mir klar...
                    Auch im LXC wird NICHT als root herumgehampelt.

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

                      @homoran da nutzt dann der ganze fix der Rechte nichts, wenn anschließend der root die Rechte wieder verbiegt.
                      Noch schlimmer ist nur noch als root den fixer auszuführen. und dazu noch mit sudo für Hyperrechte 😂

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

                        @homoran
                        Und wie mache ich jetzt weiter?

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

                          @viper2033 sagte in Web Interface nach Update nicht erreichbar:

                          Und wie mache ich jetzt weiter?

                          Fragt der super root...
                          Da niemand hier nachvollziehen kann was du da wann und wie kaputtgemacht hast:

                          Installier es neu.

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

                            @thomas-braun

                            Gibt es keine andere Lösung außer neu installieren?

                            Thomas Braun Meister Mopper 2 Replies Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @viper2033 last edited by

                              @viper2033

                              Wenn du nicht weißt was du wann, warum mit welchen Rechten wo angepackt hast?
                              Nö.

                              Und die Neuinstallation dann direkt richtig machen...

                              1 Reply Last reply Reply Quote 0
                              • Meister Mopper
                                Meister Mopper @viper2033 last edited by

                                @viper2033 sagte in Web Interface nach Update nicht erreichbar:

                                Gibt es keine andere Lösung außer neu installieren?

                                Glaub' mal nur, dass es viele hier gab (und leider weiterhin geben wird), die sich mit dem root-login oder sudo iob die Rechte verbogen haben (ich gehöre auch dazu).

                                @Thomas-Braun ist tatsächlich unermüdlich, allen Sündern die Wahrheit notwendigerweise ins Gedächtnis einzuhämmern (vielen Dank übrigens dafür @Thomas-Braun) :

                                Ohne eine frische Installation kannst du nicht sicher sein, dass alles sauber ist.

                                viper2033 1 Reply Last reply Reply Quote 0
                                • viper2033
                                  viper2033 @Meister Mopper last edited by

                                  @meister-mopper

                                  Ich habe jetzt meinen letzten Snapshot wieder installiert. Wie gehe ich jetzt weiter vor, einen neuen User erstellen?

                                  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

                                  801
                                  Online

                                  31.9k
                                  Users

                                  80.1k
                                  Topics

                                  1.3m
                                  Posts

                                  4
                                  28
                                  686
                                  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