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.
    • K
      Kugelkopf last edited by

      Konnte das Problem schlussendlich mit diesem Beitrag Lösen!!

      viewtopic.php?f=22&t=12812&start=20#p141782

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

        Möchte kein neues Thema eröffnen, habe beim Update immer folgende Fehlermeldung:

        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"})

        Bin Anfänger und parser sagt mir nichts:/

        
        root@iobroker:/opt/iobroker# sudo npm install iobroker.admin --production
        npm ERR! code ENOTSUP
        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 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.5","node":"12.18.1"}
        
        
        haselchen 1 Reply Last reply Reply Quote 0
        • haselchen
          haselchen Most Active @dali3 last edited by

          @dali3

          Was hattest du denn vor?
          Den Admin IMMER über die GUI updaten!!
          Nie manuell über die Konsole!

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

            @haselchen Da krieg ich auch immer die gleiche Fehlermeldung

            host.iobroker	2020-06-24 23:59:20.606	info	iobroker ERR! notsup Actual: {"npm":"6.14.5","node":"12.18.1"}
            host.iobroker	2020-06-24 23:59:20.606	info	iobroker notsup 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
            host.iobroker	2020-06-24 23:59:20.605	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!
            host.iobroker	2020-06-24 23:59:20.605	info	iobroker ERR! code ENOTSUP
            
            haselchen 1 Reply Last reply Reply Quote 0
            • haselchen
              haselchen Most Active @dali3 last edited by

              @dali3

              Wo hast du die Node und NPM Version her?
              Irgendein fertiges Image installiert?

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

                ja auf einer Proxmox-VM, welche Node und NPM Version wäre richtig?

                admin.0	2020-06-25 00:13:40.799	info	(6884) Use link "http://localhost:8081" to configure.
                admin.0	2020-06-25 00:13:40.799	info	(6884) http server listening on port 8081
                admin.0	2020-06-25 00:13:40.741	info	(6884) received all objects
                host.iobroker	2020-06-25 00:13:40.579	info	iobroker exit 0
                admin.0	2020-06-25 00:13:40.130	info	(6884) requesting all objects
                admin.0	2020-06-25 00:13:40.129	info	(6884) requesting all states
                admin.0	2020-06-25 00:13:40.117	info	(6884) starting. Version 3.7.8 in /opt/iobroker/node_modules/iobroker.admin, node: v12.18.1, js-controller: 3.1.4
                host.iobroker	2020-06-25 00:13:39.514	info	instance system.adapter.admin.0 started with pid 6884
                host.iobroker	2020-06-25 00:13:39.491	info	"system.adapter.admin.0" enabled
                host.iobroker	2020-06-25 00:13:39.480	info	iobroker host.iobroker Adapter "system.adapter.admin.0" is started
                host.iobroker	2020-06-25 00:13:39.480	info	iobroker Adapter "admin" updated
                host.iobroker	2020-06-25 00:13:39.423	info	iobroker upload [0] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/admin.png admin.png image/png
                host.iobroker	2020-06-25 00:13:39.370	info	iobroker upload [1] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/index.html index.html text/html
                host.iobroker	2020-06-25 00:13:39.317	info	iobroker upload [2] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/index_m.html index_m.html text/html
                host.iobroker	2020-06-25 00:13:39.230	info	iobroker upload [3] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/words.js words.js application/javascript
                host.iobroker	2020-06-25 00:13:39.209	info	iobroker npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2020-06-24T22_13_39_205Z-debug.log
                host.iobroker	2020-06-25 00:13:39.209	info	iobroker
                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
                host.iobroker	2020-06-25 00:13:39.202	info	iobroker npm
                host.iobroker	2020-06-25 00:13:33.236	info	instance system.adapter.admin.0 terminated with code 0 (NO_ERROR)
                host.iobroker	2020-06-25 00:13:32.888	info	iobroker npm install iobroker.admin@4.0.10 --loglevel error --prefix "/opt/iobroker" (System call)
                host.iobroker	2020-06-25 00:13:32.888	info	iobroker NPM version: 6.14.5
                admin.0	2020-06-25 00:13:32.712	info	(5859) Terminated (NO_ERROR): Without reason
                admin.0	2020-06-25 00:13:32.712	info	(5859) terminating
                admin.0	2020-06-25 00:13:32.707	info	(5859) Got terminate signal TERMINATE_YOURSELF
                admin.0	2020-06-25 00:13:32.704	info	(5859) terminating http server on port 8081
                host.iobroker	2020-06-25 00:13:32.702	info	stopInstance system.adapter.admin.0 send kill signal
                admin.0	2020-06-25 00:13:32.701	info	(5859) Adapter is disabled => stop
                host.iobroker	2020-06-25 00:13:32.701	info	stopInstance system.adapter.admin.0 (force=false, process=true)
                host.iobroker	2020-06-25 00:13:32.701	info	"system.adapter.admin.0" disabled
                host.iobroker	2020-06-25 00:13:32.684	info	iobroker host.iobroker Adapter "system.adapter.admin.0" is stopped.
                host.iobroker	2020-06-25 00:13:32.675	info	iobroker Update admin from @3.7.8 to @4.0.10
                host.iobroker	2020-06-25 00:13:31.704	info	iobroker upgrade admin
                
                haselchen 1 Reply Last reply Reply Quote 0
                • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            960
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

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