Skip to content
  • 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
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. SQL Adapter läuft nicht mehr

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.0k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.8k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.0k

SQL Adapter läuft nicht mehr

SQL Adapter läuft nicht mehr

Scheduled Pinned Locked Moved Solved Error/Bug
sql adapter crash error
2 Posts 1 Posters 210 Views 1 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.
  • dbwebD Offline
    dbwebD Offline
    dbweb
    wrote on last edited by
    #1
    Systemdata
    Hardwaresystem: Raspi 4
    Arbeitsspeicher: 4GB
    Festplattenart: SD-Karte
    Betriebssystem: Raspbian
    Node-Version: 10.15.2
    Nodejs-Version: 10.15.2
    NPM-Version: 6.12.1
    Installationsart: Skript
    Image genutzt: Nein

    Hi,

    Kriege nach einem Neustart (Hard reset, strom aus bei Raspi) den SQL-Adapter nicht mehr zum laufen.

    Folgende Fehler stehen im Log (Log ist auf Debug, gibt aber nicht mehr aus):

    host.raspberrypi	2019-11-12 16:23:08.445	info	Restart adapter system.adapter.sql.0 because enabled
    host.raspberrypi	2019-11-12 16:23:08.445	error	instance system.adapter.sql.0 terminated with code 1 ()
    Caught	2019-11-12 16:23:08.445	error	by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    Caught	2019-11-12 16:23:08.445	error	by controller[0]: at Module._compile (internal/modules/cjs/loader.js:689:30)
    Caught	2019-11-12 16:23:08.445	error	by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.sql/node_modules/ajv/lib/definition_schema.js:3:18)
    Caught	2019-11-12 16:23:08.445	error	by controller[0]: at require (internal/modules/cjs/helpers.js:22:18)
    Caught	2019-11-12 16:23:08.445	error	by controller[0]: at Module.require (internal/modules/cjs/loader.js:637:17)
    Caught	2019-11-12 16:23:08.445	error	by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:530:3)
    Caught	2019-11-12 16:23:08.444	error	by controller[0]: at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    Caught	2019-11-12 16:23:08.444	error	by controller[0]: at Module.load (internal/modules/cjs/loader.js:599:32)
    Caught	2019-11-12 16:23:08.444	error	by controller[0]: at Object.Module._extensions..json (internal/modules/cjs/loader.js:708:27)
    Caught	2019-11-12 16:23:08.444	error	by controller[0]: at JSON.parse (<anonymous>)
    Caught	2019-11-12 16:23:08.444	error	by controller[0]: SyntaxError: /opt/iobroker/node_modules/iobroker.sql/node_modules/ajv/lib/refs/json-schema-draft-07.json: Unexpected token ` in JSON at position 4119
    Caught	2019-11-12 16:23:08.444	error	by controller[0]: ^
    Caught	2019-11-12 16:23:08.444	error	by controller[0]: throw err;
    Caught	2019-11-12 16:23:08.444	error	by controller[0]: internal/modules/cjs/loader.js:711
    host.raspberrypi	2019-11-12 16:23:06.171	info	instance system.adapter.sql.0 started with pid 4166
    host.raspberrypi	2019-11-12 16:23:06.158	info	"system.adapter.sql.0" enabled
    host.raspberrypi	2019-11-12 16:23:06.157	info	object change system.adapter.sql.0
    

    Was ich bereits versucht habe:
    Stop / Start Adapter
    npm update
    Neu installiert mit "npm i sql"
    npm update ajv
    2x komplett reboot raspi
    installation_fixer.sh ausgeführt

    Interessant ist, ich hatte den Fehler heute schon mal nach einem Hard Reset, dabei konnte ich aber iobroker stoppen und wieder starten damit er sich wieder gefangen hat. Jetzt läuft er gar nicht mehr.

    1 Reply Last reply
    0
    • dbwebD Offline
      dbwebD Offline
      dbweb
      wrote on last edited by
      #2

      Ok, nach dem Schreiben des Posts nochmals npm update gemacht weil ich nicht ganz sicher war ob ich das wirklich gemacht hatte, jetzt läuft er wieder. Hat demnach wohl irgend eine Datei der SD-Karte zerschossen. Sollte wohl mal überlegen, ob die SD-Karte ideal ist für das Raspi mit 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

      616

      Online

      32.4k

      Users

      81.3k

      Topics

      1.3m

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

      • Don't have an account? Register

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