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.
    • wendy2702
      wendy2702 @Marcus Hamburg last edited by

      @marcus-hamburg

      cat /etc/apt/sources.list.d/nodesource.list
      
      Marcus Hamburg 1 Reply Last reply Reply Quote 0
      • Marcus Hamburg
        Marcus Hamburg @wendy2702 last edited by

        @wendy2702 Das antwortet das System und nun?

        pi@raspberrypi:~ $ cat /etc/apt/sources.list.d/nodesource.list
        deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x buster main
        deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x buster main
        
        
        wendy2702 1 Reply Last reply Reply Quote 0
        • wendy2702
          wendy2702 @Marcus Hamburg last edited by wendy2702

          @marcus-hamburg Hier stand Blödsinn.

          Neuer Versuch:

          apt update
          apt policy nodejs
          
          Marcus Hamburg 1 Reply Last reply Reply Quote 0
          • Marcus Hamburg
            Marcus Hamburg @wendy2702 last edited by

            @wendy2702 ok und das kommt nun raus.

            pi@raspberrypi:~ $ sudo apt policy nodejs
            nodejs:
              Installiert:           17.1.0-deb-1nodesource1
              Installationskandidat: 17.1.0-deb-1nodesource1
              Versionstabelle:
             *** 17.1.0-deb-1nodesource1 100
                    100 /var/lib/dpkg/status
                 16.14.0-deb-1nodesource1 500
                    500 https://deb.nodesource.com/node_16.x buster/main armhf Packages
                 10.24.0~dfsg-1~deb10u1 500
                    500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
            pi@raspberrypi:~ $ 
            
            
            
            wendy2702 Glasfaser 2 Replies Last reply Reply Quote 0
            • wendy2702
              wendy2702 @Marcus Hamburg last edited by wendy2702

              @marcus-hamburg dann

              sudo apt install nodejs=16.14.0-deb-1nodesource1
              

              Solltest du auf 14 wollen dann die 16 --> 14 im source file ändern und den install Befehl anpassen.

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

                @wendy2702 said in Problem mit Admin und so:

                sudo apt install nodejs=16.14.0-deb-1nodesource1

                Danke Danke. Das wäre Problem eins gelöst, nun das Probelm Adminoberfläche angehen. 😉

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

                  @marcus-hamburg

                  iob stop
                  iob fix
                  iob start
                  iob list instances
                  iob update
                  
                  Marcus Hamburg 1 Reply Last reply Reply Quote 0
                  • Marcus Hamburg
                    Marcus Hamburg @wendy2702 last edited by

                    @wendy2702 läuft nicht .... heul

                    
                    pi@raspberrypi:~ $ sudo iob update
                    Used repository: stable
                    hash unchanged, use cached 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
                    Adapter    "javascript"    : 5.2.21   , installed 5.2.21
                    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
                    
                    
                    wendy2702 1 Reply Last reply Reply Quote 0
                    • wendy2702
                      wendy2702 @Marcus Hamburg last edited by

                      @marcus-hamburg Leider fehlt da die über die hälfte aller Ausgaben.

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

                        @wendy2702

                        pi@raspberrypi:~ $ sudo iob stop
                        pi@raspberrypi:~ $ sudo iob fix
                        library: loaded
                        Library version=2022-02-10
                        
                        ==========================================================================
                        
                            Welcome to the ioBroker installation fixer!
                            Script version: 2022-02-13
                        
                        ==========================================================================
                        
                        
                        ==========================================================================
                            Installing prerequisites (1/3)
                        ==========================================================================
                        
                        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
                        Installed gcc-c++
                        
                        ==========================================================================
                            Checking ioBroker user and directory permissions (2/3)
                        ==========================================================================
                        
                        Created /etc/sudoers.d/iobroker
                        Fixing directory permissions...
                        
                        ==========================================================================
                            Checking autostart (3/3)
                        ==========================================================================
                        
                        Enabling autostart...
                        Autostart enabled!
                        
                        ==========================================================================
                        
                            Your installation was fixed successfully
                            Run iobroker start to start ioBroker again!
                        
                        ==========================================================================
                        
                        pi@raspberrypi:~ $ sudo iob start
                        pi@raspberrypi:~ $ sudo iob list instances
                          system.adapter.admin.0                  : admin                 : raspberrypi                              - disabled, port: 8081, bind: 0.0.0.0, run as: admin
                          system.adapter.alexa2.0                 : alexa2                : raspberrypi                              -  enabled
                          system.adapter.backitup.0               : backitup              : raspberrypi                              -  enabled
                          system.adapter.discovery.0              : discovery             : raspberrypi                              -  enabled
                          system.adapter.habpanel.0               : habpanel              : raspberrypi                              -  enabled
                          system.adapter.hmip.0                   : hmip                  : raspberrypi                              -  enabled
                          system.adapter.hue.0                    : hue                   : raspberrypi                              -  enabled, port: 443
                          system.adapter.ical.0                   : ical                  : raspberrypi                              -  enabled
                          system.adapter.info.0                   : info                  : raspberrypi                              -  enabled
                          system.adapter.javascript.0             : javascript            : raspberrypi                              -  enabled
                          system.adapter.mihome.0                 : mihome                : raspberrypi                              -  enabled, port: 9898, bind: 0.0.0.0
                          system.adapter.tankerkoenig.0           : tankerkoenig          : raspberrypi                              -  enabled
                          system.adapter.tr-064.0                 : tr-064                : raspberrypi                              -  enabled
                          system.adapter.trashschedule.0          : trashschedule         : raspberrypi                              -  enabled
                          system.adapter.web.0                    : web                   : raspberrypi                              -  enabled, port: 8082, bind: 192.168.178.21, run as: admin
                        
                        + instance is alive
                        pi@raspberrypi:~ $ sudo iob update
                        Used repository: stable
                        hash unchanged, use cached 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
                        Adapter    "javascript"    : 5.2.21   , installed 5.2.21
                        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
                        
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @Marcus Hamburg last edited by Thomas Braun

                          @marcus-hamburg
                          NICHT mit sudo und iob zugleich hantieren.
                          Der iobroker wird nicht per sudo angepackt.

                          Gleichnochmal...

                          iobroker stop
                          iobroker fix
                          
                          wendy2702 1 Reply Last reply Reply Quote 0
                          • wendy2702
                            wendy2702 @Thomas Braun last edited by

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

                            @marcus-hamburg
                            NICHT mit sudo und iob zugleich hantieren.
                            Der iobroker wird nicht per sudo angepackt.

                            Du warst schneller.

                            @Marcus-Hamburg

                            iob start admin.0
                            
                            Marcus Hamburg 1 Reply Last reply Reply Quote 0
                            • Marcus Hamburg
                              Marcus Hamburg @wendy2702 last edited by

                              @wendy2702 Ihr seit die Helden des Tages. Danke 👍 👍 👍

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

                                @marcus-hamburg
                                Dann geh jetzt den Rest an:

                                35 nicht aktualisiert.

                                sudo apt update
                                sudo apt full-upgrade
                                iobroker stop
                                sudo reboot
                                

                                Und dann die Adapter auf Stand bringen.

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

                                  @thomas-braun ok hätte ich gerne, hab da jedoch noch ne m
                                  meldung

                                  npm ERR! code ENOTEMPTY
                                  

                                  die Meldung erscheint bei jeden Adapter update

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

                                    @marcus-hamburg

                                    Mehr Kontext. Mit dem Einzeiler kann man nix anfangen.

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

                                      @thomas-braun

                                      
                                      pi@raspberrypi:/opt/iobroker $ 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/iobroker.javascript
                                      npm ERR! dest /opt/iobroker/node_modules/.iobroker.javascript-5NZ432mn
                                      npm ERR! errno -39
                                      npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.javascript' -> '/opt/iobroker/node_modules/.iobroker.javascript-5NZ432mn'
                                      
                                      npm ERR! A complete log of this run can be found in:
                                      npm ERR!     /home/iobroker/.npm/_logs/2022-03-16T13_07_27_428Z-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 Thomas Braun

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

                                        Damit kann man was anfangen. Und die Lösung ist auch gleich mit angegeben:

                                        rename '/opt/iobroker/node_modules/iobroker.javascript' -> '/opt/iobroker/node_modules/.iobroker.javascript-5NZ432mn'

                                        Hast du denn VOR dem upgrade self die Adapter aktualisiert?

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

                                          @Thomas-Braun

                                          @marcus-hamburg sagte in Problem mit Admin und so:
                                          Installiert: 17.1.0
                                          NPM version: 8.3.1

                                          Da passt doch etwas nicht !?

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

                                            @thomas-braun nein das ging eben nicht und bei rename passiert nichts.

                                            Thomas Braun 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            779
                                            Online

                                            32.0k
                                            Users

                                            80.3k
                                            Topics

                                            1.3m
                                            Posts

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