Navigation

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

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Backup wiederherstellen

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

      @christoph-g sagte in Backup wiederherstellen:

      Habe aktuell nur nen Raspi 2 zur Hand, kann es sein, dass Bookworm da nicht läuft?

      Doch, aber nur SEEEEHR gemütlich und ggf. laufen ein paar zusätzliche Programme nicht.
      Ich würde schauen da was aktuelleres hinzustellen. Macht das ganze Unterfangen etwas leichter.

      1 Reply Last reply Reply Quote 0
      • Codierknecht
        Codierknecht Developer Most Active @Christoph G last edited by

        @christoph-g sagte in Backup wiederherstellen:

        Bin sowieso nur über ssh drauf

        Eben 😁

        Habe aktuell nur nen Raspi 2 zur Hand

        Zur Not eine Windows-Kiste, um erstmal das alte Backup wiederherstellen zu können.
        Danach Upgrade und neues Backup erzeugen. Das kann dann in einem frischen ioBroker wiederhergestellt werden.

        Oder wie @Thomas-Braun schreibt: Alle neu macht der Mai Oktober.
        Backup hast Du ja. ioBroker neu aufsetzen, Downgrade des JS-Controller auf die passende Version und nach dem Restore alles auf neuesten Stand bringen.

        1 Reply Last reply Reply Quote 0
        • Dr. Bakterius
          Dr. Bakterius Most Active @Christoph G last edited by Dr. Bakterius

          @christoph-g sagte in Backup wiederherstellen:

          Habe aktuell nur nen Raspi 2 zur Hand

          Da musst du dann wirklich viel Geduld aufbringen nach dem Restore. Es werden dann nämlich erst die ganzen Adapter neu installiert - und das dauert eben seine Zeit. Und unter Umständen wird dabei auch der RAM / Cache voll ausgelastet und der Restore klappt dann nicht vollständig. Vor allem wenn auch noch ein Desktop geladen werden muss. Also wie @Thomas-Braun schon schrieb: ein paar Euro für aktuellere Hardware in die Hand nehmen (und den Desktop weg lassen) ist sicher nicht verkehrt.

          Du hast auch nicht die Langfassung von iob diag gezeigt, sondern die Kurzfassung. Und da sieht man schon, dass die web-Instanz nicht läuft - also auch keine VIS. Es wurde vermutlich auch noch kein Restore durchgeführt (bei lediglich 2 aktiven Instanzen). Und warum bist du im beta-Zweig unterwegs? Es stehen auch 139 Systemupdates an und ein Reboot wäre fällig. Beim nächsten Mal vor der Installation von ioBroker das System auf aktuellen Stand bringen (sudo apt-get update && upgrade).

          Christoph G 2 Replies Last reply Reply Quote 0
          • Christoph G
            Christoph G @Dr. Bakterius last edited by

            @dr-bakterius said in Backup wiederherstellen:

            Da musst du dann wirklich viel Geduld aufbringen nach dem Restore. Es werden dann nämlich erst die ganzen Adapter neu installiert - und das dauert eben seine Zeit. Und unter Umständen wird dabei auch der RAM / Cache voll ausgelastet und der Restore klappt dann nicht vollständig. Vor allem wenn auch noch ein Desktop geladen werden muss. Also wie @Thomas-Braun schon schrieb: ein paar Euro für aktuellere Hardware in die Hand nehmen (und den Desktop weg lassen) ist sicher nicht verkehrt.
            Du hast auch nicht die Langfassung von iob diag gezeigt, sondern die Kurzfassung. Und da sieht man schon, dass die web-Instanz nicht läuft - also auch keine VIS. Es wurde vermutlich auch noch kein Restore durchgeführt (bei lediglich 2 aktiven Instanzen). Und warum bist du im beta-Zweig unterwegs? Es stehen auch 139 Systemupdates an und ein Reboot wäre fällig. Beim nächsten Mal vor der Installation von ioBroker das System auf aktuellen Stand bringen (sudo apt-get update && upgrade).

            Christoph G 1 Reply Last reply Reply Quote 0
            • Christoph G
              Christoph G @Christoph G last edited by

              @christoph-g
              Ich probiere gerade den js controller zu downgraden . Habe das mit

              cd /opt/iobroker
              iobroker fix
              iobroker stop
              npm i iobroker.js-controller@3.3.20 --production
              iobroker start
              

              Richtig?

              Weil es danach nichtmehr lief.
              Oder muss node js auch downgraden werden??

              Gruß

              1 Reply Last reply Reply Quote 0
              • Christoph G
                Christoph G @Dr. Bakterius last edited by

                @dr-bakterius
                ======== Start marking the full check here =========

                Skript v.2023-10-10
                
                *** BASE SYSTEM ***
                   Static hostname: raspberrypi
                         Icon name: computer
                  Operating System: Raspbian GNU/Linux 11 (bullseye)
                            Kernel: Linux 6.1.21-v7+
                      Architecture: arm
                
                Model           : Raspberry Pi 2 Model B Rev 1.1
                Docker          : false
                Virtualization  : none
                Kernel          : armv7l
                Userland        : armhf
                
                Systemuptime and Load:
                 15:40:41 up  1:00,  1 user,  load average: 0.10, 0.03, 0.01
                CPU threads: 4
                
                
                *** RASPBERRY THROTTLING ***
                Current issues:
                No throttling issues detected.
                
                Previously detected issues:
                No throttling issues detected.
                
                *** Time and Time Zones ***
                               Local time: Fri 2023-10-27 15:40:42 CEST
                           Universal time: Fri 2023-10-27 13:40:42 UTC
                                 RTC time: n/a
                                Time zone: Europe/Berlin (CEST, +0200)
                System clock synchronized: yes
                              NTP service: active
                          RTC in local TZ: no
                
                *** User and Groups ***
                budde
                /home/budde
                budde 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
                Boot Target:    multi-user.target
                
                *** MEMORY ***
                               total        used        free      shared  buff/cache   available
                Mem:            921M        137M        628M        0.0K        155M        732M
                Swap:            99M          0B         99M
                Total:          1.0G        137M        728M
                
                          921 M total memory
                          138 M used memory
                           91 M active memory
                          153 M inactive memory
                          628 M free memory
                           28 M buffer memory
                          126 M swap cache
                           99 M total swap
                            0 M used swap
                           99 M free swap
                
                Raspberry only:
                oom events: 0
                lifetime oom required: 0 Mbytes
                total time in oom handler: 0 ms
                max time spent in oom handler: 0 ms
                
                *** FAILED SERVICES ***
                
                  UNIT LOAD ACTIVE SUB DESCRIPTION
                0 loaded units listed.
                
                *** FILESYSTEM ***
                Filesystem     Type      Size  Used Avail Use% Mounted on
                /dev/root      ext4       57G  2.5G   52G   5% /
                devtmpfs       devtmpfs  333M     0  333M   0% /dev
                tmpfs          tmpfs     461M     0  461M   0% /dev/shm
                tmpfs          tmpfs     185M  988K  184M   1% /run
                tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
                /dev/mmcblk0p1 vfat      255M   51M  205M  20% /boot
                tmpfs          tmpfs      93M     0   93M   0% /run/user/1000
                
                Messages concerning ext4 filesystem in dmesg:
                [Fri Oct 27 14:39:56 2023] Kernel command line: coherent_pool=1M snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0 video=Composite-1:720x480@60i vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyAMA0,115200 console=tty1 root=PARTUUID=de441372-02 rootfstype=ext4 fsck.repair=yes rootwait
                [Fri Oct 27 14:40:00 2023] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
                [Fri Oct 27 14:40:00 2023] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
                [Fri Oct 27 14:40:01 2023] EXT4-fs (mmcblk0p2): recovery complete
                [Fri Oct 27 14:40:01 2023] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none.
                [Fri Oct 27 14:40:01 2023] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
                [Fri Oct 27 14:40:05 2023] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none.
                
                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,errors=remount-ro
                
                Files in neuralgic directories:
                
                /var:
                506M    /var/
                247M    /var/cache
                241M    /var/cache/apt
                177M    /var/cache/apt/archives
                94M     /var/lib
                
                Archived and active journals take up 64.0M in the file system.
                
                /opt/iobroker/backups:
                3.4M    /opt/iobroker/backups/
                
                /opt/iobroker/iobroker-data:
                72M     /opt/iobroker/iobroker-data/
                58M     /opt/iobroker/iobroker-data/files
                30M     /opt/iobroker/iobroker-data/files/web.admin/static
                30M     /opt/iobroker/iobroker-data/files/web.admin
                29M     /opt/iobroker/iobroker-data/files/web.admin/static/js
                
                The five largest files in iobroker-data are:
                21M     /opt/iobroker/iobroker-data/files/web.admin/static/js/main.edf7552a.js.map
                8.3M    /opt/iobroker/iobroker-data/files/web.admin/static/js/main.edf7552a.js
                6.3M    /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_js-node_modules_iobr-99c23e.847b8ad9.chunk.js.map
                3.8M    /opt/iobroker/iobroker-data/objects.jsonl
                2.8M    /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_js-node_modules_iobr-99c23e.847b8ad9.chunk.js
                
                USB-Devices by-id:
                USB-Sticks -  Avoid direct links to /dev/* in your adapter setups, please always prefer the links 'by-id':
                
                find: '/dev/serial/by-id/': No such file or directory
                
                *** NodeJS-Installation ***
                
                /usr/bin/nodejs         v18.18.2
                /usr/bin/node           v18.18.2
                /usr/bin/npm            9.8.1
                /usr/bin/npx            9.8.1
                /usr/bin/corepack       0.19.0
                
                
                nodejs:
                  Installed: 18.18.2-1nodesource1
                  Candidate: 18.18.2-1nodesource1
                  Version table:
                 *** 18.18.2-1nodesource1 500
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                        100 /var/lib/dpkg/status
                     18.18.1-1nodesource1 500
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.18.0-1nodesource1 500
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.17.1-1nodesource1 500
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.17.0-1nodesource1 500
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.16.1-1nodesource1 500
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.16.0-1nodesource1 500
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.15.0-1nodesource1 500
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.14.2-1nodesource1 500
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.14.1-1nodesource1 500
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.14.0-1nodesource1 500
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.13.0-1nodesource1 500
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.12.0-1nodesource1 500
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.11.0-1nodesource1 500
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.10.0-1nodesource1 500
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.9.1-1nodesource1 500
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.9.0-1nodesource1 500
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.8.0-1nodesource1 500
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.7.0-1nodesource1 500
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.6.0-1nodesource1 500
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.5.0-1nodesource1 500
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.4.0-1nodesource1 500
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.3.0-1nodesource1 500
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.2.0-1nodesource1 500
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.1.0-1nodesource1 500
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     18.0.0-1nodesource1 500
                        500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                     12.22.12~dfsg-1~deb11u4 500
                        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                
                Temp directories causing npm8 problem: 0
                No problems detected
                
                Errors in npm tree:
                
                *** ioBroker-Installation ***
                
                ioBroker Status
                iobroker is running on this host.
                
                
                Objects type: jsonl
                States  type: jsonl
                
                Core adapters versions
                js-controller:  3.3.20
                admin:          6.10.1
                javascript:     "javascript" not found
                
                Adapters from github:   0
                
                Adapter State
                  system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                  system.adapter.backitup.0               : backitup              : raspberrypi                              -  enabled
                + system.adapter.discovery.0              : discovery             : raspberrypi                              -  enabled
                  system.adapter.vis.0                    : vis                   : raspberrypi                              -  enabled
                + system.adapter.web.0                    : web                   : raspberrypi                              -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                
                + instance is alive
                
                Enabled adapters with bindings
                  system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                + system.adapter.web.0                    : web                   : raspberrypi                              -  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: stable
                
                Installed ioBroker-Instances
                Used repository: stable
                hash changed or no sources cached => force download of new sources
                Cannot get any information of "_repoInfo". Ignored.
                update done
                Adapter    "admin"         : 6.12.0   , installed 6.10.1 [Updateable]
                Adapter    "backitup"      : 2.8.1    , installed 2.8.1
                Adapter    "discovery"     : 3.1.0    , installed 3.1.0
                Controller "js-controller" : 5.0.12   , installed 3.3.20 [Updateable]
                Adapter    "simple-api"    : 2.7.2    , installed 2.7.2
                Adapter    "socketio"      : 6.5.5    , installed 6.5.5
                Adapter    "vis"           : 1.4.16   , installed 1.4.16
                Adapter    "web"           : 6.1.2    , installed 6.1.2
                Adapter    "ws"            : 2.5.5    , installed 2.5.5
                
                Objects and States
                Please stand by - This may take a while
                Objects:        170
                States:         126
                
                *** 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_18.x nodistro 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 127.0.0.1:9000          0.0.0.0:*               LISTEN      1001       12550      521/iobroker.js-con
                tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1001       12543      521/iobroker.js-con
                tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          12445      430/sshd: /usr/sbin
                tcp6       0      0 :::8082                 :::*                    LISTEN      1001       12665      591/io.web.0
                tcp6       0      0 :::22                   :::*                    LISTEN      0          12447      430/sshd: /usr/sbin
                udp        0      0 0.0.0.0:33276           0.0.0.0:*                           108        11802      326/avahi-daemon: r
                udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          11101      490/dhcpcd
                udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        11800      326/avahi-daemon: r
                udp6       0      0 :::39337                :::*                                108        11803      326/avahi-daemon: r
                udp6       0      0 :::5353                 :::*                                108        11801      326/avahi-daemon: r
                
                *** Log File - Last 25 Lines ***
                
                2023-10-27 14:40:48.475  - info: host.raspberrypi added notifications configuration of host
                2023-10-27 14:40:49.789  - info: host.raspberrypi 5 instances found
                2023-10-27 14:40:49.843  - info: host.raspberrypi starting 5 instances
                2023-10-27 14:40:49.957  - error: host.raspberrypi startInstance system.adapter.admin.0 Invalid version of "js-controller". Installed "3.3.20", required ">=3.3.22
                2023-10-27 14:40:53.977  - info: host.raspberrypi instance system.adapter.discovery.0 started with pid 539
                2023-10-27 14:40:57.879  - error: host.raspberrypi startInstance system.adapter.backitup.0 Invalid version of "js-controller". Installed "3.3.20", required ">=4.0.0
                2023-10-27 14:40:59.366  - error: discovery.0 (539) discovery.0 already running
                2023-10-27 14:40:59.379  - warn: discovery.0 (539) Terminated (ADAPTER_ALREADY_RUNNING): Without reason
                2023-10-27 14:41:00.052  - error: host.raspberrypi instance system.adapter.discovery.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
                2023-10-27 14:41:00.056  - info: host.raspberrypi Restart adapter system.adapter.discovery.0 because enabled
                2023-10-27 14:41:01.972  - info: host.raspberrypi instance system.adapter.web.0 started with pid 550
                2023-10-27 14:41:08.790  - error: web.0 (550) web.0 already running
                2023-10-27 14:41:08.805  - warn: web.0 (550) Terminated (ADAPTER_ALREADY_RUNNING): Without reason
                2023-10-27 14:41:09.523  - error: host.raspberrypi instance system.adapter.web.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
                2023-10-27 14:41:09.528  - info: host.raspberrypi Restart adapter system.adapter.web.0 because enabled
                2023-10-27 14:41:11.811  - info: vis.0 (557) starting. Version 1.4.16 in /opt/iobroker/node_modules/iobroker.vis, node: v18.18.2, js-controller: 3.3.20
                2023-10-27 14:41:11.984  - error: vis.0 (557) No license found for vis. Please get one on https://iobroker.net !
                2023-10-27 14:41:12.990  - info: vis.0 (557) Terminated (NO_ERROR): Without reason
                2023-10-27 14:41:13.657  - info: host.raspberrypi instance system.adapter.vis.0 terminated while should be started once
                2023-10-27 14:41:30.121  - info: host.raspberrypi instance system.adapter.discovery.0 started with pid 576
                2023-10-27 14:41:36.634  - info: discovery.0 (576) starting. Version 3.1.0 in /opt/iobroker/node_modules/iobroker.discovery, node: v18.18.2, js-controller: 3.3.20
                2023-10-27 14:41:39.586  - info: host.raspberrypi instance system.adapter.web.0 started with pid 591
                2023-10-27 14:41:47.015  - info: web.0 (591) starting. Version 6.1.2 in /opt/iobroker/node_modules/iobroker.web, node: v18.18.2, js-controller: 3.3.20
                2023-10-27 14:41:48.100  - info: web.0 (591) socket.io server listening on port 8082
                2023-10-27 14:41:48.167  - info: web.0 (591) http server listening on port 8082
                
                

                so sieht es gerade aus 😧

                Dr. Bakterius 1 Reply Last reply Reply Quote 0
                • Dr. Bakterius
                  Dr. Bakterius Most Active @Christoph G last edited by

                  @christoph-g Der admin-Adapter startet nicht, weil er zu neu für den js-controller v3.3.20 ist. Also eine frühere Version des admin-Adapters installieren oder eine js-controller-Version ab v3.3.22. Aus dem selben Grund startet auch der backitup-Adapter nicht. Der benötigt in der aktuellen Version js-controller-Version ab v4.0.0.

                  Christoph G 2 Replies Last reply Reply Quote 0
                  • Christoph G
                    Christoph G @Dr. Bakterius last edited by

                    @dr-bakterius

                    super dankeschön 🙂
                    Ich werde es nächste Woche probieren und berichten!!

                    1 Reply Last reply Reply Quote 0
                    • Christoph G
                      Christoph G @Dr. Bakterius last edited by

                      @dr-bakterius
                      Gibt es irgendwo eine Übersicht welcher admin bzw backitup adapter mit welcher js controller version funktioniert? 🤔

                      Dr. Bakterius DJMarc75 4 Replies Last reply Reply Quote 0
                      • Dr. Bakterius
                        Dr. Bakterius Most Active @Christoph G last edited by

                        @christoph-g keine Ahnung, sorry.

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

                          @christoph-g sagte in Backup wiederherstellen:

                          Gibt es irgendwo eine Übersicht welcher admin bzw backitup adapter mit welcher js controller version funktioniert?

                          Wenn Du auf Stable bist (was ich Dir anhand Deiner Frage empfehle) dann sind diese "stable" Versionen alle kompatibel.

                          Dr. Bakterius 1 Reply Last reply Reply Quote 0
                          • Dr. Bakterius
                            Dr. Bakterius Most Active @DJMarc75 last edited by

                            @djmarc75 Er hat ja extra wegen dem Restore eines Systems welches offenbar schon länger kein Update bekommen hat den js-controller v3.3.20 installiert. Und damit ist schon mal der admin- und backitup-Adapter in der aktuellen stable nicht mehr kompatibel.

                            1 Reply Last reply Reply Quote 0
                            • Dr. Bakterius
                              Dr. Bakterius Most Active @Christoph G last edited by

                              @christoph-g Vielleicht kann dir der Backup/Restore Guru @simatec weiterhelfen?

                              simatec 1 Reply Last reply Reply Quote 0
                              • simatec
                                simatec Developer Most Active @Dr. Bakterius last edited by

                                @dr-bakterius Backitup v2.6.9 unterstützt den alten js-controller noch

                                1 Reply Last reply Reply Quote 1
                                • Dr. Bakterius
                                  Dr. Bakterius Most Active @Christoph G last edited by

                                  @christoph-g Also die benötigte backitup-Adapter Version kennst du jetzt. Beim admin-Adapter kann dir sicher @foxriver76 weiter helfen...

                                  André Koschnik 1 Reply Last reply Reply Quote 0
                                  • André Koschnik
                                    André Koschnik @Dr. Bakterius last edited by André Koschnik

                                    Moin,

                                    ich habe beim node.js update mein system zerschossen. Hab von node 16 auf 18 geupdated.
                                    Habe dann mein system neu aufgesetzt und die backups vom dem gleichnamigen adapter wieder eingespielt. hat alles funktioniert bis auf beim postgres db.
                                    Hab naturlich die aktulle version installiert --> bin jetzt wieder auf der vorherrigen version zurückgegangen und bekomme folgenden fehler:

                                    Started restore ...
                                    [DEBUG] [pgsql] - Start postgresql Restore ...
                                    [ERROR] [pgsql] - Error: EPERM: operation not permitted, utime '/opt/iobroker/backups/pgsql_restore_backupiobroker.sql'
                                    [ERROR] [pgsql] - postgresql Restore not completed
                                    [EXIT] 
                                    

                                    mit psql geht auch nicht

                                    sudo psql -U postgres anko_iobroker_v1 < pgsql_2023_10_30-02_40_33_backupiobroker.sql
                                    psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: FATAL:  Peer authentication failed for user "postgres"
                                    

                                    verbindung ist aber offen

                                    sudo psql --host=localhost --port=5432 --username=iobroker --password --dbname=anko_iobroker_v1
                                    Password:
                                    psql (13.12 (Debian 13.12-1.pgdg120+1))
                                    SSL connection (protocol: TLSv1.3, cipher: TLS_AES_256_GCM_SHA384, bits: 256, compression: off)
                                    Type "help" for help.
                                    
                                    anko_iobroker_v1=# \q
                                    
                                    

                                    pg_restore bring auch nen fehler.

                                    hat eine/r ne idee.
                                    gibts noch eine möglichkeit?

                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @André Koschnik last edited by

                                      @andré-koschnik sagte in Backup wiederherstellen:

                                      ch habe beim node.js update mein system zerschossen. Hab von node 16 auf 18 geupdated.

                                      Wie schafft man das?
                                      Wie bist du denn da nun unterwegs?

                                      iob diag
                                      

                                      anschauen.

                                      André Koschnik 1 Reply Last reply Reply Quote 0
                                      • André Koschnik
                                        André Koschnik @Thomas Braun last edited by

                                        @thomas-braun

                                        bin leider nicht so fit unter debin bin her ein mausschubser.
                                        der iobroker hat eine neue node.js version empfohlen. apt update | apt upgrate hat aber nix geupated und dann hat google nicht immer gute tips gegeben.
                                        Egal lauft ja alles wieder bis auf die daten in der db.

                                        bin peer ssh auf dem bulleyes oder im webinterface des iob

                                        Thomas Braun André Koschnik 2 Replies Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @André Koschnik last edited by

                                          @andré-koschnik

                                          iob diag
                                          

                                          sagt?

                                          André Koschnik 1 Reply Last reply Reply Quote 0
                                          • André Koschnik
                                            André Koschnik @André Koschnik last edited by André Koschnik

                                            9a3cc79e-5123-4db3-ae16-f78c8c4a1c24-grafik.png

                                            6af5eb52-b9dc-44d2-b29b-4ffcb2706f19-grafik.png

                                            postgresql.conf
                                            9d1ca19f-d3a3-47fb-bbf2-4df065394d1e-grafik.png

                                            pg_hba.conf
                                            a601b384-20e1-48c9-8655-d957938cdcad-grafik.png

                                            status postgres
                                            c7fc3175-7bd5-4baa-9e03-2dc4a2636c9a-grafik.png

                                            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

                                            913
                                            Online

                                            32.0k
                                            Users

                                            80.4k
                                            Topics

                                            1.3m
                                            Posts

                                            9
                                            95
                                            8138
                                            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