Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. [gelöst] Adapter starten nicht nach einspielen von Backup

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    [gelöst] Adapter starten nicht nach einspielen von Backup

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

      Systemdata Bitte Ausfüllen
      Hardwaresystem: RPI4
      Festplattenart: SD-Karte
      Betriebssystem:
      Node-Version: v16.17.0
      Nodejs-Version: v16.17.0
      NPM-Version: 8.15.0

      Hallo,

      ich habe mal wieder ein Problem.
      Ich lasse jeden Tag ein Backup von Backitup per FTP auf mein NAS machen. Heute ist mir aufgefallen, dass das Backup von iobroker seit 16.12. nicht mehr erstellt wird. Da ich nichts geändert hatte, habe ich mir gedacht: spielst du doch mal das Backup vom 15.12. ein. Gesagt getan - lief alles anstandslos durch.

      Jetzt habe ich aktuell das Problem, dass keine Adapter mehr starten, außer admin, backitup und javascript (manuell gestartet).
      Unter Protkolle erscheint folgendes:

      host.iobroker
      2022-12-23 19:11:06.444	info	iobroker npm-install: exit 25
      host.iobroker
      2022-12-23 19:11:05.408	error	iobroker npm-install: host.iobroker Cannot install iobroker.jarvis@3.0.15: 217
      host.iobroker
      2022-12-23 19:10:58.707	info	iobroker npm-install: Installing iobroker.jarvis@3.0.15... (System call)
      host.iobroker
      2022-12-23 19:10:58.705	info	iobroker npm-install: NPM version: 8.15.0
      host.iobroker
      2022-12-23 19:10:55.542	info	iobroker install jarvis@3.0.15 using installedFrom
      host.iobroker
      2022-12-23 19:10:55.541	warn	startInstance cannot find adapter "jarvis@3.0.15". Try to install it... 1 attempt
      host.iobroker
      2022-12-23 19:10:54.541	info	iobroker npm-install: exit 25
      host.iobroker
      2022-12-23 19:10:53.492	error	iobroker npm-install: host.iobroker Cannot install iobroker.jarvis@3.0.15: 217
      host.iobroker
      2022-12-23 19:10:46.290	info	iobroker npm-install: Installing iobroker.jarvis@3.0.15... (System call)
      host.iobroker
      2022-12-23 19:10:46.288	info	iobroker npm-install: NPM version: 8.15.0
      host.iobroker
      2022-12-23 19:10:43.156	info	iobroker install jarvis@3.0.15 using installedFrom
      host.iobroker
      2022-12-23 19:10:43.155	warn	startInstance cannot find adapter "jarvis@3.0.15". Try to install it... 1 attempt
      host.iobroker
      2022-12-23 19:10:42.155	info	iobroker npm-install: exit 25
      host.iobroker
      2022-12-23 19:10:41.114	error	iobroker npm-install: host.iobroker Cannot install iobroker.iot@1.11.9: 217
      host.iobroker
      2022-12-23 19:10:28.651	info	iobroker npm-install: NPM version: 8.15.0Installing iobroker.iot@1.11.9... (System call)
      

      ... ich habe die Ausgabe mal abgekürzt, da sich das mit jedem adapter wiederholt.

      ich habe bereits:

      iobroker stop
      iobroker fix
      iobroker start
      

      Lief durch, brachte aber keine Besserung.

      Hier die Ausgabe von iob diag

      Skript v.2022-12-13
      
      *** BASE SYSTEM ***
      Model           : Raspberry Pi 4 Model B Rev 1.5
      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:
       19:13:29 up 119 days,  1:52,  2 users,  load average: 2.35, 2.41, 2.36
      CPU threads: 4
      
      *** Time and Time Zones ***
      Fri Dec 23 18:13:29 UTC 2022
      Fri Dec 23 19:13: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:            3.8G        1.0G        1.0G        0.0K        1.8G        3.0G
      Swap:            99M         23M         76M
      Total:          3.9G        1.1G        1.1G
      
               3838 M total memory
               1036 M used memory
                850 M active memory
               1790 M inactive memory
               1023 M free memory
                151 M buffer memory
               1627 M swap cache
                 99 M total swap
                 23 M used swap
                 76 M free swap
      
      *** FILESYSTEM ***
      Filesystem     Type      Size  Used Avail Use% Mounted on
      /dev/root      ext4       59G  9.2G   47G  17% /
      devtmpfs       devtmpfs  1.8G     0  1.8G   0% /dev
      tmpfs          tmpfs     1.9G     0  1.9G   0% /dev/shm
      tmpfs          tmpfs     768M  832K  767M   1% /run
      tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
      /dev/mmcblk0p1 vfat      253M   50M  203M  20% /boot
      tmpfs          tmpfs     384M     0  384M   0% /run/user/1000
      
      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
      
      Files in neuralgic directories:
      
      /var:
      4.1G    /var/
      3.3G    /var/log
      1.8G    /var/log/journal/576f358b250c4617b98a23b9a999219a
      1.8G    /var/log/journal
      495M    /var/cache
      
      /opt/iobroker/backups:
      369M    /opt/iobroker/backups/
      
      /opt/iobroker/iobroker-data:
      1.3G    /opt/iobroker/iobroker-data/
      816M    /opt/iobroker/iobroker-data/backup-objects
      470M    /opt/iobroker/iobroker-data/files
      259M    /opt/iobroker/iobroker-data/files/ring.0
      134M    /opt/iobroker/iobroker-data/files/ring.0/doorbell_26202709
      
      The five largest files in iobroker-data are:
      37M     /opt/iobroker/iobroker-data/backup-objects/2022-12-22_15-42_states.jsonl.gz
      36M     /opt/iobroker/iobroker-data/backup-objects/2022-12-22_13-42_states.jsonl.gz
      35M     /opt/iobroker/iobroker-data/backup-objects/2022-12-22_19-42_states.jsonl.gz
      35M     /opt/iobroker/iobroker-data/backup-objects/2022-12-22_17-42_states.jsonl.gz
      33M     /opt/iobroker/iobroker-data/backup-objects/2022-12-23_15-42_states.jsonl.gz
      
      *** NodeJS-Installation ***
      
      /usr/bin/nodejs         v16.17.0
      /usr/bin/node           v16.17.0
      /usr/bin/npm            8.15.0
      
      nodejs:
        Installed: 16.17.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
       *** 16.17.0-deb-1nodesource1 100
              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: 84
      
      *** 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.web.1                    : 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    "admin"        : 6.3.5    , installed 6.3.5
      Adapter    "backitup"     : 2.5.9    , installed 2.5.9
      Adapter    "history"      : 2.2.4    , installed 2.2.4
      Adapter    "icons-addictive-flavour-png": 0.1.0, installed 0.1.0
      Adapter    "javascript"   : 6.1.4    , installed 6.1.4
      Controller "js-controller": 4.0.23   , installed 4.0.23
      Adapter    "scenes"       : 2.3.9    , installed 2.3.9
      
      Objects and States
      Please stand by - This may take a while
      Objects:        19878
      States:         14752
      
      *** OS-Repositories and Updates ***
      E: Repository 'https://packages.grafana.com/oss/deb stable InRelease' changed its 'Origin' value from 'grafana stable' to '. stable'
      E: Repository 'https://packages.grafana.com/oss/deb stable InRelease' changed its 'Label' value from 'grafana stable' to '. stable'
      Pending Updates: 92
      
      *** 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          11618      507/sshd: /usr/sbin 
      tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1001       258218158  1807/iobroker.js-co 
      tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1001       258216757  1807/iobroker.js-co 
      tcp        0      0 127.0.0.1:8088          0.0.0.0:*               LISTEN      999        11807      711/influxd         
      tcp6       0      0 :::22                   :::*                    LISTEN      0          11620      507/sshd: /usr/sbin 
      tcp6       0      0 :::8081                 :::*                    LISTEN      1001       258218204  1833/io.admin.0     
      tcp6       0      0 :::8086                 :::*                    LISTEN      999        14227      711/influxd         
      tcp6       0      0 :::3000                 :::*                    LISTEN      109        7422403    12980/grafana-serve 
      udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        14638      384/avahi-daemon: r 
      udp        0      0 0.0.0.0:37666           0.0.0.0:*                           108        14640      384/avahi-daemon: r 
      udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          11643      706/dhcpcd          
      udp6       0      0 :::5353                 :::*                                108        14639      384/avahi-daemon: r 
      udp6       0      0 :::59243                :::*                                108        14641      384/avahi-daemon: r 
      udp6       0      0 :::546                  :::*                                0          11655      706/dhcpcd          
      
      

      Könnt ihr mir bitte wieder helfen? Das wäre super 🙂

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

        @mojo1985

        sudo apt update
        sudo apt full-upgrade
        sudo reboot
        

        Rückfragen des Systems bejahen.

        Das ganze regelmäßig machen.

        Zum eigentlichen Problem:

        Ist oben angepinnt. Error 25 und npm8.

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

          @thomas-braun

          Mal wieder super schnell zur stelle Thomas 👍

          sudo apt full-upgrade
          

          läuft gerade.

          Leider sagt mir Error25 und npm8 gerade nicht viel. Sollte es mit der von dir genannten Maßnahme schon wieder laufen?

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

            @mojo1985

            Nein, das wird so noch nicht laufen. Du musst das noch abarbeiten:

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

            Mojo1985 2 Replies Last reply Reply Quote 1
            • Mojo1985
              Mojo1985 @Thomas Braun last edited by

              @thomas-braun

              Ok, werd ich machen und berichten!

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

                @thomas-braun

                Nur um sicher zu gehen dass ich jetzt keinen Mist mache.

                Ich wechsle jetzt in das Verzeichnis: /opt/iobroker/node_modules und gebe dort den Befehl

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

                ein?

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

                  @mojo1985

                  Es ist (mittlerweile) egal wo der Befehl ausgeführt wird.
                  Der Hinweis auf das Verzeichnis ist für eine ältere Version der Befehlskette.

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

                    @thomas-braun

                    Vielen Dank Thomas! Scheint zu laufen. Er installiert die Adapter jetzt 🙂

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

                    Support us

                    ioBroker
                    Community Adapters
                    Donate

                    814
                    Online

                    31.9k
                    Users

                    80.1k
                    Topics

                    1.3m
                    Posts

                    2
                    8
                    665
                    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