Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]: js-controller installed deletes github clone on startup #2814

Open
1 task done
simatec opened this issue Jun 24, 2024 · 12 comments
Open
1 task done

[bug]: js-controller installed deletes github clone on startup #2814

simatec opened this issue Jun 24, 2024 · 12 comments

Comments

@simatec
Copy link

simatec commented Jun 24, 2024

No existing issues.

  • There is no existing issue for my problem.

Description

I develop Backitup in a standard iobroker environment, as the dev server for Backitup does not offer all functions.

With v6.0.5 of the js-controller, the complete folder of Backitup is deleted every time the iobroker is restarted and it is reinstalled from the repo.

This behavior is very unfavorable for adapter development.
Is it possible to change this or to set a manual flag for the developers to prevent this?

Translated with DeepL.com (free version)

Reproduction instruction

No response

JS-controller version

6.0.5

Node version

20.15.0

@simatec
Copy link
Author

simatec commented Jun 24, 2024

Clone Directory before iob stop

pi@iobroker-dev:/opt/iobroker/node_modules/iobroker.backitup$ ls -la
insgesamt 1056
drwxrwxr-x+  11 iobroker iobroker   4096 24. Jun 09:48 .
drwxrwxr-x+ 764 iobroker iobroker  32768 24. Jun 09:51 ..
drwxrwxr-x+   5 iobroker iobroker   4096 24. Jun 09:48 admin
drwxrwxr-x+   4 iobroker iobroker   4096 24. Jun 09:48 docs
drwxrwxr-x+   8 iobroker iobroker   4096 24. Jun 09:48 .git
drwxrwxr-x+   4 iobroker iobroker   4096 24. Jun 09:48 .github
-rw-rw-r--+   1 iobroker iobroker    221 24. Jun 09:48 .gitignore
-rw-rw-r--+   1 iobroker iobroker  12610 24. Jun 09:48 gulpfile.js
-rw-rw-r--+   1 iobroker iobroker  41861 24. Jun 09:48 io-package.json
drwxrwxr-x+   5 iobroker iobroker   4096 24. Jun 09:48 lib
-rw-rw-r--+   1 iobroker iobroker   1079 24. Jun 09:48 LICENSE
-rw-rw-r--+   1 iobroker iobroker 101128 24. Jun 09:48 main.js
drwxrwxr-x+ 652 iobroker iobroker  20480 24. Jun 09:51 node_modules
-rw-rw-r--+   1 iobroker iobroker    280 24. Jun 09:48 .npmignore
-rw-rw-r--+   1 iobroker iobroker   2926 24. Jun 09:48 package.json
-rw-rw-r--+   1 iobroker iobroker 764887 24. Jun 09:51 package-lock.json
-rw-rw-r--+   1 iobroker iobroker  33429 24. Jun 09:48 README.md
-rw-rw-r--+   1 iobroker iobroker    127 24. Jun 09:48 .releaseconfig.json
drwxrwxr-x+   5 iobroker iobroker   4096 24. Jun 09:50 src
drwxrwxr-x+   5 iobroker iobroker   4096 24. Jun 09:51 src-admin
drwxrwxr-x+   2 iobroker iobroker   4096 24. Jun 09:48 test

@simatec
Copy link
Author

simatec commented Jun 24, 2024

Clone Directory after iob stop

pi@iobroker-dev:/opt/iobroker/node_modules/iobroker.backitup$ ls -la
insgesamt 1056
drwxrwxr-x+  11 iobroker iobroker   4096 24. Jun 09:48 .
drwxrwxr-x+ 764 iobroker iobroker  32768 24. Jun 09:51 ..
drwxrwxr-x+   5 iobroker iobroker   4096 24. Jun 09:48 admin
drwxrwxr-x+   4 iobroker iobroker   4096 24. Jun 09:48 docs
drwxrwxr-x+   8 iobroker iobroker   4096 24. Jun 09:48 .git
drwxrwxr-x+   4 iobroker iobroker   4096 24. Jun 09:48 .github
-rw-rw-r--+   1 iobroker iobroker    221 24. Jun 09:48 .gitignore
-rw-rw-r--+   1 iobroker iobroker  12610 24. Jun 09:48 gulpfile.js
-rw-rw-r--+   1 iobroker iobroker  41861 24. Jun 09:48 io-package.json
drwxrwxr-x+   5 iobroker iobroker   4096 24. Jun 09:48 lib
-rw-rw-r--+   1 iobroker iobroker   1079 24. Jun 09:48 LICENSE
-rw-rw-r--+   1 iobroker iobroker 101128 24. Jun 09:48 main.js
drwxrwxr-x+ 652 iobroker iobroker  20480 24. Jun 09:51 node_modules
-rw-rw-r--+   1 iobroker iobroker    280 24. Jun 09:48 .npmignore
-rw-rw-r--+   1 iobroker iobroker   2926 24. Jun 09:48 package.json
-rw-rw-r--+   1 iobroker iobroker 764887 24. Jun 09:51 package-lock.json
-rw-rw-r--+   1 iobroker iobroker  33429 24. Jun 09:48 README.md
-rw-rw-r--+   1 iobroker iobroker    127 24. Jun 09:48 .releaseconfig.json
drwxrwxr-x+   5 iobroker iobroker   4096 24. Jun 09:50 src
drwxrwxr-x+   5 iobroker iobroker   4096 24. Jun 09:51 src-admin
drwxrwxr-x+   2 iobroker iobroker   4096 24. Jun 09:48 test

@simatec
Copy link
Author

simatec commented Jun 24, 2024

Clone Directory after iob start

pi@iobroker-dev:/opt/iobroker/node_modules/iobroker.backitup$ ls -la
insgesamt 244
drwxrwxr-x+   6 iobroker iobroker   4096 24. Jun 10:10 .
drwxrwxr-x+ 763 iobroker iobroker  32768 24. Jun 10:10 ..
drwxrwxr-x+   5 iobroker iobroker   4096 24. Jun 10:10 admin
drwxrwxr-x+   4 iobroker iobroker   4096 24. Jun 10:10 docs
-rw-rw-r--+   1 iobroker iobroker  42191 24. Jun 10:10 io-package.json
drwxrwxr-x+   5 iobroker iobroker   4096 24. Jun 10:10 lib
-rw-rw-r--+   1 iobroker iobroker   1081 24. Jun 10:10 LICENSE
-rw-rw-r--+   1 iobroker iobroker 101128 24. Jun 10:10 main.js
drwxrwxr-x+   4 iobroker iobroker   4096 24. Jun 10:10 node_modules
-rw-rw-r--+   1 iobroker iobroker   2926 24. Jun 10:10 package.json
-rw-rw-r--+   1 iobroker iobroker  33294 24. Jun 10:10 README.md

@simatec
Copy link
Author

simatec commented Jun 24, 2024

The Start Log after iob start

