Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst]Backup & Restore klappt nicht

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [gelöst]Backup & Restore klappt nicht

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @DirtyAtze last edited by Homoran

      @DirtyAtze

      und?

      @DirtyAtze sagte in [gelöst]Backup & Restore klappt nicht:

      Open http://192.168.178.79:8081 in a browser and start configuring!

      1 Reply Last reply Reply Quote 0
      • D
        DirtyAtze last edited by

        Das sagt der fix:

        pi@raspberrypi:~ $ curl -sL https://iobroker.net/fix.sh | bash -
        
        ==========================================================================
        
            Welcome to the ioBroker installation fixer!
            Script version: 2019-07-03
        
            You might need to enter your password a couple of times.
        
        ==========================================================================
        
        
        ==========================================================================
            Installing prerequisites (1/3)
        ==========================================================================
        
        
        ==========================================================================
            Checking ioBroker user and directory permissions (2/3)
        ==========================================================================
        
        Created /etc/sudoers.d/iobroker
        Fixing directory permissions...
        
        ==========================================================================
            Checking autostart (3/3)
        ==========================================================================
        
        bash: Zeile 667: /opt/iobroker/iobroker: Keine Berechtigung
        chmod: Zugriff auf '/opt/iobroker/iobroker' nicht möglich: Datei oder Verzeichnis nicht gefunden
        chown: Zugriff auf '/opt/iobroker/iobroker' nicht möglich: Datei oder Verzeichnis nicht gefunden
        Enabling autostart...
        Autostart enabled!
        
        ==========================================================================
        
            Your installation was fixed successfully
            Run iobroker start to start ioBroker again!
        
        ==========================================================================
        
        pi@raspberrypi:~ $
        

        ist das in Ordnung?

        Homoran AlCalzone 2 Replies Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators @DirtyAtze last edited by

          @DirtyAtze sagte in [gelöst]Backup & Restore klappt nicht:

          Das sagt der fix:

          ein fix sollte jetzt nicht mehr nötig sein, aber:

          @DirtyAtze sagte in [gelöst]Backup & Restore klappt nicht:

          bash: Zeile 667: /opt/iobroker/iobroker: Keine Berechtigung
          chmod: Zugriff auf '/opt/iobroker/iobroker' nicht möglich: Datei oder Verzeichnis nicht gefunden
          chown: Zugriff auf '/opt/iobroker/iobroker' nicht möglich: Datei oder Verzeichnis nicht gefunden

          das muss sich @AlCalzone ansehen.

          1 Reply Last reply Reply Quote 1
          • D
            DirtyAtze last edited by

            Und da ist auch schon der "trim fehler":

            pi@raspberrypi:~ $ iobroker status
            iobroker is running
            
            Objects type: file
            States  type: file
            pi@raspberrypi:~ $ iobroker stop
            pi@raspberrypi:~ $ iobroker restore
            Please specify one of the backup names:
            minimal_2019_07_07-20_35_35_backupiobroker.tar.gz or minimal_2019_07_07-20_35_35 or 0
            minimal_2019_07_05-09_15_24_std_backupiobroker.tar.gz or minimal_2019_07_05-09_15_24_std or 1
            pi@raspberrypi:~ $ iobroker restore 1
            /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:568
                    if (parseInt(name.trim(), 10).toString() === name.trim().toString()) {
                                      ^
            
            TypeError: name.trim is not a function
                at BackupRestore.restoreBackup (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:568:27)
                at dbConnect (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:1474:28)
                at Object.connected (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:3087:29)
                at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInMemServer.js:184:26)
                at runCallback (timers.js:705:18)
                at tryOnImmediate (timers.js:676:5)
                at processImmediate (timers.js:658:5)
            pi@raspberrypi:~ $
            
            
            1 Reply Last reply Reply Quote 0
            • D
              DirtyAtze last edited by

              OK, nach änder der backupSetup.js ist es jetzt tatsächlich durchgelaufen!

              dann mal vielen Dank für die Unterstützung!!!
              👍 😘

              1 Reply Last reply Reply Quote 0
              • AlCalzone
                AlCalzone Developer @DirtyAtze last edited by

                @DirtyAtze welche Ausgabe liefert

                ls -la /opt/iobroker 
                

                ?

                1 Reply Last reply Reply Quote 0
                • D
                  DirtyAtze last edited by

                  Werd ich heute Abend mal schauen.

                  1 Reply Last reply Reply Quote 0
                  • D
                    DirtyAtze last edited by

                    Sorry, etwas verspätet...

                    Screenshot_20190709-162937.png

                    AlCalzone 1 Reply Last reply Reply Quote 0
                    • AlCalzone
                      AlCalzone Developer @DirtyAtze last edited by AlCalzone

                      @DirtyAtze Ok danke ich hab ne Idee woran es liegt. Kannst du bitte noch die Ausgabe von folgendem Befehl posten?

                      sudo getfacl /opt/iobroker/iobroker

                      1 Reply Last reply Reply Quote 0
                      • D
                        DirtyAtze last edited by

                        Last login: Sun Jul 14 11:14:57 2019 from 192.168.178.12
                        pi@raspberrypi:~ $ sudo getfacl /opt/iobroker/iobroker
                        getfacl: Entferne führende '/' von absoluten Pfadnamen
                        # file: opt/iobroker/iobroker
                        # owner: iobroker
                        # group: iobroker
                        user::rwx
                        group::r-x
                        group:iobroker:rwx              #effective:r-x
                        mask::r-x
                        other::r-x
                        
                        pi@raspberrypi:~ $
                        
                        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

                        627
                        Online

                        31.6k
                        Users

                        79.6k
                        Topics

                        1.3m
                        Posts

                        11
                        39
                        5641
                        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