NEWS
Windows "Der Name für den Dienst ist ungültig"
-
Hallo, ich wollte iobroker zunächst mal auf Windwos kurz testen, bevor es auf einen Raspi geht. Leider schlägt die Installation fehl. Weiß jemand Rat?
Npm prefix path exists: C:\Users\flori\AppData\Roaming\npm
Windows installation starting... (fixing = false)
NPM version: 10.2.4
npm WARN config production Use--omit=dev
instead.
npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142added 568 packages, and audited 569 packages in 34s
60 packages are looking for funding
runnpm fund
for details25 vulnerabilities (1 low, 20 moderate, 4 high)
To address issues that do not require attention, run:
npm audit fixTo address all issues (including breaking changes), run:
npm audit fix --forceRun
npm audit
for details.
Write "iobroker start" to start the ioBroker
npm install node-windows@1.0.0-beta.8 --force --loglevel error --production --save --prefix "C:/ioBroker"up to date, audited 569 packages in 2s
60 packages are looking for funding
runnpm fund
for details25 vulnerabilities (1 low, 20 moderate, 4 high)
To address issues that do not require attention, run:
npm audit fixTo address all issues (including breaking changes), run:
npm audit fix --forceRun
npm audit
for details.
npm install dotenv@^16.0.3 --force --loglevel error --production --save --prefix "C:/ioBroker"changed 1 package, and audited 569 packages in 2s
59 packages are looking for funding
runnpm fund
for details25 vulnerabilities (1 low, 20 moderate, 4 high)
To address issues that do not require attention, run:
npm audit fixTo address all issues (including breaking changes), run:
npm audit fix --forceRun
npm audit
for details.
npm install windows-shortcuts@^0.1.6 --force --loglevel error --production --save --prefix "C:/ioBroker"up to date, audited 569 packages in 2s
59 packages are looking for funding
runnpm fund
for details25 vulnerabilities (1 low, 20 moderate, 4 high)
To address issues that do not require attention, run:
npm audit fixTo address all issues (including breaking changes), run:
npm audit fix --forceRun
npm audit
for details.
Written iobnodevars.bat successfully.
Startmenu folder C:\ProgramData\Microsoft\Windows\Start Menu\Programs\ioBroker automation platform created!
{
loc: 'winsw.js ~line 77',
xml: [
{ id: 'iobroker.exe' },
{ name: 'ioBroker' },
{ description: 'ioBroker service.' },
{ executable: 'C:\Program Files\nodejs\node.exe' },
{ argument: '--harmony' },
{
argument: 'C:\ioBroker\node_modules\node-windows\lib\wrapper.js'
}
],
config: {
name: 'ioBroker',
id: 'iobroker.exe',
nodeOptions: '--harmony',
script: 'C:\ioBroker\node_modules\node-windows\lib\wrapper.js',
scriptOptions: '',
wrapperArgs: [
'--file',
'C:\ioBroker\controller.js',
'--scriptoptions=',
'--log',
'ioBroker wrapper',
'--grow',
0.25,
'--wait',
1,
'--maxrestarts',
3,
'--abortonerror',
'n',
'--stopparentfirst',
undefined
],
description: 'ioBroker service.',
logpath: null,
env: { name: 'NODE_ENV', value: 'production' },
execPath: null,
logOnAs: {
account: null,
password: null,
domain: 'SNOOPY4',
mungeCredentialsAfterInstall: true
},
workingdirectory: 'C:\ioBroker',
stopparentfirst: undefined,
stoptimeout: 30,
logmode: 'rotate',
logging: undefined,
allowServiceLogon: undefined
}
}
Shortcut "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\ioBroker automation platform\Stop ioBroker Service.lnk" created with Admin flag!
Shortcut "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\ioBroker automation platform\Start ioBroker Service.lnk" created with Admin flag!
Shortcut "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\ioBroker automation platform\ioBroker Command line.lnk" created with Admin flag!
Shortcut "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\ioBroker automation platform\ioBroker Admin.lnk" created!
Shortcut "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\ioBroker automation platform\Restart ioBroker Service.lnk" created with Admin flag!
ioBroker started!
Visit http://127.0.0.1:8081 to configure it.=============================
Running Admin shellioBroker service name: ioBroker
Der Name fr den Dienst ist ungltig.Sie erhalten weitere Hilfe, wenn Sie NET HELPMSG 2185 eingeben.
ioBroker service installed and started. Go to http://localhost:8081 to open the admin UI.
To see the outputs do not start the service, but write "node node_modules/iobroker.js-controller/controller" -
Warum nimmst du nicht den Installer?
https://forum.iobroker.net/topic/63610/test-iobroker-unter-windows-installieren-2023-edition