Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. History-Adapter bleibt rot

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    UNSOLVED History-Adapter bleibt rot

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

      Hallo

      Ich habe ein neues Image von Buanet installiert.
      Läuft auf der selben Hardware wie auch das alte Image.

      Soweit passt alles, bis auf den History-Adapter.
      Den bring ich nicht auf grün.

      Anbei das Log davon.

      history.0	2019-05-11 23:02:29.728	info	terminating
      history.0	2019-05-11 23:02:29.620	error	at Manager.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/node_modules/component-bind/index.js:21:15)
      history.0	2019-05-11 23:02:29.620	error	at Socket.onpacket (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:244:12)
      history.0	2019-05-11 23:02:29.620	error	at Socket.onack (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:319:9)
      history.0	2019-05-11 23:02:29.620	error	at Socket.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:787:25)
      history.0	2019-05-11 23:02:29.620	error	at createInstancesObjects (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:748:13)
      history.0	2019-05-11 23:02:29.620	error	at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:788:29
      history.0	2019-05-11 23:02:29.620	error	at initAdapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:4989:62)
      history.0	2019-05-11 23:02:29.620	error	at Object.ready (/opt/iobroker/node_modules/iobroker.history/main.js:144:22)
      history.0	2019-05-11 23:02:29.620	error	at main (/opt/iobroker/node_modules/iobroker.history/main.js:348:12)
      history.0	2019-05-11 23:02:29.620	error	at Object.fs.mkdirSync (fs.js:885:18)
      history.0	2019-05-11 23:02:29.620	error	Error: EACCES: permission denied, mkdir '/iobroker-data/'
      history.0	2019-05-11 23:02:29.619	error	uncaught exception: EACCES: permission denied, mkdir '/iobroker-data/'
      history.0	2019-05-11 23:02:29.607	info	starting. Version 1.8.6 in /opt/iobroker/node_modules/iobroker.history, node: v8.16.0
      

      Was könnte man machen?

      SBorg 1 Reply Last reply Reply Quote 0
      • SBorg
        SBorg Forum Testing Most Active @Negalein last edited by

        @Negalein sagte in History-Adapter bleibt rot:

        uncaught exception: EACCES: permission denied, mkdir '/iobroker-data/'

        Du hast keine Schreibrechte im Verzeichnis und er kann das Verzeichnis "iobroker-data" nicht anlegen.

        Negalein 1 Reply Last reply Reply Quote 0
        • Negalein
          Negalein Global Moderator @SBorg last edited by

          @SBorg sagte in History-Adapter bleibt rot:

          @Negalein sagte in History-Adapter bleibt rot:

          uncaught exception: EACCES: permission denied, mkdir '/iobroker-data/'

          Du hast keine Schreibrechte im Verzeichnis und er kann das Verzeichnis "iobroker-data" nicht anlegen.

          Ah, ok.
          Aber das Verzeichnis iobroker-data existiert bereits.
          Wurde aus einer früheren Installation kopiert.

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

            @Negalein sagte in History-Adapter bleibt rot:

            Wurde aus einer früheren Installation kopiert.

            Mit welchen Rechten?
            Wer ist der Besitzer (gewesen)?

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

              @Homoran sagte in History-Adapter bleibt rot:

              Mit welchen Rechten?
              Wer ist der Besitzer (gewesen)?

              Hmmm, als "nicht Linux User", mit welchem Befehl finde ich das raus? 😉

              1 Reply Last reply Reply Quote 0
              • andre
                andre Developer last edited by

                Eventuell schlägt hier zu, dass ioBroker im neuen Image nicht mehr unter root, sondern unter iobroker läuft... Verbinde dich mal im Portainer als root auf die Konsole des Containers...
                Dann mach mal:

                ls -al /opt/iobroker
                

                und poste den output...

                MfG,
                André

                Negalein 1 Reply Last reply Reply Quote 0
                • Negalein
                  Negalein Global Moderator @andre last edited by

                  @andre sagte in History-Adapter bleibt rot:

                  Verbinde dich mal im Portainer als root auf die Konsole des Containers...
                  Dann mach mal:

                  ls -al /opt/iobroker
                  

                  und poste den output...

                  root@iobroker:/opt/iobroker# ls -al /opt/iobroker
                  insgesamt 1992
                  drwxrwxrwx 1 iobroker users    1408 Mai 11 22:40 .
                  drwxr-xr-x 1 root     root       70 Mai 12 15:49 ..
                  drwxrwxrwx 1 iobroker users     198 Mai 11 23:00 backups
                  drwxrwxrwx 1 iobroker users      92 Mai 11 22:35 cache
                  -rwxrwxrwx 1 iobroker users     335 Nov 11 17:53 certpem
                  -rwxrwxrwx 1 iobroker users     212 Nov 11 17:53 certpem.cmd
                  -rwxrwxrwx 1 iobroker users      74 Okt 26  2018 controller.js
                  drwxrwxrwx 1 iobroker users     190 Mai 11 22:35 daemon
                  -rwxrwxrwx 1 iobroker users     351 Nov 11 17:53 detect-libc
                  -rwxrwxrwx 1 iobroker users     228 Nov 11 17:53 detect-libc.cmd
                  drwxrwxrwx 1 iobroker users       0 Okt 26  2018 etc
                  -rwxrwxrwx 1 iobroker users      84 Feb 23 15:53 INSTALLER_INFO.txt
                  -rwxrwxrwx 1 iobroker users     892 Okt 26  2018 install.js
                  -rwxrwxrwx 1 iobroker users     297 Nov 26 03:43 install.sh
                  -rwxrwxrwx 1 iobroker users      22 Feb 23 15:53 iob
                  -rwxrwxrwx 1 iobroker users     111 Feb 23 15:53 iobroker
                  -rwxrwxrwx 1 iobroker users      67 Okt 26  2018 iobroker.bat
                  -rwxrwxrwx 1 iobroker users      63 Nov 11 17:53 iobroker.cmd
                  drwxrwxrwx 1 iobroker users     224 Mai 11 22:35 iobroker-data
                  -rwxrwxrwx 1 iobroker users   32038 Mär  1  2016 ioBroker.ico
                  -rwxrwxrwx 1 iobroker users      90 Apr  9 20:06 killall.sh
                  drwxrwxrwx 1 iobroker users     482 Mai 12 15:49 log
                  -rwxrwxrwx 1 iobroker users     313 Nov 11 17:53 mime
                  -rwxrwxrwx 1 iobroker users     190 Nov 11 17:53 mime.cmd
                  -rwxrwxrwx 1 iobroker users     325 Nov 11 17:53 mkdirp
                  -rwxrwxrwx 1 iobroker users     202 Nov 11 17:53 mkdirp.cmd
                  -rwxrwxrwx 1 iobroker users     313 Nov 11 17:53 ncp
                  -rwxrwxrwx 1 iobroker users     190 Nov 11 17:53 ncp.cmd
                  drwxrwxrwx 1 iobroker users   19542 Mai 12 16:06 node_modules
                  -rwxrwxrwx 1 iobroker users  532963 Mär 20 21:02 npm-debug.log
                  -rwxrwxrwx 1 iobroker users      19 Apr  9 20:06 .npmrc
                  -rwxrwxrwx 1 iobroker users    2088 Mai  9 00:30 package.json
                  -rwxrwxrwx 1 iobroker users     250 Okt 26  2018 PaxHeader
                  -rwxrwxrwx 1 iobroker users     337 Nov 11 17:53 prebuild-install
                  -rwxrwxrwx 1 iobroker users     214 Nov 11 17:53 prebuild-install.cmd
                  -rwxrwxrwx 1 iobroker users     343 Nov 11 17:53 prominode
                  -rwxrwxrwx 1 iobroker users     220 Nov 11 17:53 prominode.cmd
                  -rwxrwxrwx 1 iobroker users     309 Nov 11 17:53 rc
                  -rwxrwxrwx 1 iobroker users     186 Nov 11 17:53 rc.cmd
                  -rwxrwxrwx 1 iobroker users     709 Apr  9 20:06 reinstall.sh
                  -rwxrwxrwx 1 iobroker users     317 Nov 11 17:53 rimraf
                  -rwxrwxrwx 1 iobroker users     194 Nov 11 17:53 rimraf.cmd
                  -rwxrwxrwx 1 iobroker users     347 Nov 11 17:53 rsa-keygen-js
                  -rwxrwxrwx 1 iobroker users     224 Nov 11 17:53 rsa-keygen-js.cmd
                  -rwxrwxrwx 1 iobroker users     325 Nov 11 17:53 semver
                  -rwxrwxrwx 1 iobroker users     202 Nov 11 17:53 semver.cmd
                  -rwxrwxrwx 1 iobroker users     335 Nov 11 17:53 serialport-list
                  -rwxrwxrwx 1 iobroker users     212 Nov 11 17:53 serialport-list.cmd
                  -rwxrwxrwx 1 iobroker users     335 Nov 11 17:53 serialport-repl
                  -rwxrwxrwx 1 iobroker users     212 Nov 11 17:53 serialport-repl.cmd
                  -rwxrwxrwx 1 iobroker users     343 Nov 11 17:53 serialport-term
                  -rwxrwxrwx 1 iobroker users     220 Nov 11 17:53 serialport-term.cmd
                  -rwxrwxrwx 1 iobroker users    1604 Okt 26  2018 serviceIoBroker.bat
                  -rwxrwxrwx 1 iobroker users     331 Nov 11 17:53 sshpk-conv
                  -rwxrwxrwx 1 iobroker users     208 Nov 11 17:53 sshpk-conv.cmd
                  -rwxrwxrwx 1 iobroker users     331 Nov 11 17:53 sshpk-sign
                  -rwxrwxrwx 1 iobroker users     208 Nov 11 17:53 sshpk-sign.cmd
                  -rwxrwxrwx 1 iobroker users     335 Nov 11 17:53 sshpk-verify
                  -rwxrwxrwx 1 iobroker users     212 Nov 11 17:53 sshpk-verify.cmd
                  -rwxrwxrwx 1 iobroker users   10595 Okt 26  2018 unins000.dat
                  -rwxrwxrwx 1 iobroker users 1232359 Okt 26  2018 unins000.exe
                  -rwxrwxrwx 1 iobroker users     436 Okt 26  2018 uninstall.js
                  -rwxrwxrwx 1 iobroker users     317 Nov 11 17:53 uuid
                  -rwxrwxrwx 1 iobroker users     194 Nov 11 17:53 uuid.cmd
                  -rwxrwxrwx 1 iobroker users     321 Nov 11 17:53 which
                  -rwxrwxrwx 1 iobroker users     198 Nov 11 17:53 which.cmd
                  -rwxrwxrwx 1 iobroker users     327 Nov 11 17:53 window-size
                  -rwxrwxrwx 1 iobroker users     204 Nov 11 17:53 window-size.cmd
                  
                  andre 1 Reply Last reply Reply Quote 0
                  • andre
                    andre Developer @Negalein last edited by

                    @Negalein So wie es ausschaut hat das Script die Besitzrechte wohl korrekt gesetzt... Könntest nochmal ein "chown -R iobroker:iobroker /opt/iobroker" machen dann setzt du sie nochmal neu...

                    MfG,
                    André

                    Negalein 1 Reply Last reply Reply Quote 0
                    • Negalein
                      Negalein Global Moderator @andre last edited by

                      @andre sagte in History-Adapter bleibt rot:

                      @Negalein So wie es ausschaut hat das Script die Besitzrechte wohl korrekt gesetzt... Könntest nochmal ein "chown -R iobroker:iobroker /opt/iobroker" machen dann setzt du sie nochmal neu...

                      Ok, jetzt steht statt users überall iobroker
                      Dürfte jetzt so passen.

                      root@iobroker:/opt/iobroker# chown -R iobroker:iobroker /opt/iobroker
                      root@iobroker:/opt/iobroker# ls -al /opt/iobroker
                      insgesamt 1992
                      drwxrwxrwx 1 iobroker iobroker    1408 Mai 11 22:40 .
                      drwxr-xr-x 1 root     root          70 Mai 12 15:49 ..
                      drwxrwxrwx 1 iobroker iobroker     198 Mai 11 23:00 backups
                      drwxrwxrwx 1 iobroker iobroker      92 Mai 11 22:35 cache
                      -rwxrwxrwx 1 iobroker iobroker     335 Nov 11 17:53 certpem
                      -rwxrwxrwx 1 iobroker iobroker     212 Nov 11 17:53 certpem.cmd
                      -rwxrwxrwx 1 iobroker iobroker      74 Okt 26  2018 controller.js
                      drwxrwxrwx 1 iobroker iobroker     190 Mai 11 22:35 daemon
                      -rwxrwxrwx 1 iobroker iobroker     351 Nov 11 17:53 detect-libc
                      -rwxrwxrwx 1 iobroker iobroker     228 Nov 11 17:53 detect-libc.cmd
                      drwxrwxrwx 1 iobroker iobroker       0 Okt 26  2018 etc
                      -rwxrwxrwx 1 iobroker iobroker      84 Feb 23 15:53 INSTALLER_INFO.txt
                      -rwxrwxrwx 1 iobroker iobroker     892 Okt 26  2018 install.js
                      -rwxrwxrwx 1 iobroker iobroker     297 Nov 26 03:43 install.sh
                      -rwxrwxrwx 1 iobroker iobroker      22 Feb 23 15:53 iob
                      -rwxrwxrwx 1 iobroker iobroker     111 Feb 23 15:53 iobroker
                      -rwxrwxrwx 1 iobroker iobroker      67 Okt 26  2018 iobroker.bat
                      -rwxrwxrwx 1 iobroker iobroker      63 Nov 11 17:53 iobroker.cmd
                      drwxrwxrwx 1 iobroker iobroker     224 Mai 11 22:35 iobroker-data
                      -rwxrwxrwx 1 iobroker iobroker   32038 Mär  1  2016 ioBroker.ico
                      -rwxrwxrwx 1 iobroker iobroker      90 Apr  9 20:06 killall.sh
                      drwxrwxrwx 1 iobroker iobroker     482 Mai 12 15:49 log
                      -rwxrwxrwx 1 iobroker iobroker     313 Nov 11 17:53 mime
                      -rwxrwxrwx 1 iobroker iobroker     190 Nov 11 17:53 mime.cmd
                      -rwxrwxrwx 1 iobroker iobroker     325 Nov 11 17:53 mkdirp
                      -rwxrwxrwx 1 iobroker iobroker     202 Nov 11 17:53 mkdirp.cmd
                      -rwxrwxrwx 1 iobroker iobroker     313 Nov 11 17:53 ncp
                      -rwxrwxrwx 1 iobroker iobroker     190 Nov 11 17:53 ncp.cmd
                      drwxrwxrwx 1 iobroker iobroker   19542 Mai 12 16:06 node_modules
                      -rwxrwxrwx 1 iobroker iobroker  532963 Mär 20 21:02 npm-debug.log
                      -rwxrwxrwx 1 iobroker iobroker      19 Apr  9 20:06 .npmrc
                      -rwxrwxrwx 1 iobroker iobroker    2088 Mai  9 00:30 package.json
                      -rwxrwxrwx 1 iobroker iobroker     250 Okt 26  2018 PaxHeader
                      -rwxrwxrwx 1 iobroker iobroker     337 Nov 11 17:53 prebuild-install
                      -rwxrwxrwx 1 iobroker iobroker     214 Nov 11 17:53 prebuild-install.cmd
                      -rwxrwxrwx 1 iobroker iobroker     343 Nov 11 17:53 prominode
                      -rwxrwxrwx 1 iobroker iobroker     220 Nov 11 17:53 prominode.cmd
                      -rwxrwxrwx 1 iobroker iobroker     309 Nov 11 17:53 rc
                      -rwxrwxrwx 1 iobroker iobroker     186 Nov 11 17:53 rc.cmd
                      -rwxrwxrwx 1 iobroker iobroker     709 Apr  9 20:06 reinstall.sh
                      -rwxrwxrwx 1 iobroker iobroker     317 Nov 11 17:53 rimraf
                      -rwxrwxrwx 1 iobroker iobroker     194 Nov 11 17:53 rimraf.cmd
                      -rwxrwxrwx 1 iobroker iobroker     347 Nov 11 17:53 rsa-keygen-js
                      -rwxrwxrwx 1 iobroker iobroker     224 Nov 11 17:53 rsa-keygen-js.cmd
                      -rwxrwxrwx 1 iobroker iobroker     325 Nov 11 17:53 semver
                      -rwxrwxrwx 1 iobroker iobroker     202 Nov 11 17:53 semver.cmd
                      -rwxrwxrwx 1 iobroker iobroker     335 Nov 11 17:53 serialport-list
                      -rwxrwxrwx 1 iobroker iobroker     212 Nov 11 17:53 serialport-list.cmd
                      -rwxrwxrwx 1 iobroker iobroker     335 Nov 11 17:53 serialport-repl
                      -rwxrwxrwx 1 iobroker iobroker     212 Nov 11 17:53 serialport-repl.cmd
                      -rwxrwxrwx 1 iobroker iobroker     343 Nov 11 17:53 serialport-term
                      -rwxrwxrwx 1 iobroker iobroker     220 Nov 11 17:53 serialport-term.cmd
                      -rwxrwxrwx 1 iobroker iobroker    1604 Okt 26  2018 serviceIoBroker.bat
                      -rwxrwxrwx 1 iobroker iobroker     331 Nov 11 17:53 sshpk-conv
                      -rwxrwxrwx 1 iobroker iobroker     208 Nov 11 17:53 sshpk-conv.cmd
                      -rwxrwxrwx 1 iobroker iobroker     331 Nov 11 17:53 sshpk-sign
                      -rwxrwxrwx 1 iobroker iobroker     208 Nov 11 17:53 sshpk-sign.cmd
                      -rwxrwxrwx 1 iobroker iobroker     335 Nov 11 17:53 sshpk-verify
                      -rwxrwxrwx 1 iobroker iobroker     212 Nov 11 17:53 sshpk-verify.cmd
                      -rwxrwxrwx 1 iobroker iobroker   10595 Okt 26  2018 unins000.dat
                      -rwxrwxrwx 1 iobroker iobroker 1232359 Okt 26  2018 unins000.exe
                      -rwxrwxrwx 1 iobroker iobroker     436 Okt 26  2018 uninstall.js
                      -rwxrwxrwx 1 iobroker iobroker     317 Nov 11 17:53 uuid
                      -rwxrwxrwx 1 iobroker iobroker     194 Nov 11 17:53 uuid.cmd
                      -rwxrwxrwx 1 iobroker iobroker     321 Nov 11 17:53 which
                      -rwxrwxrwx 1 iobroker iobroker     198 Nov 11 17:53 which.cmd
                      -rwxrwxrwx 1 iobroker iobroker     327 Nov 11 17:53 window-size
                      -rwxrwxrwx 1 iobroker iobroker     204 Nov 11 17:53 window-size.cmd
                      
                      1 Reply Last reply Reply Quote 0
                      • Negalein
                        Negalein Global Moderator last edited by

                        @andre

                        Adapter bleibt weiterhin rot

                        
                          close	Zeit		
                        Meldung
                        history.0	2019-05-12 23:37:47.852	info	terminating
                        history.0	2019-05-12 23:37:47.748	error	at Manager.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/node_modules/component-bind/index.js:21:15)
                        history.0	2019-05-12 23:37:47.748	error	at Socket.onpacket (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:244:12)
                        history.0	2019-05-12 23:37:47.748	error	at Socket.onack (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:319:9)
                        history.0	2019-05-12 23:37:47.748	error	at Socket.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:787:25)
                        history.0	2019-05-12 23:37:47.748	error	at createInstancesObjects (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:748:13)
                        history.0	2019-05-12 23:37:47.748	error	at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:788:29
                        history.0	2019-05-12 23:37:47.748	error	at initAdapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:4989:62)
                        history.0	2019-05-12 23:37:47.748	error	at Object.ready (/opt/iobroker/node_modules/iobroker.history/main.js:144:22)
                        history.0	2019-05-12 23:37:47.748	error	at main (/opt/iobroker/node_modules/iobroker.history/main.js:348:12)
                        history.0	2019-05-12 23:37:47.748	error	at Object.fs.mkdirSync (fs.js:885:18)
                        history.0	2019-05-12 23:37:47.748	error	Error: EACCES: permission denied, mkdir '/iobroker-data/'
                        history.0	2019-05-12 23:37:47.747	error	uncaught exception: EACCES: permission denied, mkdir '/iobroker-data/'
                        history.0	2019-05-12 23:37:47.738	info	starting. Version 1.8.6 in /opt/iobroker/node_modules/iobroker.history, node: v8.16.0
                        history.0	2019-05-12 23:37:47.630	debug	statesDB connected
                        history.0	2019-05-12 23:37:47.598	debug	objectDB connected
                        
                        1 Reply Last reply Reply Quote 0
                        • SBorg
                          SBorg Forum Testing Most Active last edited by

                          Was mir gerade komisch vorkommt:
                          @Negalein sagte in History-Adapter bleibt rot:

                          '/iobroker-data/'

                          würde eigentlich bedeuten er will in das root des Systems installieren. Sollte da nicht '/opt/iobroker/iobroker-data/' wie bei den anderen Fehlermeldungen stehen?
                          Installierst du in ganz normal über Adapter oder direkt per npm?
                          Was bringt denn ein ls -la iobroker-data/ ?

                          Negalein 1 Reply Last reply Reply Quote 0
                          • Negalein
                            Negalein Global Moderator @SBorg last edited by

                            @SBorg sagte in History-Adapter bleibt rot:

                            Was mir gerade komisch vorkommt:
                            @Negalein sagte in History-Adapter bleibt rot:

                            '/iobroker-data/'

                            würde eigentlich bedeuten er will in das root des Systems installieren. Sollte da nicht '/opt/iobroker/iobroker-data/' wie bei den anderen Fehlermeldungen stehen?
                            Installierst du in ganz normal über Adapter oder direkt per npm?
                            Was bringt denn ein ls -la iobroker-data/ ?

                            root@iobroker:/opt/iobroker# ls -la iobroker-data/
                            insgesamt 18596
                            drwxrwxrwx 1 iobroker iobroker     224 Mai 11 22:35 .
                            drwxrwxrwx 1 iobroker iobroker    1408 Mai 11 22:40 ..
                            drwxrwxrwx 1 iobroker iobroker    3024 Mai 12 23:35 backup-objects
                            drwxrwxrwx 1 iobroker iobroker    2632 Mai 11 22:35 files
                            drwxrwxrwx 1 iobroker iobroker       0 Jan 17 13:26 history
                            -rwxrwxrwx 1 iobroker iobroker    3567 Okt 26  2018 iobroker.json
                            drwxrwxrwx 1 iobroker iobroker     270 Mai 11 22:35 node-red
                            -rwxrwxrwx 1 iobroker iobroker 7976329 Mai 12 23:42 objects.json
                            -rwxrwxrwx 1 iobroker iobroker 7976329 Mai 12 23:42 objects.json.bak
                            -rwxrwxrwx 1 iobroker iobroker 1539178 Mai 12 23:42 states.json
                            -rwxrwxrwx 1 iobroker iobroker 1539286 Mai 12 23:42 states.json.bak
                            drwxrwxrwx 1 iobroker iobroker      20 Mai 11 22:35 tmp
                            drwxrwxrwx 1 iobroker iobroker      22 Mai 12 23:42 zigbee_0
                            root@iobroker:/opt/iobroker#
                            

                            Ja, iobroker-data sollte eigentlich in /opt/iobroker sein.

                            1 Reply Last reply Reply Quote 0
                            • andre
                              andre Developer last edited by

                              mach mal ein "ps -eF". Unter welchem User läuft dein history adapter?

                              root@iobtestbridge:/opt/iobroker# ps -eF
                              UID        PID  PPID  C    SZ   RSS PSR STIME TTY          TIME CMD
                              root         1     0  0  5290  1672   0 11:01 ?        00:00:00 /bin/bash /opt/scripts/iobroker_startup.sh
                              root       319     1  0 13175  1972   0 11:02 ?        00:00:00 sudo -u iobroker node node_modules/iobroker.js-controller/controller.js
                              root       320     1  0  1847   604   0 11:02 ?        00:00:00 tail -f /dev/null
                              iobroker   321   319  0 308351 51592  0 11:02 ?        00:00:03 iobroker.js-controller
                              iobroker   331   321  0 302889 51724  1 11:02 ?        00:00:03 io.admin.0
                              iobroker   341   321  0 246250 25080  1 11:02 ?        00:00:00 io.discovery.0
                              iobroker   420   321  0 246250 26088  1 11:05 ?        00:00:00 io.history.0
                              iobroker   430     0  0  5351  2196   0 11:05 ?        00:00:00 bash
                              root       445     0  0  5346  2152   1 11:10 ?        00:00:00 bash
                              root       452   445  0  9957  1700   0 11:11 ?        00:00:00 ps -eF
                              

                              MfG,
                              André

                              Negalein 1 Reply Last reply Reply Quote 0
                              • SBorg
                                SBorg Forum Testing Most Active last edited by

                                Ok, die Rechte stimmen zumindest, aber es ist tatsächlich so, dass er bei dir im "root" installieren will. Da hat der User iobroker standardmäßig (und soll auch keine) natürlich keine Rechte. Warum er dass aber will...?
                                Versuche mal im /opt/iobroker - Verzeichnis:  sudo -u iobroker iobroker install history (das doppelte iobroker ist kein Tippfehler 😉 )
                                @andre IMHO gar nicht, er bekommt ihn doch nicht installiert, oder bin ich gerade falsch?

                                andre 1 Reply Last reply Reply Quote 0
                                • andre
                                  andre Developer @SBorg last edited by

                                  @SBorg sagte in History-Adapter bleibt rot:

                                  @andre IMHO gar nicht, er bekommt ihn doch nicht installiert, oder bin ich gerade falsch?

                                  Soweit ich verstanden habe hat bekommt er den history nach Übernahme der bestehenden Installation nicht mehr zum laufen, also dass er grün wird...

                                  Negalein 1 Reply Last reply Reply Quote 0
                                  • SBorg
                                    SBorg Forum Testing Most Active last edited by

                                    Stimmt, jetzt wo du es schreibst ^^
                                    Blöde Frage @Negalein : was hast du denn als Speicherort im Adapter angegeben?

                                    Negalein 1 Reply Last reply Reply Quote 0
                                    • Negalein
                                      Negalein Global Moderator @andre last edited by

                                      @andre sagte in History-Adapter bleibt rot:

                                      mach mal ein "ps -eF". Unter welchem User läuft dein history adapter?

                                      der History-Adapter scheint hier nicht auf.

                                      root@iobroker:/opt/iobroker# ps -eF
                                      UID        PID  PPID  C    SZ   RSS PSR STIME TTY          TIME CMD
                                      root         1     0  0  5293  3352   3 12:31 ?        00:00:00 /bin/bash /opt/scripts/iobroker_startup.sh
                                      root       267     0  0  5350  3916   2 12:31 ?        00:00:00 bash
                                      root       279     1  0 13179  3860   1 12:31 ?        00:00:00 sudo -u iobroker node node_modules/iobroker.js-controller/controller.js
                                      root       280     1  0  1851   716   3 12:31 ?        00:00:00 tail -f /dev/null
                                      iobroker   281   279 21 338755 191652 2 12:31 ?        00:00:29 iobroker.js-controller
                                      iobroker   291   281  6 281557 92360  2 12:31 ?        00:00:08 io.admin.0
                                      iobroker   302   281  0 245742 40320  0 12:31 ?        00:00:00 io.discovery.0
                                      iobroker   312   281  0 263198 46984  3 12:31 ?        00:00:00 io.backitup.0
                                      iobroker   322   281  0 249917 42112  0 12:31 ?        00:00:01 io.web.0
                                      iobroker   342   281  2 286494 52712  1 12:31 ?        00:00:02 io.cloud.0
                                      iobroker   353   281  0 246252 42480  1 12:31 ?        00:00:00 io.ping.0
                                      iobroker   415   281  2 301106 48560  1 12:32 ?        00:00:01 io.alexa2.0
                                      iobroker   425   281  1 245872 40412  1 12:32 ?        00:00:00 io.denon.0
                                      iobroker   431   281  1 246737 45944  2 12:32 ?        00:00:00 io.socketio.0
                                      iobroker   445   281  1 245868 40692  3 12:32 ?        00:00:00 io.email.0
                                      iobroker   455   281  3 233229 43272  1 12:32 ?        00:00:01 io.enigma2.0
                                      iobroker   461   281  2 249039 50560  0 12:32 ?        00:00:00 io.fronius.0
                                      iobroker   471   281  2 249365 52788  1 12:32 ?        00:00:00 io.harmony.0
                                      iobroker   496   281  1 246554 45552  3 12:32 ?        00:00:00 io.hs100.0
                                      iobroker   502   281  4 248657 40536  2 12:32 ?        00:00:02 io.hue.0
                                      iobroker   516   281  3 251517 41536  3 12:32 ?        00:00:01 io.info.0
                                      iobroker   522   281  8 293455 62712  2 12:32 ?        00:00:03 io.iot.0
                                      iobroker   686   281  1 246253 41880  0 12:32 ?        00:00:00 io.iqontrol.0
                                      iobroker   791   281 16 288785 120512 2 12:32 ?        00:00:06 io.javascript.0
                                      iobroker   805   281  1 245902 40964  2 12:33 ?        00:00:00 io.mihome.0
                                      iobroker   811   281  4 253481 41760  0 12:33 ?        00:00:01 io.node-red.0
                                      iobroker   821   281  2 267761 49932  1 12:33 ?        00:00:00 io.parser.0
                                      iobroker   837   281  1 246753 40448  0 12:33 ?        00:00:00 io.scenes.0
                                      iobroker   843   811 16 266480 126504 2 12:33 ?        00:00:05 node-red
                                      iobroker   858   281  2 246286 41916  0 12:33 ?        00:00:00 io.snmp.0
                                      iobroker   880   281  9 255262 49708  2 12:33 ?        00:00:03 io.synology.0
                                      iobroker   886   281  9 255291 49708  3 12:33 ?        00:00:03 io.synology.1
                                      iobroker   899   281  9 255290 48816  3 12:33 ?        00:00:03 io.synology.2
                                      iobroker   966   281  5 285949 49720  0 12:33 ?        00:00:01 io.telegram.0
                                      iobroker   972   281  3 249942 43852  0 12:33 ?        00:00:01 io.terminal.0
                                      iobroker   978   281 10 259543 100988 0 12:33 ?        00:00:02 io.upnp.0
                                      iobroker   986   281  5 249754 42804  2 12:33 ?        00:00:01 io.virtualpowermeter.0
                                      iobroker  1012   281  4 249983 51964  1 12:33 ?        00:00:01 io.zigbee.0
                                      root      1231   267  0  9961  3412   2 12:33 ?        00:00:00 ps -eF
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • Negalein
                                        Negalein Global Moderator @andre last edited by

                                        @andre sagte in History-Adapter bleibt rot:

                                        Soweit ich verstanden habe hat bekommt er den history nach Übernahme der bestehenden Installation nicht mehr zum laufen, also dass er grün wird...

                                        Genau so ist es

                                        1 Reply Last reply Reply Quote 0
                                        • Negalein
                                          Negalein Global Moderator @SBorg last edited by

                                          @SBorg sagte in History-Adapter bleibt rot:

                                          Stimmt, jetzt wo du es schreibst ^^
                                          Blöde Frage @Negalein : was hast du denn als Speicherort im Adapter angegeben?

                                          /iobroker-data

                                          instances - ioBroker.png

                                          So stehts auch in der alten Installation, von der ich das ganze /opt/iobroker kopiert habe.

                                          andre 1 Reply Last reply Reply Quote 0
                                          • andre
                                            andre Developer @Negalein last edited by

                                            @Negalein sagte in History-Adapter bleibt rot:

                                            @SBorg sagte in History-Adapter bleibt rot:

                                            Stimmt, jetzt wo du es schreibst ^^
                                            Blöde Frage @Negalein : was hast du denn als Speicherort im Adapter angegeben?

                                            /iobroker-data

                                            instances - ioBroker.png

                                            So stehts auch in der alten Installation, von der ich das ganze /opt/iobroker kopiert habe.

                                            Das ist im root des filesystems... Da darf der iobroker-user nichts anlegen....
                                            entweder du machst das feld leer, dann speichert er automatisch unter /opt/iobroker/iobroker-data oder du trägst nen eigenen pfad ala /opt/iobroker/historydaten oder sowas ein...

                                            dumm ist nur, dass die daten in der alten installation dann außerhalb des /opt/iobroker lagen und damit nicht gesichert wurden bzw. sich noch im container befinden...

                                            MfG,
                                            André

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            935
                                            Online

                                            31.7k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            history error history.0 error
                                            4
                                            32
                                            1659
                                            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