Navigation

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

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Admin startet nicht mehr

    This topic has been deleted. Only users with topic management privileges can see it.
    • I
      IceD112 @DJMarc75 last edited by

      @djmarc75
      Super, das wusste ich nämlich nicht, wie bzw. dass ´man über die ssh die einzelen Adapter neustarten kann.
      Auf die Adminoberfläche komm ich schonmal rauf

      DJMarc75 1 Reply Last reply Reply Quote 0
      • DJMarc75
        DJMarc75 @IceD112 last edited by

        @iced112

        sudo apt update
        sudo apt full-upgrade 
        sudo reboot
        
        I 2 Replies Last reply Reply Quote -1
        • I
          IceD112 @DJMarc75 last edited by

          @djmarc75
          wird durchgeführt...

          1 Reply Last reply Reply Quote 0
          • I
            IceD112 @DJMarc75 last edited by

            @djmarc75
            Alle adapter, bis auf den Javascript adapter sind gestartet...

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

              @iced112

              Der Javaskript-Adapter läuft ja auch nicht in der Spur:

              
              npm ERR! invalid: iobroker.javascript@6.1.4 /opt/iobroker/node_modules/iobroker.javascript
              

              Installier den nochmal drüber.

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

                @thomas-braun wie mache ich das? Einfach ne Instanz mit + hinzufügen?

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

                  @iced112

                  cd /opt/iobroker/node_modules/iobroker.javascript
                  sudo -u iobroker npm install
                  
                  I 1 Reply Last reply Reply Quote 0
                  • I
                    IceD112 @Thomas Braun last edited by

                    @thomas-braun

                    pi@ioBroker:~ $ cd /opt/iobroker/node_modules/iobroker.javascript
                    pi@ioBroker:/opt/iobroker/node_modules/iobroker.javascript $ sudo -u iobroker npm install
                    npm ERR! code ENOTEMPTY
                    npm ERR! syscall rename
                    npm ERR! path /opt/iobroker/node_modules/iobroker.javascript/node_modules/@types/node
                    npm ERR! dest /opt/iobroker/node_modules/iobroker.javascript/node_modules/@types/.node-f0Rqzy2m
                    npm ERR! errno -39
                    npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.javascript/node_modules/@types/node' -> '/opt/iobroker/node_modules/iobroker.javascript/node_modules/@types/.node-f0Rqzy2m'
                    
                    npm ERR! A complete log of this run can be found in:
                    npm ERR!     /home/iobroker/.npm/_logs/2022-12-25T20_12_39_802Z-debug-0.log
                    pi@ioBroker:/opt/iobroker/node_modules/iobroker.javascript $
                    
                    

                    da hab ich aber was nicht korrekt gemacht?

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

                      @iced112

                      https://forum.iobroker.net/topic/57337/fehler-25-oder-217-bei-adapter-install-update-mit-npm8

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

                        @thomas-braun

                        for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%/}; done 
                        

                        und hier nach dann nochmal den?

                        sudo -u iobroker npm install
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @IceD112 last edited by

                          @iced112
                          Ja. Aber pass auf das du im richtigen Verzeichnis stehst!

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

                            @thomas-braun

                            pi@ioBroker:/opt/iobroker/node_modules/iobroker.javascript $ sudo -u iobroker npm install
                            npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
                            npm WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained.
                            npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
                            npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
                            npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                            
                            > iobroker.javascript@6.1.4 postinstall
                            > node ./install/installTypings.js
                            
                            Installing NodeJS typings...
                            latest @types: 18, installed node: 16
                            
                            added 106 packages, removed 108 packages, changed 94 packages, and audited 876 packages in 54s
                            
                            64 packages are looking for funding
                              run `npm fund` for details
                            
                            11 vulnerabilities (1 low, 3 moderate, 6 high, 1 critical)
                            
                            To address issues that do not require attention, run:
                              npm audit fix
                            
                            To address all issues possible (including breaking changes), run:
                              npm audit fix --force
                            
                            Some issues need review, and may require choosing
                            a different dependency.
                            
                            Run `npm audit` for details.
                            
                            

                            sieht schon anders aus

                            mikeal created this issue in request/request

                            open Request’s Past, Present and Future #3142

                            I 1 Reply Last reply Reply Quote 0
                            • I
                              IceD112 @IceD112 last edited by

                              Screenshot 2022-12-25 at 21-24-05 instances - ioBroker.png

                              Startet immer noch nicht und die Version die hier steht, stimmt auch nicht mit der überein, die bei der diagnose ausgegeben wurde

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

                                @iced112

                                iobroker update
                                iobroker upgrade all --debug
                                
                                I 1 Reply Last reply Reply Quote 0
                                • I
                                  IceD112 @Thomas Braun last edited by

                                  @thomas-braun
                                  Ach, guck an. das hat beim zweiten versuch funktioniert. Beim ersten mal hat er noch die scheinbar neue version als "installtiert" angezeigt und als ich das zweite mal update ausgeführt habe war Java auf dem alten stand. Dann hat die installation, bzw. das update geklappt. Jetzt ist der Adapter auch wieder gestartet... und funktioniert auch wieder 🙂

                                  Vielen liebe Dank dir/euch

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

                                    @iced112

                                    Dann zeig jetzt nochmal die Ausgabe von

                                    iobroker diag
                                    
                                    I 1 Reply Last reply Reply Quote 0
                                    • I
                                      IceD112 @Thomas Braun last edited by IceD112

                                      @thomas-braun

                                      
                                      *** ioBroker Diagnosis ***
                                      
                                      Please stretch the window of your terminal programm (puTTY) as wide as possible                                                                                                                                                              or switch to full screen
                                      
                                      The following checks may give hints to potential malconfigurations or errors, pl                                                                                                                                                             ease post them in our forum:
                                      
                                      https://forum.iobroker.net
                                      
                                      Just copy and paste the Summary Page, including the ``` characters at start and                                                                                                                                                              end.
                                      It helps us to help you!
                                      
                                      Press any key to continue
                                      
                                      ======== Start marking the full check here =========
                                      
                                      Skript v.2022-12-13
                                      
                                      *** BASE SYSTEM ***
                                      Model           : Raspberry Pi 4 Model B Rev 1.4
                                      Architecture:   armv7l
                                      Docker:         false
                                      Virtualization: none
                                      Distributor ID: Raspbian
                                      Description:    Raspbian GNU/Linux 11 (bullseye)
                                      Release:        11
                                      Codename:       bullseye
                                      
                                      PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
                                      NAME="Raspbian GNU/Linux"
                                      VERSION_ID="11"
                                      VERSION="11 (bullseye)"
                                      VERSION_CODENAME=bullseye
                                      ID=raspbian
                                      ID_LIKE=debian
                                      HOME_URL="http://www.raspbian.org/"
                                      SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
                                      BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
                                      
                                      Systemuptime and Load:
                                       22:15:29 up  1:38,  2 users,  load average: 0.93, 0.51, 0.50
                                      CPU threads: 4
                                      
                                      *** Time and Time Zones ***
                                      Sun Dec 25 21:15:29 UTC 2022
                                      Sun Dec 25 22:15:29 CET 2022
                                      CET +0100
                                      Europe/Berlin
                                      
                                      *** User and Groups ***
                                      pi
                                      /home/pi
                                      pi adm dialout cdrom sudo audio video plugdev games users input render netdev gpio i2c spi iobroker
                                      
                                      *** X-Server-Setup ***
                                      X-Server:       false
                                      Desktop:
                                      Terminal:       tty
                                      
                                      *** MEMORY ***
                                                     total        used        free      shared  buff/cache   available
                                      Mem:            1.9G        1.5G        179M        0.0K        212M        418M
                                      Swap:            99M         99M        0.0K
                                      Total:          2.0G        1.6G        180M
                                      
                                               1872 M total memory
                                               1480 M used memory
                                                190 M active memory
                                               1391 M inactive memory
                                                179 M free memory
                                                 35 M buffer memory
                                                176 M swap cache
                                                 99 M total swap
                                                 99 M used swap
                                                  0 M free swap
                                      
                                      *** FILESYSTEM ***
                                      Filesystem                                Type      Size  Used Avail Use% Mounted on
                                      /dev/root                                 ext4       29G  6.2G   22G  23% /
                                      devtmpfs                                  devtmpfs  776M     0  776M   0% /dev
                                      tmpfs                                     tmpfs     937M     0  937M   0% /dev/shm
                                      tmpfs                                     tmpfs     375M  812K  374M   1% /run
                                      tmpfs                                     tmpfs     5.0M  4.0K  5.0M   1% /run/lock
                                      /dev/mmcblk0p1                            vfat      253M   50M  203M  20% /boot
                                      tmpfs                                     tmpfs     188M     0  188M   0% /run/user/1000
                                      //192.168.178.1/IceDBox/IOBROKER/ioBroker cifs      4.1G  176M  4.0G   5% /opt/iobroker/backups
                                      
                                      Show mounted filesystems (real ones only):
                                      TARGET                  SOURCE                                    FSTYPE OPTIONS
                                      /                       /dev/mmcblk0p2                            ext4   rw,noatime
                                      |-/boot                 /dev/mmcblk0p1                            vfat   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,flush,errors=remount-ro
                                      `-/opt/iobroker/backups //192.168.178.1/IceDBox/IOBROKER/ioBroker cifs   rw,relatime,vers=3.1.1,cache=strict,username=ioB_Backup,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.178.1,file_mode=0777,dir_mode=0777,soft,nounix,mapposix,rsize=65536,wsize=65536,bsize=1048576,echo_interval=60,actimeo=1
                                      
                                      Files in neuralgic directories:
                                      
                                      /var:
                                      2.6G    /var/
                                      2.2G    /var/log/journal/25070aeb79f44c94a7f7bcc85e4ba968
                                      2.2G    /var/log/journal
                                      2.2G    /var/log
                                      138M    /var/cache
                                      
                                      /opt/iobroker/backups:
                                      148M    /opt/iobroker/backups/
                                      
                                      /opt/iobroker/iobroker-data:
                                      751M    /opt/iobroker/iobroker-data/
                                      344M    /opt/iobroker/iobroker-data/files
                                      249M    /opt/iobroker/iobroker-data/backup-objects
                                      74M     /opt/iobroker/iobroker-data/files/vis.0
                                      72M     /opt/iobroker/iobroker-data/files/telegram.admin
                                      
                                      The five largest files in iobroker-data are:
                                      139M    /opt/iobroker/iobroker-data/states.jsonl
                                      20M     /opt/iobroker/iobroker-data/objects.jsonl
                                      15M     /opt/iobroker/iobroker-data/files/telegram.admin/rules/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_d_ts-node_modules_io-1d9f06.44fe4a3f.chunk.js.map
                                      8.9M    /opt/iobroker/iobroker-data/files/scenes.admin/static/js/2.7de3299d.chunk.js.map
                                      8.0M    /opt/iobroker/iobroker-data/backup-objects/2022-12-24_18-41_states.jsonl.gz
                                      
                                      *** NodeJS-Installation ***
                                      
                                      /usr/bin/nodejs         v16.19.0
                                      /usr/bin/node           v16.19.0
                                      /usr/bin/npm            8.19.3
                                      
                                      nodejs:
                                        Installed: 16.19.0-deb-1nodesource1
                                        Candidate: 16.19.0-deb-1nodesource1
                                        Version table:
                                       *** 16.19.0-deb-1nodesource1 500
                                              500 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages
                                              100 /var/lib/dpkg/status
                                           12.22.12~dfsg-1~deb11u1 500
                                              500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                                      
                                      Temp directories causing npm8 problem: 0
                                      
                                      *** ioBroker-Installation ***
                                      
                                      ioBroker Status
                                      iobroker is running on this host.
                                      
                                      
                                      Objects type: jsonl
                                      States  type: jsonl
                                      
                                      Core adapters versions
                                      js-controller:  4.0.23
                                      admin:          6.3.5
                                      
                                      Adapters from github:   0
                                      
                                      Enabled adapters with bindings
                                      + system.adapter.admin.0                  : admin                 : ioBroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                      + system.adapter.hue.0                    : hue                   : ioBroker                                 -  enabled, port: 443
                                      + system.adapter.lgtv11.0                 : lgtv11                : ioBroker                                 -  enabled, port: 8080
                                      + system.adapter.shelly.0                 : shelly                : ioBroker                                 -  enabled, port: 1882, bind: 0.0.0.0
                                      + system.adapter.web.0                    : web                   : ioBroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                                      
                                      ioBroker-Repositories
                                      stable        : http://download.iobroker.net/sources-dist.json
                                      beta          : http://download.iobroker.net/sources-dist-latest.json
                                      
                                      Active repo(s): stable
                                      
                                      ioBroker-Instances
                                      Used repository: stable
                                      Adapter    "accuweather"  : 1.2.1    , installed 1.2.4
                                      Adapter    "admin"        : 6.3.5    , installed 6.3.5
                                      Adapter    "alexa2"       : 3.23.2   , installed 3.23.2
                                      Adapter    "backitup"     : 2.5.9    , installed 2.5.9
                                      Adapter    "bring"        : 1.8.1    , installed 1.8.1
                                      Adapter    "chromecast"   : 2.3.1    , installed 2.3.1
                                      Adapter    "daswetter"    : 3.1.4    , installed 3.1.4
                                      Adapter    "denon"        : 1.13.4   , installed 1.13.4
                                      Adapter    "discovery"    : 3.1.0    , installed 3.1.0
                                      Adapter    "dwd"          : 2.8.3    , installed 2.8.3
                                      Adapter    "fb-checkpresence": 1.1.20, installed 1.1.20
                                      Adapter    "followthesun" : 0.4.0    , installed 0.4.0
                                      Adapter    "ham"          : 5.3.1    , installed 5.3.1
                                      Adapter    "harmony"      : 1.2.2    , installed 1.2.2
                                      Adapter    "heos"         : 1.10.0   , installed 1.10.0
                                      Adapter    "hue"          : 3.7.1    , installed 3.7.1
                                      Adapter    "hue-extended" : 2.0.0    , installed 2.0.0
                                      Adapter    "ical"         : 1.13.2   , installed 1.13.2
                                      Adapter    "icons-icons8" : 0.0.1    , installed 0.0.1
                                      Adapter    "icons-material-png": 0.1.0, installed 0.1.0
                                      Adapter    "icons-mfd-png": 1.1.0    , installed 1.1.0
                                      Adapter    "icons-ultimate-png": 1.0.1, installed 1.0.1
                                      Adapter    "javascript"   : 6.1.4    , installed 6.1.4
                                      Controller "js-controller": 4.0.23   , installed 4.0.23
                                      Adapter    "lgtv"         : 1.1.10   , installed 1.1.10
                                      Adapter    "lgtv11"       : 1.0.5    , installed 1.0.5
                                      Adapter    "meross"       : 1.14.0   , installed 1.14.0
                                      Adapter    "panasonic-viera": 2.0.0  , installed 2.0.0
                                      Adapter    "ping"         : 1.5.3    , installed 1.5.3
                                      Adapter    "scenes"       : 2.3.9    , installed 2.3.9
                                      Adapter    "shelly"       : 6.0.0    , installed 6.0.0
                                      Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
                                      Adapter    "socketio"     : 4.2.0    , installed 6.1.8
                                      Adapter    "spotify-premium": 1.2.1  , installed 1.2.2
                                      Adapter    "telegram"     : 1.15.2   , installed 1.15.2
                                      Adapter    "tr-064"       : 4.2.17   , installed 4.2.17
                                      Adapter    "trashschedule": 2.0.3    , installed 2.0.3
                                      Adapter    "vis"          : 1.4.15   , installed 1.4.15
                                      Adapter    "vis-colorpicker": 1.2.0  , installed 1.2.0
                                      Adapter    "vis-hqwidgets": 1.3.0    , installed 1.3.0
                                      Adapter    "vis-icontwo"  : 0.90.0   , installed 0.90.0
                                      Adapter    "vis-inventwo" : 3.3.1    , installed 3.3.3
                                      Adapter    "vis-jqui-mfd" : 1.0.12   , installed 1.0.12
                                      Adapter    "vis-timeandweather": 1.2.2, installed 1.2.2
                                      Adapter    "web"          : 4.3.0    , installed 5.2.4
                                      Adapter    "ws"           : 1.3.0    , installed 2.1.3
                                      Adapter    "yr"           : 5.3.0    , installed 5.3.0
                                      
                                      Objects and States
                                      Please stand by - This may take a while
                                      Objects:        26616
                                      States:         22293
                                      
                                      *** OS-Repositories and Updates ***
                                      Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                                      Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
                                      Hit:3 https://deb.nodesource.com/node_16.x bullseye InRelease
                                      Reading package lists...
                                      Pending Updates: 0
                                      
                                      *** Listening Ports ***
                                      Active Internet connections (only servers)
                                      Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
                                      tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          14362      502/sshd: /usr/sbin
                                      tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1001       14530      469/iobroker.js-con
                                      tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1001       14405      469/iobroker.js-con
                                      tcp6       0      0 :::22                   :::*                    LISTEN      0          14364      502/sshd: /usr/sbin
                                      tcp6       0      0 :::61991                :::*                    LISTEN      1001       17777      1609/io.harmony.0
                                      tcp6       0      0 :::8082                 :::*                    LISTEN      1001       19693      1786/io.web.0
                                      tcp6       0      0 :::8081                 :::*                    LISTEN      1001       80147      6245/io.admin.0
                                      udp        0      0 0.0.0.0:49103           0.0.0.0:*                           1001       19311      1624/io.heos.0
                                      udp        0      0 0.0.0.0:61991           0.0.0.0:*                           1001       17778      1609/io.harmony.0
                                      udp        0      0 0.0.0.0:5683            0.0.0.0:*                           1001       15257      1121/io.shelly.0
                                      udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          12953      755/dhcpcd
                                      udp        0      0 0.0.0.0:53431           0.0.0.0:*                           108        10238      344/avahi-daemon: r
                                      udp        0      0 0.0.0.0:5353            0.0.0.0:*                           1001       19009      1461/io.chromecast.
                                      udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        10236      344/avahi-daemon: r
                                      udp6       0      0 :::546                  :::*                                0          12964      755/dhcpcd
                                      udp6       0      0 :::5353                 :::*                                108        10237      344/avahi-daemon: r
                                      udp6       0      0 :::47412                :::*                                108        10239      344/avahi-daemon: r
                                      
                                      ============ Mark until here for C&P =============
                                      
                                      iob diag has finished.
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @IceD112 last edited by

                                        @iced112

                                        Passt.
                                        Tendenziell geht dir aber der Arbeitsspeicher aus. Musst du mal beobachten.

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

                                          @thomas-braun
                                          Ok, ist mir noch garnicht aufgefallen. Ich denke da wird auf kurz oder lang nicht mehr viel an Adaptern etc dazu kommen. Den PI kann man wohl nicht aufrüsten? Oder kann man da administrativ was dran drehen?

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

                                            @iced112 sagte in Admin startet nicht mehr:

                                            Den PI kann man wohl nicht aufrüsten?

                                            Nein.

                                            Oder kann man da administrativ was dran drehen?

                                            Ich würde überlegen ob du die Adapter wirklich alle benötigst. Da sind bestimmt zwei, drei dabei die entbehrlich sind.

                                            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

                                            785
                                            Online

                                            32.0k
                                            Users

                                            80.5k
                                            Topics

                                            1.3m
                                            Posts

                                            9
                                            111
                                            8704
                                            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