Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Installation
    5. ioBroker auf iMac (Ventura) installieren

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    ioBroker auf iMac (Ventura) installieren

    This topic has been deleted. Only users with topic management privileges can see it.
    • Asgothian
      Asgothian Developer @special_b last edited by

      @special_b hast du zwischen der installation und dem Fixen des Starts den Rechner umbenannt (von Mac-Mini auf Volkers-Mini ?)

      bitte folgendes tun:

      iobroker stop
      iobroker host this
      iobroker start

      Dann nochmal das aktuelle Log nach Fehlermeldungen durchschauen - insbesondere späte.

      Ich gehe aktuell davon aus das du den Rechner zwischendurch umbenannt hast, so das in der config des ioBroker eine falsche Host Bezeichnung steht.

      A.

      S 1 Reply Last reply Reply Quote 1
      • S
        special_b @Asgothian last edited by

        @asgothian

        Eigentlich habe ich den Rechner nicht umbenannt. Ich habe den Rechner einmal komplett neu aufgesetzt, nachdem ich bisher eine verbastelte Installation hatte. Aber danach hatte ich ja IOBroker komplett neu installiert.

        Nachdem ich nun die Befehle im Terminal eingegeben habe, hier das neue Log:

        2023-01-03 21:49:35.358  - info: host.Volkers-Mini.fritz.box received SIGTERM
        2023-01-03 21:49:35.396  - info: host.Volkers-Mini.fritz.box terminated
        2023-01-03 21:50:55.450  - info: host.Volkers-Mac-mini.fritz.box iobroker.js-controller version 4.0.23 js-controller starting
        2023-01-03 21:50:55.453  - info: host.Volkers-Mac-mini.fritz.box Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
        2023-01-03 21:50:55.453  - info: host.Volkers-Mac-mini.fritz.box hostname: Volkers-Mac-mini.fritz.box, node: v18.12.1
        2023-01-03 21:50:55.453  - info: host.Volkers-Mac-mini.fritz.box ip addresses: fe80::a8:52a3:93a:aae9 192.168.1.104 2a02:6d40:3bcc:ac01:c6c:4e14:79a4:5d17 2a02:6d40:3bcc:ac01:8023:f923:332b:81f5 fe80::7488:d918:fc29:6aa7 fe80::2d59:e5b2:7d47:30ed
        2023-01-03 21:50:55.598  - info: host.Volkers-Mac-mini.fritz.box connected to Objects and States
        2023-01-03 21:50:55.607  - info: host.Volkers-Mac-mini.fritz.box Node.js version has changed from unknown to 18.12.1
        2023-01-03 21:50:55.608  - info: host.Volkers-Mac-mini.fritz.box added notifications configuration of host
        2023-01-03 21:50:55.714  - info: host.Volkers-Mac-mini.fritz.box Delete host system.host.Volkers-Mac-mini.fritz.box
        2023-01-03 21:50:55.727  - info: host.Volkers-Mac-mini.fritz.box 3 instances found
        2023-01-03 21:50:55.730  - info: host.Volkers-Mac-mini.fritz.box starting 3 instances
        2023-01-03 21:50:55.764  - info: host.Volkers-Mac-mini.fritz.box instance system.adapter.admin.0 started with pid 14362
        2023-01-03 21:50:56.832  - info: admin.0 (14362) starting. Version 6.3.5 in /usr/local/iobroker/node_modules/iobroker.admin, node: v18.12.1, js-controller: 4.0.23
        2023-01-03 21:50:56.846  - info: admin.0 (14362) requesting all states
        2023-01-03 21:50:56.846  - info: admin.0 (14362) requesting all objects
        2023-01-03 21:50:56.928  - info: admin.0 (14362) received all objects
        2023-01-03 21:50:56.938  - info: admin.0 (14362) Request actual repository...
        2023-01-03 21:50:56.944  - info: host.Volkers-Mac-mini.fritz.box Updating repository "stable" under "http://download.iobroker.net/sources-dist.json"
        2023-01-03 21:50:56.945  - info: admin.0 (14362) http server listening on port 8081
        2023-01-03 21:50:56.946  - info: admin.0 (14362) Use link "http://localhost:8081" to configure.
        2023-01-03 21:50:56.949  - info: admin.0 (14362) socket.io server listening on port 8081
        2023-01-03 21:50:56.990  - warn: admin.0 (14362) Repository cannot be read: Active repo - stable
        2023-01-03 21:50:56.990  - warn: admin.0 (14362) Active repository "stable" cannot be read
        2023-01-03 21:50:58.691  - info: admin.0 (14362) Repository received successfully.
        2023-01-03 21:50:59.772  - info: host.Volkers-Mac-mini.fritz.box instance system.adapter.discovery.0 started with pid 14365
        2023-01-03 21:51:00.651  - info: discovery.0 (14365) starting. Version 3.1.0 in /usr/local/iobroker/node_modules/iobroker.discovery, node: v18.12.1, js-controller: 4.0.23
        2023-01-03 21:51:03.753  - info: host.Volkers-Mac-mini.fritz.box instance system.adapter.backitup.0 started with pid 14368
        2023-01-03 21:51:04.672  - info: backitup.0 (14368) starting. Version 2.5.9 in /usr/local/iobroker/node_modules/iobroker.backitup, node: v18.12.1, js-controller: 4.0.23
        2023-01-03 21:51:04.773  - info: backitup.0 (14368) [iobroker] backup was activated at 02:40 every 1 day(s)
        
        

        Dann habe ich nochmal im Terminal iob list instances eingegeben, dabei kam dann:

        + system.adapter.admin.0                  : admin                 : Volkers-Mac-mini.fritz.box               -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
        + system.adapter.backitup.0               : backitup              : Volkers-Mac-mini.fritz.box               -  enabled
        + system.adapter.discovery.0              : discovery             : Volkers-Mac-mini.fritz.box               -  enabled
        
        + instance is alive
        
        

        Das sieht gut aus, dachte ich mir. Also mal einloggen versuchen: Klappt. Wow.

        Dankedankedankedankedanke.
        Woher die Änderung des Hostname kommt, bleibt mir allerdings ein Rätsel.

        mfg

        Special_B

        Asgothian 1 Reply Last reply Reply Quote 0
        • Asgothian
          Asgothian Developer @special_b last edited by

          @special_b sagte in ioBroker auf iMac (Ventura) installieren:

          Woher die Änderung des Hostname kommt, bleibt mir allerdings ein Rätsel.

          kann ich so auch nicht sagen. Entscheidend ist das es jetzt geht.

          A.

          1 Reply Last reply Reply Quote 0
          • S
            special_b last edited by special_b

            Was es nicht alles gibt:
            Ich wollte nun den Stromzähler Lesekopf einrichten. Soweit, so gut. Alles eingerichtet, läuft. Dann habe ich den Mini in den Serverschrank gelegt (steht direkt daneben), das nun zu kurze Kabel mit einem USB Verlängerungskabel verlängert, dann geht nix mehr. Ein anderes Kabel bringt auch nix. Also den Mini wieder raus, direkt angeschlossen, geht wieder. Hm, dann muss ich mir ein längeres Kabel besorgen.

            mfg

            Special_B

            1 Reply Last reply Reply Quote 0
            • J
              jjr last edited by

              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

              asgothian created this issue in ioBroker/ioBroker

              open Install.sh fails on fresh install of macOS 12.4 #387

              Codierknecht Asgothian Thomas Braun 4 Replies Last reply Reply Quote 0
              • Codierknecht
                Codierknecht Developer Most Active @jjr last edited by

                @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

                1 Reply Last reply Reply Quote 1
                • Asgothian
                  Asgothian Developer @jjr last edited by

                  @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.

                  Codierknecht 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @jjr last edited by Thomas Braun

                    @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.

                    1 Reply Last reply Reply Quote 0
                    • Asgothian
                      Asgothian Developer @jjr last edited by

                      @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.

                      1 Reply Last reply Reply Quote 0
                      • Codierknecht
                        Codierknecht Developer Most Active @Asgothian last edited by

                        @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.

                        1 Reply Last reply Reply Quote 0
                        • J
                          jjr last edited by

                          @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.

                          Thomas Braun Codierknecht 2 Replies Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @jjr last edited by

                            @jjr

                            Ich würde die Kiste allerdings nochmal aufsetzen.
                            Auf nodejs 16 und ohne npm audit.

                            1 Reply Last reply Reply Quote 0
                            • Codierknecht
                              Codierknecht Developer Most Active @jjr last edited by

                              @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.

                              1 Reply Last reply Reply Quote 0
                              • T
                                Todie last edited by

                                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
                                run npm fund for details

                                4 vulnerabilities (3 moderate, 1 critical)

                                To address all issues (including breaking changes), run:
                                npm audit fix --force

                                Run npm audit for details.

                                Thomas Braun Asgothian 2 Replies Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @Todie last edited by

                                  @todie

                                  Du stehst im falschen Verzeichnis, würde ich sagen.

                                  1 Reply Last reply Reply Quote 0
                                  • Asgothian
                                    Asgothian Developer @Todie last edited by

                                    @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

                                    T 1 Reply Last reply Reply Quote 0
                                    • T
                                      Todie @Asgothian last edited by Todie

                                      @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

                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @Todie last edited by Thomas Braun

                                        @todie

                                        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-npm8

                                        Wird auf MacOS ganz ähnlich funktionieren, ist ja was unixoides.

                                        1 Reply Last reply Reply Quote 0
                                        • T
                                          Todie last edited by

                                          @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

                                          1 Reply Last reply Reply Quote 0
                                          • First post
                                            Last post

                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          866
                                          Online

                                          31.7k
                                          Users

                                          79.8k
                                          Topics

                                          1.3m
                                          Posts

                                          8
                                          37
                                          2528
                                          Loading More Posts
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          The ioBroker Community 2014-2023
                                          logo