Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. OilFox 3.1.0 Ohne Daten/Ohne Log

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    OilFox 3.1.0 Ohne Daten/Ohne Log

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

      Systemdata Bitte Ausfüllen
      Hardwaresystem: QNAP 251+.
      Arbeitsspeicher: 12GB
      Festplattenart: HDD
      Betriebssystem: Debian 10 in Virtual Station
      Node-Version: 12.22.6
      Nodejs-Version: 12.22.6
      NPM-Version: 6.13.6
      Installationsart: Skript
      Image genutzt: Nein

      Hallo Zusammen

      Der Oilfox Adapter läuft bei mir Nicht

      Erster Versuch mit Version 0.5 war ohne Erfolg

      Zweiter Versuch mit Version 2.1 Ergab die Fehlermeldung die Hier auch beschrieben ist.
      Github"Unexpected token < in JSON at position 0"

      Dritter Versuch Aktuellste Version 3.1.0
      Adapter bleibt Gelb liefert Keine Daten Leider auch kein Protokoll das ich hier schreiben könnte.

      Jemand eine Idee wie ich weiter vorgehen soll. Finde ich irgendwo ein weiteres Logfile?

      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Staubi0815 last edited by Thomas Braun

        @staubi0815

        iobroker logs --watch
        

        anschauen und den Adapter neustarten.

        Dein nodeJS hat auch komische Versionen.

        which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
         
        
        Staubi0815 1 Reply Last reply Reply Quote 0
        • Staubi0815
          Staubi0815 last edited by Staubi0815

          So hier der Log

          2021-09-22 22:32:16.829  - info: host.iobrokerdebia102 stopInstance system.adapter.oilfox.0 (force=false, process=false)
          2021-09-22 22:32:16.839  - info: host.iobrokerdebia102 stopInstance canceled schedule system.adapter.oilfox.0
          2021-09-22 22:32:16.829  - info: host.iobrokerdebia102 stopInstance system.adapter.oilfox.0 (force=false, process=false)
          2021-09-22 22:32:16.839  - info: host.iobrokerdebia102 stopInstance canceled schedule system.adapter.oilfox.0
          2021-09-22 22:32:19.886  - info: host.iobrokerdebia102 instance scheduled system.adapter.oilfox.0 */59 * * * *
          2021-09-22 22:32:19.886  - info: host.iobrokerdebia102 instance scheduled system.adapter.oilfox.0 */59 * * * *
          
          1 Reply Last reply Reply Quote 0
          • Staubi0815
            Staubi0815 @Thomas Braun last edited by

            @thomas-braun
            Hab deinen Befehl Mal ausgeführt

            root@iobrokerdebia102:~# which nodejs node npm && nodejs -v && node -v && npm -v                                                                                                                                                              && sudo apt update && sudo apt update && apt policy nodejs
            /usr/bin/nodejs
            /usr/bin/node
            /usr/local/bin/npm
            v12.22.6
            v12.22.6
            6.13.6
            OK:1 http://deb.debian.org/debian buster InRelease
            Holen:2 http://deb.debian.org/debian buster-updates InRelease [51,9 kB]
            Holen:3 http://security.debian.org/debian-security buster/updates InRelease [65,                                                                                                                                                             4 kB]
            OK:4 http://haproxy.debian.net buster-backports-2.2 InRelease
            OK:5 https://deb.nodesource.com/node_12.x buster InRelease
            Holen:6 http://security.debian.org/debian-security buster/updates/main Sources [                                                                                                                                                             200 kB]
            Holen:7 http://security.debian.org/debian-security buster/updates/main amd64 Pac                                                                                                                                                             kages [305 kB]
            Es wurden 622 kB in 2 s geholt (304 kB/s).
            Paketlisten werden gelesen... Fertig
            Abhängigkeitsbaum wird aufgebaut.
            Statusinformationen werden eingelesen.... Fertig
            Aktualisierung für 2 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, u                                                                                                                                                             m sie anzuzeigen.
            OK:1 http://security.debian.org/debian-security buster/updates InRelease
            OK:2 http://deb.debian.org/debian buster InRelease
            OK:3 http://deb.debian.org/debian buster-updates InRelease
            OK:4 https://deb.nodesource.com/node_12.x buster InRelease
            OK:5 http://haproxy.debian.net buster-backports-2.2 InRelease
            Paketlisten werden gelesen... Fertig
            Abhängigkeitsbaum wird aufgebaut.
            Statusinformationen werden eingelesen.... Fertig
            Aktualisierung für 2 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, u                                                                                                                                                             m sie anzuzeigen.
            nodejs:
              Installiert:           12.22.6-deb-1nodesource1
              Installationskandidat: 12.22.6-deb-1nodesource1
              Versionstabelle:
             *** 12.22.6-deb-1nodesource1 500
                    500 https://deb.nodesource.com/node_12.x buster/main amd64 Packages
                    100 /var/lib/dpkg/status
                 10.24.0~dfsg-1~deb10u1 500
                    500 http://deb.debian.org/debian buster/main amd64 Packages
                    500 http://security.debian.org/debian-security buster/updates/main amd64                                                                                                                                                              Packages
            root@iobrokerdebia102:~# which nodejs node npm && nodejs -v && node -v && npm -v                                                                                                                                                              && sudo apt update && sudo apt update && apt policy nodejs
            /usr/bin/nodejs
            /usr/bin/node
            /usr/local/bin/npm
            v12.22.6
            v12.22.6
            6.13.6
            OK:1 http://deb.debian.org/debian buster InRelease
            Holen:2 http://deb.debian.org/debian buster-updates InRelease [51,9 kB]
            Holen:3 http://security.debian.org/debian-security buster/updates InRelease [65,                                                                                                                                                             4 kB]
            OK:4 http://haproxy.debian.net buster-backports-2.2 InRelease
            OK:5 https://deb.nodesource.com/node_12.x buster InRelease
            Holen:6 http://security.debian.org/debian-security buster/updates/main Sources [                                                                                                                                                             200 kB]
            Holen:7 http://security.debian.org/debian-security buster/updates/main amd64 Pac                                                                                                                                                             kages [305 kB]
            Es wurden 622 kB in 2 s geholt (304 kB/s).
            Paketlisten werden gelesen... Fertig
            Abhängigkeitsbaum wird aufgebaut.
            Statusinformationen werden eingelesen.... Fertig
            Aktualisierung für 2 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, u                                                                                                                                                             m sie anzuzeigen.
            OK:1 http://security.debian.org/debian-security buster/updates InRelease
            OK:2 http://deb.debian.org/debian buster InRelease
            OK:3 http://deb.debian.org/debian buster-updates InRelease
            OK:4 https://deb.nodesource.com/node_12.x buster InRelease
            OK:5 http://haproxy.debian.net buster-backports-2.2 InRelease
            Paketlisten werden gelesen... Fertig
            Abhängigkeitsbaum wird aufgebaut.
            Statusinformationen werden eingelesen.... Fertig
            Aktualisierung für 2 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, u                                                                                                                                                             m sie anzuzeigen.
            nodejs:
              Installiert:           12.22.6-deb-1nodesource1
              Installationskandidat: 12.22.6-deb-1nodesource1
              Versionstabelle:
             *** 12.22.6-deb-1nodesource1 500
                    500 https://deb.nodesource.com/node_12.x buster/main amd64 Packages
                    100 /var/lib/dpkg/status
                 10.24.0~dfsg-1~deb10u1 500
                    500 http://deb.debian.org/debian buster/main amd64 Packages
                    500 http://security.debian.org/debian-security buster/updates/main amd64                                                                                                                                                              Packages
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Staubi0815 last edited by Thomas Braun

              @staubi0815

              nodeJS/npm nicht korrekt installiert.
              Hat aber mit dem Adapter nix zu tun.

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

                Ohh Das wird dann Wohl ein Projekt für morgen...Danke
                Erstmal Backup Machen.....

                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @Staubi0815 last edited by Thomas Braun

                  @staubi0815
                  Und leg dir einen User mit sudo-Rechten an. Man meldet sich nicht als root an.

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

                    So Alle Updates Gemacht ein Benutzer mit Sudo Angelegt und NPM wieder sortiert.
                    Läuft nur Leider immer noch nicht. 😕

                    user@iobrokerdebia102:~$ which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
                    /usr/bin/nodejs
                    /usr/bin/node
                    /usr/bin/npm
                    v12.22.6
                    v12.22.6
                    6.14.15
                    [sudo] Passwort für user:
                    OK:1 http://security.debian.org/debian-security buster/updates InRelease
                    OK:2 http://deb.debian.org/debian buster InRelease
                    OK:3 http://deb.debian.org/debian buster-updates InRelease
                    OK:4 https://deb.nodesource.com/node_12.x buster InRelease
                    OK:5 http://haproxy.debian.net buster-backports-2.2 InRelease
                    Paketlisten werden gelesen... Fertig
                    Abhängigkeitsbaum wird aufgebaut.
                    Statusinformationen werden eingelesen.... Fertig
                    Alle Pakete sind aktuell.
                    OK:1 http://security.debian.org/debian-security buster/updates InRelease
                    OK:2 http://deb.debian.org/debian buster InRelease
                    OK:3 http://deb.debian.org/debian buster-updates InRelease
                    OK:4 https://deb.nodesource.com/node_12.x buster InRelease
                    OK:5 http://haproxy.debian.net buster-backports-2.2 InRelease
                    Paketlisten werden gelesen... Fertig
                    Abhängigkeitsbaum wird aufgebaut.
                    Statusinformationen werden eingelesen.... Fertig
                    Alle Pakete sind aktuell.
                    nodejs:
                      Installiert:           12.22.6-deb-1nodesource1
                      Installationskandidat: 12.22.6-deb-1nodesource1
                      Versionstabelle:
                     *** 12.22.6-deb-1nodesource1 500
                            500 https://deb.nodesource.com/node_12.x buster/main amd64 Packages
                            100 /var/lib/dpkg/status
                         10.24.0~dfsg-1~deb10u1 500
                            500 http://deb.debian.org/debian buster/main amd64 Packages
                            500 http://security.debian.org/debian-security buster/updates/main amd64 Packages
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Staubi0815
                      Staubi0815 last edited by

                      Hier nochmal der Log hat sich auch nichts geändert.
                      IOBROKER zeigt im Protokoll auch nichts.

                      2021-09-23 20:39:38.736  - info: host.iobrokerdebia102 stopInstance system.adapter.oilfox.0 (force=false, process=false)
                      2021-09-23 20:39:38.748  - info: host.iobrokerdebia102 stopInstance canceled schedule system.adapter.oilfox.0
                      2021-09-23 20:39:38.736  - info: host.iobrokerdebia102 stopInstance system.adapter.oilfox.0 (force=false, process=false)
                      2021-09-23 20:39:38.748  - info: host.iobrokerdebia102 stopInstance canceled schedule system.adapter.oilfox.0
                      2021-09-23 20:39:41.789  - info: host.iobrokerdebia102 instance scheduled system.adapter.oilfox.0 */59 * * * *
                      2021-09-23 20:39:41.789  - info: host.iobrokerdebia102 instance scheduled system.adapter.oilfox.0 */59 * * * *
                      
                      1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Staubi0815 last edited by Thomas Braun

                        @staubi0815

                        Du hast schon gesehen, dass der Adapter 'scheduled' ist?

                        Ich habe gerade mal

                        system.adapter.oilfox                  : oilfox         - v2.1.0
                        

                        installiert. Kein Problem hier. Ob auch Daten geholt werden kann ich allerdings nicht nachstellen.

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

                          Hilf mir bitte auf die Sprünge. Was soll mir das Sagen? Das ganze geplant und abgebrochen oder?

                          ICh Probiere es nochmal auf 2.1

                          Du hast noch gemein "Dein nodeJS hat auch komische Versionen." Sollte ich da was Machen?

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

                            @staubi0815
                            Der Adapter startet in Intervallen (alle 59 Minuten) und legt sich dann wieder schlafen.

                            1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @Staubi0815 last edited by

                              @staubi0815 sagte in OilFox 3.1.0 Ohne Daten/Ohne Log:

                              Du hast noch gemein "Dein nodeJS hat auch komische Versionen." Sollte ich da was Machen?

                              Nein, passt doch jetzt.

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

                                2021-09-23 21:07:00.074  - info: host.iobrokerdebia102 instance system.adapter.oilfox.0 started with pid 2397
                                2021-09-23 21:07:00.074  - info: host.iobrokerdebia102 instance system.adapter.oilfox.0 started with pid 2397
                                2021-09-23 21:07:01.992  - info: oilfox.0 (2397) starting. Version 2.1.0 in /opt/iobroker/node_modules/iobroker.oilfox, node: v12.22.6, js-controller: 3.3.18
                                2021-09-23 21:07:02.317  - error: oilfox.0 (2397) uncaught exception: Unexpected token < in JSON at position 0
                                2021-09-23 21:07:02.319  - error: oilfox.0 (2397) SyntaxError: Unexpected token < in JSON at position 0
                                    at JSON.parse (<anonymous>)
                                    at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/iobroker.oilfox/main.js:75:31)
                                    at IncomingMessage.emit (events.js:326:22)
                                    at endReadableNT (_stream_readable.js:1241:12)
                                    at processTicksAndRejections (internal/process/task_queues.js:84:21)
                                2021-09-23 21:07:02.320  - error: oilfox.0 (2397) Unexpected token < in JSON at position 0
                                2021-09-23 21:07:02.833  - info: oilfox.0 (2397) terminating
                                2021-09-23 21:07:02.847  - warn: oilfox.0 (2397) Terminated (UNCAUGHT_EXCEPTION): Without reason
                                2021-09-23 21:07:03.385  - error: host.iobrokerdebia102 instance system.adapter.oilfox.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                2021-09-23 21:07:01.992  - info: oilfox.0 (2397) starting. Version 2.1.0 in /opt/iobroker/node_modules/iobroker.oilfox, node: v12.22.6, js-controller: 3.3.18
                                2021-09-23 21:07:02.317  - error: oilfox.0 (2397) uncaught exception: Unexpected token < in JSON at position 0
                                2021-09-23 21:07:02.319  - error: oilfox.0 (2397) SyntaxError: Unexpected token < in JSON at position 0
                                    at JSON.parse (<anonymous>)
                                    at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/iobroker.oilfox/main.js:75:31)
                                    at IncomingMessage.emit (events.js:326:22)
                                    at endReadableNT (_stream_readable.js:1241:12)
                                    at processTicksAndRejections (internal/process/task_queues.js:84:21)
                                2021-09-23 21:07:02.320  - error: oilfox.0 (2397) Unexpected token < in JSON at position 0
                                2021-09-23 21:07:02.833  - info: oilfox.0 (2397) terminating
                                2021-09-23 21:07:02.847  - warn: oilfox.0 (2397) Terminated (UNCAUGHT_EXCEPTION): Without reason
                                2021-09-23 21:07:03.385  - error: host.iobrokerdebia102 instance system.adapter.oilfox.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @Staubi0815 last edited by

                                  @staubi0815

                                  Hier ohne Schluckauf:

                                  2021-09-23 21:09:53.500  - info: host.chet iobroker add oilfox auto --host chet
                                  2021-09-23 21:09:57.575  - info: host.chet iobroker NPM version: 7.24.0
                                  2021-09-23 21:09:57.578  - info: host.chet iobroker npm install iobroker.oilfox@2.1.0 --loglevel error --prefix "/opt/iobroker" (System call)
                                  2021-09-23 21:10:16.660  - info: host.chet iobroker host.chet install adapter oilfox
                                  2021-09-23 21:10:16.697  - info: host.chet iobroker upload [1] oilfox.admin /opt/iobroker/node_modules/iobroker.oilfox/admin/oilfox.png oilfox.png image/png
                                  2021-09-23 21:10:16.798  - info: host.chet iobroker upload [0] oilfox.admin /opt/iobroker/node_modules/iobroker.oilfox/admin/index_m.html index_m.html text/html
                                  2021-09-23 21:10:16.883  - info: host.chet iobroker host.chet object system.adapter.oilfox created/updated
                                  2021-09-23 21:10:16.926  - info: host.chet iobroker host.chet create instance oilfox
                                  2021-09-23 21:10:16.940  - info: host.chet iobroker host.chet object system.adapter.oilfox.0.logLevel created
                                  2021-09-23 21:10:16.972  - info: host.chet iobroker host.chet object system.adapter.oilfox.0.sigKill created
                                  2021-09-23 21:10:17.006  - info: host.chet iobroker host.chet object system.adapter.oilfox.0.eventLoopLag created
                                  2021-09-23 21:10:17.040  - info: host.chet iobroker host.chet object system.adapter.oilfox.0.outputCount created
                                  2021-09-23 21:10:17.074  - info: host.chet iobroker host.chet object system.adapter.oilfox.0.inputCount created
                                  2021-09-23 21:10:17.108  - info: host.chet iobroker host.chet object system.adapter.oilfox.0.uptime created
                                  2021-09-23 21:10:17.143  - info: host.chet iobroker host.chet object system.adapter.oilfox.0.memRss created
                                  2021-09-23 21:10:17.179  - info: host.chet iobroker host.chet object system.adapter.oilfox.0.memHeapTotal created
                                  2021-09-23 21:10:17.214  - info: host.chet iobroker host.chet object system.adapter.oilfox.0.memHeapUsed created
                                  2021-09-23 21:10:17.250  - info: host.chet iobroker host.chet object system.adapter.oilfox.0.cputime created
                                  2021-09-23 21:10:17.287  - info: host.chet iobroker host.chet object system.adapter.oilfox.0.cpu created
                                  2021-09-23 21:10:17.323  - info: host.chet iobroker host.chet object system.adapter.oilfox.0.compactMode created
                                  2021-09-23 21:10:17.358  - info: host.chet iobroker host.chet object system.adapter.oilfox.0.connected created
                                  2021-09-23 21:10:17.392  - info: host.chet iobroker host.chet object system.adapter.oilfox.0.alive created
                                  2021-09-23 21:10:17.466  - info: host.chet iobroker host.chet object system.adapter.oilfox.0 created
                                  2021-09-23 21:10:18.517  - info: host.chet iobroker exit 0
                                  2021-09-23 21:10:20.504  - info: host.chet instance scheduled system.adapter.oilfox.0 */59 * * * *
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • Staubi0815
                                    Staubi0815 last edited by Staubi0815

                                    Hmm Irgendwelche Ideen?Werde aus diesen Logs nicht schlau... Hab jetzt ja auch die 2.1.0

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

                                    Support us

                                    ioBroker
                                    Community Adapters
                                    Donate

                                    814
                                    Online

                                    31.7k
                                    Users

                                    79.8k
                                    Topics

                                    1.3m
                                    Posts

                                    2
                                    16
                                    539
                                    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