NEWS
Iobroker startet nicht mehr
-
pi@raspberrypi:~ $ cd /opt/iobroker pi@raspberrypi:/opt/iobroker $ npm ls source-map iobroker.inst@3.0.0 /opt/iobroker ├─┬ iobroker.alexa2@3.12.0 │ └─┬ source-map-support@0.5.21 │ └── source-map@0.6.1 └─┬ iobroker.iot@1.11.5 └─┬ jsdom@19.0.0 └─┬ escodegen@2.0.0 └── source-map@0.6.1 deduped
-
-
pi@raspberrypi:~ $ iob stop pi@raspberrypi:~ $ iob fix library: loaded Library version=2022-12-09 ========================================================================== Welcome to the ioBroker installation fixer! Script version: 2022-12-22 You might need to enter your password a couple of times. ========================================================================== ========================================================================== Installing prerequisites (1/4) ========================================================================== Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Hit:3 https://deb.nodesource.com/node_16.x bullseye InRelease Reading package lists... Done Installed gcc-c++ ========================================================================== Checking ioBroker user and directory permissions (2/4) ========================================================================== Created /etc/sudoers.d/iobroker Fixing directory permissions... ========================================================================== Database maintenance (3/4) ========================================================================== Checking for uncompressed JSONL databases... This might take a while! Compressing /opt/iobroker/iobroker-data/states.jsonl Compressing /opt/iobroker/iobroker-data/objects.jsonl Compressed 2 JSONL files. Done ========================================================================== Checking autostart (4/4) ========================================================================== Enabling autostart... Autostart enabled! ========================================================================== Your installation was fixed successfully Run iobroker start to start ioBroker again! ========================================================================== pi@raspberrypi:~ $ iob restart
-
iobroker status
-
pi@raspberrypi:~ $ iobroker status Objects database error: connect ECONNREFUSED 127.0.0.1:9001 Objects database error: read ECONNRESET Objects database error: connect ECONNREFUSED 127.0.0.1:9001 Objects database error: connect ECONNREFUSED 127.0.0.1:9001 Objects database error: connect ECONNREFUSED 127.0.0.1:9001 Objects database error: connect ECONNREFUSED 127.0.0.1:9001 Uncaught Rejection: /opt/iobroker/node_modules/source-map/lib/base64-vlq.js:91 0 var di'it; ^^^ SyntaxError: Unexpected token 'var' at Object.compileFunction (node:vm:360:18) at wrapSafe (node:internal/modules/cjs/loader:1094:15) at Module._compile (node:internal/modules/cjs/loader:1129:27) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1219:10) at Module.load (node:internal/modules/cjs/loader:1043:32) at Function.Module._load (node:internal/modules/cjs/loader:878:12) at Module.require (node:internal/modules/cjs/loader:1067:19) at require (node:internal/modules/cjs/helpers:103:18) at Object.<anonymous> (/opt/iobroker/node_modules/source-map/lib/source-map-generator.js:8:17) at Module._compile (node:internal/modules/cjs/loader:1165:14)
-
-
Ne das gleiche.
pi@raspberrypi:~ $ iob update Objects database error: connect ECONNREFUSED 127.0.0.1:9001 Objects database error: read ECONNRESET Objects database error: connect ECONNREFUSED 127.0.0.1:9001 Objects database error: connect ECONNREFUSED 127.0.0.1:9001 Objects database error: connect ECONNREFUSED 127.0.0.1:9001 Objects database error: connect ECONNREFUSED 127.0.0.1:9001 Uncaught Rejection: /opt/iobroker/node_modules/source-map/lib/base64-vlq.js:91 0 var di'it; ^^^ SyntaxError: Unexpected token 'var' at Object.compileFunction (node:vm:360:18) at wrapSafe (node:internal/modules/cjs/loader:1094:15) at Module._compile (node:internal/modules/cjs/loader:1129:27) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1219:10) at Module.load (node:internal/modules/cjs/loader:1043:32) at Function.Module._load (node:internal/modules/cjs/loader:878:12) at Module.require (node:internal/modules/cjs/loader:1067:19) at require (node:internal/modules/cjs/helpers:103:18) at Object.<anonymous> (/opt/iobroker/node_modules/source-map/lib/source-map-generator.js:8:17) at Module._compile (node:internal/modules/cjs/loader:1165:14)
-
cd /opt/iobroker sudo -H -u iobroker npm install iobroker.alexa2 sudo -H -u iobroker npm install iobroker.iot
-
pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.alexa2 npm WARN old lockfile npm WARN old lockfile The package-lock.json file was created with an old version of npm, npm WARN old lockfile so supplemental metadata must be fetched from the registry. npm WARN old lockfile npm WARN old lockfile This is a one-time fix-up, please be patient... npm WARN old lockfile added 12 packages, removed 121 packages, and changed 31 packages in 1m 137 packages are looking for funding run `npm fund` for details pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.iot added 2 packages, removed 1 package, and changed 1 package in 13s 138 packages are looking for funding run `npm fund` for details
Blöde Frage: Wie bekomme ich beim nächsten Befehl das "/opt/iobroker $" wieder weg?
-
iob status
-
Wie bekomme ich beim nächsten Befehl das "/opt/iobroker $" wieder weg?
pi@raspberrypi:/opt/iobroker $ iob status Objects database error: connect ECONNREFUSED 127.0.0.1:9001 States database error: connect ECONNREFUSED 127.0.0.1:9000 Objects database error: connect ECONNREFUSED 127.0.0.1:9001 States database error: connect ECONNREFUSED 127.0.0.1:9000 Objects database error: connect ECONNREFUSED 127.0.0.1:9001 States database error: connect ECONNREFUSED 127.0.0.1:9000 Objects database error: connect ECONNREFUSED 127.0.0.1:9001 States database error: connect ECONNREFUSED 127.0.0.1:9000 Objects database error: connect ECONNREFUSED 127.0.0.1:9001 States database error: connect ECONNREFUSED 127.0.0.1:9000 Objects database error: connect ECONNREFUSED 127.0.0.1:9001 States database error: connect ECONNREFUSED 127.0.0.1:9000 Objects database error: connect ECONNREFUSED 127.0.0.1:9001 States database error: connect ECONNREFUSED 127.0.0.1:9000 Objects database error: connect ECONNREFUSED 127.0.0.1:9001 States database error: connect ECONNREFUSED 127.0.0.1:9000 Objects database error: connect ECONNREFUSED 127.0.0.1:9001 States database error: connect ECONNREFUSED 127.0.0.1:9000 Objects database error: connect ECONNREFUSED 127.0.0.1:9001 States database error: connect ECONNREFUSED 127.0.0.1:9000 Objects database error: connect ECONNREFUSED 127.0.0.1:9001 States database error: connect ECONNREFUSED 127.0.0.1:9000 Objects database error: connect ECONNREFUSED 127.0.0.1:9001 States database error: connect ECONNREFUSED 127.0.0.1:9000 States database error: connect ECONNREFUSED 127.0.0.1:9000 States database error: connect ECONNREFUSED 127.0.0.1:9000 Objects database error: connect ECONNREFUSED 127.0.0.1:9001 States database error: connect ECONNREFUSED 127.0.0.1:9000 Objects database error: connect ECONNREFUSED 127.0.0.1:9001 States database error: connect ECONNREFUSED 127.0.0.1:9000 Objects database error: connect ECONNREFUSED 127.0.0.1:9001 States database error: connect ECONNREFUSED 127.0.0.1:9000 Objects database error: connect ECONNREFUSED 127.0.0.1:9001 States database error: connect ECONNREFUSED 127.0.0.1:9000 redis get system.host.raspberrypi.alive, error - Connection is closed. Objects database error: connect ECONNREFUSED 127.0.0.1:9001 Objects database error: connect ECONNREFUSED 127.0.0.1:9001 Objects database error: connect ECONNREFUSED 127.0.0.1:9001 Objects database error: connect ECONNREFUSED 127.0.0.1:9001 Objects database error: connect ECONNREFUSED 127.0.0.1:9001 Objects database error: connect ECONNREFUSED 127.0.0.1:9001 Objects database error: connect ECONNREFUSED 127.0.0.1:9001 Objects database error: connect ECONNREFUSED 127.0.0.1:9001 Objects database error: connect ECONNREFUSED 127.0.0.1:9001 Objects database error: connect ECONNREFUSED 127.0.0.1:9001 Objects database error: connect ECONNREFUSED 127.0.0.1:9001 Objects database error: connect ECONNREFUSED 127.0.0.1:9001 redis get system.host.raspberrypi.plugins.sentry.enabled, error - Connection is closed. Uncaught Rejection: /opt/iobroker/node_modules/source-map/lib/base64-vlq.js:91 0 var di'it; ^^^ SyntaxError: Unexpected token 'var' at Object.compileFunction (node:vm:360:18) at wrapSafe (node:internal/modules/cjs/loader:1094:15) at Module._compile (node:internal/modules/cjs/loader:1129:27) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1219:10) at Module.load (node:internal/modules/cjs/loader:1043:32) at Function.Module._load (node:internal/modules/cjs/loader:878:12) at Module.require (node:internal/modules/cjs/loader:1067:19) at require (node:internal/modules/cjs/helpers:103:18) at Object.<anonymous> (/opt/iobroker/node_modules/source-map/lib/source-map-generator.js:8:17) at Module._compile (node:internal/modules/cjs/loader:1165:14)
-
@sr277 sagte in Iobroker startet nicht mehr:
Wie bekomme ich beim nächsten Befehl das "/opt/iobroker $" wieder weg?
warum?
da bist du richtig!
-
ls -lAh /opt/iobroker/iobroker-data/
Im Prompt steht der Verzeichnispfad, in dem du dich gerade befindest. Vollkommen korrekt für den Moment.
-
pi@raspberrypi:/opt/iobroker $ ls -lAh /opt/iobroker/iobroker-data/ total 53M drwxrwxr-x+ 2 iobroker iobroker 4.0K Feb 11 2022 backitup drwxrwxr-x+ 2 iobroker iobroker 12K Oct 1 20:53 backup-objects drwxrwxr-x+ 70 iobroker iobroker 4.0K May 13 2022 files -rw-rwxr--+ 1 iobroker iobroker 5.0K Feb 8 2022 iobroker.json drwxrwxr-x+ 3 iobroker iobroker 4.0K Jan 26 2022 jarvis -rw-rwxr--+ 1 iobroker iobroker 3 Jan 15 17:19 notifications.json -rw-rwxr--+ 1 iobroker iobroker 14M Feb 8 2022 objects.json.bak.migrated -rw-rw-r--+ 1 iobroker iobroker 17M Jan 15 17:19 objects.jsonl -rw-rwxr--+ 1 iobroker iobroker 14M Feb 8 2022 objects.json.migrated -rw-rwxr--+ 1 iobroker iobroker 2.6M Feb 8 2022 states.json.bak.migrated -rw-rw-r--+ 1 iobroker iobroker 4.2M Jan 15 17:19 states.jsonl -rw-rwxr--+ 1 iobroker iobroker 2.6M Feb 8 2022 states.json.migrated drwxrwxr-x+ 2 iobroker iobroker 4.0K May 1 2022 telegram_0 drwxrwxr-x+ 3 iobroker iobroker 4.0K Feb 8 2022 tmp
-
@sr277 sagte in Iobroker startet nicht mehr:
getfacl /opt/iobroker/iobroker-data/objects.jsonl
-
pi@raspberrypi:/opt/iobroker $ getfacl /opt/iobroker/iobroker-data/objects.jsonl getfacl: Removing leading '/' from absolute path names # file: opt/iobroker/iobroker-data/objects.jsonl # owner: iobroker # group: iobroker user::rw- group::r-x #effective:r-- group:iobroker:rwx #effective:rw- mask::rw- other::r--