<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[sql Adapter - Postgresql Einstellungen]]></title><description><![CDATA[<p dir="auto">Hallo,</p>
<p dir="auto">nicht sicher, ob die Frage ins Einsteiger Forum oder hierher gehört, da ich komplett neu dabei bin, aber, wie dem Betreff zu entnehmen ist, komme ich mit dem SQL Adapter nicht ganz klar. Abgesehen von den vielen deprecated und Speicherleckwarnungen während der Installation, habe ich Verbindungsprobleme.</p>
<p dir="auto">Auf der Postgresql Instanz habe ich ganz kreativ eine Datenbank mit dem Namen iobrokerdb angelegt und ihr einen Eigentümer iobroker_user gegeben - und natürlich die Rechte in der pg_hba.conf.<br />
Und in der Adapterkonfiguration natürlich den Haken "Datenbank nicht erstellen" angehakt.</p>
<p dir="auto">Wenn ich aber nun die Verbindung testen möchte, wird das von postgres abgelehnt, weil der Nutzer anstatt auf seine Datenbank (iobrokerdb) auf die Schema DB (postgres) zugreifen möchte. Was natürlich und zurecht nicht gestattet ist.</p>
<p dir="auto">Die Frage: Was will der Nutzer dort? Er hat seine db, bei der er schalten und walten kann, wie er will. Dafür habe ich ja alles im Vorwege angelegt. Was könnte Fehlen? Oder warum meint der Adapter, Zugriff auf die postgres db haben zu wollen?</p>
<p dir="auto">Vielen Dank</p>
]]></description><link>https://forum.iobroker.net/topic/84988/sql-adapter-postgresql-einstellungen</link><generator>RSS for Node</generator><lastBuildDate>Fri, 24 Jul 2026 13:01:37 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/84988.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 16 Jul 2026 10:40:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to sql Adapter - Postgresql Einstellungen on Thu, 16 Jul 2026 19:31:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fastfoot" aria-label="Profile: fastfoot">@<bdi>fastfoot</bdi></a><br />
Pssssssssssst!</p>
]]></description><link>https://forum.iobroker.net/post/1348309</link><guid isPermaLink="true">https://forum.iobroker.net/post/1348309</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Thu, 16 Jul 2026 19:31:07 GMT</pubDate></item><item><title><![CDATA[Reply to sql Adapter - Postgresql Einstellungen on Thu, 16 Jul 2026 19:30:27 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/thomas-braun" aria-label="Profile: Thomas-Braun">@<bdi>Thomas-Braun</bdi></a> <a href="/post/1348306">sagte</a>:</p>
<p dir="auto">auch nichts geworfen:</p>
</blockquote>
<p dir="auto">ne ne, mach das mal mit <strong>--debug</strong> :-)</p>
]]></description><link>https://forum.iobroker.net/post/1348308</link><guid isPermaLink="true">https://forum.iobroker.net/post/1348308</guid><dc:creator><![CDATA[fastfoot]]></dc:creator><pubDate>Thu, 16 Jul 2026 19:30:27 GMT</pubDate></item><item><title><![CDATA[Reply to sql Adapter - Postgresql Einstellungen on Thu, 16 Jul 2026 19:28:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hirada" aria-label="Profile: hirada">@<bdi>hirada</bdi></a></p>
<p dir="auto">Das ist immer eine Wechselwirkung mit anderen Adaptern. Auf meinem Test-System wird da z. B. auch nichts geworfen:</p>
<pre><code>thomas@testpi:~ $ iob add sql
NPM version: 10.9.8
Installing iobroker.sql@3.0.1... (System call)

added 252 packages in 30s

181 packages are looking for funding
  run `npm fund` for details
host.testpi install adapter sql
upload [13] sql.admin /opt/iobroker/node_modules/iobroker.sql/admin/i18n/de/translations.json i18n/de/translations.json application/json
upload [12] sql.admin /opt/iobroker/node_modules/iobroker.sql/admin/i18n/en/translations.json i18n/en/translations.json application/json
upload [11] sql.admin /opt/iobroker/node_modules/iobroker.sql/admin/i18n/es/translations.json i18n/es/translations.json application/json
upload [10] sql.admin /opt/iobroker/node_modules/iobroker.sql/admin/i18n/fr/translations.json i18n/fr/translations.json application/json
upload [9] sql.admin /opt/iobroker/node_modules/iobroker.sql/admin/i18n/it/translations.json i18n/it/translations.json application/json
upload [8] sql.admin /opt/iobroker/node_modules/iobroker.sql/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
upload [7] sql.admin /opt/iobroker/node_modules/iobroker.sql/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
upload [6] sql.admin /opt/iobroker/node_modules/iobroker.sql/admin/i18n/pt/translations.json i18n/pt/translations.json application/json
upload [5] sql.admin /opt/iobroker/node_modules/iobroker.sql/admin/i18n/ru/translations.json i18n/ru/translations.json application/json
upload [4] sql.admin /opt/iobroker/node_modules/iobroker.sql/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json
upload [3] sql.admin /opt/iobroker/node_modules/iobroker.sql/admin/jsonConfig.json jsonConfig.json application/json
upload [2] sql.admin /opt/iobroker/node_modules/iobroker.sql/admin/jsonCustom.json jsonCustom.json application/json
upload [1] sql.admin /opt/iobroker/node_modules/iobroker.sql/admin/sql.png sql.png image/png
upload [0] sql.admin /opt/iobroker/node_modules/iobroker.sql/admin/words.js words.js application/javascript
host.testpi object system.adapter.sql created/updated
Updating objects from io-package.json for adapter "sql" with version "3.0.1"
host.testpi create instance sql
host.testpi object system.adapter.sql.0.alive created
host.testpi object system.adapter.sql.0.connected created
host.testpi object system.adapter.sql.0.compactMode created
host.testpi object system.adapter.sql.0.cpu created
host.testpi object system.adapter.sql.0.cputime created
host.testpi object system.adapter.sql.0.memHeapUsed created
host.testpi object system.adapter.sql.0.memHeapTotal created
host.testpi object system.adapter.sql.0.memRss created
host.testpi object system.adapter.sql.0.uptime created
host.testpi object system.adapter.sql.0.inputCount created
host.testpi object system.adapter.sql.0.outputCount created
host.testpi object system.adapter.sql.0.eventLoopLag created
host.testpi object system.adapter.sql.0.sigKill created
host.testpi object system.adapter.sql.0.logLevel created
host.testpi object system.adapter.sql.0.objectsWarnLimit created
host.testpi object sql.0.info created
host.testpi object sql.0.info.connection created
host.testpi Set default value of sql.0.info.connection: false
host.testpi object system.adapter.sql.0 created
thomas@testpi:~ $ 
</code></pre>
<p dir="auto">Aber die Adapter sollte mal etwas aktualisiert werden, zumindest die primären Abhängigkeiten.</p>
]]></description><link>https://forum.iobroker.net/post/1348306</link><guid isPermaLink="true">https://forum.iobroker.net/post/1348306</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Thu, 16 Jul 2026 19:28:38 GMT</pubDate></item><item><title><![CDATA[Reply to sql Adapter - Postgresql Einstellungen on Thu, 16 Jul 2026 19:16:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/thomas-braun" aria-label="Profile: thomas-braun">@<bdi>thomas-braun</bdi></a> :<br />
Das ist grundsätzlich etwas dran, auch der webserver schmeißt Sicherheitswarnungen, scheint also durchaus gängig zu sein:</p>
<pre><code>Installing iobroker.web@8.0.0... (System call)

npm warn deprecated debug@4.1.1: Debug versions &gt;=3.2.0 &lt;3.2.7 || &gt;=4 &lt;4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)

