Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Backup wiederherstellen auf js-controller 4.0

    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

    Backup wiederherstellen auf js-controller 4.0

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

      @Thomas-Braun

      Ich habe jetzt viel ausprobiert. Ich bekomme es einfach nicht hin mit dem iob diag. Passwort gesetzt und als "root" in den einstellungen gesetzt. In sshd_config auf "yes" geändert und auch rebootet. Ich bekomme einfach keine Ausgabe von iob diag.

      Danke dir Thomas für deine Hilfe. Ich werde mal lieber anfangen alles neu aufzusetzten.

      Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @xT1GeRx last edited by

        @xt1gerx

        Dann ruf das direkt auf.

        curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh
        

        Und wenn ich

        Passwort gesetzt und als "root" in den einstellungen gesetzt.

        lese weiß ich eigentlich auch schon genug über die Kiste...
        Es wird weder root direkt verwendet noch bekommt der ein Passwort verpasst.

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

          @xt1gerx sagte in Backup wiederherstellen auf js-controller 4.0:

          Ich werde mal lieber anfangen alles neu aufzusetzten.

          nur die Ruhe!
          bitte keine nicht abgesprochenen Aktionen, wie

          @xt1gerx sagte in Backup wiederherstellen auf js-controller 4.0:

          Passwort gesetzt und als "root" in den einstellungen gesetzt. In sshd_config auf "yes" geändert und auch rebootet

          einfach nur iob diag eingeben und in code-tags zeigen was passiert!

          ich denke der iob diag

          @homoran sagte in Backup wiederherstellen auf js-controller 4.0:

          wird wohl nur mit dem direkten Aufruf per Link klappen

          Dazu braucht es aber erstmal dein Feedback

          siehe auch
          https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge/1

          1 Reply Last reply Reply Quote 0
          • X
            xT1GeRx last edited by

            @Thomas-Braun

            Das ist eine frische instalation. Keine Ahnung wieso das so ist. Jedoch hat es mit dem Befehl geklappt.
            Hier mal alles war er ausgespuckt hat:

            ========== Start marking the full check here ===========

            Script v.2025-03-08
            
            *** BASE SYSTEM ***
             Static hostname: iobroker
                   Icon name: computer
            Operating System: Debian GNU/Linux 12 (bookworm)
                      Kernel: Linux 6.12.25+rpt-rpi-v8
                Architecture: arm64
            OS is similar to:
            
            Model           : Raspberry Pi 4 Model B Rev 1.2
            Docker          : false
            Virtualization  : none
            Kernel          : aarch64
            Userland        : 64 bit
            
            Systemuptime and Load:
             17:10:53 up 39 min,  1 user,  load average: 0.24, 0.08, 0.02
            CPU threads: 4
            
            
            *** LIFE CYCLE STATUS ***
            Operating System is the current Debian stable version codenamed 'bookworm'!
            
            *** RASPBERRY THROTTLING ***
            Current issues:
            No throttling issues detected.
            
            Previously detected issues:
            No throttling issues detected.
            
            *** TIME AND TIMEZONES ***
                           Local time: Mon 2025-06-09 17:10:54 CEST
                       Universal time: Mon 2025-06-09 15:10:54 UTC
                             RTC time: n/a
                            Time zone: Europe/Berlin (CEST, +0200)
            System clock synchronized: yes
                          NTP service: active
                      RTC in local TZ: no
            
            *** Users and Groups ***
            User that called 'iob diag':
            admin
            HOME=/home/admin
            GROUPS=admin adm dialout cdrom sudo audio video plugdev games users input render netdev gpio i2c spi iobroker
            
            User that is running 'js-controller':
            iobroker
            HOME=/home/iobroker
            GROUPS=iobroker tty dialout audio video plugdev bluetooth gpio i2c
            
            *** DISPLAY-SERVER SETUP ***
            Display-Server: false
            Desktop:
            Terminal:       tty
            
            *** MEMORY ***
                           total        used        free      shared  buff/cache   available
            Mem:            4.0G        523M        3.2G        6.2M        313M        3.5G
            Swap:           536M          0B        536M
            Total:          4.5G        523M        3.8G
            
            Active iob-Instances:   4
            
                     3791 M total memory
                      499 M used memory
                      527 M active memory
                       85 M inactive memory
                     3065 M free memory
                       31 M buffer memory
                      267 M swap cache
                      511 M total swap
                        0 M used swap
                      511 M free swap
            
            *** top - Table Of Processes  ***
            top - 17:10:54 up 39 min,  1 user,  load average: 0.24, 0.08, 0.02
            Tasks: 169 total,   1 running, 168 sleeping,   0 stopped,   0 zombie
            %Cpu(s):  0.0 us, 20.0 sy,  0.0 ni, 80.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
            MiB Mem :   3791.4 total,   3064.0 free,    501.0 used,    298.9 buff/cache
            MiB Swap:    512.0 total,    512.0 free,      0.0 used.   3290.5 avail Mem
            
            *** FAILED SERVICES ***
            
              UNIT LOAD ACTIVE SUB DESCRIPTION
            0 loaded units listed.
            
            
            *** DMESG CRITICAL ERRORS ***
            No critical errors detected
            
            *** FILESYSTEM ***
            Filesystem     Type      Size  Used Avail Use% Mounted on
            udev           devtmpfs  1.6G     0  1.6G   0% /dev
            tmpfs          tmpfs     380M  5.9M  374M   2% /run
            /dev/mmcblk0p2 ext4      117G  3.2G  108G   3% /
            tmpfs          tmpfs     1.9G     0  1.9G   0% /dev/shm
            tmpfs          tmpfs     5.0M   16K  5.0M   1% /run/lock
            /dev/mmcblk0p1 vfat      510M   56M  455M  11% /boot/firmware
            tmpfs          tmpfs     380M     0  380M   0% /run/user/1000
            
            Messages concerning ext4 filesystem in dmesg:
            [Mon Jun  9 16:30:57 2025] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0                                                                    cgroup_disable=memory numa_policy=interleave snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm283                                                                   5.enable_hdmi=0  smsc95xx.macaddr=DC:A6:32:B9:D2:87 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  consol                                                                   e=ttyS0,115200 console=tty1 root=PARTUUID=ed3ceec2-02 rootfstype=ext4 fsck.repair=yes rootwait
            [Mon Jun  9 16:30:58 2025] EXT4-fs (mmcblk0p2): mounted filesystem d4cc7d63-da78-48ad-9bdd-64ffbba449a8 ro with o                                                                   rdered data mode. Quota mode: none.
            [Mon Jun  9 16:31:00 2025] EXT4-fs (mmcblk0p2): re-mounted d4cc7d63-da78-48ad-9bdd-64ffbba449a8 r/w. Quota mode:                                                                    none.
            
            Show mounted filesystems:
            TARGET           SOURCE         FSTYPE OPTIONS
            /                /dev/mmcblk0p2 ext4   rw,noatime
            `-/boot/firmware /dev/mmcblk0p1 vfat   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=m
            
            Files in neuralgic directories:
            
            /var:
            889M    /var/
            213M    /var/cache
            208M    /var/cache/apt
            164M    /var/lib
            135M    /var/lib/apt/lists
            
            Archived and active journals take up 4.7M in the file system.
            
            /opt/iobroker/backups:
            4.0K    /opt/iobroker/backups/
            
            /opt/iobroker/iobroker-data:
            71M     /opt/iobroker/iobroker-data/
            63M     /opt/iobroker/iobroker-data/files
            47M     /opt/iobroker/iobroker-data/files/admin.admin
            46M     /opt/iobroker/iobroker-data/files/admin.admin/custom/assets
            46M     /opt/iobroker/iobroker-data/files/admin.admin/custom
            
            The five largest files in iobroker-data are:
            8.1M    /opt/iobroker/iobroker-data/files/backitup.admin/assets/index-BFvcOIQE.js
            5.5M    /opt/iobroker/iobroker-data/objects.jsonl
            3.7M    /opt/iobroker/iobroker-data/files/backitup.admin/custom/assets/index-CyIqcfMJ.js
            3.7M    /opt/iobroker/iobroker-data/files/admin.admin/custom/assets/index-ZPb95xPG.js
            3.7M    /opt/iobroker/iobroker-data/files/admin.admin/custom/assets/index-IIKn7Ixx.js
            
            USB-Devices by-id:
            USB-Sticks -  Avoid direct links to /dev/tty* in your adapter setups, please always prefer the links 'by-id':
            
            /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B001CDD3476-if00
            
            Zigbee Network Settings on your coordinator/in nvbackup are:
            
            zigbee.X
            Extended Pan ID:
            *** MASKED ***
            Pan ID:
            *** MASKED ***
            Channel:
            *** MASKED ***
            Network Key:
            *** MASKED ***
            
            To unmask the settings run 'iob diag --unmask'
            
            
            *** NodeJS-Installation ***
            
            /usr/bin/nodejs         v20.19.2
            /usr/bin/node           v20.19.2
            /usr/bin/npm            10.8.2
            /usr/bin/npx            10.8.2
            /usr/bin/corepack       0.31.0
            
            nodejs:
              Installed: 20.19.2-1nodesource1
              Candidate: 20.19.2-1nodesource1
              Version table:
             *** 20.19.2-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                    100 /var/lib/dpkg/status
                 20.19.1-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                 20.19.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                 20.18.3-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                 20.18.2-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                 20.18.1-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                 20.18.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                 20.17.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                 20.16.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                 20.15.1-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                 20.15.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                 20.14.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                 20.13.1-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                 20.13.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                 20.12.2-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                 20.12.1-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                 20.12.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                 20.11.1-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                 20.11.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                 20.10.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                 20.9.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                 20.8.1-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                 20.8.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                 20.7.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                 20.6.1-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                 20.6.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                 20.5.1-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                 20.5.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                 20.4.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                 20.3.1-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                 20.3.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                 20.2.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                 20.1.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                 20.0.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                 18.19.0+dfsg-6~deb12u2 500
                    500 http://deb.debian.org/debian bookworm/main arm64 Packages
                 18.19.0+dfsg-6~deb12u1 500
                    500 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages
            
            Temp directories causing deletion problem: 0
            No problems detected
            
            Errors in npm tree: 0
            No problems detected
            
            *** ioBroker-Installation ***
            
            ioBroker Status
            iobroker is running on this host.
            
            
            Objects type: jsonl
            States  type: jsonl
            
            Hosts:
            iobroker            iobroker (version: 7.0.6, hostname: iobroker      , alive, uptime: 2390)
            
            Core adapters versions
            js-controller:  7.0.6
            admin:          7.6.17
            javascript:     "javascript" not found
            
            nodejs modules from github:     0
            
            Adapter State
            + system.adapter.admin.0                  : admin                 : iobroker                                 -  e                                                                   nabled, port: 8081, bind: 0.0.0.0, run as: admin
            + system.adapter.backitup.0               : backitup              : iobroker                                 -  e                                                                   nabled
            + system.adapter.discovery.0              : discovery             : iobroker                                 -  e                                                                   nabled
            
            + instance is alive
            
            Enabled adapters with bindings
            + system.adapter.admin.0                  : admin                 : iobroker                                 -  e                                                                   nabled, port: 8081, bind: 0.0.0.0, run as: admin
            
            ioBroker-Repositories
            ┌─────────┬──────────┬─────────────────────────────────────────────────────────┬──────────────┐
            │ (index) │ name     │ url                                                     │ auto upgrade │
            ├─────────┼──────────┼─────────────────────────────────────────────────────────┼──────────────┤
            │ 0       │ 'stable' │ 'http://download.iobroker.net/sources-dist.json'        │ false        │
            │ 1       │ 'beta'   │ 'http://download.iobroker.net/sources-dist-latest.json' │ false        │
            └─────────┴──────────┴─────────────────────────────────────────────────────────┴──────────────┘
            
            Active repo(s): stable
            Upgrade policy: none
            
            Installed ioBroker-Adapters
            Used repository: stable
            Adapter    "admin"        : 7.6.17   , installed 7.6.17
            Adapter    "backitup"     : 3.2.2    , installed 3.2.2
            Adapter    "discovery"    : 5.0.0    , installed 5.0.0
            Controller "js-controller": 7.0.6    , installed 7.0.6
            
            Objects and States
            Please stand by - This may take a while
            Objects:        149
            States:         108
            
            *** OS-Repositories and Updates ***
            Hit:1 http://deb.debian.org/debian bookworm InRelease
            Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
            Hit:3 http://archive.raspberrypi.com/debian bookworm InRelease
            Hit:4 http://deb.debian.org/debian bookworm-updates InRelease
            Hit:5 https://deb.nodesource.com/node_20.x nodistro InRelease
            Reading package lists... Done
            Pending Updates: 48
            
            *** 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          5553       599/sshd: /                                                                   usr/sbin
            tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1001       2794       590/iobroke                                                                   r.js-con
            tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1001       2789       590/iobroke                                                                   r.js-con
            tcp6       0      0 :::22                   :::*                    LISTEN      0          5555       599/sshd: /                                                                   usr/sbin
            tcp6       0      0 :::8081                 :::*                    LISTEN      1001       5650       706/io.admi                                                                   n.0
            udp        0      0 0.0.0.0:51753           0.0.0.0:*                           104        2729       458/avahi-d                                                                   aemon: r
            udp        0      0 0.0.0.0:5353            0.0.0.0:*                           104        2727       458/avahi-d                                                                   aemon: r
            udp6       0      0 fe80::76d4:1422:ca5:546 :::*                                0          2786       536/Network                                                                   Manager
            udp6       0      0 :::41991                :::*                                104        2730       458/avahi-d                                                                   aemon: r
            udp6       0      0 :::5353                 :::*                                104        2728       458/avahi-d                                                                   aemon: r
            
            *** Log File - Last 25 Lines ***
            
            2025-06-09 16:30:00.495  - warn: admin.0 (670) Terminated (ADAPTER_ALREADY_RUNNING): Without reason
            2025-06-09 16:30:01.058  - error: host.iobroker instance system.adapter.admin.0 terminated with code 7 (ADAPTER_A                                                                   LREADY_RUNNING)
            2025-06-09 16:30:01.059  - info: host.iobroker Restart adapter system.adapter.admin.0 because enabled
            2025-06-09 16:30:02.534  - error: backitup.0 (681) backitup.0 already running
            2025-06-09 16:30:02.538  - warn: backitup.0 (681) Terminated (ADAPTER_ALREADY_RUNNING): Without reason
            2025-06-09 16:30:03.083  - error: host.iobroker instance system.adapter.backitup.0 terminated with code 7 (ADAPTE                                                                   R_ALREADY_RUNNING)
            2025-06-09 16:30:03.084  - info: host.iobroker Restart adapter system.adapter.backitup.0 because enabled
            2025-06-09 16:30:04.520  - info: host.iobroker instance system.adapter.discovery.0 in version "5.0.0" started wit                                                                   h pid 692
            2025-06-09 16:30:06.510  - error: discovery.0 (692) discovery.0 already running
            2025-06-09 16:30:06.514  - warn: discovery.0 (692) Terminated (ADAPTER_ALREADY_RUNNING): Without reason
            2025-06-09 16:30:07.059  - error: host.iobroker instance system.adapter.discovery.0 terminated with code 7 (ADAPT                                                                   ER_ALREADY_RUNNING)
            2025-06-09 16:30:07.060  - info: host.iobroker Restart adapter system.adapter.discovery.0 because enabled
            2025-06-09 16:31:44.550  - info: host.iobroker instance system.adapter.admin.0 in version "7.6.17" started with p                                                                   id 706
            2025-06-09 16:31:46.585  - info: host.iobroker instance system.adapter.backitup.0 in version "3.2.2" started with                                                                    pid 713
            2025-06-09 16:31:47.885  - info: admin.0 (706) starting. Version 7.6.17 in /opt/iobroker/node_modules/iobroker.ad                                                                   min, node: v20.19.2, js-controller: 7.0.6
            2025-06-09 16:31:47.976  - info: admin.0 (706) requesting all objects
            2025-06-09 16:31:48.950  - info: admin.0 (706) received all objects
            2025-06-09 16:31:49.539  - info: backitup.0 (713) starting. Version 3.2.2 in /opt/iobroker/node_modules/iobroker.                                                                   backitup, node: v20.19.2, js-controller: 7.0.6
            2025-06-09 16:31:49.595  - info: admin.0 (706) socket.io server listening on port 8081
            2025-06-09 16:31:49.600  - info: admin.0 (706) http server listening on port 8081
            2025-06-09 16:31:49.600  - info: admin.0 (706) Use link "http://127.0.0.1:8081" to configure.
            2025-06-09 16:31:49.758  - info: backitup.0 (713) [iobroker] backup will be activated at 02:48 every 1 day(s)
            2025-06-09 16:31:50.529  - info: host.iobroker instance system.adapter.discovery.0 in version "5.0.0" started wit                                                                   h pid 749
            2025-06-09 16:31:53.441  - info: discovery.0 (749) starting. Version 5.0.0 in /opt/iobroker/node_modules/iobroker                                                                   .discovery, node: v20.19.2, js-controller: 7.0.6
            2025-06-09 17:02:33.535  - info: admin.0 (706) ==> Connected system.user.admin from ::ffff:192.168.178.40
            
            

            ============ Mark until here for C&P =============

            iob diag has finished.

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

              @xt1gerx sagte in Backup wiederherstellen auf js-controller 4.0:

              Das ist eine frische instalation.

              wir brauchen es aber von der alten!

              1 Reply Last reply Reply Quote 0
              • X
                xT1GeRx last edited by

                @Thomas-Braun

                Zu der alten hab ich nichts mehr. Wie gesagt. Nach dem Updaten ging nichts mehr. Auch kein ssh, kein Zugriff ansich.

                Wie ist deine Persönliche Meinung. Lohnt sich der Aufwand oder soll ich es einfach neu aufsetzten? Ich möchte euch hier nicht eurer Zeit berauben.

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

                  @xt1gerx

                  Dann versuch jetzt mal die Backupdatei aus der cloud in /opt/iobroker/backups abzulegen und per

                  iobroker restore <backup name or path>   
                  

                  das wiederherzustellen. Ausgaben vollständig zeigen.

                  1 Reply Last reply Reply Quote 0
                  • X
                    xT1GeRx last edited by Homoran

                    @Thomas-Braun

                    admin@iobroker:~ $ iobroker restore iobroker_2025_06_07-23_23_27_backupiobroker
                    
                    host.iobroker Restore legacy backup.
                    The current version of js-controller differs from the version in the backup.
                    The js-controller version of the backup can not be restored automatically.
                    To restore the js-controller version of the backup, execute "npm i iobroker.js-controller@4.0.23 --omit=dev" insid                     e your ioBroker directory
                    If you really want to restore the backup with the current installed js-controller, execute the restore command wit                     h the --force flag
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @xT1GeRx last edited by Thomas Braun

                      @xt1gerx

                      Da ist die Anleitung ja gleich mit dabei. Konkret also wohl dann:

                      cd /opt/iobroker/
                      npm i iobroker.js-controller@4.0.23 --omit=dev
                      iobroker restore iobroker_2025_06_07-23_23_27_backupiobroker
                      
                      1 Reply Last reply Reply Quote 0
                      • X
                        xT1GeRx last edited by

                        @Thomas-Braun

                        Es hat mal soweit alles funktioniert. Ich komme jedoch nicht auf die ioBroker Seite. Weder mit dem Port 8081 noch mit 8082. Habe mal einen check gemacht und das kam raus. Ein paar Instanzen fehlen, ist jedoch nicht so wild.

                        admin@iobroker:~ $ iobroker status
                        iobroker is running on this host.
                        
                        Objects type: jsonl
                        States  type: jsonl
                        
                        admin@iobroker:~ $ iobroker list instances
                          system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bi                        nd: 0.0.0.0, run as: admin
                        + system.adapter.backitup.0               : backitup              : iobroker                                 -  enabled
                          system.adapter.birthdays.0              : birthdays             : iobroker                                 - disabled
                          system.adapter.daswetter.0              : daswetter             : iobroker                                 - disabled
                          system.adapter.discovery.0              : discovery             : iobroker                                 - disabled
                          system.adapter.dwd.0                    : dwd                   : iobroker                                 - disabled
                          system.adapter.fullybrowser.0           : fullybrowser          : iobroker                                 - disabled
                          system.adapter.hmip.0                   : hmip                  : iobroker                                 - disabled
                          system.adapter.hue.0                    : hue                   : iobroker                                 - disabled, port: 443
                          system.adapter.javascript.0             : javascript            : iobroker                                 - disabled
                          system.adapter.pollenflug.0             : pollenflug            : iobroker                                 - disabled
                          system.adapter.pushover.0               : pushover              : iobroker                                 - disabled
                          system.adapter.rpi2.0                   : rpi2                  : iobroker                                 - disabled
                          system.adapter.tankerkoenig.0           : tankerkoenig          : iobroker                                 - disabled
                          system.adapter.vis-hqwidgets.0          : vis-hqwidgets         : iobroker                                 - disabled
                          system.adapter.vis-icontwo.0            : vis-icontwo           : iobroker                                 - disabled
                          system.adapter.vis-inventwo.0           : vis-inventwo          : iobroker                                 - disabled
                          system.adapter.vis-jqui-mfd.0           : vis-jqui-mfd          : iobroker                                 - disabled
                          system.adapter.vis-timeandweather.0     : vis-timeandweather    : iobroker                                 - disabled
                          system.adapter.vis.0                    : vis                   : iobroker                                 - disabled
                          system.adapter.web.0                    : web                   : iobroker                                 - disabled, port: 8082, bi                        nd: 0.0.0.0, run as: admin
                          system.adapter.zigbee.0                 : zigbee                : iobroker                                 - disabled
                        
                        + instance is alive
                        
                        Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @xT1GeRx last edited by

                          @xt1gerx

                          iob start admin
                          
                          1 Reply Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators @xT1GeRx last edited by

                            @xt1gerx sagte in Backup wiederherstellen auf js-controller 4.0:

                            Ein paar Instanzen fehlen, ist jedoch nicht so wild.

                            Geduld!
                            so ein Restore dauert!
                            je nach Gardware auch mal eine Stunde.
                            bis das fertig ist solltest du nicht eingreifen

                            1 Reply Last reply Reply Quote 1
                            • X
                              xT1GeRx last edited by

                              Alles klar. Ich warte dann mal bis 20 Uhr ab und melde mich dann nochmals. Vielen Dank @Thomas-Braun

                              Danke auch @Homoran

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

                                @xt1gerx sagte in Backup wiederherstellen auf js-controller 4.0:

                                Ich warte dann mal bis 20 Uhr ab und melde mich dann nochmals.

                                was sagt denn iob logs --watch

                                das müsste mittlerweile eigentlich fertig sein.

                                1 Reply Last reply Reply Quote 0
                                • X
                                  xT1GeRx last edited by

                                  @homoran ich habe mal die warnings rausgesucht. Die Liste ist aktuell über 1000 Zeilen Lang.

                                  2025-06-09 17:56:41.710  - error: admin.0 (2990) Cannot create web-server: TypeError: Cannot read properties of undefined (reading 'createServerAsync')
                                  2025-06-09 17:56:42.746  - error: host.iobroker instance system.adapter.admin.0 terminated by request of the instance itself and will not be restarted, before user resarts it.
                                  2025-06-09 17:57:31.161  - warn: host.iobroker startInstance cannot find adapter "javascript@6.0.3". Try to install it... 1 attempt
                                  2025-06-09 18:00:28.860  - error: admin.0 (3429) Cannot create web-server: TypeError: Cannot read properties of undefined (reading 'createServerAsync')
                                  2025-06-09 18:00:29.853  - error: host.iobroker instance system.adapter.admin.0 terminated by request of the instance itself and will not be restarted, before user rest                                                                     arts it.
                                  
                                  2025-06-09 18:11:13.453  - error: admin.0 (4020) Cannot create web-server: TypeError: Cannot read properties of undefined (reading 'createServerAsync')
                                  2025-06-09 18:11:13.455  - info: admin.0 (4020) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                  2025-06-09 18:11:13.768  - info: admin.0 (4020) Request actual repository...
                                  2025-06-09 18:11:14.024  - warn: admin.0 (4020) Cannot check node.js/npm version
                                  2025-06-09 18:11:14.048  - info: admin.0 (4020) terminating http server on port 8081
                                  2025-06-09 18:11:14.533  - error: host.iobroker instance system.adapter.admin.0 terminated by request of the instance itself and will not be restarted, before user rest                                                                     arts it.
                                  
                                  2025-06-09 18:27:24.227  - error: admin.0 (4479) Cannot create web-server: TypeError: Cannot read properties of undefined (reading 'createServerAsync')
                                  2025-06-09 18:27:24.230  - info: admin.0 (4479) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                  2025-06-09 18:27:24.501  - info: admin.0 (4479) Request actual repository...
                                  2025-06-09 18:27:24.778  - warn: admin.0 (4479) Cannot check node.js/npm version
                                  2025-06-09 18:27:25.039  - info: admin.0 (4479) terminating http server on port 8081
                                  2025-06-09 18:27:25.449  - info: host.iobroker Updating repository "stable" under "http://download.iobroker.net/sources-dist.json"
                                  2025-06-09 18:27:25.514  - error: host.iobroker instance system.adapter.admin.0 terminated by request of the instance itself and will not be restarted, before user rest                                                                     arts it.
                                  2025-06-09 18:27:25.514  - info: host.iobroker Do not restart adapter system.adapter.admin.0 because desired by instance
                                  2025-06-09 18:27:26.456  - info: backitup.0 (4506) starting. Version 2.5.12 in /opt/iobroker/node_modules/iobroker.backitup, node: v20.19.2, js-controller: 4.0.23
                                  2025-06-09 18:27:26.557  - info: backitup.0 (4506) [iobroker] backup was activated at 02:30 every 1 day(s)
                                  

                                  Wie es aussieht gibt es ein Problem mit dem Admin Web Zugang oder?

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

                                    @xt1gerx sagte in Backup wiederherstellen auf js-controller 4.0:

                                    ich habe mal die warnings rausgesucht

                                    uninteressant!

                                    es geht um die gerade aktuellen Meldungen!

                                    die geposteten sind ja "uralt"

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

                                      @xt1gerx

                                      Ist das Backup jetzt drin?
                                      Dann musst du jetzt den Rest in die Gegenwart holen.
                                      Inkl. des js-controllers@7 dann.

                                      X 1 Reply Last reply Reply Quote 0
                                      • X
                                        xT1GeRx last edited by

                                        @Thomas-Braun

                                        aktuell die letzten. Kann auch die komplette Liste einfügen?

                                        2025-06-09 18:27:24.286  - info: host.iobroker instance system.adapter.backitup.0 started with pid 4506
                                        2025-06-09 18:27:24.227  - error: admin.0 (4479) Cannot create web-server: TypeError: Cannot read properties of undefined (reading 'createServerAsync')
                                        2025-06-09 18:27:24.230  - info: admin.0 (4479) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                        2025-06-09 18:27:24.501  - info: admin.0 (4479) Request actual repository...
                                        2025-06-09 18:27:24.778  - warn: admin.0 (4479) Cannot check node.js/npm version
                                        2025-06-09 18:27:25.039  - info: admin.0 (4479) terminating http server on port 8081
                                        2025-06-09 18:27:25.449  - info: host.iobroker Updating repository "stable" under "http://download.iobroker.net/sources-dist.json"
                                        2025-06-09 18:27:25.514  - error: host.iobroker instance system.adapter.admin.0 terminated by request of the instance itself and will not be restarted, before user restarts it.
                                        2025-06-09 18:27:25.514  - info: host.iobroker Do not restart adapter system.adapter.admin.0 because desired by instance
                                        2025-06-09 18:27:26.456  - info: backitup.0 (4506) starting. Version 2.5.12 in /opt/iobroker/node_modules/iobroker.backitup, node: v20.19.2, js-controller: 4.0.23
                                        2025-06-09 18:27:26.557  - info: backitup.0 (4506) [iobroker] backup was activated at 02:30 every 1 day(s)
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • X
                                          xT1GeRx @Thomas Braun last edited by

                                          @thomas-braun ich würde sagen das das backup geladen ist. Verstehe ich das richtig, dass ich zuerst alles updaten soll bevor der Webzugang wieder geht? Wenn ja, hättest du mir eine sichere anleitung, bevor ich wieder was versaue?

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

                                            @xt1gerx

                                            Dann lass uns doch mal sehen, wo du da nun stehst.

                                            iob diag
                                            

                                            anschauen.

                                            X 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

                                            751
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            3
                                            32
                                            614
                                            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