2024-06-24 10:09:53.106 - info: host.iobroker-dev iobroker.js-controller version 6.0.5 js-controller starting
2024-06-24 10:09:53.107 - info: host.iobroker-dev Copyright (c) 2014-2023 bluefox, 2014 hobbyquaker
2024-06-24 10:09:53.107 - info: host.iobroker-dev hostname: iobroker-dev, node: v18.20.3
2024-06-24 10:09:53.107 - info: host.iobroker-dev ip addresses: 10.4.1.212 fd76:100::212 fe80::187e:edff:fed0:253b
2024-06-24 10:09:53.438 - info: host.iobroker-dev connected to Objects and States
2024-06-24 10:09:53.442 - info: host.iobroker-dev added notifications configuration of host
2024-06-24 10:09:53.623 - info: host.iobroker-dev 38 instances found
2024-06-24 10:09:53.637 - info: host.iobroker-dev starting 9 instances
2024-06-24 10:09:53.640 - warn: host.iobroker-dev startInstance cannot find adapter "nuki@1.7.0". Try to install it... 1 attempt
2024-06-24 10:09:53.640 - info: host.iobroker-dev iobroker install nuki@1.7.0 using installedVersion
2024-06-24 10:09:53.728 - info: host.iobroker-dev Delete state "system.host.iobroker-dev.versions.nodeCurrent"
2024-06-24 10:09:53.732 - info: host.iobroker-dev Delete state "system.host.iobroker-dev.versions.nodeNewest"
2024-06-24 10:09:53.733 - info: host.iobroker-dev Delete state "system.host.iobroker-dev.versions.nodeNewestNext"
2024-06-24 10:09:53.735 - info: host.iobroker-dev Delete state "system.host.iobroker-dev.versions.npmCurrent"
2024-06-24 10:09:53.736 - info: host.iobroker-dev Delete state "system.host.iobroker-dev.versions.npmNewest"
2024-06-24 10:09:53.740 - info: host.iobroker-dev instance system.adapter.admin.0 started with pid 15109
2024-06-24 10:09:53.740 - info: host.iobroker-dev Delete state "system.host.iobroker-dev.versions.npmNewestNext"
2024-06-24 10:09:53.741 - info: host.iobroker-dev Some obsolete host states deleted.
2024-06-24 10:09:54.212 - info: host.iobroker-dev iobroker npm-install: NPM version: 10.7.0
2024-06-24 10:09:54.212 - info: host.iobroker-dev iobroker npm-install: Installing iobroker.nuki@1.7.0... (System call)
2024-06-24 10:09:54.489 - info: admin.0 (15109) starting. Version 6.17.14 in /opt/iobroker/node_modules/iobroker.admin, node: v18.20.3, js-controller: 6.0.5
2024-06-24 10:09:54.496 - info: admin.0 (15109) requesting all objects
2024-06-24 10:09:54.715 - info: admin.0 (15109) received all objects
2024-06-24 10:09:54.802 - info: admin.0 (15109) socket.io server listening on port 8081
2024-06-24 10:09:54.803 - info: admin.0 (15109) http server listening on port 8081
2024-06-24 10:09:54.803 - info: admin.0 (15109) Use link "http://127.0.0.1:8081" to configure.
2024-06-24 10:09:55.737 - error: host.iobroker-dev iobroker npm-install: npm error code ETARGETnpm error notarget No matching version found for iobroker.nuki@1.7.0.npm error notarget In most cases you or one of your dependencies are requestingnpm error notarget a package version that doesn't exist.npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-06-24T08_09_54_269Z-debug-0.loghost.iobroker-dev Cannot install iobroker.nuki@1.7.0: 1
2024-06-24 10:09:56.753 - info: host.iobroker-dev iobroker npm-install: exit 25
2024-06-24 10:09:57.717 - info: host.iobroker-dev instance system.adapter.javascript.0 started with pid 15159
2024-06-24 10:09:57.753 - warn: host.iobroker-dev startInstance cannot find adapter "nuki@1.7.0". Try to install it... 2 attempt
2024-06-24 10:09:57.753 - info: host.iobroker-dev iobroker install nuki@1.7.0 using installedVersion
2024-06-24 10:09:58.348 - info: host.iobroker-dev iobroker npm-install: NPM version: 10.7.0
2024-06-24 10:09:58.349 - info: host.iobroker-dev iobroker npm-install: Installing iobroker.nuki@1.7.0... (System call)
2024-06-24 10:09:58.395 - info: javascript.0 (15159) starting. Version 8.6.0 in /opt/iobroker/node_modules/iobroker.javascript, node: v18.20.3, js-controller: 6.0.5
2024-06-24 10:09:58.932 - error: host.iobroker-dev iobroker npm-install: npm error code ETARGETnpm error notarget No matching version found for iobroker.nuki@1.7.0.npm error notarget In most cases you or one of your dependencies are requestingnpm error notarget a package version that doesn't exist.npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-06-24T08_09_58_405Z-debug-0.loghost.iobroker-dev Cannot install iobroker.nuki@1.7.0: 1
2024-06-24 10:09:59.437 - info: admin.0 (15109) ==> Connected system.user.admin from ::ffff:10.8.5.2
2024-06-24 10:09:59.940 - info: host.iobroker-dev iobroker npm-install: exit 25
2024-06-24 10:10:00.941 - warn: host.iobroker-dev startInstance cannot find adapter "nuki@1.7.0". Try to install it... 3 attempt
2024-06-24 10:10:00.942 - info: host.iobroker-dev iobroker install nuki@1.7.0 using installedVersion
2024-06-24 10:10:01.693 - info: host.iobroker-dev iobroker npm-install: NPM version: 10.7.0Installing iobroker.nuki@1.7.0... (System call)
2024-06-24 10:10:01.742 - info: host.iobroker-dev instance system.adapter.whatsapp-cmb.0 started with pid 15253
2024-06-24 10:10:02.446 - error: host.iobroker-dev iobroker npm-install: npm error code ETARGETnpm error notarget No matching version found for iobroker.nuki@1.7.0.npm error notarget In most cases you or one of your dependencies are requestingnpm error notarget a package version that doesn't exist.npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-06-24T08_10_01_737Z-debug-0.log
2024-06-24 10:10:02.446 - error: host.iobroker-dev iobroker npm-install: host.iobroker-dev Cannot install iobroker.nuki@1.7.0: 1
2024-06-24 10:10:02.488 - info: whatsapp-cmb.0 (15253) starting. Version 0.3.0 in /opt/iobroker/node_modules/iobroker.whatsapp-cmb, node: v18.20.3, js-controller: 6.0.5
2024-06-24 10:10:03.456 - info: host.iobroker-dev iobroker npm-install: exit 25
2024-06-24 10:10:04.456 - warn: host.iobroker-dev startInstance cannot find adapter "nuki@1.7.0". Try to install it... 4 attempt
2024-06-24 10:10:04.457 - info: host.iobroker-dev iobroker install nuki@1.7.0 using installedVersion
2024-06-24 10:10:05.240 - info: host.iobroker-dev iobroker npm-install: NPM version: 10.7.0
2024-06-24 10:10:05.241 - info: host.iobroker-dev iobroker npm-install: Installing iobroker.nuki@1.7.0... (System call)
2024-06-24 10:10:05.770 - info: host.iobroker-dev instance system.adapter.backitup.0 started with pid 15307
2024-06-24 10:10:06.091 - error: host.iobroker-dev iobroker npm-install: npm error code ETARGETnpm error notarget No matching version found for iobroker.nuki@1.7.0.npm error notarget In most cases you or one of your dependencies are requestingnpm error notarget a package version that doesn't exist.npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-06-24T08_10_05_312Z-debug-0.log
2024-06-24 10:10:06.092 - error: host.iobroker-dev iobroker npm-install: host.iobroker-dev Cannot install iobroker.nuki@1.7.0: 1
2024-06-24 10:10:06.213 - debug: backitup.0 (15307) Redis Objects: Use Redis connection: 127.0.0.1:9001
2024-06-24 10:10:06.220 - debug: backitup.0 (15307) Objects client ready ... initialize now
2024-06-24 10:10:06.220 - debug: backitup.0 (15307) Objects create System PubSub Client
2024-06-24 10:10:06.220 - debug: backitup.0 (15307) Objects create User PubSub Client
2024-06-24 10:10:06.227 - debug: backitup.0 (15307) Objects client initialize lua scripts
2024-06-24 10:10:06.228 - debug: backitup.0 (15307) Objects connected to redis: 127.0.0.1:9001
2024-06-24 10:10:06.229 - silly: backitup.0 (15307) redis psubscribe cfg.o.system.user.*
2024-06-24 10:10:06.234 - silly: backitup.0 (15307) redis psubscribe cfg.o.enum.*
2024-06-24 10:10:06.234 - silly: backitup.0 (15307) objectDB connected
2024-06-24 10:10:06.235 - debug: backitup.0 (15307) Redis States: Use Redis connection: 127.0.0.1:9000
2024-06-24 10:10:06.237 - debug: backitup.0 (15307) States create System PubSub Client
2024-06-24 10:10:06.238 - debug: backitup.0 (15307) States create User PubSub Client
2024-06-24 10:10:06.284 - debug: backitup.0 (15307) States connected to redis: 127.0.0.1:9000
2024-06-24 10:10:06.284 - silly: backitup.0 (15307) statesDB connected
2024-06-24 10:10:06.293 - debug: backitup.0 (15307) Plugin sentry Do not initialize Plugin (enabled=false)
2024-06-24 10:10:06.335 - debug: backitup.0 (15307) Plugin sentry destroyed because not initialized correctly
2024-06-24 10:10:06.368 - info: backitup.0 (15307) starting. Version 3.0.4 in /opt/iobroker/node_modules/iobroker.backitup, node: v18.20.3, js-controller: 6.0.5
2024-06-24 10:10:06.373 - debug: backitup.0 (15307) BackItUp has recognized a linux system
2024-06-24 10:10:06.379 - silly: backitup.0 (15307) States system redis pmessage system.adapter.backitup.0.logLevel/system.adapter.backitup.0.logLevel:{"val":"silly","ack":true,"ts":1719216606377,"q":0,"from":"system.adapter.backitup.0","lc":1647720647383}
2024-06-24 10:10:06.383 - info: backitup.0 (15307) [iobroker] backup will be activated with Cronjob "00 40 23 */1 * *"
2024-06-24 10:10:06.401 - debug: backitup.0 (15307) expert-mount command: "sudo mount 10.0.1.218:/iobroker-dev/iobroker /opt/iobroker/backups"
2024-06-24 10:10:06.519 - debug: backitup.0 (15307) expert-mount successfully completed
2024-06-24 10:10:07.102 - info: host.iobroker-dev iobroker npm-install: exit 25
2024-06-24 10:10:08.102 - error: host.iobroker-dev Cannot download and install adapter "nuki@1.7.0". To retry it disable/enable the adapter or restart host. Also check the error messages in the log!
2024-06-24 10:10:08.527 - debug: backitup.0 (15307) detect backup file 1 from NAS: iobroker_2024_06_19-23_40_17_dev_backupiobroker.tar.gz
2024-06-24 10:10:08.527 - debug: backitup.0 (15307) detect backup file 2 from NAS: iobroker_2024_06_20-23_40_10_dev_backupiobroker.tar.gz
2024-06-24 10:10:08.527 - debug: backitup.0 (15307) detect backup file 3 from NAS: iobroker_2024_06_21-23_40_10_dev_backupiobroker.tar.gz
2024-06-24 10:10:08.527 - debug: backitup.0 (15307) detect backup file 4 from NAS: iobroker_2024_06_22-23_40_10_dev_backupiobroker.tar.gz
2024-06-24 10:10:08.527 - debug: backitup.0 (15307) detect backup file 5 from NAS: iobroker_2024_06_23-23_40_10_dev_backupiobroker.tar.gz
2024-06-24 10:10:08.527 - debug: backitup.0 (15307) detect backup file 6 from NAS: iobroker_2024_06_24-00_39_42_dev_backupiobroker.tar.gz
2024-06-24 10:10:08.527 - debug: backitup.0 (15307) detect last backup file: iobroker_2024_06_24-00_39_42_dev_backupiobroker.tar.gz
2024-06-24 10:10:09.742 - info: host.iobroker-dev instance scheduled system.adapter.pegelalarm.0 0 * * * *
2024-06-24 10:10:09.744 - info: host.iobroker-dev instance system.adapter.pegelalarm.0 started with pid 15366
2024-06-24 10:10:10.049 - debug: pegelalarm.0 (15366) Redis Objects: Use Redis connection: 127.0.0.1:9001
2024-06-24 10:10:10.057 - debug: pegelalarm.0 (15366) Objects client ready ... initialize now
2024-06-24 10:10:10.057 - debug: pegelalarm.0 (15366) Objects create System PubSub Client
2024-06-24 10:10:10.058 - debug: pegelalarm.0 (15366) Objects create User PubSub Client
2024-06-24 10:10:10.063 - debug: pegelalarm.0 (15366) Objects client initialize lua scripts
2024-06-24 10:10:10.064 - debug: pegelalarm.0 (15366) Objects connected to redis: 127.0.0.1:9001
2024-06-24 10:10:10.065 - silly: pegelalarm.0 (15366) redis psubscribe cfg.o.system.user.*
2024-06-24 10:10:10.069 - silly: pegelalarm.0 (15366) redis psubscribe cfg.o.enum.*
2024-06-24 10:10:10.069 - silly: pegelalarm.0 (15366) objectDB connected
2024-06-24 10:10:10.070 - debug: pegelalarm.0 (15366) Redis States: Use Redis connection: 127.0.0.1:9000
2024-06-24 10:10:10.072 - debug: pegelalarm.0 (15366) States create System PubSub Client
2024-06-24 10:10:10.072 - debug: pegelalarm.0 (15366) States create User PubSub Client
2024-06-24 10:10:10.116 - debug: pegelalarm.0 (15366) States connected to redis: 127.0.0.1:9000
2024-06-24 10:10:10.116 - silly: pegelalarm.0 (15366) statesDB connected
2024-06-24 10:10:10.122 - debug: pegelalarm.0 (15366) Plugin sentry Initialize Plugin (enabled=true)
2024-06-24 10:10:10.194 - info: pegelalarm.0 (15366) starting. Version 1.3.3 in /opt/iobroker/node_modules/iobroker.pegelalarm, node: v18.20.3, js-controller: 6.0.5
2024-06-24 10:10:10.201 - debug: pegelalarm.0 (15366) Pegelalarm request for measuring station 1 is started ...
2024-06-24 10:10:10.201 - debug: pegelalarm.0 (15366) https://api.pegelalarm.at/api/station/1.0/list?countryCode=DE&qRegion=Baden-W%C3%BCrttemberg&qWater=Ablach
2024-06-24 10:10:10.227 - silly: pegelalarm.0 (15366) States system redis pmessage system.adapter.pegelalarm.0.logLevel/system.adapter.pegelalarm.0.logLevel:{"val":"silly","ack":true,"ts":1719216610223,"q":0,"from":"system.adapter.pegelalarm.0","lc":1653909573105}
2024-06-24 10:10:10.411 - debug: pegelalarm.0 (15366) Pegelalarm API is available ... Status: 200
2024-06-24 10:10:13.343 - info: javascript.0 (15159) requesting all states
2024-06-24 10:10:13.344 - info: javascript.0 (15159) requesting all objects
2024-06-24 10:10:13.512 - info: javascript.0 (15159) received all objects
2024-06-24 10:10:13.533 - info: javascript.0 (15159) received all states
2024-06-24 10:10:13.728 - info: host.iobroker-dev instance scheduled system.adapter.schoolfree.0 0 0 * * *
2024-06-24 10:10:13.730 - info: host.iobroker-dev instance system.adapter.schoolfree.0 started with pid 15405
2024-06-24 10:10:14.036 - debug: schoolfree.0 (15405) Redis Objects: Use Redis connection: 127.0.0.1:9001
2024-06-24 10:10:14.043 - debug: schoolfree.0 (15405) Objects client ready ... initialize now
2024-06-24 10:10:14.043 - debug: schoolfree.0 (15405) Objects create System PubSub Client
2024-06-24 10:10:14.043 - debug: schoolfree.0 (15405) Objects create User PubSub Client
2024-06-24 10:10:14.049 - debug: schoolfree.0 (15405) Objects client initialize lua scripts
2024-06-24 10:10:14.050 - debug: schoolfree.0 (15405) Objects connected to redis: 127.0.0.1:9001
2024-06-24 10:10:14.055 - debug: schoolfree.0 (15405) Redis States: Use Redis connection: 127.0.0.1:9000
2024-06-24 10:10:14.057 - debug: schoolfree.0 (15405) States create System PubSub Client
2024-06-24 10:10:14.057 - debug: schoolfree.0 (15405) States create User PubSub Client
2024-06-24 10:10:14.104 - debug: schoolfree.0 (15405) States connected to redis: 127.0.0.1:9000
2024-06-24 10:10:14.112 - debug: schoolfree.0 (15405) Plugin sentry Initialize Plugin (enabled=true)
2024-06-24 10:10:14.194 - info: schoolfree.0 (15405) starting. Version 1.1.4 in /opt/iobroker/node_modules/iobroker.schoolfree, node: v18.20.3, js-controller: 6.0.5
2024-06-24 10:10:14.220 - debug: schoolfree.0 (15405) counties number: 13430
2024-06-24 10:10:14.222 - debug: schoolfree.0 (15405) places number: 13453
2024-06-24 10:10:14.223 - debug: schoolfree.0 (15405) schools number: 33967
2024-06-24 10:10:14.397 - debug: schoolfree.0 (15405) schoolfree request holiday_or_vacation_types done
2024-06-24 10:10:14.847 - debug: schoolfree.0 (15405) schoolfree request periods done
2024-06-24 10:10:14.848 - debug: schoolfree.0 (15405) ignore public holiday
2024-06-24 10:10:14.848 - debug: schoolfree.0 (15405) school free name: Sommerferien
2024-06-24 10:10:14.848 - debug: schoolfree.0 (15405) school free today
2024-06-24 10:10:14.848 - debug: schoolfree.0 (15405) string: {"starts_on":"2024-06-24","ends_on":"2024-08-03","holiday_or_vacation_type_id":6}
2024-06-24 10:10:14.849 - debug: schoolfree.0 (15405) school free name: Sommerferien
2024-06-24 10:10:14.849 - debug: schoolfree.0 (15405) school free tomorrow
2024-06-24 10:10:14.849 - debug: schoolfree.0 (15405) string: {"starts_on":"2024-06-24","ends_on":"2024-08-03","holiday_or_vacation_type_id":6}
2024-06-24 10:10:14.849 - info: schoolfree.0 (15405) schoolfree request done
2024-06-24 10:10:16.380 - debug: backitup.0 (15307) mount activ... umount in 2 Seconds!!
2024-06-24 10:10:17.721 - info: host.iobroker-dev instance system.adapter.shuttercontrol.0 started with pid 15423
2024-06-24 10:10:18.039 - debug: shuttercontrol.0 (15423) Redis Objects: Use Redis connection: 127.0.0.1:9001
2024-06-24 10:10:18.046 - debug: shuttercontrol.0 (15423) Objects client ready ... initialize now
2024-06-24 10:10:18.046 - debug: shuttercontrol.0 (15423) Objects create System PubSub Client
2024-06-24 10:10:18.046 - debug: shuttercontrol.0 (15423) Objects create User PubSub Client
2024-06-24 10:10:18.052 - debug: shuttercontrol.0 (15423) Objects client initialize lua scripts
2024-06-24 10:10:18.053 - debug: shuttercontrol.0 (15423) Objects connected to redis: 127.0.0.1:9001
2024-06-24 10:10:18.059 - debug: shuttercontrol.0 (15423) Redis States: Use Redis connection: 127.0.0.1:9000
2024-06-24 10:10:18.061 - debug: shuttercontrol.0 (15423) States create System PubSub Client
2024-06-24 10:10:18.061 - debug: shuttercontrol.0 (15423) States create User PubSub Client
2024-06-24 10:10:18.108 - debug: shuttercontrol.0 (15423) States connected to redis: 127.0.0.1:9000
2024-06-24 10:10:18.116 - debug: shuttercontrol.0 (15423) Plugin sentry Do not initialize Plugin (enabled=false)
2024-06-24 10:10:18.117 - debug: shuttercontrol.0 (15423) Plugin sentry destroyed because not initialized correctly
2024-06-24 10:10:18.157 - info: shuttercontrol.0 (15423) starting. Version 1.7.0 in /opt/iobroker/node_modules/iobroker.shuttercontrol, node: v18.20.3, js-controller: 6.0.5
2024-06-24 10:10:18.162 - debug: shuttercontrol.0 (15423) shutter Config Check started
2024-06-24 10:10:18.162 - debug: shuttercontrol.0 (15423) shutter Config Check successfully completed
2024-06-24 10:10:18.163 - info: shuttercontrol.0 (15423) subscribe 0_userdata.0.Rolladen.Test.rollo.fensterkontakt
2024-06-24 10:10:18.163 - debug: shuttercontrol.0 (15423) trigger for shuttercontrol: javascript.0.Rolladen.Bad.STATE
2024-06-24 10:10:18.163 - debug: shuttercontrol.0 (15423) trigger for shuttercontrol: javascript.0.Rolladen.Kind_1.STATE
2024-06-24 10:10:18.163 - debug: shuttercontrol.0 (15423) trigger for shuttercontrol: javascript.0.Rolladen.Kind_2.STATE
2024-06-24 10:10:18.163 - debug: shuttercontrol.0 (15423) trigger for shuttercontrol: javascript.0.Rolladen.Kueche.Fenster.STATE
2024-06-24 10:10:18.163 - debug: shuttercontrol.0 (15423) trigger for shuttercontrol: javascript.0.Rolladen.Kueche.Tuer.STATE
2024-06-24 10:10:18.163 - debug: shuttercontrol.0 (15423) trigger for shuttercontrol: javascript.0.Rolladen.Schlafzimmer.STATE
2024-06-24 10:10:18.163 - debug: shuttercontrol.0 (15423) trigger for shuttercontrol: javascript.0.Rolladen.Wohnzimmer.Morris.STATE
2024-06-24 10:10:18.163 - debug: shuttercontrol.0 (15423) trigger for shuttercontrol: javascript.0.Rolladen.Wohnzimmer.Terrasse.STATE
2024-06-24 10:10:18.163 - debug: shuttercontrol.0 (15423) trigger for shuttercontrol: javascript.0.Rolladen.Test.rollo.fensterkontakt
2024-06-24 10:10:18.163 - debug: shuttercontrol.0 (15423) trigger for inside temperature: javascript.0.Rolladen.Bad.Temp.LEVEL
2024-06-24 10:10:18.163 - debug: shuttercontrol.0 (15423) trigger for inside temperature: javascript.0.Rolladen.Kind_1.Temp.LEVEL
2024-06-24 10:10:18.163 - debug: shuttercontrol.0 (15423) trigger for inside temperature: javascript.0.Rolladen.Kind_2.Temp.LEVEL
2024-06-24 10:10:18.163 - debug: shuttercontrol.0 (15423) trigger for inside temperature: javascript.0.Rolladen.Kueche.Temp.LEVEL
2024-06-24 10:10:18.163 - debug: shuttercontrol.0 (15423) trigger for inside temperature: javascript.0.Rolladen.Schlafzimmer.Temp.LEVEL
2024-06-24 10:10:18.163 - debug: shuttercontrol.0 (15423) trigger for inside temperature: javascript.0.Rolladen.Wohnzimmer.Temp.LEVEL
2024-06-24 10:10:18.163 - debug: shuttercontrol.0 (15423) trigger for inside temperature: javascript.0.Rolladen.Test.rollo.innentemp
2024-06-24 10:10:18.163 - debug: shuttercontrol.0 (15423) trigger for outside temperature: weatherunderground.0.forecast.current.temp
2024-06-24 10:10:18.163 - debug: shuttercontrol.0 (15423) trigger for outside temperature: javascript.0.Rolladen.Test.rollo.aussentemp
2024-06-24 10:10:18.164 - debug: shuttercontrol.0 (15423) trigger for Light Sensor: javascript.0.Rolladen.Test.rollo.lichtsensor2
2024-06-24 10:10:18.164 - debug: shuttercontrol.0 (15423) trigger for Light Sensor: javascript.0.Rolladen.Test.rollo.lichtsensor
2024-06-24 10:10:18.164 - debug: shuttercontrol.0 (15423) Shutter State: javascript.0.Rolladen.Bad.LEVEL
2024-06-24 10:10:18.164 - debug: shuttercontrol.0 (15423) Shutter State: javascript.0.Rolladen.Kind_1.LEVEL
2024-06-24 10:10:18.164 - debug: shuttercontrol.0 (15423) Shutter State: javascript.0.Rolladen.Kind_2.LEVEL
2024-06-24 10:10:18.164 - debug: shuttercontrol.0 (15423) Shutter State: javascript.0.Rolladen.Kueche.Fenster.LEVEL
2024-06-24 10:10:18.164 - debug: shuttercontrol.0 (15423) Shutter State: javascript.0.Rolladen.Kueche.Tuer.LEVEL
2024-06-24 10:10:18.164 - debug: shuttercontrol.0 (15423) Shutter State: javascript.0.Rolladen.Schlafzimmer.LEVEL
2024-06-24 10:10:18.164 - debug: shuttercontrol.0 (15423) Shutter State: javascript.0.Rolladen.Wohnzimmer.Hof.LEVEL
2024-06-24 10:10:18.164 - debug: shuttercontrol.0 (15423) Shutter State: javascript.0.Rolladen.Wohnzimmer.Morris.LEVEL
2024-06-24 10:10:18.164 - debug: shuttercontrol.0 (15423) Shutter State: javascript.0.Rolladen.Wohnzimmer.Terrasse.LEVEL
2024-06-24 10:10:18.164 - debug: shuttercontrol.0 (15423) Shutter State: javascript.0.Rolladen.Test.rollo.LEVEL
2024-06-24 10:10:18.255 - debug: shuttercontrol.0 (15423) Rollladen_Bad: save settings
2024-06-24 10:10:18.357 - debug: shuttercontrol.0 (15423) Rollladen_Kind_1: save settings
2024-06-24 10:10:18.443 - debug: backitup.0 (15307) umount successfully completed
2024-06-24 10:10:18.458 - debug: shuttercontrol.0 (15423) Rollladen_Kind_2_Level: save settings
2024-06-24 10:10:18.558 - debug: shuttercontrol.0 (15423) Rollladen_Küche_Fenster_Level: save settings
2024-06-24 10:10:18.601 - debug: pegelalarm.0 (15366) Pegelalarm request done
2024-06-24 10:10:18.601 - debug: pegelalarm.0 (15366) Pegelalarm request for measuring station 1 is finish ...
2024-06-24 10:10:18.659 - debug: shuttercontrol.0 (15423) Rollladen_Küche_Tür_Level: save settings
2024-06-24 10:10:18.760 - debug: shuttercontrol.0 (15423) Rollladen_Schlafzimmer_Level: save settings
2024-06-24 10:10:18.860 - debug: shuttercontrol.0 (15423) Rollladen_Wohnzimmer_Hof_Level: save settings
2024-06-24 10:10:18.961 - debug: shuttercontrol.0 (15423) Rollladen_Wohnzimmer_Morris_Level: save settings
2024-06-24 10:10:19.062 - debug: shuttercontrol.0 (15423) Rollladen_Wohnzimmer_Terrasse_Level: save settings
2024-06-24 10:10:19.162 - debug: shuttercontrol.0 (15423) Test: save settings
2024-06-24 10:10:19.602 - debug: pegelalarm.0 (15366) Pegelalarm request for measuring station 2 is started ...
2024-06-24 10:10:19.602 - debug: pegelalarm.0 (15366) https://api.pegelalarm.at/api/station/1.0/list?countryCode=DE&qRegion=Bayern&qWater=Abens&qStationName=Aunkofen
2024-06-24 10:10:19.736 - debug: pegelalarm.0 (15366) Pegelalarm API is available ... Status: 200
2024-06-24 10:10:20.168 - debug: shuttercontrol.0 (15423) checking schoolfreeDP
2024-06-24 10:10:20.169 - debug: shuttercontrol.0 (15423) got schoolfreeDP false
2024-06-24 10:10:20.171 - debug: shuttercontrol.0 (15423) Travel times of the shutters are calculated
2024-06-24 10:10:20.171 - debug: shuttercontrol.0 (15423) calculate astrodata ...
2024-06-24 10:10:20.172 - debug: shuttercontrol.0 (15423) goldenHourEnd today: 05:50
2024-06-24 10:10:20.172 - debug: shuttercontrol.0 (15423) goldenHour today: 20:45
2024-06-24 10:10:20.172 - debug: shuttercontrol.0 (15423) current day: 1
2024-06-24 10:10:20.172 - debug: shuttercontrol.0 (15423) Sunrise today: 04:55
2024-06-24 10:10:20.172 - debug: shuttercontrol.0 (15423) Sunset today: 21:40
2024-06-24 10:10:20.172 - debug: shuttercontrol.0 (15423) Starting up shutters GoldenHour area: 05:55
2024-06-24 10:10:20.172 - debug: shuttercontrol.0 (15423) Shutdown shutters GoldenHour area: 20:45
2024-06-24 10:10:20.172 - debug: shuttercontrol.0 (15423) Starting up shutters Sunrise area: 05:00
2024-06-24 10:10:20.172 - debug: shuttercontrol.0 (15423) Shutdown shutters Sunset area: 21:40
2024-06-24 10:10:20.179 - debug: shuttercontrol.0 (15423) check IsLater : 05:00 06:00
2024-06-24 10:10:20.179 - debug: shuttercontrol.0 (15423) check IsLater : 05:00 05:30
2024-06-24 10:10:20.179 - debug: shuttercontrol.0 (15423) check IsEqual : 05:30 06:00
2024-06-24 10:10:20.179 - debug: shuttercontrol.0 (15423) check IsEqual : 05:00 06:00
2024-06-24 10:10:20.179 - debug: shuttercontrol.0 (15423) check IsEarlier : 05:00 05:30
2024-06-24 10:10:20.179 - debug: shuttercontrol.0 (15423) yes, IsEarlier : 05:00 05:30
2024-06-24 10:10:20.179 - debug: shuttercontrol.0 (15423) Starting up shutters living area: 05:30 debug 8
2024-06-24 10:10:20.181 - debug: shuttercontrol.0 (15423) check IsLater : 05:00 06:00
2024-06-24 10:10:20.181 - debug: shuttercontrol.0 (15423) check IsLater : 05:00 05:30
2024-06-24 10:10:20.181 - debug: shuttercontrol.0 (15423) check IsEqual : 05:30 06:00
2024-06-24 10:10:20.181 - debug: shuttercontrol.0 (15423) check IsEqual : 05:00 06:00
2024-06-24 10:10:20.181 - debug: shuttercontrol.0 (15423) check IsEarlier : 05:00 05:30
2024-06-24 10:10:20.181 - debug: shuttercontrol.0 (15423) yes, IsEarlier : 05:00 05:30
2024-06-24 10:10:20.181 - debug: shuttercontrol.0 (15423) Starting up shutters sleep area: 05:30 debug 8
2024-06-24 10:10:20.183 - debug: shuttercontrol.0 (15423) Starting up shutters children area: 10:30 debug 1
2024-06-24 10:10:20.184 - debug: shuttercontrol.0 (15423) check IsLater : 21:40 22:01
2024-06-24 10:10:20.184 - debug: shuttercontrol.0 (15423) check IsEarlier : 21:40 22:01
2024-06-24 10:10:20.184 - debug: shuttercontrol.0 (15423) yes, IsEarlier : 21:40 22:01
2024-06-24 10:10:20.184 - debug: shuttercontrol.0 (15423) Shutdown shutters living area: 21:40 debug 7
2024-06-24 10:10:20.184 - debug: shuttercontrol.0 (15423) shutterDownLiving
2024-06-24 10:10:20.186 - debug: shuttercontrol.0 (15423) Shutdown shutters children area: 21:30 debug 1
2024-06-24 10:10:20.187 - debug: shuttercontrol.0 (15423) Shutdown shutters sleep area: 18:32 debug 6
2024-06-24 10:10:20.189 - debug: shuttercontrol.0 (15423) late down at 09:15
2024-06-24 10:10:20.190 - debug: shuttercontrol.0 (15423) complete down at 21:00
2024-06-24 10:10:21.267 - debug: shuttercontrol.0 (15423) Travel times of the shutters are calculated
2024-06-24 10:10:21.268 - debug: shuttercontrol.0 (15423) calculate astrodata ...
2024-06-24 10:10:21.268 - debug: shuttercontrol.0 (15423) goldenHourEnd today: 05:50
2024-06-24 10:10:21.268 - debug: shuttercontrol.0 (15423) goldenHour today: 20:45
2024-06-24 10:10:21.268 - debug: shuttercontrol.0 (15423) current day: 1
2024-06-24 10:10:21.268 - debug: shuttercontrol.0 (15423) Sunrise today: 04:55
2024-06-24 10:10:21.268 - debug: shuttercontrol.0 (15423) Sunset today: 21:40
2024-06-24 10:10:21.268 - debug: shuttercontrol.0 (15423) Starting up shutters GoldenHour area: 05:55
2024-06-24 10:10:21.268 - debug: shuttercontrol.0 (15423) Shutdown shutters GoldenHour area: 20:45
2024-06-24 10:10:21.268 - debug: shuttercontrol.0 (15423) Starting up shutters Sunrise area: 05:00
2024-06-24 10:10:21.268 - debug: shuttercontrol.0 (15423) Shutdown shutters Sunset area: 21:40
2024-06-24 10:10:21.272 - debug: shuttercontrol.0 (15423) check IsLater : 05:00 06:00
2024-06-24 10:10:21.273 - debug: shuttercontrol.0 (15423) check IsLater : 05:00 05:30
2024-06-24 10:10:21.273 - debug: shuttercontrol.0 (15423) check IsEqual : 05:30 06:00
2024-06-24 10:10:21.273 - debug: shuttercontrol.0 (15423) check IsEqual : 05:00 06:00
2024-06-24 10:10:21.273 - debug: shuttercontrol.0 (15423) check IsEarlier : 05:00 05:30
2024-06-24 10:10:21.273 - debug: shuttercontrol.0 (15423) yes, IsEarlier : 05:00 05:30
2024-06-24 10:10:21.273 - debug: shuttercontrol.0 (15423) Starting up shutters living area: 05:30 debug 8
2024-06-24 10:10:21.274 - debug: shuttercontrol.0 (15423) check IsLater : 05:00 06:00
2024-06-24 10:10:21.274 - debug: shuttercontrol.0 (15423) check IsLater : 05:00 05:30
2024-06-24 10:10:21.274 - debug: shuttercontrol.0 (15423) check IsEqual : 05:30 06:00
2024-06-24 10:10:21.274 - debug: shuttercontrol.0 (15423) check IsEqual : 05:00 06:00
2024-06-24 10:10:21.274 - debug: shuttercontrol.0 (15423) check IsEarlier : 05:00 05:30
2024-06-24 10:10:21.274 - debug: shuttercontrol.0 (15423) yes, IsEarlier : 05:00 05:30
2024-06-24 10:10:21.274 - debug: shuttercontrol.0 (15423) Starting up shutters sleep area: 05:30 debug 8
2024-06-24 10:10:21.276 - debug: shuttercontrol.0 (15423) Starting up shutters children area: 10:30 debug 1
2024-06-24 10:10:21.276 - debug: shuttercontrol.0 (15423) check IsLater : 21:40 22:01
2024-06-24 10:10:21.276 - debug: shuttercontrol.0 (15423) check IsEarlier : 21:40 22:01
2024-06-24 10:10:21.276 - debug: shuttercontrol.0 (15423) yes, IsEarlier : 21:40 22:01
2024-06-24 10:10:21.276 - debug: shuttercontrol.0 (15423) Shutdown shutters living area: 21:40 debug 7
2024-06-24 10:10:21.277 - debug: shuttercontrol.0 (15423) shutterDownLiving
2024-06-24 10:10:21.278 - debug: shuttercontrol.0 (15423) Shutdown shutters children area: 21:30 debug 1
2024-06-24 10:10:21.280 - debug: shuttercontrol.0 (15423) Shutdown shutters sleep area: 18:32 debug 6
2024-06-24 10:10:21.281 - debug: shuttercontrol.0 (15423) late down at 09:15
2024-06-24 10:10:21.282 - debug: shuttercontrol.0 (15423) complete down at 21:00
2024-06-24 10:10:21.719 - info: host.iobroker-dev instance system.adapter.solax.0 started with pid 15444
2024-06-24 10:10:21.890 - debug: pegelalarm.0 (15366) Pegelalarm request done
2024-06-24 10:10:21.891 - debug: pegelalarm.0 (15366) Pegelalarm request for measuring station 2 is finish ...
2024-06-24 10:10:22.024 - debug: solax.0 (15444) Redis Objects: Use Redis connection: 127.0.0.1:9001
2024-06-24 10:10:22.030 - debug: solax.0 (15444) Objects client ready ... initialize now
2024-06-24 10:10:22.031 - debug: solax.0 (15444) Objects create System PubSub Client
2024-06-24 10:10:22.031 - debug: solax.0 (15444) Objects create User PubSub Client
2024-06-24 10:10:22.036 - debug: solax.0 (15444) Objects client initialize lua scripts
2024-06-24 10:10:22.038 - debug: solax.0 (15444) Objects connected to redis: 127.0.0.1:9001
2024-06-24 10:10:22.039 - silly: solax.0 (15444) redis psubscribe cfg.o.system.user.*
2024-06-24 10:10:22.042 - silly: solax.0 (15444) redis psubscribe cfg.o.enum.*
2024-06-24 10:10:22.043 - silly: solax.0 (15444) objectDB connected
2024-06-24 10:10:22.044 - debug: solax.0 (15444) Redis States: Use Redis connection: 127.0.0.1:9000
2024-06-24 10:10:22.046 - debug: solax.0 (15444) States create System PubSub Client
2024-06-24 10:10:22.046 - debug: solax.0 (15444) States create User PubSub Client
2024-06-24 10:10:22.092 - debug: solax.0 (15444) States connected to redis: 127.0.0.1:9000
2024-06-24 10:10:22.092 - silly: solax.0 (15444) statesDB connected
2024-06-24 10:10:22.099 - debug: solax.0 (15444) Plugin sentry Initialize Plugin (enabled=true)
2024-06-24 10:10:22.173 - info: solax.0 (15444) starting. Version 0.9.6 in /opt/iobroker/node_modules/iobroker.solax, node: v18.20.3, js-controller: 6.0.5
2024-06-24 10:10:22.195 - silly: solax.0 (15444) States system redis pmessage system.adapter.solax.0.logLevel/system.adapter.solax.0.logLevel:{"val":"silly","ack":true,"ts":1719216622178,"q":0,"from":"system.adapter.solax.0","lc":1649762779145}
2024-06-24 10:10:22.892 - debug: pegelalarm.0 (15366) Pegelalarm request for measuring station 3 is started ...
2024-06-24 10:10:22.893 - debug: pegelalarm.0 (15366) https://api.pegelalarm.at/api/station/1.0/list?countryCode=DE&qWater=Elbe&qStationName=Magdeburg-Rothensee
2024-06-24 10:10:23.024 - debug: pegelalarm.0 (15366) Pegelalarm API is available ... Status: 200
2024-06-24 10:10:24.200 - debug: solax.0 (15444) Solax is started in local-mode
2024-06-24 10:10:24.201 - debug: solax.0 (15444) System longitude: 11.425717 | System latitude: 52.175011
2024-06-24 10:10:24.201 - debug: solax.0 (15444) nightCalc started ...
2024-06-24 10:10:24.201 - debug: solax.0 (15444) dusk: 22:30
2024-06-24 10:10:24.202 - debug: solax.0 (15444) dawn: 04:05
2024-06-24 10:10:24.202 - debug: solax.0 (15444) current local Time: 10:10
2024-06-24 10:10:24.202 - debug: solax.0 (15444) calculate astrodata ...
2024-06-24 10:10:24.202 - debug: solax.0 (15444) Sun Altitude: 44.4°
2024-06-24 10:10:24.202 - debug: solax.0 (15444) Sun Azimut: 110.8°
2024-06-24 10:10:25.172 - debug: pegelalarm.0 (15366) Pegelalarm request done
2024-06-24 10:10:25.172 - debug: pegelalarm.0 (15366) Pegelalarm request for measuring station 3 is finish ...
2024-06-24 10:10:25.495 - debug: solax.0 (15444) local request: {"type":"X1-Boost-Air-Mini","SN":"xxxxxxxx","ver":"2.033.20","Data":[5.5,0,61.9,0,1.3,238.9,315,36,0.4,1897,0,345,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,49.98,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"Information":[0.6,4,"X1-Boost-Air-Mini","XMU062GC092110",1,2.12,0,1.32,0]}
2024-06-24 10:10:25.546 - debug: solax.0 (15444) Request Interval: 300 seconds
2024-06-24 10:10:25.546 - debug: solax.0 (15444) Local Request Interval started ...
2024-06-24 10:10:25.719 - info: host.iobroker-dev instance scheduled system.adapter.uv-protect.0 38 * * * *
2024-06-24 10:10:25.722 - info: host.iobroker-dev instance system.adapter.uv-protect.0 started with pid 15463
2024-06-24 10:10:26.016 - debug: uv-protect.0 (15463) Redis Objects: Use Redis connection: 127.0.0.1:9001
2024-06-24 10:10:26.023 - debug: uv-protect.0 (15463) Objects client ready ... initialize now
2024-06-24 10:10:26.024 - debug: uv-protect.0 (15463) Objects create System PubSub Client
2024-06-24 10:10:26.024 - debug: uv-protect.0 (15463) Objects create User PubSub Client
2024-06-24 10:10:26.030 - debug: uv-protect.0 (15463) Objects client initialize lua scripts
2024-06-24 10:10:26.032 - debug: uv-protect.0 (15463) Objects connected to redis: 127.0.0.1:9001
2024-06-24 10:10:26.037 - debug: uv-protect.0 (15463) Redis States: Use Redis connection: 127.0.0.1:9000
2024-06-24 10:10:26.039 - debug: uv-protect.0 (15463) States create System PubSub Client
2024-06-24 10:10:26.039 - debug: uv-protect.0 (15463) States create User PubSub Client
2024-06-24 10:10:26.084 - debug: uv-protect.0 (15463) States connected to redis: 127.0.0.1:9000
2024-06-24 10:10:26.135 - info: uv-protect.0 (15463) starting. Version 0.6.0 in /opt/iobroker/node_modules/iobroker.uv-protect, node: v18.20.3, js-controller: 6.0.5
2024-06-24 10:10:26.143 - debug: uv-protect.0 (15463) System language: de
2024-06-24 10:10:26.143 - debug: uv-protect.0 (15463) System longitude: 11.425717 System latitude: 52.175011
2024-06-24 10:10:26.144 - debug: uv-protect.0 (15463) API Request started ...
2024-06-24 10:10:26.173 - debug: pegelalarm.0 (15366) Pegelalarm request for measuring station 4 is started ...
2024-06-24 10:10:26.173 - debug: pegelalarm.0 (15366) https://api.pegelalarm.at/api/station/1.0/list?countryCode=DE&qRegion=Hamme&qWater=Hamme&qStationName=Ritterhude
2024-06-24 10:10:26.384 - debug: pegelalarm.0 (15366) Pegelalarm API is available ... Status: 200
2024-06-24 10:10:26.612 - debug: uv-protect.0 (15463) API Request successfully completed
2024-06-24 10:10:26.612 - debug: uv-protect.0 (15463) {"result":{"uv":4.1536,"uv_time":"2024-06-24T08:10:26.538Z","uv_max":7.4648,"uv_max_time":"2024-06-24T11:17:58.805Z","ozone":333,"ozone_time":"2023-04-12T15:04:31.773Z","safe_exposure_time":{"st1":40,"st2":48,"st3":64,"st4":80,"st5":128,"st6":241},"sun_info":{"sun_times":{"solarNoon":"2024-06-24T11:17:58.805Z","nadir":"2024-06-23T23:17:58.805Z","sunrise":"2024-06-24T02:55:12.279Z","sunset":"2024-06-24T19:40:45.331Z","sunriseEnd":"2024-06-24T02:59:50.168Z","sunsetStart":"2024-06-24T19:36:07.442Z","dawn":"2024-06-24T02:05:54.139Z","dusk":"2024-06-24T20:30:03.471Z","nauticalDawn":"2024-06-24T00:46:02.276Z","nauticalDusk":"2024-06-24T21:49:55.334Z","nightEnd":null,"night":null,"goldenHourEnd":"2024-06-24T03:50:39.418Z","goldenHour":"2024-06-24T18:45:18.192Z"},"sun_position":{"azimuth":-1.2071795844080166,"altitude":0.7754784335365305}}}}
2024-06-24 10:10:26.641 - debug: uv-protect.0 (15463) API Request done
2024-06-24 10:10:28.529 - debug: pegelalarm.0 (15366) Pegelalarm request done
2024-06-24 10:10:28.529 - debug: pegelalarm.0 (15366) Pegelalarm request for measuring station 4 is finish ...
2024-06-24 10:10:29.529 - debug: pegelalarm.0 (15366) Pegelalarm request for measuring station 5 is started ...
2024-06-24 10:10:29.530 - debug: pegelalarm.0 (15366) https://api.pegelalarm.at/api/station/1.0/list?countryCode=DE&qWater=Elbe&qStationName=Magdeburg-Buckau
2024-06-24 10:10:29.662 - debug: pegelalarm.0 (15366) Pegelalarm API is available ... Status: 200
2024-06-24 10:10:31.807 - debug: pegelalarm.0 (15366) Pegelalarm request done
2024-06-24 10:10:31.807 - debug: pegelalarm.0 (15366) Pegelalarm request for measuring station 5 is finish ...
2024-06-24 10:10:31.807 - debug: pegelalarm.0 (15366) Pegelalarm Request is completed
2024-06-24 10:10:31.807 - debug: pegelalarm.0 (15366) Check for deleting old states is started
2024-06-24 10:10:31.821 - debug: pegelalarm.0 (15366) cleaned everything up...
2024-06-24 10:10:31.864 - debug: pegelalarm.0 (15366) Plugin sentry destroyed
2024-06-24 10:10:31.864 - info: pegelalarm.0 (15366) Terminated (NO_ERROR): Without reason
2024-06-24 10:10:32.384 - info: host.iobroker-dev instance system.adapter.pegelalarm.0 terminated with code 0 (NO_ERROR)
2024-06-24 10:10:32.644 - info: uv-protect.0 (15463) Terminated (NO_ERROR): Without reason
2024-06-24 10:10:33.164 - info: host.iobroker-dev instance system.adapter.uv-protect.0 terminated with code 0 (NO_ERROR)
2024-06-24 10:10:44.850 - debug: schoolfree.0 (15405) schoolfree stopped ...
2024-06-24 10:10:44.851 - debug: schoolfree.0 (15405) cleaned everything up...
2024-06-24 10:10:44.896 - debug: schoolfree.0 (15405) Plugin sentry destroyed
2024-06-24 10:10:44.896 - info: schoolfree.0 (15405) Terminated (NO_ERROR): Without reason
2024-06-24 10:10:45.424 - info: host.iobroker-dev instance system.adapter.schoolfree.0 terminated with code 0 (NO_ERROR)

@foxriver76
Copy link
Collaborator

foxriver76 commented Jun 24, 2024

Please show output of npm ls and content of the root package.json before and after iob start.

Can it be that you perform iob setup in between?

if you have modified your package json npm will likely clean up as it detects that it is the wrong version. And with controller v6 eg additional npm modules are handled in the root dir and a start of javascript will lead to this cleanup also in your logs it tries to install a version of nuki which is not available this could also trigger npm.

all in all I don’t see a controller issue here, for your very specific workflow you should check that you don’t write another version in the package json if you modify files in there, personally I don’t recommend your workflow, you could also work with npm pack and install the local tarball so npm and what you do is in sync.

@simatec
Copy link
Author

simatec commented Jun 25, 2024

Here the Output from npm ls

pi@iobroker-dev:/opt/iobroker$ npm ls
[sudo] Passwort für pi: 
npm error code ELSPROBLEMS
npm error extraneous: @buttercup/fetch@0.2.1 /opt/iobroker/node_modules/@buttercup/fetch
npm error extraneous: @googleapis/drive@8.10.0 /opt/iobroker/node_modules/@googleapis/drive
npm error extraneous: @microsoft/microsoft-graph-types@2.40.0 /opt/iobroker/node_modules/@microsoft/microsoft-graph-types
npm error extraneous: @types/caseless@0.12.5 /opt/iobroker/node_modules/@types/caseless
npm error extraneous: @types/request@2.48.12 /opt/iobroker/node_modules/@types/request
npm error extraneous: @types/tough-cookie@4.0.5 /opt/iobroker/node_modules/@types/tough-cookie
npm error extraneous: append-field@1.0.0 /opt/iobroker/node_modules/append-field
npm error extraneous: bare-fs@2.3.0 /opt/iobroker/node_modules/bare-fs
npm error extraneous: bare-os@2.3.0 /opt/iobroker/node_modules/bare-os
npm error extraneous: bare-path@2.1.3 /opt/iobroker/node_modules/bare-path
npm error extraneous: bare-stream@1.0.0 /opt/iobroker/node_modules/bare-stream
npm error extraneous: base-64@1.0.0 /opt/iobroker/node_modules/base-64
npm error extraneous: bignumber.js@9.1.2 /opt/iobroker/node_modules/bignumber.js
npm error extraneous: byte-length@1.0.2 /opt/iobroker/node_modules/byte-length
npm error extraneous: charenc@0.0.2 /opt/iobroker/node_modules/charenc
npm error extraneous: compress-json@2.1.2 /opt/iobroker/node_modules/compress-json
npm error extraneous: concat-stream@1.6.2 /opt/iobroker/node_modules/concat-stream
npm error extraneous: crypt@0.0.2 /opt/iobroker/node_modules/crypt
npm error extraneous: data-uri-to-buffer@4.0.1 /opt/iobroker/node_modules/data-uri-to-buffer
npm error extraneous: dropbox-v2-api@2.5.11 /opt/iobroker/node_modules/dropbox-v2-api
npm error extraneous: entities@4.5.0 /opt/iobroker/node_modules/entities
npm error extraneous: fast-xml-parser@4.4.0 /opt/iobroker/node_modules/fast-xml-parser
npm error extraneous: fetch-blob@3.2.0 /opt/iobroker/node_modules/fetch-blob
npm error extraneous: form-data-encoder@2.1.4 /opt/iobroker/node_modules/form-data-encoder
npm error extraneous: formdata-polyfill@4.0.10 /opt/iobroker/node_modules/formdata-polyfill
npm error extraneous: ftp@0.3.10 /opt/iobroker/node_modules/ftp
npm error extraneous: gaxios@6.6.0 /opt/iobroker/node_modules/gaxios
npm error extraneous: gcp-metadata@6.1.0 /opt/iobroker/node_modules/gcp-metadata
npm error extraneous: google-auth-library@9.11.0 /opt/iobroker/node_modules/google-auth-library
npm error extraneous: googleapis-common@7.2.0 /opt/iobroker/node_modules/googleapis-common
npm error extraneous: gtoken@7.1.0 /opt/iobroker/node_modules/gtoken
npm error extraneous: hot-patcher@2.0.1 /opt/iobroker/node_modules/hot-patcher
npm error invalid: iobroker.backitup@3.0.5 /opt/iobroker/node_modules/iobroker.backitup
npm error extraneous: iobroker.gotify-ws@0.1.1 /opt/iobroker/node_modules/iobroker.gotify-ws
npm error invalid: iobroker.shuttercontrol@1.7.3 /opt/iobroker/node_modules/iobroker.shuttercontrol
npm error invalid: iobroker.solax@0.9.7 /opt/iobroker/node_modules/iobroker.solax
npm error extraneous: is-buffer@1.1.6 /opt/iobroker/node_modules/is-buffer
npm error extraneous: is-empty-object@1.1.1 /opt/iobroker/node_modules/is-empty-object
npm error extraneous: json-bigint@1.0.0 /opt/iobroker/node_modules/json-bigint
npm error extraneous: jsonata@2.0.5 /opt/iobroker/node_modules/jsonata
npm error extraneous: layerr@2.1.0 /opt/iobroker/node_modules/layerr
npm error extraneous: md5@2.3.0 /opt/iobroker/node_modules/md5
npm error extraneous: multer@1.4.5-lts.1 /opt/iobroker/node_modules/multer
npm error extraneous: nested-property@4.0.0 /opt/iobroker/node_modules/nested-property
npm error extraneous: node-domexception@1.0.0 /opt/iobroker/node_modules/node-domexception
npm error extraneous: node-fetch@2.7.0 /opt/iobroker/node_modules/node-fetch
npm error extraneous: node-inspect@2.0.0 /opt/iobroker/node_modules/node-inspect
npm error extraneous: node-wol@0.1.1 /opt/iobroker/node_modules/node-wol
npm error extraneous: onedrive-api@1.1.1 /opt/iobroker/node_modules/onedrive-api
npm error extraneous: path-posix@1.0.0 /opt/iobroker/node_modules/path-posix
npm error extraneous: picocolors@1.0.0 /opt/iobroker/node_modules/picocolors
npm error extraneous: readable-stream@1.1.14 /opt/iobroker/node_modules/readable-stream
npm error extraneous: string_decoder@0.10.31 /opt/iobroker/node_modules/string_decoder
npm error extraneous: strnum@1.0.5 /opt/iobroker/node_modules/strnum
npm error extraneous: suncalc@1.9.0 /opt/iobroker/node_modules/suncalc
npm error extraneous: suncalc2@1.8.1 /opt/iobroker/node_modules/suncalc2
npm error extraneous: tr46@0.0.3 /opt/iobroker/node_modules/tr46
npm error extraneous: typedarray@0.0.6 /opt/iobroker/node_modules/typedarray
npm error extraneous: url-join@5.0.0 /opt/iobroker/node_modules/url-join
npm error extraneous: url-template@2.0.8 /opt/iobroker/node_modules/url-template
npm error extraneous: virtual-tsc@0.6.2 /opt/iobroker/node_modules/virtual-tsc
npm error extraneous: wake_on_lan@1.0.0 /opt/iobroker/node_modules/wake_on_lan
npm error extraneous: web-streams-polyfill@3.3.3 /opt/iobroker/node_modules/web-streams-polyfill
npm error extraneous: webdav@5.6.0 /opt/iobroker/node_modules/webdav
npm error extraneous: webidl-conversions@3.0.1 /opt/iobroker/node_modules/webidl-conversions
npm error extraneous: whatwg-url@5.0.0 /opt/iobroker/node_modules/whatwg-url
npm error extraneous: xregexp@2.0.0 /opt/iobroker/node_modules/xregexp
iobroker.inst@3.0.0 /opt/iobroker
├── @buttercup/fetch@0.2.1 extraneous
├── @googleapis/drive@8.10.0 extraneous
├── @iobroker-javascript.0/axios@npm:axios@1.7.2
├── @iobroker-javascript.0/cron-parser@npm:cron-parser@4.9.0
├── @iobroker-javascript.0/fs-extra@npm:fs-extra@11.2.0
├── @iobroker-javascript.0/openurl@npm:openurl@1.1.1
├── @iobroker-javascript.0/systeminformation@npm:systeminformation@5.22.11
├── @iobroker-javascript.0/ws@npm:ws@8.17.1
├── @microsoft/microsoft-graph-types@2.40.0 extraneous
├── @types/caseless@0.12.5 extraneous
├── @types/request@2.48.12 extraneous
├── @types/tough-cookie@4.0.5 extraneous
├── append-field@1.0.0 extraneous
├── bare-fs@2.3.0 extraneous
├── bare-os@2.3.0 extraneous
├── bare-path@2.1.3 extraneous
├── bare-stream@1.0.0 extraneous
├── base-64@1.0.0 extraneous
├── bignumber.js@9.1.2 extraneous
├── byte-length@1.0.2 extraneous
├── charenc@0.0.2 extraneous
├── compress-json@2.1.2 extraneous
├── concat-stream@1.6.2 extraneous
├── crypt@0.0.2 extraneous
├── data-uri-to-buffer@4.0.1 extraneous
├── dropbox-v2-api@2.5.11 extraneous
├── entities@4.5.0 extraneous
├── fast-xml-parser@4.4.0 extraneous
├── fetch-blob@3.2.0 extraneous
├── form-data-encoder@2.1.4 extraneous
├── formdata-polyfill@4.0.10 extraneous
├── ftp@0.3.10 extraneous
├── gaxios@6.6.0 extraneous
├── gcp-metadata@6.1.0 extraneous
├── google-auth-library@9.11.0 extraneous
├── googleapis-common@7.2.0 extraneous
├── gtoken@7.1.0 extraneous
├── hot-patcher@2.0.1 extraneous
├── iobroker.admin@6.17.14
├── iobroker.alias-manager@1.2.6
├── iobroker.backitup@3.0.5 invalid: "3.0.4" from the root project
├── iobroker.cloud@5.0.1
├── iobroker.devices@1.1.5
├── iobroker.discovery@4.5.0
├── iobroker.email@1.3.1
├── iobroker.eventlist@2.0.1
├── iobroker.feiertage@1.2.0
├── iobroker.gotify-ws@0.1.1 extraneous
├── iobroker.history@3.0.1
├── iobroker.info@2.0.0
├── iobroker.jarvis@3.1.8
├── iobroker.javascript@8.6.0
├── iobroker.js-controller@5.0.19
├── iobroker.material@1.3.1
├── iobroker.parser@2.1.0
├── iobroker.pegelalarm@1.3.3
├── iobroker.pushover@3.0.6
├── iobroker.schoolfree@1.1.4
├── iobroker.shuttercontrol@1.7.3 invalid: "1.7.0" from the root project
├── iobroker.signal-cmb@0.3.0
├── iobroker.simple-api@2.8.0
├── iobroker.socketio@6.7.0
├── iobroker.solax@0.9.7 invalid: "0.9.6" from the root project
├── iobroker.sql@3.0.1
├── iobroker.telegram@3.5.3
├── iobroker.tinker@1.3.2
├── iobroker.uv-protect@0.6.0
├── iobroker.viewswitch@0.0.1 (git+ssh://git@github.com/simatec/ioBroker.viewswitch.git#2396773b5d33b7fe4f1f259bccfacb7f5fb3c560)
├── iobroker.vis@1.5.6
├── iobroker.weatherunderground@3.7.0
├── iobroker.web@6.2.6
├── iobroker.whatsapp-cmb@0.3.0
├── iobroker.ws@2.6.1
├── iobroker.zigbee@1.7.0
├── is-buffer@1.1.6 extraneous
├── is-empty-object@1.1.1 extraneous
├── json-bigint@1.0.0 extraneous
├── jsonata@2.0.5 extraneous
├── layerr@2.1.0 extraneous
├── md5@2.3.0 extraneous
├── multer@1.4.5-lts.1 extraneous
├── nested-property@4.0.0 extraneous
├── node-domexception@1.0.0 extraneous
├── node-fetch@2.7.0 extraneous
├── node-inspect@2.0.0 extraneous
├── node-wol@0.1.1 extraneous
├── onedrive-api@1.1.1 extraneous
├── path-posix@1.0.0 extraneous
├── picocolors@1.0.0 extraneous
├── readable-stream@1.1.14 extraneous
├── string_decoder@0.10.31 extraneous
├── strnum@1.0.5 extraneous
├── suncalc@1.9.0 extraneous
├── suncalc2@1.8.1 extraneous
├── tr46@0.0.3 extraneous
├── typedarray@0.0.6 extraneous
├── url-join@5.0.0 extraneous
├── url-template@2.0.8 extraneous
├── virtual-tsc@0.6.2 extraneous
├── wake_on_lan@1.0.0 extraneous
├── web-streams-polyfill@3.3.3 extraneous
├── webdav@5.6.0 extraneous
├── webidl-conversions@3.0.1 extraneous
├── whatwg-url@5.0.0 extraneous
└── xregexp@2.0.0 extraneous


npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-06-25T19_50_09_686Z-debug-0.log

@foxriver76
Copy link
Collaborator

foxriver76 commented Jun 25, 2024

Yep JavaScript with additional Packages so expected from my side, not sure if JavaScript could optimize to not always install on start if already installed.. @Apollon77

@simatec
Copy link
Author

simatec commented Jun 25, 2024

@foxriver76
I was able to fix it by not performing a git clone, but installing the tarball and then adding the git repo with the following commands.


iob url https://github.com/simatec/ioBroker.schoolfree/tarball/master
cd iobroker.schoolfree/
git init
git remote add origin https://github.com/simatec/ioBroker.schoolfree.git
git fetch origin
git clean -d -fx 
git checkout -b master --track origin/master

Now it seems as if everything is preserved when starting iob

@simatec
Copy link
Author

simatec commented Jun 25, 2024

npm after tarball installation

pi@iobroker-dev:/opt/iobroker$ npm ls
iobroker.inst@3.0.0 /opt/iobroker
├── @iobroker-javascript.0/axios@npm:axios@1.7.2
├── @iobroker-javascript.0/cron-parser@npm:cron-parser@4.9.0
├── @iobroker-javascript.0/fs-extra@npm:fs-extra@11.2.0
├── @iobroker-javascript.0/openurl@npm:openurl@1.1.1
├── @iobroker-javascript.0/systeminformation@npm:systeminformation@5.22.11
├── @iobroker-javascript.0/ws@npm:ws@8.17.1
├── iobroker.admin@6.17.14
├── iobroker.alias-manager@1.2.6
├── iobroker.backitup@3.0.5 (git+ssh://git@github.com/simatec/ioBroker.backitup.git#299ad46d8434807f8ef6bdd83c127f1a35f30957)
├── iobroker.cloud@5.0.1
├── iobroker.devices@1.1.5
├── iobroker.discovery@4.5.0
├── iobroker.email@1.3.1
├── iobroker.eventlist@2.0.1
├── iobroker.feiertage@1.2.0
├── iobroker.gotify-ws@0.1.1 (git+ssh://git@github.com/simatec/ioBroker.gotify-ws.git#390f97207c7ee1141abc106b9edd41e5eaff5409)
├── iobroker.history@3.0.1
├── iobroker.info@2.0.0
├── iobroker.jarvis@3.1.8
├── iobroker.javascript@8.6.0
├── iobroker.js-controller@6.0.5
├── iobroker.material@1.3.1
├── iobroker.parser@2.1.0
├── iobroker.pegelalarm@1.3.3 (git+ssh://git@github.com/simatec/ioBroker.pegelalarm.git#1a21e8f4bb46319ead7a5c9ecef97ed4ecaa013b)
├── iobroker.pushover@3.0.6
├── iobroker.schoolfree@1.1.4 (git+ssh://git@github.com/simatec/ioBroker.schoolfree.git#a5f560d442e4933923311a14a69e4b48a7a9d972)
├── iobroker.shuttercontrol@1.7.3 (git+ssh://git@github.com/simatec/ioBroker.shuttercontrol.git#5934a73fdda5e4807ca5a7897e676c591c463929)
├── iobroker.signal-cmb@0.3.0
├── iobroker.simple-api@2.8.0
├── iobroker.socketio@6.7.0
├── iobroker.solax@0.9.7 (git+ssh://git@github.com/simatec/ioBroker.solax.git#91776d3832a72e0e75a4efe43409edf3118e60fa)
├── iobroker.sql@3.0.1
├── iobroker.telegram@3.6.0
├── iobroker.tinker@1.3.2 (git+ssh://git@github.com/simatec/ioBroker.tinker.git#0af44389c0411973f6ee4d04015ebef9a2726936)
├── iobroker.uv-protect@0.6.0 (git+ssh://git@github.com/simatec/ioBroker.uv-protect.git#6fb8a0b5be2f1a07ea7005efb0618c7c39e9b247)
├── iobroker.vis@1.5.6
├── iobroker.weatherunderground@3.7.0
├── iobroker.web@6.2.6
├── iobroker.whatsapp-cmb@0.3.0
└── iobroker.ws@2.6.1``````

@simatec
Copy link
Author

simatec commented Jun 26, 2024

you could also work with npm pack and install the local tarball so npm and what you do is in sync.

Do you have any tips for me on exactly how to do this?

@foxriver76
Copy link
Collaborator

I am currently on vacation but it should do like the following. Perform npm pack in your Adapter folder (workspace), then iob url path-to-packed-tarball

@simatec
Copy link
Author

simatec commented Jun 26, 2024

What is basically the best way to develop locally without a dev server?
I can't use the dev server for backups because I can't use it to test backup processes or restore processes.

That's why I have a dev-iobroker running, where I work via vscode with remote-ssh.
With vscode I also start all npm run commands for build etc. and push to Github.

This of course also changes version numbers when I start npm run release-patch, for example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants