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.
    • haselchen
      haselchen Most Active @dali3 last edited by

      @dali3
      Puh, Proxmox ist nicht so meine Baustelle.
      Da bin ich leider raus.

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

        @haselchen welche Node und NPM Version wäre richtig?

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

          @dali3

          Richtig oder falsch gibt es nicht.
          Bei mir auf ner Synology läuft 10.21.0
          Ich kenne mich mit Proxmox nicht aus.
          Wenn du weisst , wie Du auf ne 10er Nodejs Version kommst, würde ich damit erstmal anfangen.

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

            @haselchen Theoretisch sollte dies mit der 12er laufen?

            host.iobroker	2020-06-25 00:13:39.203	info	iobroker Not compatible with your version of node/npm: parser@0.1.4npm ERR! notsup Not compatible with your version of node/npm: parser@0.1.4npm ERR! notsup Required: {"node":"0.4-0.9"}npm ERR! nots
            host.iobroker	2020-06-25 00:13:39.203	info	iobroker npm ERR! notsup Unsupported engine for parser@0.1.4: wanted: {"node":"0.4-0.9"} (current: {"node":"12.18.1","npm":"6.14.5"})npm ERR! notsup
            host.iobroker	2020-06-25 00:13:39.203	info	iobroker ERR! code ENOTSUP
            

            Was ist hier genau nicht supportet?

            Unsupported engine for parser@0.1.4: wanted: {"node":"0.4-0.9"

            Diesen Fehler bekomme ich auch bei gewissen anderen Adapter wenn ich diese Updaten möchte.

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

              @dali3

              Wie gesagt, ich kenne mich mit Proxmox und der Umgebung nicht aus.
              Ich kann dir dabei wirklich nicht weiterhelfen.
              Wenn du nen Terminal hast und das so funktioniert wie beim Raspi etc. , könntest du mal nen Update machen.
              apt-get update
              apt-get dist-upgrade

              Mehr fällt mir dazu leider nicht ein.

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

                Habe nun das ganze System neu aufgesetzt auf dem Proxmox / NUC...

                jedoch kommt der Fehler wieder....

                hat mir eventuell jemand einen Tipp?

                Update admin from @4.0.10 to @4.1.7
                host.iobroker2 Adapter "system.adapter.admin.0" is stopped.
                NPM version: 6.14.6
                npm install iobroker.admin@4.1.7 --loglevel error --prefix "/opt/iobroker" (System call)
                npm ERR! code ENOTSUP
                npm ERR! notsup Unsupported engine for parser@0.1.4: wanted: {"node":"0.4-0.9"} (current: {"node":"10.22.0","npm":"6.14.6"})
                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.6","node":"10.22.0"}
                
                npm ERR! A complete log of this run can be found in:
                npm ERR!     /home/iobroker/.npm/_logs/2020-08-29T20_09_01_886Z-debug.log
                upload [3] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/words.js words.js application/javascript
                upload [2] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/index_m.html index_m.html text/html
                upload [1] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/index.html index.html text/html
                upload [0] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/admin.png admin.png image/png
                Adapter "admin" updated
                host.iobroker2 Adapter "system.adapter.admin.0" is started
                
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @dali3 last edited by Thomas Braun

                  @dali3

                  cd /opt/iobroker
                  npm ls parser
                  

                  Wobei ich mir jetzt bei einem frisch aufgesetzten System nicht erklären kann wo so eine alte Dependency herkommt. Was hast du denn da gemacht?

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

                    @Thomas-Braun
                    Habe eus neu aufgesetzt und das Backup eingespielt 😞

                    
                    iobroker@iobroker2:/opt/iobroker$ sudo npm ls parser
                    iobroker.inst@2.0.3 /opt/iobroker
                    `-- iobroker.javascript@4.1.12
                      `-- UNMET DEPENDENCY parser@^0.1.4
                    
                    npm ERR! missing: parser@^0.1.4, required by iobroker.javascript@4.1.12
                    iobroker@iobroker2:/opt/iobroker$
                    iobroker@iobroker2:/opt/iobroker$ iobroker@iobroker2:/opt/iobroker$ sudo npm ls parser
                    -bash: iobroker@iobroker2:/opt/iobroker$: No such file or directory
                    iobroker@iobroker2:/opt/iobroker$ iobroker.inst@2.0.3 /opt/iobroker
                    -bash: iobroker.inst@2.0.3: command not found
                    iobroker@iobroker2:/opt/iobroker$ `-- iobroker.javascript@4.1.12
                    >   `-- UNMET DEPENDENCY parser@^0.1.4
                    -bash: --: command not found
                    -bash: --: command not found
                    iobroker@iobroker2:/opt/iobroker$
                    iobroker@iobroker2:/opt/iobroker$ npm ERR! missing: parser@^0.1.4, required by iobroker.javascript@4.1.1
                    

                    Hier die Ausgabe 😞

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

                      @dali3
                      npm-Befehle nicht mit sudo ausführen!

                      iobroker fix
                      

                      Danach

                      iobroker update
                      iobroker upgrade
                      

                      mal probieren. Wird aber vermutlich auf die gleiche Meldung laufen.

                      Bei mir ist parser jedenfalls keine dependency von iobroker.javascript:

                      ├─┬ iobroker.javascript@4.6.26
                      │ ├── @iobroker/adapter-core@2.4.0 deduped
                      │ ├── @types/node@14.6.1
                      │ ├─┬ @types/request@2.48.5
                      │ │ ├── @types/caseless@0.12.2
                      │ │ ├── @types/node@14.6.1
                      │ │ ├── @types/tough-cookie@4.0.0
                      │ │ └─┬ form-data@2.5.1
                      │ │   ├── asynckit@0.4.0 deduped
                      │ │   ├── combined-stream@1.0.8 deduped
                      │ │   └── mime-types@2.1.27 deduped
                      

                      Ist nodeJS bei dir sauber?

                      which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                      
                      D 1 Reply Last reply Reply Quote 0
                      • D
                        dali3 @Thomas Braun last edited by

                        @Thomas-Braun

                        Iobroker fix hab ich schon probiert:

                        ==========================================================================
                        
                            Your installation was fixed successfully
                            Run iobroker start to start ioBroker again!
                        
                        ==========================================================================
                        

                        genau beim update/upgrade erhalte ich die gleich fehlermeldung 😞

                        npm ERR! code ENOTSUP
                        npm ERR! notsup Unsupported engine for parser@0.1.4: wanted: {"node":"0.4-0.9"} (current: {"node":"10.22.0","npm":"6.14.6"})
                        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.6","node":"10.22.0"}
                        

                        hier die Version:

                        iobroker@iobroker2:/opt/iobroker$ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                        /usr/bin/nodejs
                        v10.22.0
                        /usr/bin/node
                        v10.22.0
                        /usr/bin/npm
                        6.14.6
                        nodejs:
                          Installed: 10.22.0-1nodesource1
                          Candidate: 10.22.0-1nodesource1
                          Version table:
                         *** 10.22.0-1nodesource1 500
                                500 https://deb.nodesource.com/node_10.x buster/main amd64 Packages
                                100 /var/lib/dpkg/status
                             10.21.0~dfsg-1~deb10u1 500
                                500 http://ftp.debian.org/debian buster/main amd64 Packages
                                500 http://security.debian.org buster/updates/main amd64 Packages
                        
                        

                        Danke dir für die Unterstützung! 🙂

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

                          @dali3
                          Zunächst würde ich node auf die Version 12 heben.
                          Dann

                          cd /opt/iobroker
                          sudo -H -u iobroker npm install iobroker.js-controller
                          
                          D 1 Reply Last reply Reply Quote 0
                          • D
                            dali3 @Thomas Braun last edited by

                            @Thomas-Braun

                            Update:

                            /usr/bin/nodejs
                            v12.18.3
                            /usr/bin/node
                            v12.18.3
                            /usr/bin/npm
                            6.14.6
                            nodejs:
                              Installed: 12.18.3-1nodesource1
                              Candidate: 12.18.3-1nodesource1
                              Version table:
                             *** 12.18.3-1nodesource1 500
                                    500 https://deb.nodesource.com/node_12.x buster/main amd64 Packages
                                    100 /var/lib/dpkg/status
                                 10.21.0~dfsg-1~deb10u1 500
                                    500 http://ftp.debian.org/debian buster/main amd64 Packages
                                    500 http://security.debian.org buster/updates/main amd64 Packages
                            
                            

                            Feedback Befehl - sudo -H -u iobroker npm install iobroker.js-controller:

                            iobroker@iobroker2:/opt/iobroker$ sudo -H -u iobroker npm install iobroker.js-controller
                            npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
                            npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                            
                            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.6"})
                            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.6","node":"12.18.3"}
                            
                            npm ERR! A complete log of this run can be found in:
                            npm ERR!     /home/iobroker/.npm/_logs/2020-08-30T13_05_34_749Z-debug.log
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @dali3 last edited by

                              @dali3

                              sudo -H -u iobroker npm install iobroker.javascript
                              
                              Homoran 1 Reply Last reply Reply Quote 1
                              • Homoran
                                Homoran Global Moderator Administrators @Thomas Braun last edited by

                                @Thomas-Braun
                                @dali3
                                aber bitte nur im iobroker-Verzeichnis!

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

                                  @Homoran Das setze ich voraus.

                                  Homoran 1 Reply Last reply Reply Quote 1
                                  • Homoran
                                    Homoran Global Moderator Administrators @Thomas Braun last edited by

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

                                    @Homoran Das setze ich voraus.

                                    Du schon 😉
                                    und er ist "eigentlich" da bisher auch drin. Wollte nur sicher gehen, dass das auch so bleibt

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

                                      @Homoran & @Thomas-Braun

                                      Wieder dasselbe 😞

                                      
                                      iobroker@iobroker2:/opt/iobroker$ sudo -H -u iobroker npm install iobroker.javascript
                                      npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
                                      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.6"})
                                      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.6","node":"12.18.3"}
                                      
                                      npm ERR! A complete log of this run can be found in:
                                      npm ERR!     /home/iobroker/.npm/_logs/2020-08-30T16_55_42_259Z-debug.log
                                      
                                      
                                      Homoran 1 Reply Last reply Reply Quote 0
                                      • Homoran
                                        Homoran Global Moderator Administrators @dali3 last edited by

                                        @dali3 was mich da wundert ist die dependency auf einen parser@0.1.4
                                        den gibt es mittlerweile als 1.0.7, voraisgesetzt dass der iobroker.parser gemeint ist

                                        Thomas Braun D 2 Replies Last reply Reply Quote 1
                                        • Thomas Braun
                                          Thomas Braun Most Active @Homoran last edited by Thomas Braun

                                          @Homoran
                                          Was mich noch mehr wundert ist der part:

                                          notsup Required: {"node":"0.4-0.9"}
                                          

                                          Diese SemVer ist ja aus der frühen Kreidezeit.

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

                                            @Homoran
                                            Leider bin ich da wirklich ein Laie 😞
                                            habe aber keinen Adapter namens "Parser" installiert. War auch meine erste Vermutung.

                                            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

                                            425
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

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