Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Problem mit Admin und so

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Problem mit Admin und so

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

      @wendy2702

      Die ist ja auch umgesetzt worden (so halb jedenfalls). Nur war nie die Rede von 'wild per nvm' installierten Versionen. Die stehen da jetzt noch in der falschen Gegend rum.

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

        @thomas-braun tut mir leid, dass ich chaos produziere. Ich möchte nur meine pi für das Smarthome nutzen und leider bin ich doch eher der eine IOS System nutzt. 😞

        Was müsste ich nun machen. Die Anleitung von Anfang habe ich soweit ich es verstanden haben umgesetzt.

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

          Wenn ich ein Adapter update, kommt folgende Meldung

          $ iobroker upgrade backitup@2.3.3
          
          Update backitup from @2.2.3 to @2.3.3
          
          NPM version: 8.3.1
          
          npm install iobroker.backitup@2.3.3 --loglevel error --prefix "/opt/iobroker" (System call)
          
          npm ERR! code ENOTEMPTYnpm ERR! syscall renamenpm ERR! path /opt/iobroker/node_modules/typescriptnpm ERR! dest /opt/iobroker/node_modules/.typescript-rKKYB1QGnpm ERR! errno -39npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/typescript' -> '/opt/iobroker/node_modules/.typescript-rKKYB1QG'npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2022-03-16T14_23_28_020Z-debug-0.log
          
          host.raspberrypi Cannot install iobroker.backitup@2.3.3: 217
          
          ERROR: Process exited with code 25
          
          1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Marcus Hamburg last edited by

            @marcus-hamburg sagte in Problem mit Admin und so:

            Was müsste ich nun machen.

            Ich kenne nvm nicht und weiß nicht wie man damit die falsche Version wieder aus dem /home bekommt. Zur Not einfach das Verzeichnis

            /home/pi/.config/nvm/

            löschen. Und das System neustarten.

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

              @thomas-braun ok Ordner gelöscht System läuft noch. Jedoch kann ich die Adapter nun gar nicht mehr aktuellisieren. (über Admin Oberfläche)

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

                @marcus-hamburg sagte in Problem mit Admin und so:

                System läuft noch.

                Noch oder wieder?
                Unbedingt einen Neustart vornehmen.

                iobroker update -i
                

                sagt?

                Und nodeJS ist jetzt senkrecht?
                Mit

                which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                

                nochmal schauen.

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

                  @thomas-braun

                  pi@raspberrypi:~ $ iobroker update -i
                  Used repository: stable
                  hash changed or no sources cached => force download of new sources
                  update done
                  Adapter    "admin"         : 5.3.1    , installed 5.2.3 [Updateable]
                  Adapter    "alexa2"        : 3.11.2   , installed 3.11.2
                  Adapter    "backitup"      : 2.3.3    , installed 2.2.3 [Updateable]
                  Adapter    "discovery"     : 2.7.5    , installed 2.7.3 [Updateable]
                  Adapter    "habpanel"      : 0.4.3    , installed 0.4.3
                  Adapter    "hmip"          : 1.15.4   , installed 1.15.2 [Updateable]
                  Adapter    "hue"           : 3.6.5    , installed 3.5.31 [Updateable]
                  Adapter    "ical"          : 1.11.4   , installed 1.11.4
                  Adapter    "info"          : 1.9.8    , installed 1.9.8
                  Controller "js-controller" : 4.0.21   , installed 3.3.22 [Updateable]
                  Adapter    "mihome"        : 1.3.7    , installed 1.3.7
                  Adapter    "openweathermap": 0.1.0    , installed 0.1.0
                  Adapter    "simple-api"    : 2.6.2    , installed 2.6.1 [Updateable]
                  Adapter    "socketio"      : 3.1.5    , installed 3.1.5
                  Adapter    "tankerkoenig"  : 2.1.1    , installed 2.1.1
                  Adapter    "tr-064"        : 4.2.15   , installed 4.2.14 [Updateable]
                  Adapter    "trashschedule" : 1.4.1    , installed 1.4.1
                  Adapter    "web"           : 3.4.16   , installed 3.4.16
                  pi@raspberrypi:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                  /usr/bin/nodejs
                  /usr/bin/node
                  /usr/bin/npm
                  v16.14.0
                  v16.14.0
                  8.3.1
                  pi
                  /home/pi
                  OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
                  OK:2 http://archive.raspberrypi.org/debian buster InRelease
                  OK:3 https://deb.nodesource.com/node_16.x buster InRelease
                  Paketlisten werden gelesen... Fertig
                  Abhängigkeitsbaum wird aufgebaut.
                  Statusinformationen werden eingelesen.... Fertig
                  Alle Pakete sind aktuell.
                  N: Datei »nodesource.list.save.1« in Verzeichnis »/etc/apt/sources.list.d/« wird ignoriert, da sie eine ungültige Dateinamen-Erweiterung hat.
                  nodejs:
                    Installiert:           16.14.0-deb-1nodesource1
                    Installationskandidat: 16.14.0-deb-1nodesource1
                    Versionstabelle:
                   *** 16.14.0-deb-1nodesource1 500
                          500 https://deb.nodesource.com/node_16.x buster/main armhf Packages
                          100 /var/lib/dpkg/status
                       10.24.0~dfsg-1~deb10u1 500
                          500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                  N: Datei »nodesource.list.save.1« in Verzeichnis »/etc/apt/sources.list.d/« wird ignoriert, da sie eine ungültige Dateinamen-Erweiterung hat.
                  
                  
                  Thomas Braun 2 Replies Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Marcus Hamburg last edited by

                    @marcus-hamburg sagte in Problem mit Admin und so:

                    nodesource.list.save.1

                    löschen.

                    sudo rm /etc/apt/sources.list.d/nodesource.list.save.1
                    
                    1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Marcus Hamburg last edited by

                      @marcus-hamburg

                      iobroker stop
                      iobroker fix
                      iobroker update
                      iobroker upgrade
                      iobroker upgrade self
                      iobroker start
                      
                      Marcus Hamburg 1 Reply Last reply Reply Quote 0
                      • Marcus Hamburg
                        Marcus Hamburg @Thomas Braun last edited by

                        @thomas-braun bei Upgrade kommt erneut ein Fehler

                        pi@raspberrypi:~ $ iob upgrade self
                        Update js-controller from @3.3.22 to @4.0.21
                        NPM version: 8.3.1
                        npm install iobroker.js-controller@4.0.21 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
                        npm ERR! code ENOTEMPTY
                        npm ERR! syscall rename
                        npm ERR! path /opt/iobroker/node_modules/typescript
                        npm ERR! dest /opt/iobroker/node_modules/.typescript-rKKYB1QG
                        npm ERR! errno -39
                        npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/typescript' -> '/opt/iobroker/node_modules/.typescript-rKKYB1QG'
                        
                        npm ERR! A complete log of this run can be found in:
                        npm ERR!     /home/iobroker/.npm/_logs/2022-03-16T16_24_42_511Z-debug-0.log
                        host.raspberrypi Cannot install iobroker.js-controller@4.0.21: 217
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @Marcus Hamburg last edited by

                          @marcus-hamburg

                          Siehe oben. Verzeichnis umbenennen.

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

                            @thomas-braun Ich verzweifle an mich selbst. 😞 😞 😞

                            pi@raspberrypi:~ $ sudo -u iobroker mv /opt/iobroker/node_modules/iobroker.javascript /opt/iobroker/node_modules/.iobroker.javascript-5NZ432mn
                            mv: der Aufruf von stat für '/opt/iobroker/node_modules/iobroker.javascript' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @Marcus Hamburg last edited by

                              @marcus-hamburg sagte in Problem mit Admin und so:

                              sudo -u iobroker mv /opt/iobroker/node_modules/typescript /opt/iobroker/node_modules/.typescript-rKKYB1QG
                              
                              Marcus Hamburg 1 Reply Last reply Reply Quote 0
                              • Marcus Hamburg
                                Marcus Hamburg @Thomas Braun last edited by

                                @thomas-braun und noch immer

                                pi@raspberrypi:~ $ iob upgrade
                                
                                This upgrade of "tr-064" will introduce the following changes:
                                ==========================================================================
                                -> 4.2.15:
                                fix crash case (Sentry IOBROKER-TR-064-35)
                                ==========================================================================
                                
                                Would you like to upgrade tr-064 from @4.2.14 to @4.2.15 now? [(y)es, (n)o]: n
                                No upgrade of "tr-064" desired.
                                
                                This upgrade of "simple-api" will introduce the following changes:
                                ==========================================================================
                                -> 2.6.2:
                                Support of new flags for `getPlainValue`: `json` and `noStringify`
                                ==========================================================================
                                
                                Would you like to upgrade simple-api from @2.6.1 to @2.6.2 now? [(y)es, (n)o]: y
                                Update simple-api from @2.6.1 to @2.6.2
                                NPM version: 8.3.1
                                npm install iobroker.simple-api@2.6.2 --loglevel error --prefix "/opt/iobroker" (System call)
                                npm ERR! code ENOTEMPTY
                                npm ERR! syscall rename
                                npm ERR! path /opt/iobroker/node_modules/virtual-tsc
                                npm ERR! dest /opt/iobroker/node_modules/.virtual-tsc-7cNzXXUj
                                npm ERR! errno -39
                                npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/virtual-tsc' -> '/opt/iobroker/node_modules/.virtual-tsc-7cNzXXUj'
                                
                                npm ERR! A complete log of this run can be found in:
                                npm ERR!     /home/iobroker/.npm/_logs/2022-03-16T17_38_14_891Z-debug-0.log
                                host.raspberrypi Cannot install iobroker.simple-api@2.6.2: 217
                                pi@raspberrypi:~ $ 
                                
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @Marcus Hamburg last edited by Thomas Braun

                                  @marcus-hamburg

                                  Die Nummer ist immer gleich...

                                  Verzeichnis umbenennen.

                                  Die angebotenen Upgrades solltest du aber auch ausführen...

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

                                    @thomas-braun Danke bin jetzt wieder weiter, einer der letzten Sachen:

                                    
                                    Would you like to upgrade javascript from @5.2.13 to @5.2.21 now? [(y)es, (n)o]: y
                                    Update javascript from @5.2.13 to @5.2.21
                                    NPM version: 8.3.1
                                    Installing iobroker.javascript@5.2.21... (System call)
                                    host.raspberrypi Cannot install iobroker.javascript@5.2.21: 217
                                    
                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @Marcus Hamburg last edited by

                                      @marcus-hamburg

                                      Mehr kommt da nicht?

                                      iobroker stop
                                      iobroker update -u
                                      iobroker upgrade
                                      
                                      Marcus Hamburg Homoran 2 Replies Last reply Reply Quote 0
                                      • Marcus Hamburg
                                        Marcus Hamburg @Thomas Braun last edited by

                                        @thomas-braun ne nicht wirklich:

                                        pi@raspberrypi:~ $ iob stop
                                        pi@raspberrypi:~ $ iob update -u
                                        Used repository: stable
                                        Adapter    "javascript"   : 5.2.21   , installed 5.2.13 [Updatable]
                                        pi@raspberrypi:~ $ iob upgrade
                                        
                                        This upgrade of "javascript" will at least introduce the following changes:
                                        ==========================================================================
                                        -> 5.2.21:
                                        Fixed build process
                                        
                                        -> 5.2.20:
                                        Fixed build process
                                        
                                        -> 5.2.19:
                                        Fix broken dependency
                                        
                                        -> 5.2.18:
                                        Fixed some german translations
                                        Fixed astro schedules
                                        
                                        -> 5.2.17:
                                        Fixed some german translations
                                        Fixed astro schedules
                                        
                                        -> 5.2.16:
                                        Fixed fonts
                                        
                                        -> 5.2.15:
                                        Added the monitoring of symlinks my mirroring
                                        Fix two crash cases reported by Sentry
                                        ==========================================================================
                                        
                                        Would you like to upgrade javascript from @5.2.13 to @5.2.21 now? [(y)es, (n)o]: y
                                        Update javascript from @5.2.13 to @5.2.21
                                        NPM version: 8.3.1
                                        Installing iobroker.javascript@5.2.21... (System call)
                                        host.raspberrypi Cannot install iobroker.javascript@5.2.21: 217
                                        
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • Homoran
                                          Homoran Global Moderator Administrators @Thomas Braun last edited by

                                          @thomas-braun sagte in Problem mit Admin und so:

                                          Mehr kommt da nicht?

                                          zum Error 217 hab ich nichts gefunden 😞

                                          Marcus Hamburg 1 Reply Last reply Reply Quote 0
                                          • Marcus Hamburg
                                            Marcus Hamburg @Homoran last edited by

                                            @homoran OK. Werde mal für heute Schluss machen, grundsätzlich bin sehr froh über diese tolle schnell Hilfe. Mein System ist wieder Schick und die 217 bekommt bestimmt noch jemand gelöst. Danke Danke Danke.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            445
                                            Online

                                            32.0k
                                            Users

                                            80.3k
                                            Topics

                                            1.3m
                                            Posts

                                            7
                                            71
                                            4533
                                            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