</code></pre>
<p dir="auto">vis und habpanel laufen indes wieder sauber durch.</p>
<p dir="auto">Ändert aber nichts an der Tatsache, das postgresql eben nicht vernünftig läuft und, obwohl bekannt, das Modul seit ~2 Jahren nicht angefasst wurde und eben deutlich mehr als diese eine Warnung meldet. Das ist keine Kritik, man muß es halt nur wissen und abwägen.</p>
<p dir="auto">Warum auch immer ich Meldungen bei der Installation bekomme, die z.B. <a class="plugin-mentions-user plugin-mentions-a" href="/user/ro75" aria-label="Profile: ro75">@<bdi>ro75</bdi></a> nicht erhält.</p>
]]></description><link>https://forum.iobroker.net/post/1348305</link><guid isPermaLink="true">https://forum.iobroker.net/post/1348305</guid><dc:creator><![CDATA[hirada]]></dc:creator><pubDate>Thu, 16 Jul 2026 19:16:47 GMT</pubDate></item><item><title><![CDATA[Reply to sql Adapter - Postgresql Einstellungen on Thu, 16 Jul 2026 17:08:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hirada" aria-label="Profile: hirada">@<bdi>hirada</bdi></a> Auf meinem System würde ich z. B. zu glob auch diese Deprecated Meldungen sehen,  auch ohne sql.<br />
Warum? Weil:</p>
<pre><code>echad@chet:~ $ cd /opt/iobroker/
echad@chet:/opt/iobroker $ npm ls glob
iobroker.inst@3.0.0 /opt/iobroker
├─┬ iobroker.admin@7.9.13
│ └─┬ archiver@7.0.1
│   └─┬ archiver-utils@5.0.2
│     └── glob@10.5.0
├─┬ iobroker.govee-app@0.0.10 (git+ssh://git@github.com/TA2k/ioBroker.govee-app.git#d5e7f1703b520238db36cd1552c54cdfa89c6715)
│ └─┬ aws-iot-device-sdk@2.2.16
│   └─┬ mqtt@4.2.8
│     └─┬ help-me@3.0.0
│       └── glob@7.2.3 deduped
└─┬ iobroker.tuya@3.17.0
  └─┬ mqtt@4.3.8
    └─┬ help-me@3.0.0
      └── glob@7.2.3

echad@chet:/opt/iobroker $ 
</code></pre>
]]></description><link>https://forum.iobroker.net/post/1348289</link><guid isPermaLink="true">https://forum.iobroker.net/post/1348289</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Thu, 16 Jul 2026 17:08:52 GMT</pubDate></item><item><title><![CDATA[Reply to sql Adapter - Postgresql Einstellungen on Thu, 16 Jul 2026 16:59:15 GMT]]></title><description><![CDATA[<p dir="auto">Danke. Mir sind diese Meldungen bei der Installation der anderen Adapter halt nicht untergekommen, nur halt bei der Installation des sql Adapters. Daher meine Vermutung.</p>
<p dir="auto">Allerdings sind die anderen Adapter auch überschaubar. Mit Shelly, tankerkoenig und <a href="http://yr.no" rel="nofollow ugc">yr.no</a>. Aber die liefen halt ohne Warnungen durch.</p>
<p dir="auto">Ansonsten wurde mein system wie gesagt letzte Woche frisch aufgesetzt, trixie in einem nspawn container, inkl. eines update des js-controllers auf 7.2.<br />
Also alles ganz frisch.</p>
]]></description><link>https://forum.iobroker.net/post/1348287</link><guid isPermaLink="true">https://forum.iobroker.net/post/1348287</guid><dc:creator><![CDATA[hirada]]></dc:creator><pubDate>Thu, 16 Jul 2026 16:59:15 GMT</pubDate></item><item><title><![CDATA[Reply to sql Adapter - Postgresql Einstellungen on Thu, 16 Jul 2026 16:34:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hirada" aria-label="Profile: hirada">@<bdi>hirada</bdi></a></p>
<p dir="auto">Die npm-Meldung müssen aber nicht zwangsläufig ihren Ursprung beim sql-Adapter haben. Das kann auch von anderen älteren Adaptern kommen.</p>
]]></description><link>https://forum.iobroker.net/post/1348286</link><guid isPermaLink="true">https://forum.iobroker.net/post/1348286</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Thu, 16 Jul 2026 16:34:58 GMT</pubDate></item><item><title><![CDATA[Reply to sql Adapter - Postgresql Einstellungen on Thu, 16 Jul 2026 16:20:34 GMT]]></title><description><![CDATA[<p dir="auto">Also ich habe bei dem Adapter solche Meldungen nicht bekommen, schon gar nicht was mit Speicherlecks.</p>
<p dir="auto">Wie sieht dein System denn überhaupt aus?</p>
<p dir="auto">Ro75</p>
]]></description><link>https://forum.iobroker.net/post/1348285</link><guid isPermaLink="true">https://forum.iobroker.net/post/1348285</guid><dc:creator><![CDATA[Ro75]]></dc:creator><pubDate>Thu, 16 Jul 2026 16:20:34 GMT</pubDate></item><item><title><![CDATA[Reply to sql Adapter - Postgresql Einstellungen on Thu, 16 Jul 2026 15:58:44 GMT]]></title><description><![CDATA[<p dir="auto">Auf der Instanz laufen noch andere Datenbanken und da ich nicht weiß, was der Adapter alles macht, ist das absolut keine Option, dem Zugriff auf die Systemdb zu geben.</p>
<p dir="auto">Dazu kommen halt noch die Meldungen während der Installation. Z.T offensichtlich auch sicherheitsrelevant. Auch das steigert nicht gerade das Vertrauen, dem Zugriff auf die Systemdb zu geben</p>
<p dir="auto">Man muß wohl eingestehen, dieser Adapter ist verwaist. Das ist bei Freiwilligenprojekten halt so und ich kann es ja auch nicht besser machen. Aber dann müssen halt die Konsequenzen gezogen werden.</p>
<pre><code>npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.

