Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Adapter werden nicht mehr geupdated

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Adapter werden nicht mehr geupdated

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

      @accu

      Eine Neuinstallation?

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

        @thomas-braun ja genau - weil das war ja dein Vorschlag dachte ich? nachdem ich jetzt eh nicht mehr drauf komme.

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

          @accu

          Soweit ich weiß geht's nur per Raspberry Imager an einem Bildschirm. Hab mich aber noch nie damit beschäftigt, das Headless zu machen.

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

            @accu sagte in Adapter werden nicht mehr geupdated:

            die Frage ist ob das neue OS überhaupt irgendwie auf meinem alten Raspi mit dem kleinen Speicher läuft.

            wieso nicht?

            Screenshot_20231202-190123_Firefox.jpg

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

              @homoran

              Einem Rpi3 würde ich aber die 64Bit-Version spendieren.

              Homoran A 2 Replies Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators @Thomas Braun last edited by

                @thomas-braun

                klar!
                Screenshot_20231202-190215_Firefox.jpg

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

                  @thomas-braun sagte in Adapter werden nicht mehr geupdated:

                  @accu

                  Soweit ich weiß geht's nur per Raspberry Imager an einem Bildschirm. Hab mich aber noch nie damit beschäftigt, das Headless zu machen.

                  wieso nicht.

                  neue Karte am PC vorbereiten
                  alte Installation per ssh runterfahren
                  in den Keller gehen, Karte tauschen, Power on

                  bis er wieder am PC sitzt ist Bookworm hochgefahren
                  alles andere geht wieder mit SSH

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

                    @thomas-braun hatte es nach 2h abgebrochen weil sich nix mehr getan hat. Jetzt gerade noch mal probiert:

                    Last login: Sun Dec  3 15:37:58 on ttys000
                    accu@iMac ~ % ssh pi@192.168.1.13
                    pi@192.168.1.13's password: 
                    Linux Raspi 5.10.103-v7+ #1529 SMP Tue Mar 8 12:21:37 GMT 2022 armv7l
                    
                    The programs included with the Debian GNU/Linux system are free software;
                    the exact distribution terms for each program are described in the
                    individual files in /usr/share/doc/*/copyright.
                    
                    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                    permitted by applicable law.
                    Last login: Sun Dec  3 15:39:14 2023 from 192.168.1.92
                    pi@Raspi:~ $ cd /opt/iobroker
                    pi@Raspi:/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/agent-base
                    npm ERR! dest /opt/iobroker/node_modules/.agent-base-ZzrsLltQ
                    npm ERR! errno -39
                    npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/agent-base' -> '/opt/iobroker/node_modules/.agent-base-ZzrsLltQ'
                    
                    npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-12-03T14_46_44_145Z-debug-0.log
                    pi@Raspi:/opt/iobroker $ 
                    

                    gibts noch irgendeine Möglichkeit das alte System vorerst wieder zum Laufen zu bringen?

                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • A
                      Accu @Homoran last edited by

                      @homoran wie bereitet man die neue Karte am PC vor? einfach übern Card Reader?

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

                        @accu sagte in Adapter werden nicht mehr geupdated:

                        @homoran wie bereitet man die neue Karte am PC vor? einfach übern Card Reader?

                        wie sonst?
                        was hast du denn bisher gemacht?

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

                          @accu

                          iob fix
                          
                          A 1 Reply Last reply Reply Quote 0
                          • A
                            Accu @Homoran last edited by

                            @homoran ich hatte tatsächlich beim ersten mal den Raspi am Bildschirm

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

                              @thomas-braun habe ich schon 2x drüber laufen lassen. Der Fehler bleibt der gleiche:

                              pi@Raspi:~ $ iob fix
                              library: loaded
                              Library version=2023-10-13
                              
                              ==========================================================================
                              
                                  Welcome to the ioBroker installation fixer!
                                  Script version: 2023-10-13
                                  
                                  You might need to enter your password a couple of times.
                              
                              ==========================================================================
                              
                              
                              ==========================================================================
                                  Installing prerequisites (1/5)
                              ==========================================================================
                              
                              OK:1 http://archive.raspberrypi.org/debian buster InRelease
                              OK:2 https://deb.nodesource.com/node_18.x nodistro InRelease                   
                              OK:3 http://raspbian.raspberrypi.org/raspbian buster InRelease                 
                              Paketlisten werden gelesen... Fertig
                              
                              ==========================================================================
                                  Checking ioBroker user and directory permissions (2/5)
                              ==========================================================================
                              
                              Created /etc/sudoers.d/iobroker
                              Fixing directory permissions...
                              
                              ==========================================================================
                                  Check and cleanup npm temporary directories (3/5)
                              ==========================================================================
                              
                              Done.
                              
                              ==========================================================================
                                  Database maintenance (4/5)
                              ==========================================================================
                              
                              Checking for uncompressed JSONL databases... This might take a while!
                              
                              Compressing /opt/iobroker/iobroker-data/states.jsonl
                              Compressing /opt/iobroker/iobroker-data/objects.jsonl
                              Compressed 2 JSONL files. Done
                              
                              ==========================================================================
                                  Checking autostart (5/5)
                              ==========================================================================
                              
                              Enabling autostart...
                              Autostart enabled!
                              
                              ==========================================================================
                              
                                  Your installation was fixed successfully
                                  Run iobroker start to start ioBroker again!
                              
                              ==========================================================================
                              
                              pi@Raspi:~ $ sudo -H -u iobroker npm install iobroker.js-controller
                              npm ERR! code EACCES
                              npm ERR! syscall mkdir
                              npm ERR! path /home/pi/node_modules/iobroker.js-controller
                              npm ERR! errno -13
                              npm ERR! Error: EACCES: permission denied, mkdir '/home/pi/node_modules/iobroker.js-controller'
                              npm ERR!  [Error: EACCES: permission denied, mkdir '/home/pi/node_modules/iobroker.js-controller'] {
                              npm ERR!   errno: -13,
                              npm ERR!   code: 'EACCES',
                              npm ERR!   syscall: 'mkdir',
                              npm ERR!   path: '/home/pi/node_modules/iobroker.js-controller'
                              npm ERR! }
                              npm ERR! 
                              npm ERR! The operation was rejected by your operating system.
                              npm ERR! It is likely you do not have the permissions to access this file as the current user
                              npm ERR! 
                              npm ERR! If you believe this might be a permissions issue, please double-check the
                              npm ERR! permissions of the file and its containing directories, or try running
                              npm ERR! the command again as root/Administrator.
                              
                              npm ERR! A complete
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @Homoran last edited by

                                @homoran sagte in Adapter werden nicht mehr geupdated:

                                wieso nicht.

                                🙂 Hatte irgendwie Richtung 'Image auf der Kommandozeile flashen' gedacht... Der Raspberry Imager hat aber afaik kein CLI.

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

                                  @accu sagte in Adapter werden nicht mehr geupdated:

                                  pi@Raspi:~ $ sudo -H -u iobroker npm install iobroker.js-controller

                                  Du stehst im falschen Verzeichnis.

                                  Und nein, der Fehler ist nicht der gleiche...

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

                                    @thomas-braun ich habe jetzt mal meine Backup Speicherkarte vom System genommen, weil die andere Installation komplett zerschossen war.
                                    Habe jetzt alle Updates gemacht und der iobroker läuft wieder.
                                    Allerdings habe ich Probleme bei der Authentifizierung in den Adapter settings. Der Button lässt sich nicht drücken und erscheint ausgegraut. Auch in Firefox das gleiche. Liegt das evtl. an der veralteten Node Version. Gibt's da eine Möglichkeit noch aktuellere Versionen zu installieren ohne das bestehende Altsystem wieder zu Schrotten?

                                    Bildschirmfoto 2023-12-08 um 09.54.50.png

                                    Bildschirmfoto 2023-12-08 um 10.00.14.png

                                    mein System sieht so aus:

                                    Es gibt keine Nutzer-Sitzungen mit veralteten Prozessen.
                                    pi@Raspi:~ $ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                                    /usr/bin/nodejs
                                    v14.21.3
                                    /usr/bin/node
                                    v14.21.3
                                    /usr/bin/npm
                                    6.14.18
                                    nodejs:
                                      Installiert:           14.21.3-deb-1nodesource1
                                      Installationskandidat: 14.21.3-deb-1nodesource1
                                      Versionstabelle:
                                     *** 14.21.3-deb-1nodesource1 500
                                            500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
                                            100 /var/lib/dpkg/status
                                         10.24.0~dfsg-1~deb10u3 500
                                            500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                    
                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @Accu last edited by

                                      @accu

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

                                        @thomas-braun

                                        ioBroker nodejs fixer 2023-10-13
                                        No recommendation for a nodejs version found on your system. We recommend to install latest version from nodejs v18 tree.
                                        
                                        Your current setup is:
                                        /usr/bin/nodejs 	v14.21.3
                                        /usr/bin/node 		v14.21.3
                                        /usr/bin/npm 		6.14.18
                                        /usr/local/bin/npx 		8.1.2
                                        /usr/local/bin/corepack 	0.10.0
                                        
                                        *** nodejs is NOT correctly installed ***
                                        We found these nodejs versions available for installation:
                                        
                                        nodejs:
                                          Installed: 14.21.3-deb-1nodesource1
                                          Candidate: 14.21.3-deb-1nodesource1
                                          Version table:
                                         *** 14.21.3-deb-1nodesource1 500
                                                500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
                                                100 /var/lib/dpkg/status
                                             10.24.0~dfsg-1~deb10u3 500
                                                500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                        
                                        
                                        
                                        Your nodejs-Installation seems to be faulty. Shall we try to fix it?
                                        Press <y> to continue or any other key to quit
                                        
                                        Fixing your nodejs setup
                                        *** Deleting /usr/local/bin/npx ***
                                        *** Deleting /usr/local/bin/corepack ***
                                        
                                        Wrong paths have been fixed. Run 'iob diag' or 'iob node-fix' again to check if your installation is fine now
                                        
                                        You are running nodejs v14.21.3. Do you want to install latest version from nodejs v.18 tree? 
                                        
                                        Press <y> to continue or any other key to quit
                                        Trying to update your installation now. Please be patient.
                                        Waiting for ioBroker to shut down - Give me a minute...
                                        ############################################################
                                        
                                        *** These repos are active on your system:
                                        Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
                                        Hit:2 http://archive.raspberrypi.org/debian buster InRelease
                                        Reading package lists... Done
                                        
                                        *** 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_18.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 buster InRelease
                                        Hit:2 http://archive.raspberrypi.org/debian buster InRelease              
                                        Get:3 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB]   
                                        Get:4 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages [6272 B]
                                        Fetched 18.4 kB in 4s (5030 B/s)   
                                        Reading package lists... Done
                                        
                                        Installing the recommended nodejs version now!
                                        
                                        Exact recommended version unknown, installing a fallback!
                                        (Reading database ... 144794 files and directories currently installed.)
                                        Preparing to unpack .../nodejs_18.0.0-1nodesource1_armhf.deb ...
                                        Detected old npm client, removing...
                                        Unpacking nodejs (18.0.0-1nodesource1) over (14.21.3-deb-1nodesource1) ...
                                        Setting up nodejs (18.0.0-1nodesource1) ...
                                        Processing triggers for man-db (2.8.5-2) ...
                                        Scanning processes...                                                                                                                     
                                        Scanning candidates...                                                                                                                    
                                        Scanning linux images...                                                                                                                  
                                        
                                        Failed to check for processor microcode upgrades.
                                        
                                        Restarting services...
                                         systemctl restart pm2.service
                                        
                                        No containers need to be restarted.
                                        
                                        No user sessions are running outdated binaries.
                                        
                                        Updating fallback to latest nodejs v18 release
                                        (Reading database ... 145600 files and directories currently installed.)
                                        Preparing to unpack .../nodejs_18.19.0-1nodesource1_armhf.deb ...
                                        Detected old npm client, removing...
                                        Unpacking nodejs (18.19.0-1nodesource1) over (18.0.0-1nodesource1) ...
                                        Setting up nodejs (18.19.0-1nodesource1) ...
                                        Processing triggers for man-db (2.8.5-2) ...
                                        Scanning processes...                                                                                                                     
                                        Scanning candidates...                                                                                                                    
                                        Scanning linux images...                                                                                                                  
                                        
                                        Failed to check for processor microcode upgrades.
                                        
                                        Restarting services...
                                         systemctl restart pm2.service
                                        
                                        No containers need to be restarted.
                                        
                                        No user sessions are running outdated binaries.
                                        v18.19.0 has been installed! You are using the latest version now!
                                        Installing the recommended nodejs version!
                                        
                                        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.
                                        
                                        
                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @Accu last edited by

                                          @accu

                                          Schau mit

                                          iob diag
                                          

                                          nach, ob das jetzt richtig installiert wurde.

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

                                            @thomas-braun leider ist der Netatmo Authenticate Button immer noch ausgegraut 😞

                                            ======================= SUMMARY =======================
                                            			v.2023-10-10
                                            
                                            
                                               Static hostname: Raspi
                                                     Icon name: computer
                                              Operating System: Raspbian GNU/Linux 10 (buster)
                                                        Kernel: Linux 6.1.64-v7+
                                                  Architecture: arm
                                            
                                            Installation: 		native
                                            Kernel: 		armv7l
                                            Userland: 		armhf
                                            Timezone: 		Europe/Berlin (CET, +0100)
                                            User-ID: 		1000
                                            X-Server: 		false
                                            Boot Target: 		multi-user.target
                                            
                                            Pending OS-Updates: 	0
                                            Pending iob updates: 	32
                                            
                                            Nodejs-Installation: 	/usr/bin/nodejs 	v18.19.0
                                            			/usr/bin/node 		v18.19.0
                                            			/usr/bin/npm 		10.2.3
                                            			/usr/bin/npx 		10.2.3
                                            			/usr/bin/corepack 	0.22.0
                                            
                                            Recommended versions are nodejs  and npm 
                                            Your nodejs installation is correct
                                            
                                            MEMORY: 
                                                          total        used        free      shared  buff/cache   available
                                            Mem:           922M        650M        109M        1.0M        162M        209M
                                            Swap:           99M         99M        0.0K
                                            Total:         1.0G        750M        109M
                                            
                                            Active iob-Instances: 	11
                                            Active repo: stable
                                            
                                            ioBroker Core: 		js-controller 		3.3.22
                                            			admin 			5.2.3
                                            
                                            ioBroker Status: 	iobroker is running on this host.
                                            
                                            
                                            Objects type: file
                                            States  type: file
                                            
                                            Status admin and web instance:
                                            + system.adapter.admin.0                  : admin                 : Raspi                                    -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                              system.adapter.web.0                    : web                   : Raspi                                    - disabled, port: 8082, bind: 0.0.0.0, run as: admin
                                            
                                            Objects: 		28472
                                            States: 		14139
                                            
                                            Size of iob-Database:
                                            
                                            20M	/opt/iobroker/iobroker-data/objects.json.bak
                                            20M	/opt/iobroker/iobroker-data/objects.json
                                            17M	/opt/iobroker/iobroker-data/objects.json.broken
                                            12K	/opt/iobroker/iobroker-data/objects.json.old
                                            2.8M	/opt/iobroker/iobroker-data/states.json.bak
                                            2.8M	/opt/iobroker/iobroker-data/states.json
                                            1.9M	/opt/iobroker/iobroker-data/states.json.old
                                            0	/opt/iobroker/iobroker-data/states.json.broken
                                            
                                            
                                            
                                            =================== END OF SUMMARY ====================
                                            
                                            Thomas Braun 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

                                            872
                                            Online

                                            32.0k
                                            Users

                                            80.5k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            74
                                            2562
                                            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