Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Iobroker.admin update Probleme

    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

    Iobroker.admin update Probleme

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

      @dali3

      cd /opt/iobroker 
      npm cache clear
      npm update parser
      
      D 1 Reply Last reply Reply Quote 1
      • D
        dali3 @Thomas Braun last edited by

        @Thomas-Braun

        😞

        iobroker@iobroker2:~$ cd /opt/iobroker
        iobroker@iobroker2:/opt/iobroker$ npm cache clear
        npm ERR! As of npm@5, the npm cache self-heals from corruption issues and data extracted from the cache is guaranteed to be valid. If you want to make sure everything is consistent, use 'npm cache verify' instead. On the other hand, if you're debugging an issue with the installer, you can use `npm install --cache /tmp/empty-cache` to use a temporary cache instead of nuking the actual one.
        npm ERR!
        npm ERR! If you're sure you want to delete the entire cache, rerun this command with --force.
        
        npm ERR! A complete log of this run can be found in:
        npm ERR!     /home/iobroker/.npm/_logs/2020-08-30T18_59_46_840Z-debug.log
        
        

        mit --force ging es...

        beim "npm update parser" erhalte ich nichts zurück.

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

          @dali3 Keine Ahnung dann.
          Vielleicht den 'parser' nochmal versuchen aus dem System zu kratzen.

          npm uninstall parser
          
          D AlCalzone 2 Replies Last reply Reply Quote 1
          • D
            dali3 @Thomas Braun last edited by

            @Thomas-Braun

            nicht mal das klappt 😞

            
            iobroker@iobroker2:/opt/iobroker$ npm uninstall parser
            npm ERR! code ENOTSUP
            npm ERR! notsup Unsupported engine for parser@0.1.4: wanted: {"node":"0.4-0.9"} (current: {"node":"12.18.3","npm":"6.14.8"})
            npm ERR! notsup Not compatible with your version of node/npm: parser@0.1.4
            npm ERR! notsup Not compatible with your version of node/npm: parser@0.1.4
            npm ERR! notsup Required: {"node":"0.4-0.9"}
            npm ERR! notsup Actual:   {"npm":"6.14.8","node":"12.18.3"}
            
            npm ERR! A complete log of this run can be found in:
            npm ERR!     /home/iobroker/.npm/_logs/2020-08-30T19_15_34_341Z-debug.log
            

            Danke jedenfalls für die tolle Unterstützung.

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

              @dali3 ganz dumme Frage
              Was hast du als Repository eingestellt? (mit Pfadangabe bitte!)

              D 1 Reply Last reply Reply Quote 1
              • D
                dali3 @Homoran last edited by

                @Homoran

                default --> http://download.iobroker.net/sources-dist.json
                latest --> http://download.iobroker.net/sources-dist-latest.json

                habe ich nichts "verstellt" --> zur Zeit auf default

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

                  @dali3 danke, ist alles ok.

                  D 1 Reply Last reply Reply Quote 1
                  • D
                    dali3 @Homoran last edited by

                    @Homoran

                    Habe jetzt den Snapshot im Proxmox von vor dem einspielen des Backups.
                    Nun kommt der Fehler nicht mehr... das heisst der Fehler wird mit dem einspielen des Backups eingespiesen 😞
                    Nur wie kann ich das verhindern?

                    D 1 Reply Last reply Reply Quote 0
                    • D
                      dali3 @dali3 last edited by

                      So! Hatte keine Nerven mehr für das nervende Problem und habe nun alles neu aufgesetzt ohne das alte Backup einzuspielen. Nun ist das Problem weg! 🙂

                      Grosses DANKE an @Thomas-Braun und @Homoran für die tolle Unterstützung bei der Fehlersuche!

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

                        @dali3 @Thomas-Braun sagte in Iobroker.admin update Probleme:

                        Vielleicht den 'parser' nochmal versuchen aus dem System zu kratzen.
                        npm uninstall parser

                        Das hätte man im richtigen Verzeichnis machen müssen. Wenn parser nicht in /opt/iobroker/package.json auftaucht, dann macht der Befehl effektiv gar nichts.

                        Vorher herausfinden, wo es installiert ist:

                        cd /opt/iobroker
                        npm ls parser
                        

                        dann ins richtige Verzeichnis wechseln und deinstallieren.

                        D 1 Reply Last reply Reply Quote 1
                        • D
                          dali3 @AlCalzone last edited by

                          Ich glaube ich habe den Fehler gefunden. Anscheinend eine Altlast von früher...
                          Unter "Zusätzliche NPM-Module" im javascript-Adapter war "parser" eingetragen 😞

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

                            @dali3 Von früher war klar, die Versionierung wird schon ein paar Jahre nicht mehr verwendet.

                            1 Reply Last reply Reply Quote 1
                            • First post
                              Last post

                            Support us

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

                            880
                            Online

                            31.9k
                            Users

                            80.1k
                            Topics

                            1.3m
                            Posts

                            13
                            114
                            18238
                            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