npm warn deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs

npm warn deprecated npmlog@6.0.2: This package is no longer supported.

npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported

npm warn deprecated glob@7.2.3: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me

npm warn deprecated prebuild-install@7.1.3: No longer maintained. Please contact the author of the relevant native addon; alternatives are available.

npm warn deprecated are-we-there-yet@3.0.1: This package is no longer supported.

npm warn deprecated gauge@4.0.4: This package is no longer supported.

npm warn deprecated tar@6.2.1: Old versions of tar are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me

npm warn deprecated uuid@8.3.2: uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).

</code></pre>
]]></description><link>https://forum.iobroker.net/post/1348283</link><guid isPermaLink="true">https://forum.iobroker.net/post/1348283</guid><dc:creator><![CDATA[hirada]]></dc:creator><pubDate>Thu, 16 Jul 2026 15:58:44 GMT</pubDate></item><item><title><![CDATA[Reply to sql Adapter - Postgresql Einstellungen on Thu, 16 Jul 2026 13:56:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hirada" aria-label="Profile: hirada">@<bdi>hirada</bdi></a> Warum lässt du denn die DB nicht anlegen? Dann sollte doch alles funktionieren. Falls du eigene Tabellen nutzen willst kannst du die danach in der erstellten DB selbst anlegen und nutzen. Das ändert natürlich nichts an dem eig. Problem, aber als Workaround sollte es doch ok sein?</p>
]]></description><link>https://forum.iobroker.net/post/1348272</link><guid isPermaLink="true">https://forum.iobroker.net/post/1348272</guid><dc:creator><![CDATA[fastfoot]]></dc:creator><pubDate>Thu, 16 Jul 2026 13:56:34 GMT</pubDate></item><item><title><![CDATA[Reply to sql Adapter - Postgresql Einstellungen on Thu, 16 Jul 2026 13:42:06 GMT]]></title><description><![CDATA[<p dir="auto">Ist wohl offiziell und schon länger kaputt:</p>
<p dir="auto"><a href="https://github.com/ioBroker/ioBroker.sql/issues/404" rel="nofollow ugc">https://github.com/ioBroker/ioBroker.sql/issues/404</a></p>
<p dir="auto">An den js fix traue ich mich aber nicht ran. Schade</p>
]]></description><link>https://forum.iobroker.net/post/1348265</link><guid isPermaLink="true">https://forum.iobroker.net/post/1348265</guid><dc:creator><![CDATA[hirada]]></dc:creator><pubDate>Thu, 16 Jul 2026 13:42:06 GMT</pubDate></item></channel></rss>