@sigi234
Hat leider nicht funktioniert.
Bei der Installation konnte ich den selben Namen nicht mehr verwenden weil dieser schon vorhaden war. Habe die neue installation mit "Smarthome2021" installiert und den "iobroker-data" der vorhigen installation eingelesen.
iobroker stop
npm i iobroker.js-controller@stable --ignore-scripts
iobroker start
Leider wieder ohne erfolg.
Logfile der Installation:
Log started 01/17/2021 at 10:47:24
Preferred installation mode : win32
Trying to init installer in mode win32
Mode win32 successfully initialized
[10:47:25] Instance list: 'SmartHome'
[10:47:25] msiexec.exe version found: 5.0
[10:47:25] Microsft .NET release: 528372
[10:47:25] Git version found: 2.24.0.2
[10:47:25] Bonjour version found: 3.0.0.10
[10:47:25] OpenSSL version found: 1.0.2.17
Setting variable vs_buildtools_version from vswhere.exe -property installationVersion -format value -products Microsoft.VisualStudio.Product.BuildTools -utf8
Script exit code: 0
Script output:
15.9.28307.1234
Script stderr:
[10:47:25] VS_BuildTools_2017 version found: 15.9.28307.1234
Executing certutil.exe -decode "C:\Users\marti\AppData\Local\Temp\jq.txt" "C:\Users\marti\AppData\Local\Temp\jq.exe"
Script exit code: 0
Script output:
Eingabelänge = 3728172
Ausgabelänge = 2711358
CertUtil: -decode-Befehl wurde erfolgreich ausgeführt.
Script stderr:
iobroker.json
Executing jq.exe type "C:\Program Files\iobroker\Sicherung IObroker\iobroker-data\iobroker.json" | find /v /c ""
Script exit code: 0
Script output:
1
Script stderr:
Setting variable multihostService from jq.exe -r .multihostService.enabled "C:\Program Files\iobroker\Sicherung IObroker\iobroker-data\iobroker.json"
Script exit code: 0
Script output:
false
Script stderr:
Setting variable objectstype from jq.exe -r .objects.type "C:\Program Files\iobroker\Sicherung IObroker\iobroker-data\iobroker.json"
Script exit code: 0
Script output:
file
Script stderr:
Setting variable statestype from jq.exe -r .states.type "C:\Program Files\iobroker\Sicherung IObroker\iobroker-data\iobroker.json"
Script exit code: 0
Script output:
file
Script stderr:
objects.json
Executing jq.exe type "C:\Program Files\iobroker\Sicherung IObroker\iobroker-data\objects.json" | find /v /c ""
Script exit code: 0
Script output:
1
Script stderr:
states.json
Executing jq.exe type "C:\Program Files\iobroker\Sicherung IObroker\iobroker-data\states.json" | find /v /c ""
Script exit code: 0
Script output:
1
Script stderr:
Config
Setting variable mighostname from jq.exe -r ".|with_entries(select(.key|contains(\"system.host.\")))|.[].common.hostname | select(.==null|not)" "C:\Program Files\iobroker\Sicherung IObroker\iobroker-data\objects.json"
Script exit code: 0
Script output:
DESKTOP-0JM9MHB(SmartHome)
Script stderr:
Setting variable port_admin from jq.exe -r .\"system.adapter.admin.0\".native.port "C:\Program Files\iobroker\Sicherung IObroker\iobroker-data\objects.json"
Script exit code: 0
Script output:
8081
Script stderr:
Setting variable oldnode_version from jq.exe -r ".|with_entries(select(.key|contains(\"system.host.\")))|.[].native.process.versions.node | select(.==null|not)" "C:\Program Files\iobroker\Sicherung IObroker\iobroker-data\objects.json"
Script exit code: 0
Script output:
10.17.0
Script stderr:
Setting variable winsw_id from jq.exe -r ".|with_entries(select(.key|contains(\"system.host.\")))|.[].native.process.env.WINSW_SERVICE_ID | select(.==null|not)" "C:\Program Files\iobroker\Sicherung IObroker\iobroker-data\objects.json"
Script exit code: 0
Script output:
iobroker(SmartHome)
Script stderr:
Unable to stop iobroker(SmartHome) : Service not responding
Executing sc.exe config iobroker(SmartHome) start=disabled
Script exit code: 0
Script output:
[SC] ChangeServiceConfig ERFOLG
Script stderr:
Setting variable port_objects from jq.exe -r .objects.port "C:\Program Files\iobroker\Sicherung IObroker\iobroker-data\iobroker.json"
Script exit code: 0
Script output:
9001
Script stderr:
Setting variable port_states from jq.exe -r .states.port "C:\Program Files\iobroker\Sicherung IObroker\iobroker-data\iobroker.json"
Script exit code: 0
Script output:
9000
Script stderr:
Bereite die Installation vor
Bereite die Installation vor
Executing powershell.exe -inputformat none -outputformat none -NonInteractive -Command "Add-MpPreference -ExclusionPath 'C:\Program Files\iobroker\SmartHome2021'"
Script exit code: 0
Script output:
Script stderr:
Erstelle Verzeichnis C:\Program Files\iobroker\SmartHome2021\setup
Entpacke Dateien
Entpacke C:\Program Files\iobroker\SmartHome2021\setup\python27.exe
Das Verzeichnis existiert bereits: C:\Program Files\iobroker\SmartHome2021\setup
Entpacke Dateien
Entpacke C:\Program Files\iobroker\SmartHome2021\setup\nodepack.exe
Erstelle Verzeichnis C:\Program Files\iobroker\SmartHome2021\nodejs
Entpacke Dateien
Entpacke C:\Program Files\iobroker\SmartHome2021\nodejs\node.exe
Das Verzeichnis existiert bereits: C:\Program Files\iobroker\SmartHome2021\setup
Entpacke Dateien
Entpacke C:\Program Files\iobroker\SmartHome2021\setup\iob.exe
Das Verzeichnis existiert bereits: C:\Program Files\iobroker\SmartHome2021\setup
Erstelle Verzeichnis C:\Program Files\iobroker\SmartHome2021\setup\patch
Erstelle Verzeichnis C:\Program Files\iobroker\SmartHome2021\setup\patch\daemon
Erstelle Verzeichnis C:\Program Files\iobroker\SmartHome2021\setup\patch\nodejs
Erstelle Verzeichnis C:\Program Files\iobroker\SmartHome2021\setup\patch\node_modules
Erstelle Verzeichnis C:\Program Files\iobroker\SmartHome2021\setup\patch\node_modules\iobroker.js-controller
Erstelle Verzeichnis C:\Program Files\iobroker\SmartHome2021\setup\patch\node_modules\iobroker.js-controller\conf
Erstelle Verzeichnis C:\Program Files\iobroker\SmartHome2021\setup\patch\setup
Entpacke Dateien
Entpacke C:\Program Files\iobroker\SmartHome2021\setup\patch\setup\subinacl.exe
Entpacke C:\Program Files\iobroker\SmartHome2021\setup\patch\iob.bat
Entpacke C:\Program Files\iobroker\SmartHome2021\setup\patch\iobroker.bat
Entpacke C:\Program Files\iobroker\SmartHome2021\setup\patch\serviceIoBroker.bat
Entpacke C:\Program Files\iobroker\SmartHome2021\setup\patch\daemon\iobroker.xml
Entpacke C:\Program Files\iobroker\SmartHome2021\setup\patch\nodejs\nodevars.bat
Entpacke C:\Program Files\iobroker\SmartHome2021\setup\patch\node_modules\iobroker.js-controller\_service_iobroker.bat
Entpacke C:\Program Files\iobroker\SmartHome2021\setup\patch\node_modules\iobroker.js-controller\conf\iobroker-dist.json
Entpacke C:\Program Files\iobroker\SmartHome2021\setup\patch\setup\servicesec.cmd
Entpacke C:\Program Files\iobroker\SmartHome2021\setup\patch\setup\setupfirst.cmd
Python 2.7.17
Python 2.7.17
Executing python27.exe -o.\.. -y
Script exit code: 0
Script output:
7-Zip SFX 19.00 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21
Extracting archive: C:\Program Files\iobroker\SmartHome2021\setup\python27.exe
--
Path = C:\Program Files\iobroker\SmartHome2021\setup\python27.exe
Type = 7z
0%
29% 131
63% 184 - python27\include\patchlevel.h
63% 435 - python27\Lib\distutils\tests\test_ccompiler.py
63% 699 - python27\Lib\HTMLParser.py
63% 966 - python27\Lib\lib2to3\tests\test_fixers.py
63% 1156 - python27\Lib\test\cjkencodings\hz.txt
63% 1408 - python27\Lib\test\testall.py
63% 1677 - python27\Lib\test\test_print.py
63% 1920 - python27\Lib\xml\sax\_exceptions.py
63% 2175 - python27\tcl\tcl8.5\safe.tcl
63% 2433 - python27\tcl\tcl8.5\tzdata\Asia\Dhaka
63% 2690 - python27\tcl\tcl8.5\tzdata\NZ-CHAT
63% 2958 - python27\tcl\tix8.4.3\NoteBook.tcl
63% 3233 - python27\Tools\Scripts\eptags.py
64% 3299 - python27\DLLs\bz2.pyd
Everything is Ok
Script stderr:
Installiere Microsoft Visual C++ 2008 Redistributable
Installiere Microsoft Visual C++ 2008 Redistributable
Executing vcredist_x64.exe /q
Script exit code: 0
Script output:
Script stderr:
Node.js 10.17.0
Node.js 10.17.0
Executing nodepack.exe -o.\.. -y
Script exit code: 0
Script output:
7-Zip SFX 19.00 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21
Extracting archive: C:\Program Files\iobroker\SmartHome2021\setup\nodepack.exe
--
Path = C:\Program Files\iobroker\SmartHome2021\setup\nodepack.exe
Type = 7z
0%
0% 554 - nodejs\node_modules\npm\node_mo . esolver\symlinked\_\node_modules
49% 910
99% 1030 - nodejs\node_modules\npm\html\doc\cli\npm-explore.html
99% 1253 - nodejs\node_modules\npm\lib\utils\gunzip-maybe.js
99% 1483 - nodejs\node_modules\npm\node_modules\ansi-align\CHANGELOG.md
99% 1703 - nodejs\node_modules\npm\node_modules\cacache\get.js
99% 1962 - nodejs\node_modules\npm\node_mo . node_modules\lru-cache\README.md
99% 2232 - nodejs\node_modules\npm\node_mo . -promise\lib\es6-promise\asap.js
99% 2488 - nodejs\node_modules\npm\node_modules\gauge\CHANGELOG.md
99% 2757 - nodejs\node_modules\npm\node_modules\is-callable\.editorconfig
99% 3036 - nodejs\node_modules\npm\node_modules\libnpm\packument.js
99% 3315 - nodejs\node_modules\npm\node_modules\minimist\test\dash.js
99% 3553 - nodejs\node_modules\npm\node_ . ata\lib\warning_messages.json
99% 3821 - nodejs\node_modules\npm\node_modules\pacote\LICENSE
99% 4088 - nodejs\node_modules\npm\node_m . dules\minimist\test\kv_short.js
99% 4354 - nodejs\node_modules\npm\node_m . javascript\associateExample.md
99% 4625 - nodejs\node_modules\npm\node_modules\text-table\test\table.js
99% 4891 - nodejs\node_modules\npm\node_modules\wrappy\README.md
99% 5140 - nodejs\node_modules\npm\test\tap\hook.js
99% 5249 - nodejs\node_modules\npm\test\tap\prepublish-only.js
Everything is Ok
Script stderr:
Konfiguriere Node.js 10.17.0
ioBroker Core Server
ioBroker Core Server
Executing iob.exe -o.\.. -y
Script exit code: 0
Script output:
7-Zip SFX 19.00 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21
Extracting archive: C:\Program Files\iobroker\SmartHome2021\setup\iob.exe
--
Path = C:\Program Files\iobroker\SmartHome2021\setup\iob.exe
Type = 7z
0%
0% 584 - env\npm-cache\_cacache\content-v2\sha512\20\a9
0% 1177 - env\npm-cache\_cacache\content-v2\sha512\ac\2c
0% 1754 - env\npm-cache\_cacache\index-v5\1e\3e
0% 2366 - env\npm-cache\_cacache\index-v5\6e\f9
0% 2949 - env\npm-cache\_cacache\index-v5\b9\85
0% 3549 - env\npm\node_modules\node-gyp\node_modules\fast-deep-equal
0% 4020 - node_modules\file-stream-rotator
0% 4771 - node_modules\resolve\test\precedence\bbb
11% 5106
25% 5106
42% 5106
62% 5106
68% 5106
73% 5106
99% 5164 - env\npm-cache\_cacache\content- . bc21b8fab43e1bc4da7e8115ed1e7bab
99% 5356 - env\npm-cache\_cacache\content- . d95a7f851f9956b1e8cc6732f3b6aa30
99% 5608 - env\npm-cache\_cacache\content- . 51dced76e56eb6742ada43b1990db67
99% 5862 - env\npm-cache\_cacache\content- . 65383ad312ae56778e4c0180cc75cf8
99% 6121 - env\npm-cache\_cacache\content- . afd740019f5cf01a2358d000299c595
99% 6386 - env\npm-cache\_cacache\index- . cb87c13cbde5b7c90861ef5c9f5fca
99% 6674 - env\npm-cache\_cacache\index- . 211094b7c983b13e49f8734b58ead7
99% 6855 - env\npm-cache\_cacache\index- . 36d6d9a1e212acacb2fd181595d819
99% 7013 - env\npm-cache\_cacache\index- . 9aba4553a2d4b8600cb73bb94d52f5
99% 7302 - env\npm-cache\_cacache\index- . f3ea94b758d0eaab38387680e535d4
99% 7604 - env\npm-cache\_cacache\index- . 725a7a36d282e892cf4896009325db
99% 7904 - env\npm-cache\_cacache\index- . 16cec77cead0842fc905ab810ea51f
99% 8177 - env\npm\node_modules\node-gyp\node_modules\asn1\lib\ber\index.js
99% 8442 - env\npm\node_modules\node-gyp\n . les\http-signature\lib\utils.js
99% 8695 - env\npm\node_modules\node-gyp\node_modules\qs\.eslintrc
99% 8952 - env\npm\node_modules\node-gyp\node_modules\util-deprecate\README.md
99% 9245 - node_modules\ajv\lib\dot\multipleOf.jst
99% 9563 - node_modules\async\internal\queue.js
99% 9846 - node_modules\busboy\test\test-types-multipart-stream-pause.js
99% 9985 - node_modules\combined-stream\package.json
99% 10250 - node_modules\dicer\test\fixtures\many\part1.header
99% 10464 - node_modules\error-ex\index.js
99% 10741 - node_modules\form-data\lib\form_data.js
99% 11038 - node_modules\iconv-lite\encodings\tables\cp950.json
99% 11289 - node_modules\iobroker.discovery\lib\adapters\fronius.js
99% 11549 - node_modules\iobroker.info\docs\fr\img\link.png
99% 11822 - node_modules\iobroker.js-controller\lib\objects\lua\script.lua
99% 12083 - node_modules\iobroker.js-cont . es\socket.io\lib\namespace.js
99% 12316 - node_modules\is-descriptor\LICENSE
99% 12589 - node_modules\le-acme-core\example\serve.js
99% 12856 - node_modules\lodash\findIndex.js
99% 13182 - node_modules\lodash\fp\sortBy.js
99% 13512 - node_modules\lodash\unzip.js
99% 13845 - node_modules\logform\.travis.yml
99% 14140 - node_modules\moment\locale\it-ch.js
99% 14365 - node_modules\moment\src\locale\fr-ca.js
99% 14659 - node_modules\node-ssdp\.idea\workspace.xml
99% 14953 - node_modules\passport\lib\http\request.js
99% 15239 - node_modules\prompt\node_module . ules\colors\lib\maps\america.js
99% 15513 - node_modules\request\node_modules\qs\.editorconfig
99% 15805 - node_modules\signal-exit\CHANGELOG.md
99% 16009 - node_modules\sshpk\lib\formats\pem.js
99% 16278 - node_modules\tweetnacl\.npmignore
99% 16571 - node_modules\winston-transport\coverage\lcov-report\legacy.js.html
Everything is Ok
Script stderr:
Setting ioBroker language
Language de
[10:52:56] Installer Sprachcode: de
ioBroker Sprache gesetzt auf: de
ioBroker Währung gesetzt auf: €
Datenbankinstallation und Erstkonfiguration
Datenbankinstallation und Erstkonfiguration
Executing cmd.exe /C setup\setupfirst.cmd
Script exit code: 0
Script output:
*** ioBroker bootstrap setup ***
*** Version: 2.1.0.b
*** Installdate: 17.01.2021 10:52:56,75
** Firewall rules
** There is no problem if the following commands generate errors.
** Now errors are relevant
OK.
OK.
OK.
OK.
** iobroker first init
** set admin port
New port for "admin.0" is: 8081
Instance settings for "admin.0" are changed.
** install service
2021-01-17 10:53:44,658 INFO - Installing the service with id 'iobroker(SmartHome2021)'
Errorlevel: 0
Script stderr:
Service Sicherheit
Executing sc.exe config iobroker(SmartHome2021) obj= "NT SERVICE\iobroker(SmartHome2021)"
Script exit code: 0
Script output:
[SC] ChangeServiceConfig ERFOLG
Script stderr:
Registrierung ioBroker Service
Executing iobroker.exe test
Script exit code: 0
Script output:
2021-01-17 10:53:46,401 INFO - Starting "C:\Program Files\iobroker\SmartHome2021\nodejs\node.exe" "C:\Program Files\iobroker\SmartHome2021\node_modules\iobroker.js-controller\controller.js"
2021-01-17 10:53:46,418 INFO - Started process 9448
2021-01-17 10:53:47,440 INFO - Stopping iobroker(SmartHome2021)
2021-01-17 10:53:47,443 INFO - Stopping process 9448
2021-01-17 10:53:47,446 INFO - Send SIGINT 9448
2021-01-17 10:53:49,710 INFO - SIGINT to 9448 successful
2021-01-17 10:53:49,745 INFO - Finished iobroker(SmartHome2021)
Script stderr:
Dateisystem Sicherheit
Dateisystem Sicherheit
Executing cmd.exe /C servicesec.cmd
Script exit code: 0
Script output:
[SC] ChangeServiceConfig ERFOLG
i o b r o k e r ( S m a r t H o m e 2 0 2 1 ) : n e w a c e f o r n t s e r v i c e \ i o b r o k e r ( s m a r t h o m e 2 0 2 1 )
i o b r o k e r ( S m a r t H o m e 2 0 2 1 ) : 1 c h a n g e ( s )
Script stderr:
Starten des Dienstes
Executing iobroker.exe start
Script exit code: 0
Script output:
2021-01-17 10:53:54,857 INFO - Starting the service with id 'iobroker(SmartHome2021)'
Script stderr:
Warte auf Webadmin
Löschen temporärer Dateien
Löschen temporärer Dateien
Löschen temporärer Dateien
Stopping ioBroker service
Executing iobroker.exe stop
Script exit code: 0
Script output:
2021-01-17 10:53:57,017 INFO - Stopping the service with id 'iobroker(SmartHome2021)'
Script stderr:
Waiting for service to exit
Deleting iobroker-data
Copying new iobroker-data
Setting variable iobrokerjson_new from jq.exe .states.port=9000 "C:\Program Files\iobroker\Sicherung IObroker\iobroker-data\iobroker.json"
Script exit code: 0
Script output:
{
"system": {
"memoryLimitMB": 0,
"hostname": "DESKTOP-0JM9MHB(SmartHome)",
"statisticsInterval": 15000,
"statisticsIntervalComment": "Interval how often the counters for input/output in adapters and controller will be updated",
"checkDiskInterval": 300000,
"checkDiskIntervalComment": "Interval how often the disk size will be checked",
"noChmod": false,
"instanceStartInterval": 2000,
"noChmodComment": "Flag to test new feature with no chmod call. Must be deleted later and noChmod must be mainline (2018.06.04)",
"compact": false,
"compactComment": "Controller will try to start the instances as a part of the same process. No spawn will be done. Only by adapters that support it and have flag compact flag in io-package.json",
"allowShellCommands": false,
"allowShellCommandsComment": "Allow execution of \"shell\" sendToHost commands"
},
"multihostService": {
"enabled": false,
"secure": true
},
"network": {
"IPv4": true,
"IPv6": true,
"bindAddress": null
},
"objects": {
"type": "file",
"typeComment": "Possible values: 'file' - [port 9001], redis - [port 6379], couch - [port 5984].",
"host": "127.0.0.1",
"port": 9001,
"user": "",
"pass": "",
"noFileCache": false,
"connectTimeout": 2000,
"options": {
"auth_pass": null,
"retry_max_delay": 5000
},
"backup": {
"disabled": false,
"files": 24,
"filesComment": "Minimal number of backup files, after the deletion will be executed according to backupTime settings",
"hours": 48,
"hoursComment": "All backups older than 48 hours will be deleted. But only if the number of files is greater than of backupNumber",
"period": 120,
"periodComment": "by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0",
"path": "",
"pathComment": "Absolute path to backup directory or empty to backup in data directory"
}
},
"states": {
"type": "file",
"typeComment": "Possible values: 'file' - [port 9000], 'redis' - [port 6379].",
"host": "127.0.0.1",
"port": 9000,
"maxQueue": 1000,
"user": "",
"pass": "",
"connectTimeout": 2000,
"options": {
"auth_pass": null,
"retry_max_delay": 5000
},
"backup": {
"disabled": false,
"files": 24,
"filesComment": "Minimal number of backup files, after the deletion will be executed according to backupTime settings",
"hours": 48,
"hoursComment": "All backups older than 48 hours will be deleted. But only if the number of files is greater than of backupNumber",
"period": 120,
"periodComment": "by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0",
"path": "",
"pathComment": "Absolute path to backup directory or empty to backup in data directory"
}
},
"log": {
"level": "info",
"maxDays": 7,
"noStdout": true,
"transport": {
"file1": {
"type": "file",
"enabled": true,
"filename": "log/iobroker",
"fileext": ".log",
"maxSize": null,
"maxFiles": null
},
"syslog1": {
"type": "syslog",
"enabled": false,
"host": "localhost",
"hostComment": "The host running syslogd, defaults to localhost.",
"portComment": "The port on the host that syslog is running on, defaults to syslogd's default port(514/UDP).",
"protocol": "udp4",
"protocolComment": "The network protocol to log over (e.g. tcp4, udp4, unix, unix-connect, etc).",
"pathComment": "The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for OS X).",
"facilityComment": "Syslog facility to use (Default: local0).",
"localhost": "iobroker",
"localhostComment": "Host to indicate that log messages are coming from (Default: localhost).",
"sysLogTypeComment": "The type of the syslog protocol to use (Default: BSD).",
"app_nameComment": "The name of the application (Default: process.title).",
"eolComment": "The end of line character to be added to the end of the message (Default: Message without modifications)."
}
}
},
"dataDirComment": "Always relative to iobroker.js-controller/",
"dataDir": "../../iobroker-data/"
}
Script stderr:
Setting variable iobrokerjson_new from jq.exe .objects.port=9001 "C:\Program Files\iobroker\Sicherung IObroker\iobroker-data\iobroker.json"
Script exit code: 0
Script output:
{
"system": {
"memoryLimitMB": 0,
"hostname": "DESKTOP-0JM9MHB(SmartHome)",
"statisticsInterval": 15000,
"statisticsIntervalComment": "Interval how often the counters for input/output in adapters and controller will be updated",
"checkDiskInterval": 300000,
"checkDiskIntervalComment": "Interval how often the disk size will be checked",
"noChmod": false,
"instanceStartInterval": 2000,
"noChmodComment": "Flag to test new feature with no chmod call. Must be deleted later and noChmod must be mainline (2018.06.04)",
"compact": false,
"compactComment": "Controller will try to start the instances as a part of the same process. No spawn will be done. Only by adapters that support it and have flag compact flag in io-package.json",
"allowShellCommands": false,
"allowShellCommandsComment": "Allow execution of \"shell\" sendToHost commands"
},
"multihostService": {
"enabled": false,
"secure": true
},
"network": {
"IPv4": true,
"IPv6": true,
"bindAddress": null
},
"objects": {
"type": "file",
"typeComment": "Possible values: 'file' - [port 9001], redis - [port 6379], couch - [port 5984].",
"host": "127.0.0.1",
"port": 9001,
"user": "",
"pass": "",
"noFileCache": false,
"connectTimeout": 2000,
"options": {
"auth_pass": null,
"retry_max_delay": 5000
},
"backup": {
"disabled": false,
"files": 24,
"filesComment": "Minimal number of backup files, after the deletion will be executed according to backupTime settings",
"hours": 48,
"hoursComment": "All backups older than 48 hours will be deleted. But only if the number of files is greater than of backupNumber",
"period": 120,
"periodComment": "by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0",
"path": "",
"pathComment": "Absolute path to backup directory or empty to backup in data directory"
}
},
"states": {
"type": "file",
"typeComment": "Possible values: 'file' - [port 9000], 'redis' - [port 6379].",
"host": "127.0.0.1",
"port": 9000,
"maxQueue": 1000,
"user": "",
"pass": "",
"connectTimeout": 2000,
"options": {
"auth_pass": null,
"retry_max_delay": 5000
},
"backup": {
"disabled": false,
"files": 24,
"filesComment": "Minimal number of backup files, after the deletion will be executed according to backupTime settings",
"hours": 48,
"hoursComment": "All backups older than 48 hours will be deleted. But only if the number of files is greater than of backupNumber",
"period": 120,
"periodComment": "by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0",
"path": "",
"pathComment": "Absolute path to backup directory or empty to backup in data directory"
}
},
"log": {
"level": "info",
"maxDays": 7,
"noStdout": true,
"transport": {
"file1": {
"type": "file",
"enabled": true,
"filename": "log/iobroker",
"fileext": ".log",
"maxSize": null,
"maxFiles": null
},
"syslog1": {
"type": "syslog",
"enabled": false,
"host": "localhost",
"hostComment": "The host running syslogd, defaults to localhost.",
"portComment": "The port on the host that syslog is running on, defaults to syslogd's default port(514/UDP).",
"protocol": "udp4",
"protocolComment": "The network protocol to log over (e.g. tcp4, udp4, unix, unix-connect, etc).",
"pathComment": "The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for OS X).",
"facilityComment": "Syslog facility to use (Default: local0).",
"localhost": "iobroker",
"localhostComment": "Host to indicate that log messages are coming from (Default: localhost).",
"sysLogTypeComment": "The type of the syslog protocol to use (Default: BSD).",
"app_nameComment": "The name of the application (Default: process.title).",
"eolComment": "The end of line character to be added to the end of the message (Default: Message without modifications)."
}
}
},
"dataDirComment": "Always relative to iobroker.js-controller/",
"dataDir": "../../iobroker-data/"
}
Script stderr:
Change settings
Executing cmd.exe /c migrate.cmd
Script exit code: 0
Script output:
Script stderr:
Starten des Dienstes
Executing iobroker.exe start
Script exit code: 0
Script output:
2021-01-17 10:54:22,760 INFO - Starting the service with id 'iobroker(SmartHome2021)'
Script stderr:
Warte auf Webadmin
Löschen temporärer Dateien
Löschen temporärer Dateien
Löschen temporärer Dateien
Installation beendet
Log finished 01/17/2021 at 10:54:24
Launching http://localhost:8081
npm i iobroker.js-controller@stable --ignore-scripts
**********************************************************
*** Welcome to ioBroker. ***
*** ***
*** Type 'iobroker help' for list of instructions. ***
*** For more help see ***
*** https://github.com/ioBroker/ioBroker.docs ***
**********************************************************
Your environment has been set up for using Node.js 10.17.0 (x64) and npm.
C:\Program Files\iobroker\SmartHome2021>iobroker stop
2021-01-17 10:56:42,374 INFO - Stopping the service with id 'iobroker(SmartHome2021)'
C:\Program Files\iobroker\SmartHome2021>npm i iobroker.js-controller@stable --ignore-scripts
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.1 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
+ iobroker.js-controller@3.1.6
added 39 packages from 59 contributors, removed 408 packages, updated 66 packages, moved 6 packages and audited 646 packages in 18.958s
found 41 vulnerabilities (33 low, 1 moderate, 7 high)
run `npm audit fix` to fix them, or `npm audit` for details
C:\Program Files\iobroker\SmartHome2021>iobroker start
2021-01-17 10:57:40,571 INFO - Starting the service with id 'iobroker(SmartHome2021)'
C:\Program Files\iobroker\SmartHome2021>