Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Adapter Tankerkönig Status Offline

    NEWS

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    Adapter Tankerkönig Status Offline

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

      Hallo in die Runde,

      ich habe heute den Adapter Tankerkoenig neu installiert.
      Dann die API eingetragen und die Tankstellen IDs.

      In den Objekten, werden die Stationen auch ordentlich gelistet, allerdings alle ohne Preis.

      In dem Objekt:

      tankerkoenig.0.stations.adapterStatus steht allerdings OFFLINE drin.

      Was mache ich hier falsch.
      Ich habe bereits neu gestartet, neu installiert, Objektbaum gelöscht und durch neustart neu aufbauen lassen. Mehr fällt mir dazu nicht ein

      T 1 Reply Last reply Reply Quote 0
      • T
        Termina @n811e last edited by Termina

        @n811e

        Ich versuche hier mal zu pushen, da ich ein ganz ähnliches Problem habe.

        Ich habe die Umgebung Iobroker komplett aktualisiert (Node.js v18.16.0, NPM 9.5.1) und die aktuellste Version vom Tankerkönig (3.3.7) installiert.

        Ich habe einen neuen API-Code generiert und diesen im Adapter eingetragen. Wenn ich den Adapter starte, passiert leider gar nichts, er bleibt rot, Verbrauch 0 MB und es gibt keinerlei Fehlereinträge im Log zum Tankerkönig. Wenn ich nun noch versuche Stationen einzutragen, da funktioniert das mit der Fehlermeldung "Adapter ist offline, bitte starten sie den Adapter zuerst" leider nicht.

        Vielleicht hat jemand eine Idee und hoffentlich hilft das dann auch @n811e !

        Nun habe ich doch noch etwas im Log bei mir gefunden - was kann ich tun?

        host.iobroker-main-vm
        2023-05-27 10:41:10.048	error	instance system.adapter.tankerkoenig.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
        host.iobroker-main-vm
        2023-05-27 10:41:10.048	error	Caught by controller[0]: Node.js v18.16.0
        host.iobroker-main-vm
        2023-05-27 10:41:10.047	error	Caught by controller[0]: }
        host.iobroker-main-vm
        2023-05-27 10:41:10.047	error	Caught by controller[0]: requireStack: [ '/opt/iobroker/node_modules/iobroker.tankerkoenig/build/main.js' ]
        host.iobroker-main-vm
        2023-05-27 10:41:10.047	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
        host.iobroker-main-vm
        2023-05-27 10:41:10.047	error	Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
        host.iobroker-main-vm
        2023-05-27 10:41:10.047	error	Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:958:12)
        host.iobroker-main-vm
        2023-05-27 10:41:10.047	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1117:32)
        host.iobroker-main-vm
        2023-05-27 10:41:10.047	error	Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
        host.iobroker-main-vm
        2023-05-27 10:41:10.046	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1254:14)
        host.iobroker-main-vm
        2023-05-27 10:41:10.046	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.tankerkoenig/build/main.js:22:41)
        host.iobroker-main-vm
        2023-05-27 10:41:10.046	error	Caught by controller[0]: at require (node:internal/modules/cjs/helpers:110:18)
        host.iobroker-main-vm
        2023-05-27 10:41:10.046	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1141:19)
        host.iobroker-main-vm
        2023-05-27 10:41:10.046	error	Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:920:27)
        host.iobroker-main-vm
        2023-05-27 10:41:10.046	error	Caught by controller[0]: at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15)
        host.iobroker-main-vm
        2023-05-27 10:41:10.046	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.tankerkoenig/build/main.js
        host.iobroker-main-vm
        2023-05-27 10:41:10.046	error	Caught by controller[0]: Require stack:
        host.iobroker-main-vm
        2023-05-27 10:41:10.046	error	Caught by controller[0]: Error: Cannot find module 'source-map-support'
        host.iobroker-main-vm
        2023-05-27 10:41:10.045	error	Caught by controller[0]: ^
        host.iobroker-main-vm
        2023-05-27 10:41:10.045	error	Caught by controller[0]: throw err;
        host.iobroker-main-vm
        2023-05-27 10:41:10.045	error	Caught by controller[0]: node:internal/modules/cjs/loader:1078
        
        crunchip 1 Reply Last reply Reply Quote 0
        • crunchip
          crunchip Forum Testing Most Active @Termina last edited by crunchip

          @termina sagte in Adapter Tankerkönig Status Offline:

          Error: Cannot find module 'source-map-support'

          @termina sagte in Adapter Tankerkönig Status Offline:

          komplett aktualisiert (Node.js v18.16.0, NPM 9.5.1

          eventuell nicht richtig installiert

          Ausgabe von

          iob diag
          

          ansonsten, den Adapter nochmal deinstallieren und anschließend neu installieren mit dem Anhang --debug

          T 1 Reply Last reply Reply Quote 0
          • T
            Termina @crunchip last edited by

            @crunchip
            Hey, vielen Dank für die Rückmeldung.

            Den Adapter hatte ich schon einmal komplett deinstalliert und dann neu installiert - leider ohne Verbesserung.

            Worauf muss ich im Summery oder der Diag genau achten?

            T crunchip 2 Replies Last reply Reply Quote 0
            • T
              Termina @Termina last edited by

              Jetzt wird es merkwürdig. Habe ja die Diag laufen lassen und auf einmal ist der Adapter grün? 😳 Das kann doch nichts miteinander zu tun haben, oder?

              1 Reply Last reply Reply Quote 0
              • crunchip
                crunchip Forum Testing Most Active @Termina last edited by

                @termina sagte in Adapter Tankerkönig Status Offline:

                Worauf muss ich im Summery oder der Diag genau achten

                zeigen

                @termina sagte in Adapter Tankerkönig Status Offline:

                Das kann doch nichts miteinander zu tun haben

                nö

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

                  @termina sagte in Adapter Tankerkönig Status Offline:

                  Vielleicht hat jemand eine Idee und hoffentlich hilft das dann auch @n811e !

                  Wenn es anderen helfen soll dann bitte zeige die Ausgabe von

                  iob diag
                  

                  wie es @crunchip schon zweimal erwähnt hatte.

                  T 1 Reply Last reply Reply Quote 0
                  • T
                    Termina @DJMarc75 last edited by

                    @djmarc75

                    Na klar, ich habe doch extra gefragt was davon... Hier das Summery

                    ======================= SUMMARY =======================
                                         v.2023-04-16
                    
                    
                    Operatingsystem:        Debian GNU/Linux 10 (buster)
                    Kernel:                 4.19.0-12-amd64
                    Installation:           kvm
                    Timezone:               Europe/Berlin (CEST, +0200)
                    User-ID:                1000
                    X-Server:               false
                    Boot Target:            graphical.target
                    
                    Pending OS-Updates:     0
                    Pending iob updates:    2
                    
                    Nodejs-Installation:    /usr/bin/nodejs         v18.16.0
                                            /usr/bin/node           v18.16.0
                                            /usr/bin/npm            9.5.1
                                            /usr/bin/npx            9.5.1
                    
                    Recommended versions are nodejs 18.x.y and npm 9.x.y
                    Your nodejs installation is correct
                    
                    MEMORY:
                                  total        used        free      shared  buff/cache   available
                    Mem:           8.0G        3.6G        3.4G        8.0M        908M        4.1G
                    Swap:          4.1G          0B        4.1G
                    Total:          12G        3.6G        7.5G
                    
                    Active iob-Instances:   49
                    Active repo(s): Stable (default)
                    
                    ioBroker Core:          js-controller           4.0.24
                                            admin                   6.3.5
                    
                    ioBroker Status:        iobroker is running on this host.
                    
                    
                    Objects type: jsonl
                    States  type: jsonl
                    
                    Status admin and web instance:
                    + system.adapter.admin.0                  : admin                 : iobroker-main-vm                         -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                    + system.adapter.web.0                    : web                   : iobroker-main-vm                         -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                    
                    Objects:                19598
                    States:                 21581
                    
                    Size of iob-Database:
                    
                    28M     /opt/iobroker/iobroker-data/objects.jsonl
                    16M     /opt/iobroker/iobroker-data/objects.json.migrated
                    16M     /opt/iobroker/iobroker-data/objects.json.bak.migrated
                    4.0K    /opt/iobroker/iobroker-data/objects.json.old
                    0       /opt/iobroker/iobroker-data/objects.json.broken
                    81M     /opt/iobroker/iobroker-data/states.jsonl
                    6.2M    /opt/iobroker/iobroker-data/states.json.migrated
                    6.2M    /opt/iobroker/iobroker-data/states.json.bak.migrated
                    4.0K    /opt/iobroker/iobroker-data/states.json.old
                    0       /opt/iobroker/iobroker-data/states.json.broken
                    
                    
                    
                    DJMarc75 1 Reply Last reply Reply Quote 0
                    • DJMarc75
                      DJMarc75 @Termina last edited by

                      @termina bitte die Langfassung, allerdings sieht man hier schon dass Du auf dem alten Buster unterwegs bist 😉

                      O 1 Reply Last reply Reply Quote 1
                      • O
                        oranggila @DJMarc75 last edited by

                        @djmarc75 Falls es noch jemandem hilft: Richtig @DJMarc75 , die 3.3.7 funktioniert unter Buster nicht mehr. Bin zurück auf 3.3.6, da läuft der Adapter noch. Parallel ziehe ich auf frisches neues Bullseye System um.

                        ? 1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User @oranggila last edited by

                          @oranggila sagte in Adapter Tankerkönig Status Offline:

                          Parallel ziehe ich auf frisches neues Bullseye System um.

                          Moin,

                          warum schon wieder auf ein old-stable OS aufsetzen, da musst Du dann ja auch irgendwann wieder ein Upgrade machen, setz doch gleich auf Bookworm, das ist das aktuelle Release von Debian.
                          Außer Du betreibst das auf einem RasPI, da ist aktuell noch Bullseye zu empfehlen, da es die Bookworm Repos noch nicht gibt.

                          VG
                          Bernd

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

                          Support us

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

                          853
                          Online

                          32.0k
                          Users

                          80.5k
                          Topics

                          1.3m
                          Posts

                          6
                          11
                          566
                          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