Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Adapter: iobroker.backitup (stable Release)

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    3.4k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.1k

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.5k

Adapter: iobroker.backitup (stable Release)

Scheduled Pinned Locked Moved ioBroker Allgemein
adapterbackitupiobroker backupbackupiobroker.backitup
2.3k Posts 185 Posters 1.2m Views 50 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • AlCalzoneA Offline
    AlCalzoneA Offline
    AlCalzone
    Developer
    wrote on last edited by
    #1776

    Prima :)
    https://github.com/ioBroker/ioBroker/pull/125

    Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

    1 Reply Last reply
    0
    • SegwayS Offline
      SegwayS Offline
      Segway
      wrote on last edited by
      #1777

      Ich habe irgendwann dann das Problem, dass nach dem backup anscheinend nicht sauber geschlossen wird und beim nächsten backup DRIVE IS BUSY kommt. Leider kommt auch keine Meldung, dass das angedachte (cron) backup nicht erstellt werden konnte.

      Ich merke es erst wenn ich mal nachschaue was auf meinen NAS abgelegt wurde.

      Kann man da nicht eine Meldung reinbringen ?
      Per Putty mach ich ein einfaches UMOUNT und danach geht wieder alles. Das könnte man auch einbringen oder ?

      Gruß Dirk
      Intel Proxmox Cluster (3x NUC) mit Debian & Proxmox / IoB als VM unter Debian / 60+ Adapter installiert

      simatecS 1 Reply Last reply
      0
      • SegwayS Segway

        Ich habe irgendwann dann das Problem, dass nach dem backup anscheinend nicht sauber geschlossen wird und beim nächsten backup DRIVE IS BUSY kommt. Leider kommt auch keine Meldung, dass das angedachte (cron) backup nicht erstellt werden konnte.

        Ich merke es erst wenn ich mal nachschaue was auf meinen NAS abgelegt wurde.

        Kann man da nicht eine Meldung reinbringen ?
        Per Putty mach ich ein einfaches UMOUNT und danach geht wieder alles. Das könnte man auch einbringen oder ?

        simatecS Offline
        simatecS Offline
        simatec
        Developer Most Active
        wrote on last edited by
        #1778

        @Segway
        Das dürfte ab Version 1.0.9 nicht mehr vorkommen.
        Wenn kein umount gemacht werden kann, da noch Daten geschrieben werden, wird jetzt 10 Minuten gewartet und dann der umount erneut durchgeführt.

        • Besuche meine Github Seite
        • Beitrag hat geholfen oder willst du mich unterstützen
        • HowTo Restore ioBroker
        SegwayS 1 Reply Last reply
        0
        • simatecS simatec

          @Segway
          Das dürfte ab Version 1.0.9 nicht mehr vorkommen.
          Wenn kein umount gemacht werden kann, da noch Daten geschrieben werden, wird jetzt 10 Minuten gewartet und dann der umount erneut durchgeführt.

          SegwayS Offline
          SegwayS Offline
          Segway
          wrote on last edited by Segway
          #1779

          @simatec sagte in Adapter: iobroker.backitup (stable Release):

          Das dürfte ab Version 1.0.9 nicht mehr vorkommen.

          Okay, ich habe die 1.0.8 laufen. Dann date ich mal auf 1.1.1 ab.

          Schuss in Ofen ... der startet erst gar nicht :-(

          backitup.0	2019-02-15 17:42:29.067	info	terminating
          backitup.0	2019-02-15 17:42:28.561	error	at tryOnImmediate (timers.js:768:5)
          backitup.0	2019-02-15 17:42:28.561	error	at runCallback (timers.js:814:20)
          backitup.0	2019-02-15 17:42:28.561	error	at Immediate.createInstancesObjects [as _onImmediate] (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:748:13)
          backitup.0	2019-02-15 17:42:28.561	error	at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:788:29
          backitup.0	2019-02-15 17:42:28.561	error	at initAdapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:4990:18)
          backitup.0	2019-02-15 17:42:28.561	error	at Adapter.emit (events.js:208:7)
          backitup.0	2019-02-15 17:42:28.561	error	at emitNone (events.js:106:13)
          backitup.0	2019-02-15 17:42:28.561	error	at Adapter.main (/opt/iobroker/node_modules/iobroker.backitup/main.js:615:5)
          backitup.0	2019-02-15 17:42:28.561	error	at createBackupDir (/opt/iobroker/node_modules/iobroker.backitup/main.js:600:12)
          backitup.0	2019-02-15 17:42:28.561	error	at Object.fs.mkdirSync (fs.js:885:18)
          backitup.0	2019-02-15 17:42:28.561	error	Error: EEXIST: file already exists, mkdir '/opt/iobroker/backups'
          backitup.0	2019-02-15 17:42:28.561	error	uncaught exception: EEXIST: file already exists, mkdir '/opt/iobroker/backups'
          backitup.0	2019-02-15 17:42:28.544	info	starting. Version 1.1.1 in /opt/iobroker/node_modules/iobroker.backitup, node: v8.15.0
          backitup.0	2019-02-15 17:42:28.350	info	States connected to redis: 127.0.0.1:6379
          

          Gruß Dirk
          Intel Proxmox Cluster (3x NUC) mit Debian & Proxmox / IoB als VM unter Debian / 60+ Adapter installiert

          1 Reply Last reply
          0
          • simatecS Offline
            simatecS Offline
            simatec
            Developer Most Active
            wrote on last edited by
            #1780

            @Segway sagte in Adapter: iobroker.backitup (stable Release):

            600

            Starte einfach mal neu ... da ist irgendwas beim Update schief gelaufen.
            Ggfs mal ein upload machen

            • Besuche meine Github Seite
            • Beitrag hat geholfen oder willst du mich unterstützen
            • HowTo Restore ioBroker
            SegwayS 1 Reply Last reply
            0
            • simatecS simatec

              @Segway sagte in Adapter: iobroker.backitup (stable Release):

              600

              Starte einfach mal neu ... da ist irgendwas beim Update schief gelaufen.
              Ggfs mal ein upload machen

              SegwayS Offline
              SegwayS Offline
              Segway
              wrote on last edited by
              #1781

              @simatec sagte in Adapter: iobroker.backitup (stable Release):

              @Segway sagte in Adapter: iobroker.backitup (stable Release):

              600

              Starte einfach mal neu ... da ist irgendwas beim Update schief gelaufen.
              Ggfs mal ein upload machen

              nur den Adapter neu starten ? Habe ich gemacht. Wird nicht grün

              Gruß Dirk
              Intel Proxmox Cluster (3x NUC) mit Debian & Proxmox / IoB als VM unter Debian / 60+ Adapter installiert

              simatecS 1 Reply Last reply
              0
              • SegwayS Segway

                @simatec sagte in Adapter: iobroker.backitup (stable Release):

                @Segway sagte in Adapter: iobroker.backitup (stable Release):

                600

                Starte einfach mal neu ... da ist irgendwas beim Update schief gelaufen.
                Ggfs mal ein upload machen

                nur den Adapter neu starten ? Habe ich gemacht. Wird nicht grün

                simatecS Offline
                simatecS Offline
                simatec
                Developer Most Active
                wrote on last edited by
                #1782

                @Segway

                Mach mal ein Upload ...
                Es wird probiert den backup Ordner anzulegen.
                Das kann nicht sein, denn das macht er nur, wenn er nicht exitiert.

                Aber das ist schon seit Version 0.3.0 so ...
                Also kann es nur an deinem Update liegen.

                • Besuche meine Github Seite
                • Beitrag hat geholfen oder willst du mich unterstützen
                • HowTo Restore ioBroker
                SegwayS 1 Reply Last reply
                0
                • simatecS simatec

                  @Segway

                  Mach mal ein Upload ...
                  Es wird probiert den backup Ordner anzulegen.
                  Das kann nicht sein, denn das macht er nur, wenn er nicht exitiert.

                  Aber das ist schon seit Version 0.3.0 so ...
                  Also kann es nur an deinem Update liegen.

                  SegwayS Offline
                  SegwayS Offline
                  Segway
                  wrote on last edited by
                  #1783

                  @simatec
                  Nö, weiterhin gleiches Problem :-(

                  Gruß Dirk
                  Intel Proxmox Cluster (3x NUC) mit Debian & Proxmox / IoB als VM unter Debian / 60+ Adapter installiert

                  1 Reply Last reply
                  0
                  • SegwayS Offline
                    SegwayS Offline
                    Segway
                    wrote on last edited by
                    #1784

                    auch beim Downgrade gleiches Bild. Hier mal was da alles kam beim install

                    Update backitup from @1.1.1 to @1.0.9
                    NPM version: 6.4.1
                    npm install iobroker.backitup@1.0.9 --production --save --prefix "/opt/iobroker" (System call)
                    gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/8.15.0"
                    gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/epoll/.node-gyp"
                    gyp WARN install got an error, rolling back install
                    gyp WARN install got an error, rolling back install
                    gyp ERR! configure error
                    gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/epoll/.node-gyp'
                    gyp ERR! System Linux 4.9.0-8-amd64
                    gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                    gyp ERR! cwd /opt/iobroker/node_modules/epoll
                    gyp ERR! node -v v8.15.0
                    gyp ERR! node-gyp -v v3.8.0
                    gyp ERR! not ok
                    gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/8.15.0"
                    gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/unix-dgram/.node-gyp"
                    gyp WARN install got an error, rolling back install
                    gyp WARN install got an error, rolling back install
                    gyp ERR! configure error
                    gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/unix-dgram/.node-gyp'
                    gyp ERR! System Linux 4.9.0-8-amd64
                    gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                    gyp ERR! cwd /opt/iobroker/node_modules/unix-dgram
                    gyp ERR! node -v v8.15.0
                    gyp ERR! node-gyp -v v3.8.0
                    gyp ERR! not ok
                    node-pre-gyp WARN Using request for node-pre-gyp https download
                    node-pre-gyp WARN Tried to download(404): https://github.com/tessel/node-usb/releases/download/1.5.0/usb_bindings-v1.5.0-node-v57-linux-x64.tar.gz
                    node-pre-gyp WARN Pre-built binaries not found for usb@1.5.0 and node@8.15.0 (node-v57 ABI, glibc) (falling back to source compile with node-gyp)
                    gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/8.15.0"
                    gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/usb/.node-gyp"
                    gyp WARN install got an error, rolling back install
                    gyp WARN install got an error, rolling back install
                    gyp ERR! configure error
                    gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/usb/.node-gyp'
                    gyp ERR! System Linux 4.9.0-8-amd64
                    gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/usb/src/binding/usb_bindings.node" "--module_name=usb_bindings" "--module_path=/opt/iobroker/node_modules/usb/src/binding" "--napi_version=3" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v57"
                    gyp ERR! cwd /opt/iobroker/node_modules/usb
                    gyp ERR! node -v v8.15.0
                    gyp ERR! node-gyp -v v3.8.0
                    gyp ERR! not ok
                    node-pre-gyp ERR! build error
                    node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/usb/src/binding/usb_bindings.node --module_name=usb_bindings --module_path=/opt/iobroker/node_modules/usb/src/binding --napi_version=3 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v57' (1)
                    node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/opt/iobroker/node_modules/usb/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
                    node-pre-gyp ERR! stack at emitTwo (events.js:126:13)
                    node-pre-gyp ERR! stack at ChildProcess.emit (events.js:214:7)
                    node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:915:16)
                    node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
                    node-pre-gyp ERR! System Linux 4.9.0-8-amd64
                    node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/usb/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
                    node-pre-gyp ERR! cwd /opt/iobroker/node_modules/usb
                    node-pre-gyp ERR! node -v v8.15.0
                    node-pre-gyp ERR! node-pre-gyp -v v0.11.0
                    node-pre-gyp ERR! not ok
                    gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/8.15.0"
                    gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/bluetooth-hci-socket/.node-gyp"
                    gyp WARN install got an error, rolling back install
                    gyp WARN install got an error, rolling back install
                    gyp ERR! configure error
                    gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/bluetooth-hci-socket/.node-gyp'
                    gyp ERR! System Linux 4.9.0-8-amd64
                    gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                    gyp ERR! cwd /opt/iobroker/node_modules/bluetooth-hci-socket
                    gyp ERR! node -v v8.15.0
                    gyp ERR! node-gyp -v v3.8.0
                    gyp ERR! not ok
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules/xpc-connection):
                    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: epoll@0.1.22 (node_modules/epoll):
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: epoll@0.1.22 install: node-gyp rebuild
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 (node_modules/unix-dgram):
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 install: node-gyp rebuild
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: usb@1.5.0 (node_modules/usb):
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: usb@1.5.0 install: node-pre-gyp install --fallback-to-build
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bluetooth-hci-socket@0.5.1 (node_modules/bluetooth-hci-socket):
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bluetooth-hci-socket@0.5.1 install: node-gyp rebuild
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

                    npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.backitup"
                    npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
                    npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
                    npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
                    npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
                    npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
                    npm notice created a lockfile as package-lock.json. You should commit this file.
                    got /opt/iobroker/node_modules/iobroker.backitup/admin
                    upload [3] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/words.js words.js application/javascript
                    Update "system.adapter.backitup.0"
                    upload [2] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index_m.html index_m.html text/html
                    upload [1] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index.html index.html text/html
                    upload [0] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/backitup.png backitup.png image/png
                    Adapter "backitup" updated

                    Gruß Dirk
                    Intel Proxmox Cluster (3x NUC) mit Debian & Proxmox / IoB als VM unter Debian / 60+ Adapter installiert

                    1 Reply Last reply
                    0
                    • simatecS Offline
                      simatecS Offline
                      simatec
                      Developer Most Active
                      wrote on last edited by
                      #1785

                      Dein Problem liegt definitiv nicht an backitup.
                      Hast du js-controller 1.5.7 laufen?

                      Dein System hat ein Problem.

                      • Besuche meine Github Seite
                      • Beitrag hat geholfen oder willst du mich unterstützen
                      • HowTo Restore ioBroker
                      SegwayS 1 Reply Last reply
                      0
                      • simatecS simatec

                        Dein Problem liegt definitiv nicht an backitup.
                        Hast du js-controller 1.5.7 laufen?

                        Dein System hat ein Problem.

                        SegwayS Offline
                        SegwayS Offline
                        Segway
                        wrote on last edited by
                        #1786

                        @simatec

                        jscontroller 1.4.2
                        BEVOR ich das update gemacht hatte lief hier alles ohne ERROR in den Logs.

                        Gruß Dirk
                        Intel Proxmox Cluster (3x NUC) mit Debian & Proxmox / IoB als VM unter Debian / 60+ Adapter installiert

                        1 Reply Last reply
                        0
                        • simatecS Offline
                          simatecS Offline
                          simatec
                          Developer Most Active
                          wrote on last edited by
                          #1787

                          Starte mal komplett neu und mache das Update erneut.

                          • Besuche meine Github Seite
                          • Beitrag hat geholfen oder willst du mich unterstützen
                          • HowTo Restore ioBroker
                          SegwayS 1 Reply Last reply
                          0
                          • simatecS simatec

                            Starte mal komplett neu und mache das Update erneut.

                            SegwayS Offline
                            SegwayS Offline
                            Segway
                            wrote on last edited by
                            #1788

                            @simatec sagte in Adapter: iobroker.backitup (stable Release):

                            Starte mal komplett neu und mache das Update erneut.

                            also ich habe downgrade auf 1.0.8 gemacht dann ging es wieder.

                            Also dann folgendes gemacht:

                            • IoB korrekt gestoppt
                            • Host runtergefahren
                            • VM runtergefahren
                            • wieder gestartet alles OHNE Fehler im LOG
                            • auf 1.1.1 upgedatet

                            Bisher läufts........das erklär mir mal einer :unamused:

                            Gruß Dirk
                            Intel Proxmox Cluster (3x NUC) mit Debian & Proxmox / IoB als VM unter Debian / 60+ Adapter installiert

                            1 Reply Last reply
                            0
                            • simatecS Offline
                              simatecS Offline
                              simatec
                              Developer Most Active
                              wrote on last edited by
                              #1789

                              Da hing irgendwas an deiner IOB Installation.

                              • Besuche meine Github Seite
                              • Beitrag hat geholfen oder willst du mich unterstützen
                              • HowTo Restore ioBroker
                              1 Reply Last reply
                              0
                              • simatecS Offline
                                simatecS Offline
                                simatec
                                Developer Most Active
                                wrote on last edited by
                                #1790

                                Ab sofort ist die Version 1.1.2 im Github und ab heute Nacht im latest verfügbar.

                                1.1.2 (21.02.2019)

                                • (simatec) exec Start for iobroker
                                • (simatec) Fix umount before Restore

                                Hier an dieser Stelle auch noch einmal der Hinweis, dass es für den neuen Installerscript von iobroker jetzt einen Fix gibt, für alle, die Probleme mit der Rechtevergabe haben und dadurch backitup und auch andere Adapter nur eingeschränkt nutzen können.

                                1. Wenn euer iobroker System mit dem neuen Installer Script installiert wurde, kann es vorkommen, dass ihr nicht alle Rechte für den neuen User iobroker habt.
                                  Dies betrifft dann leider auch backitup, da backitup einige systemrelevante Befehle benutzt.

                                  Um das Problem mit fehlenden Rechten zu beheben, gibt es inzwischen einen Fix für den Installerscript von iobroker.
                                  Führt bitte folgende Befehle auf eure Iobrokerumgebung in der Konsole aus:

                                  curl -sL https://raw.githubusercontent.com/ioBroker/ioBroker/master/fix_installation.sh | bash 
                                  sudo reboot
                                  
                                2. Solltet Ihr eine Fehlermeldung beim erstellen der Redis Datenbank bekommen, prüft bitte, ob euer User iobroker die Rechte hat und ob er in der User-Gruppe Redis vorhanden ist.
                                  Wenn dies nicht der Fall ist, könnt ihr das mit folgenden Befehl in der Konsole beheben.

                                  sudo usermod -a -G redis iobroker
                                  sudo reboot
                                  

                                  Wenn ihr nicht mit dem Installerscript eure Iobroker Installation aufgesetzt habt und euer User einen anderen Namen hat, bitte in dem Befehl "iobroker" durch euren User ersetzen.

                                • Besuche meine Github Seite
                                • Beitrag hat geholfen oder willst du mich unterstützen
                                • HowTo Restore ioBroker
                                AlCalzoneA 1 Reply Last reply
                                0
                                • simatecS simatec

                                  Ab sofort ist die Version 1.1.2 im Github und ab heute Nacht im latest verfügbar.

                                  1.1.2 (21.02.2019)

                                  • (simatec) exec Start for iobroker
                                  • (simatec) Fix umount before Restore

                                  Hier an dieser Stelle auch noch einmal der Hinweis, dass es für den neuen Installerscript von iobroker jetzt einen Fix gibt, für alle, die Probleme mit der Rechtevergabe haben und dadurch backitup und auch andere Adapter nur eingeschränkt nutzen können.

                                  1. Wenn euer iobroker System mit dem neuen Installer Script installiert wurde, kann es vorkommen, dass ihr nicht alle Rechte für den neuen User iobroker habt.
                                    Dies betrifft dann leider auch backitup, da backitup einige systemrelevante Befehle benutzt.

                                    Um das Problem mit fehlenden Rechten zu beheben, gibt es inzwischen einen Fix für den Installerscript von iobroker.
                                    Führt bitte folgende Befehle auf eure Iobrokerumgebung in der Konsole aus:

                                    curl -sL https://raw.githubusercontent.com/ioBroker/ioBroker/master/fix_installation.sh | bash 
                                    sudo reboot
                                    
                                  2. Solltet Ihr eine Fehlermeldung beim erstellen der Redis Datenbank bekommen, prüft bitte, ob euer User iobroker die Rechte hat und ob er in der User-Gruppe Redis vorhanden ist.
                                    Wenn dies nicht der Fall ist, könnt ihr das mit folgenden Befehl in der Konsole beheben.

                                    sudo usermod -a -G redis iobroker
                                    sudo reboot
                                    

                                    Wenn ihr nicht mit dem Installerscript eure Iobroker Installation aufgesetzt habt und euer User einen anderen Namen hat, bitte in dem Befehl "iobroker" durch euren User ersetzen.

                                  AlCalzoneA Offline
                                  AlCalzoneA Offline
                                  AlCalzone
                                  Developer
                                  wrote on last edited by
                                  #1791

                                  @simatec sagte in Adapter: iobroker.backitup (stable Release):

                                  Wenn euer iobroker System mit dem neuen Installer Script installiert wurde, kann es vorkommen, dass ihr nicht alle Rechte für den neuen User iobroker habt.

                                  Zur Info: Dies sollte nicht die neueste Version von Ende Januar betreffen. Bei ganz alten Installationen, bei denen noch viel mit sudo npm gearbeitet wurde, kann das Fix-Skript auch nötig sein.

                                  Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                                  simatecS 1 Reply Last reply
                                  0
                                  • AlCalzoneA AlCalzone

                                    @simatec sagte in Adapter: iobroker.backitup (stable Release):

                                    Wenn euer iobroker System mit dem neuen Installer Script installiert wurde, kann es vorkommen, dass ihr nicht alle Rechte für den neuen User iobroker habt.

                                    Zur Info: Dies sollte nicht die neueste Version von Ende Januar betreffen. Bei ganz alten Installationen, bei denen noch viel mit sudo npm gearbeitet wurde, kann das Fix-Skript auch nötig sein.

                                    simatecS Offline
                                    simatecS Offline
                                    simatec
                                    Developer Most Active
                                    wrote on last edited by
                                    #1792

                                    @AlCalzone

                                    Maximal der Fix, dass der User iobroker der Redis Gruppe hinzugefügt wird sollte mit dem Fix auch die Installationen ab Ende Januar betreffen.
                                    Alles andere ist dort bereits im Installerscript gefixt.

                                    • Besuche meine Github Seite
                                    • Beitrag hat geholfen oder willst du mich unterstützen
                                    • HowTo Restore ioBroker
                                    1 Reply Last reply
                                    0
                                    • AlCalzoneA AlCalzone

                                      In dem Fall dürfte es reichen, den User zur redis-Gruppe hinzuzufügen
                                      sudo usermod -a -G redis iobroker

                                      P Offline
                                      P Offline
                                      pix
                                      wrote on last edited by
                                      #1793

                                      @AlCalzone sagte in Adapter: iobroker.backitup (stable Release):

                                      sudo usermod -a -G redis iobroker

                                      Gibt es auch einen Befehl für OS X Terminal? Dort existiert usermod nicht.

                                      Gruß
                                      Pix

                                      ioBroker auf Ubuntu in Proxmox (früher Mac mini (bis OS X 10.12.6 Sierra), VIS via iOS; angeschlossen: Homematic CCU2, Homepilot 1, ConBee II, einige Wemos, Sonos, Unifi CK+Protect, Homekit, Homebridge; KEIN blockly! Github-Profil

                                      AlCalzoneA 1 Reply Last reply
                                      0
                                      • P Offline
                                        P Offline
                                        pix
                                        wrote on last edited by
                                        #1794

                                        Etwa so?

                                        sudo chown iobroker:redis FILENAME
                                        

                                        Aber welche Datei?

                                        ioBroker auf Ubuntu in Proxmox (früher Mac mini (bis OS X 10.12.6 Sierra), VIS via iOS; angeschlossen: Homematic CCU2, Homepilot 1, ConBee II, einige Wemos, Sonos, Unifi CK+Protect, Homekit, Homebridge; KEIN blockly! Github-Profil

                                        1 Reply Last reply
                                        0
                                        • simatecS Offline
                                          simatecS Offline
                                          simatec
                                          Developer Most Active
                                          wrote on last edited by
                                          #1795

                                          Unter Linux sieht das wie folgt aus ...

                                          @iobroker-dev:~$ sudo ls /var/lib/redis
                                          dump.rdb
                                          
                                          
                                          • Besuche meine Github Seite
                                          • Beitrag hat geholfen oder willst du mich unterstützen
                                          • HowTo Restore ioBroker
                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          529

                                          Online

                                          32.7k

                                          Users

                                          82.4k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe