NEWS
iobroker staus Fehlermeldung
-
Musste die Installation drei mal starten bis sie fehlerfrei endete.
Komme aber nicht auf den iobroker im Browser.Folgendes liefert iobroker status
pi@raspberrypi:~ $ iobroker start pi@raspberrypi:~ $ iobroker status Uncaught Rejection: Error: /opt/iobroker/iobroker-data/iobroker.json: ENOENT: no such file or directory, open '/opt/iobroker/iobroker-data/iobroker.json' at Object.openSync (fs.js:497:3) at Object.readFileSync (fs.js:393:35) at Object.readFileSync (/opt/iobroker/node_modules/jsonfile/index.js:50:22) at dbConnect (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:3088:23) at CLIProcess.status (/opt/iobroker/node_modules/@iobroker/js-controller-cli/lib/cli/cliProcess.js:203:9) at processCommand (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:510:25) at Object.module.exports.execute (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:3314:5) at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js:1:24) at Module._compile (internal/modules/cjs/loader.js:1085:14) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10) pi@raspberrypi:~ $
Jemand eine Idee?
-
@k-k-1 sagte in iobroker staus Fehlermeldung:
Musste die Installation drei mal starten bis sie fehlerfrei endete.
Was genau gemacht?
-
@thomas-braun
einmal den Fix gestartet und dann noch 2 mal die Installation erneut gestartet. -
Und welche 'Fehler' wurden da gemeldet?
-
Finde ich die noch irgendwo?
-
Ich weiß nicht ob der Installationsvorgang geloggt wird. Musste ich noch nie reinschauen, hat immer direkt funktioniert.
Versuch mal:
cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controller
-
@thomas-braun
gleicher Fehler auch beisudo iobroker update
-
@k-k-1 sagte in iobroker staus Fehlermeldung:
sudo iobroker update
Joh... sudo (ohne weitere Optionen...) wird ja auch nicht in Verbindung mit iobroker verwendet.
Vergiss den Mist sofort. -
@thomas-braun said in iobroker staus Fehlermeldung:
Ich weiß nicht ob der Installationsvorgang geloggt wird. Musste ich noch nie reinschauen, hat immer direkt funktioniert.
Versuch mal:
cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controller
pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller > iobroker.js-controller@4.0.18 preinstall /opt/iobroker/node_modules/iobroker.js-controller > node lib/preinstallCheck.js NPM version: 6.14.16 > iobroker.js-controller@4.0.18 install /opt/iobroker/node_modules/iobroker.js-controller > node iobroker.js setup first creating conf/iobroker.json Cannot read system.config: null (OK when migrating or restoring) Successfully migrated 2 objects to Redis Sets object 0_userdata.0.example_state created object 0_userdata.0 created object alias.0 created object system.certificates created object system.licenses created object system.repositories created object system.config created object enum.functions created object enum.rooms created object system.group.user created object system.group.administrator created object _design/system created object system.meta.uuid created: 471f3ad4-81a4-7981-1d4a-8cc37419c4b9 object system.user.admin created host.raspberrypi install adapter admin upload [14] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/admin.png admin.png image/png upload [13] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/de/translations.json i18n/de/translations.json application/json upload [12] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/en/translations.json i18n/en/translations.json application/json upload [11] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/es/translations.json i18n/es/translations.json application/json upload [10] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/fr/translations.json i18n/fr/translations.json application/json upload [9] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/it/translations.json i18n/it/translations.json application/json upload [8] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/nl/translations.json i18n/nl/translations.json application/json upload [7] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/pl/translations.json i18n/pl/translations.json application/json upload [6] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/pt/translations.json i18n/pt/translations.json application/json upload [5] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/ru/translations.json i18n/ru/translations.json application/json upload [4] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json upload [3] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/index.html index.html text/html upload [2] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/index_m.html index_m.html text/html upload [1] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/jsonConfig.json jsonConfig.json application/json upload [0] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/words.js words.js application/javascript host.raspberrypi object system.adapter.admin created/updated host.raspberrypi create instance admin host.raspberrypi object system.adapter.admin.0.alive created host.raspberrypi object system.adapter.admin.0.connected created host.raspberrypi object system.adapter.admin.0.compactMode created host.raspberrypi object system.adapter.admin.0.cpu created host.raspberrypi object system.adapter.admin.0.cputime created host.raspberrypi object system.adapter.admin.0.memHeapUsed created host.raspberrypi object system.adapter.admin.0.memHeapTotal created host.raspberrypi object system.adapter.admin.0.memRss created host.raspberrypi object system.adapter.admin.0.uptime created host.raspberrypi object system.adapter.admin.0.inputCount created host.raspberrypi object system.adapter.admin.0.outputCount created host.raspberrypi object system.adapter.admin.0.eventLoopLag created host.raspberrypi object system.adapter.admin.0.sigKill created host.raspberrypi object system.adapter.admin.0.logLevel created host.raspberrypi object system.adapter.admin.upload created host.raspberrypi object admin.0.info created host.raspberrypi object admin.0 created host.raspberrypi object admin.0.info.connection created host.raspberrypi object admin.0.info.newsFeed created host.raspberrypi object admin.0.info.newsETag created host.raspberrypi object admin.0.info.newsLastId created host.raspberrypi object admin.0.info.updatesList created host.raspberrypi Set default value of admin.0.info.connection: host.raspberrypi Set default value of admin.0.info.updatesList: host.raspberrypi object system.adapter.admin.0 created host.raspberrypi install adapter discovery upload [6] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/discovery.png discovery.png image/png upload [5] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/index.html index.html text/html upload [4] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/index_m.html index_m.html text/html upload [3] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/settings.html settings.html text/html upload [2] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/settings_m.html settings_m.html text/html upload [1] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/translateTools.js translateTools.js application/javascript upload [0] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/words.js words.js application/javascript host.raspberrypi object system.adapter.discovery created/updated host.raspberrypi create instance discovery host.raspberrypi object system.adapter.discovery.0.alive created host.raspberrypi object system.adapter.discovery.0.connected created host.raspberrypi object system.adapter.discovery.0.compactMode created host.raspberrypi object system.adapter.discovery.0.cpu created host.raspberrypi object system.adapter.discovery.0.cputime created host.raspberrypi object system.adapter.discovery.0.memHeapUsed created host.raspberrypi object system.adapter.discovery.0.memHeapTotal created host.raspberrypi object system.adapter.discovery.0.memRss created host.raspberrypi object system.adapter.discovery.0.uptime created host.raspberrypi object system.adapter.discovery.0.inputCount created host.raspberrypi object system.adapter.discovery.0.outputCount created host.raspberrypi object system.adapter.discovery.0.eventLoopLag created host.raspberrypi object system.adapter.discovery.0.sigKill created host.raspberrypi object system.adapter.discovery.0.logLevel created host.raspberrypi object discovery.0.devicesProgress created host.raspberrypi object discovery.0.servicesProgress created host.raspberrypi object discovery.0.instancesFound created host.raspberrypi object discovery.0.devicesFound created host.raspberrypi object discovery.0.scanRunning created host.raspberrypi object system.adapter.discovery.0 created host.raspberrypi install adapter backitup These apt-get packages were already installed: cifs-utils, nfs-common upload [10] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/adapter-settings.js adapter-settings.js application/javascript upload [9] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/backitup.png backitup.png image/png upload [8] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/backitup.svg backitup.svg image/svg+xml upload [7] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index.html index.html text/html upload [6] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index_m.html index_m.html text/html upload [5] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index_m.js index_m.js application/javascript upload [4] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/style.css style.css text/css upload [3] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/tab_m.css tab_m.css text/css upload [2] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/tab_m.html tab_m.html text/html upload [1] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/tab_m.js tab_m.js application/javascript upload [0] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/words.js words.js application/javascript host.raspberrypi object system.adapter.backitup created/updated host.raspberrypi create instance backitup host.raspberrypi object system.adapter.backitup.0.alive created host.raspberrypi object system.adapter.backitup.0.connected created host.raspberrypi object system.adapter.backitup.0.compactMode created host.raspberrypi object system.adapter.backitup.0.cpu created host.raspberrypi object system.adapter.backitup.0.cputime created host.raspberrypi object system.adapter.backitup.0.memHeapUsed created host.raspberrypi object system.adapter.backitup.0.memHeapTotal created host.raspberrypi object system.adapter.backitup.0.memRss created host.raspberrypi object system.adapter.backitup.0.uptime created host.raspberrypi object system.adapter.backitup.0.inputCount created host.raspberrypi object system.adapter.backitup.0.outputCount created host.raspberrypi object system.adapter.backitup.0.eventLoopLag created host.raspberrypi object system.adapter.backitup.0.sigKill created host.raspberrypi object system.adapter.backitup.0.logLevel created host.raspberrypi object backitup.0.info created host.raspberrypi object backitup.0.info.latestBackup created host.raspberrypi object backitup.0.info.ccuNextTime created host.raspberrypi object backitup.0.info.iobrokerNextTime created host.raspberrypi object backitup.0.history created host.raspberrypi object backitup.0.history.html created host.raspberrypi object backitup.0.history.json created host.raspberrypi object backitup.0.history.ccuLastTime created host.raspberrypi object backitup.0.history.iobrokerLastTime created host.raspberrypi object backitup.0.history.ccuSuccess created host.raspberrypi object backitup.0.history.iobrokerSuccess created host.raspberrypi object backitup.0.oneClick created host.raspberrypi object backitup.0.oneClick.ccu created host.raspberrypi object backitup.0.oneClick.iobroker created host.raspberrypi object backitup.0.output created host.raspberrypi object backitup.0.output.line created host.raspberrypi Set default value of backitup.0.info.ccuNextTime: none host.raspberrypi Set default value of backitup.0.info.iobrokerNextTime: none host.raspberrypi Set default value of backitup.0.history.html: No backups yet host.raspberrypi Set default value of backitup.0.history.json: [] host.raspberrypi Set default value of backitup.0.history.ccuLastTime: No backups yet host.raspberrypi Set default value of backitup.0.history.iobrokerLastTime: No backups yet host.raspberrypi Set default value of backitup.0.history.ccuSuccess: false host.raspberrypi Set default value of backitup.0.history.iobrokerSuccess: false host.raspberrypi Set default value of backitup.0.oneClick.ccu: false host.raspberrypi Set default value of backitup.0.oneClick.iobroker: false host.raspberrypi Set default value of backitup.0.output.line: host.raspberrypi object system.adapter.backitup.0 created Update certificate defaultPrivate The object "system.certificates" was updated successfully. Update certificate defaultPublic The object "system.certificates" was updated successfully. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"}) + iobroker.js-controller@4.0.18 removed 1 package and updated 1 package in 138.725s 30 packages are looking for funding run `npm fund` for details
hab nur die Zeilen für den Key gelöscht
scheint jetzt zu gehen, die Warnungen kann ich ignorieren? -
Du meinst die Hinweise auf die OPTIONAL DEPENDENCY?
Ja, kannst du übersehen.