Navigation

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

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    SOLVED History Adapter startet nicht

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

      Systemdata Bitte Ausfüllen
      Hardwaresystem: Tinkerboard.
      Arbeitsspeicher: 2GB
      Festplattenart: SD-Karte
      Betriebssystem: Linux
      Node-Version: 10.16.3
      Nodejs-Version: 2.0.35
      NPM-Version: 6.x.x
      Installationsart: Image
      Image genutzt: Ja
      Ort/Name der Imagedatei: https://www.iobroker.net/#de/download?ioBroker_Image_Tinker_piVCCU3_20190813_stretch.md Systemdata Bitte Ausfüllen
      -- --

      Hallo, seit dem ich das neue Image nutze ( clean install ) läuft der History Adapter nicht mehr. Auf Grund der Logmeldungen habe ich das Verzeichnis "/opt/iobroker/iobroker-dat/history" manuell erstellt und mit alle Zugriffsrechte versehen. Dennoch bekomme ich LOG immer folgende Fehlermeldung:

      host.All-In-One-Tinker	2019-10-31 17:40:14.133	info	Restart adapter system.adapter.history.0 because enabled
      host.All-In-One-Tinker	2019-10-31 17:40:14.133	info	instance system.adapter.history.0 terminated with code 0 (NO_ERROR)
      host.All-In-One-Tinker	2019-10-31 17:40:14.133	error	Caught by controller[0]: path: '/history/' }
      host.All-In-One-Tinker	2019-10-31 17:40:14.133	error	Caught by controller[0]: code: 'EACCES',
      host.All-In-One-Tinker	2019-10-31 17:40:14.133	error	Caught by controller[0]: syscall: 'mkdir',
      host.All-In-One-Tinker	2019-10-31 17:40:14.132	error	Caught by controller[0]: errno: -13,
      host.All-In-One-Tinker	2019-10-31 17:40:14.132	error	Caught by controller[0]: at process._tickCallback (internal/process/next_tick.js:68:7)
      host.All-In-One-Tinker	2019-10-31 17:40:14.132	error	Caught by controller[0]: at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
      host.All-In-One-Tinker	2019-10-31 17:40:14.132	error	Caught by controller[0]: at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
      host.All-In-One-Tinker	2019-10-31 17:40:14.132	error	Caught by controller[0]: at client.keys (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:536:17)
      host.All-In-One-Tinker	2019-10-31 17:40:14.132	error	Caught by controller[0]: at states.getKeys (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:6461:25)
      host.All-In-One-Tinker	2019-10-31 17:40:14.132	error	Caught by controller[0]: at initLogging (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:6757:64)
      host.All-In-One-Tinker	2019-10-31 17:40:14.131	error	Caught by controller[0]: at Object.ready (/opt/iobroker/node_modules/iobroker.history/main.js:144:22)
      host.All-In-One-Tinker	2019-10-31 17:40:14.131	error	Caught by controller[0]: at main (/opt/iobroker/node_modules/iobroker.history/main.js:348:12)
      host.All-In-One-Tinker	2019-10-31 17:40:14.131	error	Caught by controller[0]: at Object.mkdirSync (fs.js:757:3)
      host.All-In-One-Tinker	2019-10-31 17:40:14.131	error	Caught by controller[0]: { Error: EACCES: permission denied, mkdir '/history/'
      history.0	2019-10-31 17:40:13.611	info	(1700) Terminated (NO_ERROR): Without reason
      history.0	2019-10-31 17:40:13.610	info	(1700) terminating
      history.0	2019-10-31 17:40:13.577	error	(1700) Error: EACCES: permission denied, mkdir '/history/' at Object.mkdirSync (fs.js:757:3) at main (/opt/iobroker/node_modules/iobroker.history/main.js:348:12) at Object.ready (/opt/iobr
      history.0	2019-10-31 17:40:13.576	error	(1700) uncaught exception: EACCES: permission denied, mkdir '/history/'
      history.0	2019-10-31 17:40:13.538	info	(1700) starting. Version 1.8.7 in /opt/iobroker/node_modules/iobroker.history, node: v10.16.3
      

      Mod-Edit: Code/Log in Code Tags gepackt. Bitte benutzt die Code Tags Funktion -> </>
      Hier gehts zur Hilfe.

      Glasfaser 1 Reply Last reply Reply Quote 0
      • Glasfaser
        Glasfaser @HAL last edited by Glasfaser

        @HAL

        lass dein Speicherort mal leer und starte den Adapter neu

        HAL 1 Reply Last reply Reply Quote 0
        • Glasfaser
          Glasfaser @HAL last edited by Glasfaser

          @HAL sagte in History Adapter startet nicht:

          ...Verzeichnis "/opt/iobroker/iobroker-dat/history"

          Falsch angelegt , so ist die Ordnerstruktur: ( dat zu data ändern )

          /opt/iobroker/iobroker-data/history/
          
          

          error (1700) uncaught exception: EACCES: permission denied, mkdir '/history/'

          Lass den Fixer nochmal drüber laufen und lass den Ordner vom Adapter erstellen

          HAL 1 Reply Last reply Reply Quote 0
          • HAL
            HAL last edited by

            Sorry mein Tippfehler beim beschreiben. Das Verzeichnisse war / ist korrekt mit data angelegt. Ich werde aber das mit dem Fixer noch einmal versuchen

            1 Reply Last reply Reply Quote 0
            • HAL
              HAL @Glasfaser last edited by

              @Glasfaser den History Adapter gelöscht, Fixer laufen gelassen, History Adapter neu installiert. Adapter gestartet, Ordern wird nicht angelegt und Fehler im Log wie vorher.

              Glasfaser 1 Reply Last reply Reply Quote 0
              • Glasfaser
                Glasfaser @HAL last edited by

                @HAL

                Instanz deinstallieren , Adapter deinstallieren über den Papierkorb , Neuinstallation über die Katze

                2.JPG

                2.JPG

                HAL 1 Reply Last reply Reply Quote 0
                • HAL
                  HAL @Glasfaser last edited by

                  @Glasfaser Ich bin genau nach Deinen Anweisungen vorgegangen, leider wieder das gleiche Ergebnis, Ordner wird nicht erstellt und Adapter startet nicht:

                  H1.JPG

                  H2.JPG

                  Glasfaser HAL 2 Replies Last reply Reply Quote 0
                  • Glasfaser
                    Glasfaser @HAL last edited by

                    @HAL

                    Zeige mal die Rechte von dem Ordner

                    HAL 1 Reply Last reply Reply Quote 0
                    • HAL
                      HAL @HAL last edited by

                      Jetzt klappt es, ich habe den Speicherort komplett ausgeschrieben und nicht das vorbelegte genutzt:

                      H3.JPG

                      Glasfaser 1 Reply Last reply Reply Quote 0
                      • HAL
                        HAL @Glasfaser last edited by

                        @Glasfaser Danke für Deine Unterstützung !

                        1 Reply Last reply Reply Quote 0
                        • Glasfaser
                          Glasfaser @HAL last edited by Glasfaser

                          @HAL

                          lass dein Speicherort mal leer und starte den Adapter neu

                          HAL 1 Reply Last reply Reply Quote 0
                          • HAL
                            HAL @Glasfaser last edited by

                            @Glasfaser , Ok, klappt auch, keine Ahnung wieso das bei mir mit /history/ vorbelegt war.

                            Wie stelle ich das Topic auf "erledigt" ?

                            Glasfaser 1 Reply Last reply Reply Quote 0
                            • Glasfaser
                              Glasfaser @HAL last edited by

                              @HAL

                              Habe mich schon gewundert , das bei dir so etwas drin steht !

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

                              Support us

                              ioBroker
                              Community Adapters
                              Donate

                              691
                              Online

                              31.9k
                              Users

                              80.1k
                              Topics

                              1.3m
                              Posts

                              history adapter
                              2
                              12
                              657
                              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