NEWS
ioBroker auf iMac (Ventura) installieren
-
Hallo,
ich habe einen MacMini mit M1 und macOS Ventura 13.0.1.
Leider bin ich mit dem Mac noch nicht nicht wirklich vertraut (erst vor kurzem auf Mac umgestiegen) und bei ioBroker noch ein kompletter Neuling (ist auch mein erster Post hier...).Ich bin auch nach folgender Anleitung vorgegangen, scheitere aber ebenso an Punkt 6 wie bereits @special_b und @Unsmart
Anleitung: https://www.iobroker.net/docu/index-18.htm?page_id=2293&lang=de#Installation
Die Dateien habe ich über den "Oder hier downloaden" Link runtergeladen und dann in einen Unterordner meines Benutzerordners kopiert.
Bevor ich iobroker installierte, habe ich nodejs installiert, und zwar Version 19.4.0 --> https://nodejs.org/en/Ich finde nun ebenso nicht das in Schritt 6 erwähnte Unterverzeichnis iobroker.js-controller
@Asgothian Ich hab mir deinen GitHub Link (https://github.com/ioBroker/ioBroker/issues/387) durchgelesen, aber der ist ja nur für nicht M1 Macs. Sollte also bei mir keine Rolle spielen (soweit ich das verstehe).
Das Verzeichnis "LaunchAgents" unter /Users/<username>/Library/LaunchAgents/ ist vorhanden und dort liegt bereits seit längerem eine andere .plist Datei.
Nach der Installation mit Befehl "npm install iobroker --unsafe-perm" habe ich den Befehl "npm audit" ausgeführt und folgendes erhalten:
Seppi@Seppis-Mac-mini ioBroker % npm audit # npm audit report glob-parent <5.1.2 Severity: high glob-parent before 5.1.2 vulnerable to Regular Expression Denial of Service in enclosure regex - https://github.com/advisories/GHSA-ww39-953v-wcq6 fix available via `npm audit fix --force` Will install gulp@3.9.1, which is a breaking change node_modules/chokidar/node_modules/glob-parent node_modules/glob-stream/node_modules/glob-parent chokidar 1.0.0-rc1 - 2.1.8 Depends on vulnerable versions of glob-parent node_modules/chokidar glob-watcher >=3.0.0 Depends on vulnerable versions of chokidar node_modules/glob-watcher gulp >=4.0.0 Depends on vulnerable versions of glob-watcher Depends on vulnerable versions of vinyl-fs node_modules/gulp glob-stream 5.3.0 - 6.1.0 Depends on vulnerable versions of glob-parent node_modules/glob-stream vinyl-fs >=2.4.2 Depends on vulnerable versions of glob-stream node_modules/vinyl-fs 6 high severity vulnerabilities To address issues that do not require attention, run: npm audit fix To address all issues (including breaking changes), run: npm audit fix --force Seppi@Seppis-Mac-mini ioBroker %
Dann habe ich noch den Befehl "npm audit fix --force" ausgeführt, folgendes Feedback:
Seppi@Seppis-Mac-mini ioBroker % npm audit fix --force npm WARN using --force Recommended protections disabled. npm WARN audit Updating gulp to 3.9.1, which is a SemVer major change. npm WARN deprecated natives@1.1.6: This module relies on Node.js's internals and will break at some point. Do not use it, and update to graceful-fs@4.x. npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue added 96 packages, removed 124 packages, changed 21 packages, and audited 533 packages in 6s 49 packages are looking for funding run `npm fund` for details # npm audit report lodash <=4.17.20 Severity: critical Command Injection in lodash - https://github.com/advisories/GHSA-35jh-r3h4-6jhm Regular Expression Denial of Service (ReDoS) in lodash - https://github.com/advisories/GHSA-29mw-wpgm-hmr9 Prototype Pollution in lodash - https://github.com/advisories/GHSA-jf85-cpcp-j695 Regular Expression Denial of Service (ReDoS) in lodash - https://github.com/advisories/GHSA-x5rq-j2xg-h7qm Prototype Pollution in lodash - https://github.com/advisories/GHSA-p6mc-m468-83gw Prototype Pollution in lodash - https://github.com/advisories/GHSA-4xc9-xhrj-v574 Prototype Pollution in lodash - https://github.com/advisories/GHSA-fvqr-27wr-82fm fix available via `npm audit fix` node_modules/lodash globule <=1.1.0 Depends on vulnerable versions of glob Depends on vulnerable versions of lodash Depends on vulnerable versions of minimatch node_modules/globule gaze 0.4.0 - 1.0.0 Depends on vulnerable versions of globule node_modules/gaze glob-watcher <=2.0.0 Depends on vulnerable versions of gaze node_modules/glob-watcher lodash.template <4.5.0 Severity: critical Prototype Pollution in lodash - https://github.com/advisories/GHSA-jf85-cpcp-j695 fix available via `npm audit fix --force` Will install gulp@4.0.2, which is a breaking change node_modules/lodash.template gulp-util >=1.1.0 Depends on vulnerable versions of lodash.template node_modules/gulp-util gulp 2.6.1 - 3.9.1 Depends on vulnerable versions of gulp-util Depends on vulnerable versions of vinyl-fs node_modules/gulp minimatch <=3.0.4 Severity: high minimatch ReDoS vulnerability - https://github.com/advisories/GHSA-f8q6-p94x-37v3 Regular Expression Denial of Service in minimatch - https://github.com/advisories/GHSA-hxm2-r34f-qmc5 fix available via `npm audit fix --force` Will install gulp@4.0.2, which is a breaking change node_modules/glob-stream/node_modules/minimatch node_modules/globule/node_modules/minimatch glob 3.0.0 - 5.0.14 Depends on vulnerable versions of minimatch node_modules/glob-stream/node_modules/glob node_modules/globule/node_modules/glob glob-stream 0.2.0 - 5.2.0 Depends on vulnerable versions of glob Depends on vulnerable versions of minimatch node_modules/glob-stream vinyl-fs <=1.0.0 Depends on vulnerable versions of glob-stream Depends on vulnerable versions of glob-watcher node_modules/vinyl-fs 11 vulnerabilities (7 high, 4 critical) To address issues that do not require attention, run: npm audit fix To address all issues (including breaking changes), run: npm audit fix --force Seppi@Seppis-Mac-mini ioBroker %
@Asgothian Ich hoffe, du (oder sonst jemand) hast einen geeigneten Tipp für mich
Vielen Dank schon mal im Vorfeld
lg
jjr -
@jjr sagte in ioBroker auf iMac (Ventura) installieren:
habe ich nodejs installiert, und zwar Version 19.4.0
Wie kommst Du denn auf die Idee?
Ungerade Versionsnummern sind ausschließlich Entwicklerversionen.
Aktuell empfohlen für ioBroker ist Node.js 16 -
@jjr Wenn du diesen Thread durchgelesen hättest wüsstest du das die Anleitung veraltet ist.
Bitte erst einmal die vorherigen Posts lesen, durcharbeiten.
- Node 16 installieren, nicht 19
- Sicherstellen das das Verzeichnis ~/Library/LaunchAgents existiert
- Dann per Install.sh installieren
- Dann sollte es gehen
A.
-
@jjr sagte in ioBroker auf iMac (Ventura) installieren:
npm audit fix --force" ausgeführt,
Mach das NIE!
Vergiss den Befehl einfach. Der zieht dir das ganze System auf Links, insbesondere wenn der auch noch geforced wird. -
@jjr sagte in ioBroker auf iMac (Ventura) installieren:
@Asgothian Ich hab mir deinen GitHub Link (https://github.com/ioBroker/ioBroker/issues/387) durchgelesen, aber der ist ja nur für nicht M1 Macs. Sollte also bei mir keine Rolle spielen (soweit ich das verstehe).
Das hast du falsch gelesen. Der Effekt ist unabhängig ob du einen Intel oder M1 Mac hast - betrifft Dich also ggf. auch
A.
-
@all
Man muss dem TE allerdings auch durchaus zugestehen, dass im Bezug auf "Anleitungen" ein ziemlicher Wildwuchs herrscht.
Jenachdem wie man sucht, landet man bei teils uralten Threads mit z.T hunderten von Beiträgen.
Da das Passende zu finden ist schon eine Herausforderung und könnte insbesondere blutige Anfänger erstmal abstoßen und/oder frustrieren.Ich mache zu diesem Thema aber mal einen eigenen Fred auf - das wird hier etwas OT.
-
@Codierknecht Warum nodejs19? Weil am Anfang der Anleitung stand, dass nodejs benötigt wird und ich es nicht besser wusste und einfach die neueste Version genommen habe.
@Asgothian DANKE DANKE DANKE --- Es funktioniert!!!
Mein größtes Problem waren Node19 zu deinstallieren, Node16 zu finden und installieren und dann noch den richtigen sh Befehl....
Aber jetzt gehts@Thomas-Braun Danke, werde ich mir merken! Ich hoffe, dass ich damit nichts kaputt gemacht habe
Auf jeden Fall ein großes DANKE an euch allen, dass ihr mir so schnell und gut geholfen habt
Der ioBroker läuft nun und jetzt kann ich in diese Welt eintauchen. -
Ich würde die Kiste allerdings nochmal aufsetzen.
Auf nodejs 16 und ohne npm audit. -
@jjr sagte in ioBroker auf iMac (Ventura) installieren:
ich es nicht besser wusste und einfach die neueste Version genommen habe
Du bist da leider nicht der/die Erste. Da muss unbedingt mal an der Doku gefeilt werden.
-
Hallo zusammen,
kann mir jemand helfen... ??
Vielen dank!Todies-MacBook-Pro:IOBroker todie$ npm install iobroker --unsafe-perm
up to date, audited 31 packages in 2s
2 packages are looking for funding
runnpm fund
for details4 vulnerabilities (3 moderate, 1 critical)
To address all issues (including breaking changes), run:
npm audit fix --forceRun
npm audit
for details. -
Du stehst im falschen Verzeichnis, würde ich sagen.
-
@todie Ich würde empfehlen das mit dem Install-Skript und nicht direkt via NPM zu installieren. Da wird gleich das gesamte System vernünftig aufgesetzt. Allerdings solltest du vorher schauen ob es das Verzeichnis ~/Library/LaunchAgents gibt - ansonsten gibt es einen Fehler.
Gibt es das nicht, einfach anlegen.A
-
@asgothian
Super geklappt, aber nun noch eine Frage, kann keine Adapter installieren, fehlercode 25, bestimmt rechte Prob?LOG
nfo: host.Todies-MBP.fritz.box iobroker add shelly --host Todies-MBP.fritz.box
2023-02-05 15:13:44.893 - info: host.Todies-MBP.fritz.box iobroker NPM version: 8.19.3
2023-02-05 15:13:44.894 - info: host.Todies-MBP.fritz.box iobroker Installing iobroker.shelly@6.3.1... (System call)
2023-02-05 15:13:49.641 - error: host.Todies-MBP.fritz.box iobroker host.Todies-MBP.fritz.box Cannot install iobroker.shelly@6.3.1: 243
2023-02-05 15:13:50.657 - info: host.Todies-MBP.fritz.box iobroker exit 25 -
Es gibt keine Rechteprobleme.
Es gibt nur gewährte Rechte oder nicht gewährte Rechte, das ist aber nie ein Problem sondern das Grunddesign von Unix-artigen Betriebssystemen.Zu deinem 'Problem':
Vermutlich das
https://forum.iobroker.net/topic/57337/fehler-25-oder-217-bei-adapter-install-update-mit-npm8Wird auf MacOS ganz ähnlich funktionieren, ist ja was unixoides.
-
@thomas-braun
nein das prob war es nicht...
es war wirklich ein freigabe prob, nutze den iobroker ja auf meinem mac, musste package.jason schreib rechte vergeben und zack, funzt...
aber nun noch ein fehler, aber konnte meine shelly schon mal adden, nun qualmt die birne...
aber aufhören kann ich irgendwie nicht....schönen Sonntag noch