Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. Pflege des Betriebssystems
    5. Js-Controller lässt sich nicht auf 7.x upgraden

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Js-Controller lässt sich nicht auf 7.x upgraden

    This topic has been deleted. Only users with topic management privileges can see it.
    • SunkHD
      SunkHD last edited by SunkHD

      • js-controller Version: 4.0.24
      • Admin Version: 7.4.10
      • Hardwaresystem: Pi4 ...
      • Arbeitsspeicher: 8GB
      • Festplattenart: SD-Karte
      • Betriebssystem: Raspberry 32 Bit (lite)
      • Nodejs-Version: 22.14.0
      • NPM-Version: 11.1.0
      • Installationsart: Skript
      ```bash
      ======================= SUMMARY =======================
      			v.2025-02-23
      
      
         Static hostname: raspberrypi
               Icon name: computer
        Operating System: Raspbian GNU/Linux 11 (bullseye)
                  Kernel: Linux 5.15.84-v7l+
            Architecture: arm
      
      Installation: 		native
      Kernel: 		armv7l
      Userland: 		32 bit
      Timezone: 		Europe/Berlin (CET, +0100)
      User-ID: 		1000
      Display-Server: 	false
      Boot Target: 		multi-user.target
      
      Pending OS-Updates: 	0
      Pending iob updates: 	13
      
      This system needs to be REBOOTED NOW!
      
      
      Nodejs-Installation:
      /usr/bin/nodejs 	v22.14.0
      /usr/bin/node 		v22.14.0
      /usr/bin/npm 		11.1.0
      /usr/bin/npx 		11.1.0
      /usr/bin/corepack 	0.31.0
      
      Recommended versions are nodejs 20.18.3 and npm 10.8.2
      nodeJS installation is correct
      
      MEMORY: 
                     total        used        free      shared  buff/cache   available
      Mem:            7.9G        1.3G        5.4G         35M        1.2G        6.3G
      Swap:            99M        3.0M         96M
      Total:          8.0G        1.3G        5.5G
      
      Active iob-Instances: 	20
      Active repo(s): stable
      
      ioBroker Core: 		js-controller 		4.0.24
      			admin 			7.4.10
      
      ioBroker Status: 	iobroker is running on this host.
      
      
      Objects type: jsonl
      States  type: jsonl
      
      Status admin and web instance:
      + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
      + system.adapter.web.0                    : web                   : raspberrypi                              -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
      
      Objects: 		2708
      States: 		2224
      
      Size of iob-Database:
      
      12M	/opt/iobroker/iobroker-data/objects.jsonl
      2.1M	/opt/iobroker/iobroker-data/states.jsonl
      
      
      Debian 'bullseye' is the current oldstable version. Please upgrade to the latest stable release 'bookworm' in due time!
      
      =================== END OF SUMMARY ====================
      === Mark text until here for copying ===
      

      Hallo zusammen,
      ich versuche gerade mein system auf den neusten Stand zu bringen um es anschließend auf eine neue 64Bit version umzuziehen per Backup adapter.
      Leider lässt sich der JS-Controller nicht auf die neuste Version bringen:

      npm warn ERESOLVE overriding peer dependency
      npm warn While resolving: @iobroker/adapter-core@3.2.3
      npm warn Found: @iobroker/types@5.0.19
      npm warn node_modules/iobroker.iot/node_modules/@iobroker/types
      npm warn   @iobroker/types@"^5.0.19" from iobroker.iot@3.3.0
      npm warn   node_modules/iobroker.iot
      npm warn     iobroker.iot@"3.3.0" from the root project
      npm warn
      npm warn Could not resolve dependency:
      npm warn peer @iobroker/types@">=6.0.11" from @iobroker/adapter-core@3.2.3
      npm warn node_modules/iobroker.iot/node_modules/@iobroker/adapter-core
      npm warn   @iobroker/adapter-core@"^3.0.4" from iobroker.iot@3.3.0
      npm warn   node_modules/iobroker.iot
      npm warn
      npm warn Conflicting peer dependency: @iobroker/types@7.0.6
      npm warn node_modules/@iobroker/types
      npm warn   peer @iobroker/types@">=6.0.11" from @iobroker/adapter-core@3.2.3
      npm warn   node_modules/iobroker.iot/node_modules/@iobroker/adapter-core
      npm warn     @iobroker/adapter-core@"^3.0.4" from iobroker.iot@3.3.0
      npm warn     node_modules/iobroker.iot
      npm error code EBADENGINE
      npm error engine Unsupported engine
      npm error engine Not compatible with your version of node/npm: ring-client-api@11.7.3
      npm error notsup Not compatible with your version of node/npm: ring-client-api@11.7.3
      npm error notsup Required: {"node":"^16 || ^18"}
      npm error notsup Actual:   {"npm":"11.1.0","node":"v22.14.0"}
      

      oder kann ich auch so bedenkenlos umziehen?

      grüße Max

      Edit:
      Ich denke ich muss ein Upgrade auf Debian 12 durchführen oder?
      Hab das system nach dieser Anleitung geupgradet

      arteck 1 Reply Last reply Reply Quote 0
      • arteck
        arteck Developer Most Active @SunkHD last edited by

        @sunkhd sagte in Js-Controller lässt sich nicht auf 7.x upgraden:

        Debian 'bullseye' is the current oldstable version. Please upgrade to the latest stable release 'bookworm' in due time!

        lesen kannst du aber ??

        SunkHD 1 Reply Last reply Reply Quote 0
        • SunkHD
          SunkHD @arteck last edited by

          @arteck ne xD hab ich erst überlesen, deswegen mein Edit ganz unten. Update läuft gerade noch

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

            @sunkhd

            Installier das System komplett von Grundauf neu.
            Du fährst ein 32Bit-System und ein in-line-Upgrade auf Bookworm ist nicht möglich.

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

              @sunkhd

              Und nodejs@22 ist zu neu. Für den

              npm error notsup Not compatible with your version of node/npm: ring-client-api@11.7.3

              npm error notsup Required: {"node":"^16 || ^18"}

              ist sogar die empfohlene nodejs@20 zu neu, das Ding will maximal 18 haben. Wo kommt
              ring-client-api
              her?

              cd /opt/iobroker && npm ls ring-client-api
              
              SunkHD 1 Reply Last reply Reply Quote 0
              • SunkHD
                SunkHD @Thomas Braun last edited by

                @thomas-braun möchte ich ja. aber kann ich mein Backup vom alten System einspielen? das wäre echt Arbeit alles wieder zum laufen zu bringen

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

                  @sunkhd sagte in Js-Controller lässt sich nicht auf 7.x upgraden:

                  aber kann ich mein Backup vom alten System einspielen?

                  Das würde ich erst senkrecht aufstellen und dann mit der stabilen Basis umziehen.

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

                    @thomas-braun said in Js-Controller lässt sich nicht auf 7.x upgraden:

                    cd

                    ├─┬ iobroker.ham@5.3.1 (git+ssh://git@github.com/ioBroker/ioBroker.ham.git#6a73ba47abc87c927187f2b9354e2edd028cf2e5)
                    │ └─┬ homebridge-ring@11.7.1
                    │   └── ring-client-api@11.7.1
                    └─┬ iobroker.ring@3.2.2
                      └── ring-client-api@11.7.3
                    

                    kommt vom homebridge Adapter

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

                      @thomas-braun okay

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

                        @sunkhd sagte in Js-Controller lässt sich nicht auf 7.x upgraden:

                        iobroker.ring

                        Der blockt auch. Schmeiß beide Adapter temporär raus und dann schaust du nacher ob du die wieder draufbekommst.
                        Drück aber nodejs auf v 20:

                        iob nodejs-update 20
                        
                        SunkHD 1 Reply Last reply Reply Quote 0
                        • SunkHD
                          SunkHD @Thomas Braun last edited by

                          @thomas-braun
                          war ein bissel voreilig, das update von Bookworm ist jetzt fertig.

                          pi@raspberrypi:~ $ cat /etc/debian_version
                          12.9
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @SunkHD last edited by

                            @sunkhd sagte in Js-Controller lässt sich nicht auf 7.x upgraden:

                            das update von Bookworm ist jetzt fertig.

                            Das funktioniert aber nicht richtig.
                            Kannst du NUR NEUINSTALLIEREN.

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

                              @thomas-braun
                              hab das update durchgeführt. Version bleibt jedoch auf 22

                              pi@raspberrypi:~ $ nodejs -v
                              v22.14.0
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • SunkHD
                                SunkHD @Thomas Braun last edited by SunkHD

                                @thomas-braun okay verstehe. (das upgrade lief leider schon bevor du geantwortet hattest)

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

                                  @sunkhd

                                  Keine Ahnung was du da für eine verfummelte Kiste hast...

                                  Meldungen zu

                                  iob nodejs-update 20
                                  

                                  sehen wie aus?

                                  SunkHD 2 Replies Last reply Reply Quote 0
                                  • SunkHD
                                    SunkHD @Thomas Braun last edited by

                                    @thomas-braun

                                    ioBroker nodejs fixer 2025-02-23
                                    You requested to install latest version from nodejs v20 tree.
                                    
                                    Your current setup is:
                                    /usr/bin/nodejs 	v22.14.0
                                    /usr/bin/node 		v22.14.0
                                    /usr/bin/npm 		11.1.0
                                    /usr/bin/npx 		11.1.0
                                    /usr/bin/corepack 	0.31.0
                                    
                                    We found these nodejs versions available for installation:
                                    
                                    nodejs:
                                      Installed: 22.14.0-1nodesource1
                                      Candidate: 22.14.0-1nodesource1
                                      Version table:
                                     *** 22.14.0-1nodesource1 100
                                            100 /var/lib/dpkg/status
                                         20.18.3-1nodesource1 600
                                            500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                                         20.18.2-1nodesource1 600
                                            500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                                         20.18.1-1nodesource1 600
                                            500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                                         20.18.0-1nodesource1 600
                                            500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                                         20.17.0-1nodesource1 600
                                            500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                                         20.16.0-1nodesource1 600
                                            500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                                         20.15.1-1nodesource1 600
                                            500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                                         20.15.0-1nodesource1 600
                                            500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                                         20.14.0-1nodesource1 600
                                            500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                                         20.13.1-1nodesource1 600
                                            500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                                         20.13.0-1nodesource1 600
                                            500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                                         20.12.2-1nodesource1 600
                                            500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                                         20.12.1-1nodesource1 600
                                            500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                                         20.12.0-1nodesource1 600
                                            500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                                         20.11.1-1nodesource1 600
                                            500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                                         20.11.0-1nodesource1 600
                                            500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                                         20.10.0-1nodesource1 600
                                            500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                                         20.9.0-1nodesource1 600
                                            500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                                         20.8.1-1nodesource1 600
                                            500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                                         20.8.0-1nodesource1 600
                                            500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                                         20.7.0-1nodesource1 600
                                            500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                                         20.6.1-1nodesource1 600
                                            500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                                         20.6.0-1nodesource1 600
                                            500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                                         20.5.1-1nodesource1 600
                                            500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                                         20.5.0-1nodesource1 600
                                            500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                                         20.4.0-1nodesource1 600
                                            500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                                         20.3.1-1nodesource1 600
                                            500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                                         20.3.0-1nodesource1 600
                                            500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                                         20.2.0-1nodesource1 600
                                            500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                                         20.1.0-1nodesource1 600
                                            500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                                         20.0.0-1nodesource1 600
                                            500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                                         18.19.0+dfsg-6~deb12u2+rpi1 500
                                            500 http://raspbian.raspberrypi.org/raspbian bookworm/main armhf Packages
                                    
                                    
                                    
                                    Nothing to do - Your installation is using the correct paths.
                                    
                                    You are running nodejs v22.14.0. Do you want to install latest version from nodejs v.20 tree? 
                                    
                                    Press <y> to continue or any other key to quit
                                    Trying to fix your installation now. Please be patient.
                                    rm: cannot remove '/usr/share/keyrings/nodesource.gpg'$'\n''/etc/apt/keyrings/nodesource.gpg 2> /dev/null': No such file or directory
                                    Waiting for ioBroker to shut down - Give me a minute...
                                    ############################################################
                                    
                                    Removing dfsg-nodejs
                                    
                                    
                                    *** These repos are active on your system:
                                    Hit:1 http://raspbian.raspberrypi.org/raspbian bookworm InRelease
                                    Hit:2 http://archive.raspberrypi.org/debian bookworm InRelease                 
                                    Hit:3 https://download.docker.com/linux/raspbian bookworm InRelease            
                                    Hit:4 https://repo.homebridge.io stable InRelease                              
                                    Reading package lists... Done
                                    W: http://raspbian.raspberrypi.org/raspbian/dists/bookworm/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
                                    W: Skipping acquire of configured file 'non-free-firmware/binary-armhf/Packages' as repository 'http://raspbian.raspberrypi.org/raspbian bookworm InRelease' doesn't have the component 'non-free-firmware' (component misspelt in sources.list?)
                                    W: Skipping acquire of configured file 'non-free-firmware/i18n/Translation-en' as repository 'http://raspbian.raspberrypi.org/raspbian bookworm InRelease' doesn't have the component 'non-free-firmware' (component misspelt in sources.list?)
                                    W: Skipping acquire of configured file 'non-free-firmware/dep11/Components-armhf.yml' as repository 'http://raspbian.raspberrypi.org/raspbian bookworm InRelease' doesn't have the component 'non-free-firmware' (component misspelt in sources.list?)
                                    
                                    *** Installing ca-certificates, curl and gnupg, just in case they are missing.
                                    
                                    *** Creating new /etc/apt/sources.list.d/nodesource.list and pinning source
                                    
                                    deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main
                                    Package: nodejs
                                    Pin: origin deb.nodesource.com
                                    Pin-Priority: 1001
                                    
                                    *** These repos are active after the adjustments:
                                    Hit:1 http://raspbian.raspberrypi.org/raspbian bookworm InRelease
                                    Hit:2 http://archive.raspberrypi.org/debian bookworm InRelease                 
                                    Hit:3 https://download.docker.com/linux/raspbian bookworm InRelease            
                                    Hit:4 https://repo.homebridge.io stable InRelease                              
                                    Get:5 https://deb.nodesource.com/node_20.x nodistro InRelease [12.1 kB] 
                                    Get:6 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages [10.6 kB]
                                    Fetched 22.8 kB in 1s (16.8 kB/s)
                                    Reading package lists... Done
                                    W: http://raspbian.raspberrypi.org/raspbian/dists/bookworm/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
                                    W: Skipping acquire of configured file 'non-free-firmware/binary-armhf/Packages' as repository 'http://raspbian.raspberrypi.org/raspbian bookworm InRelease' doesn't have the component 'non-free-firmware' (component misspelt in sources.list?)
                                    W: Skipping acquire of configured file 'non-free-firmware/i18n/Translation-en' as repository 'http://raspbian.raspberrypi.org/raspbian bookworm InRelease' doesn't have the component 'non-free-firmware' (component misspelt in sources.list?)
                                    W: Skipping acquire of configured file 'non-free-firmware/dep11/Components-armhf.yml' as repository 'http://raspbian.raspberrypi.org/raspbian bookworm InRelease' doesn't have the component 'non-free-firmware' (component misspelt in sources.list?)
                                    
                                    Installing nodejs now!
                                    
                                    Installing the nodejs!
                                    W: http://raspbian.raspberrypi.org/raspbian/dists/bookworm/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
                                    W: Skipping acquire of configured file 'non-free-firmware/binary-armhf/Packages' as repository 'http://raspbian.raspberrypi.org/raspbian bookworm InRelease' doesn't have the component 'non-free-firmware' (component misspelt in sources.list?)
                                    W: Skipping acquire of configured file 'non-free-firmware/i18n/Translation-en' as repository 'http://raspbian.raspberrypi.org/raspbian bookworm InRelease' doesn't have the component 'non-free-firmware' (component misspelt in sources.list?)
                                    W: Skipping acquire of configured file 'non-free-firmware/dep11/Components-armhf.yml' as repository 'http://raspbian.raspberrypi.org/raspbian bookworm InRelease' doesn't have the component 'non-free-firmware' (component misspelt in sources.list?)
                                    
                                    We tried our best to fix your nodejs. Please run iob diag again to verify.
                                    
                                    *** RESTARTING ioBroker NOW! *** 
                                     Please refresh or restart your browser in a few moments.
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • SunkHD
                                      SunkHD @Thomas Braun last edited by

                                      @thomas-braun hab jetzt nochmal versucht Js-Controller 7.X zu installieren, diesmal hat es geklappt.

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

                                        @sunkhd

                                        Dann zieh jetzt die

                                        Pending iob updates: 13

                                        nach.

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

                                          @thomas-braun erledigt. jetzt backup durchführen?

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

                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          875
                                          Online

                                          31.7k
                                          Users

                                          79.7k
                                          Topics

                                          1.3m
                                          Posts

                                          3
                                          19
                                          557
                                          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