Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Fehler bei der Installation vom SQL Adapter

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    SOLVED Fehler bei der Installation vom SQL Adapter

    This topic has been deleted. Only users with topic management privileges can see it.
    • Amnesia1211
      Amnesia1211 last edited by Amnesia1211

      Hallo liebe Iobroker Gemeinde,
      leider habe ich einen Fehler bei der Installation des SQL Adapters und weiß leider auch keine Abhilfe.
      Vielleicht hat ja einer von euch eine Idee.
      iobroker läuft auf Synology (Docker) Version 2.0.0

      Fertig mit Fehler: host.iobroker Cannot install sql

      $ ./iobroker add sql  --host iobroker
      NPM version: 6.4.1
      npm install iobroker.sql --production --save --prefix "/opt/iobroker" (System call)
      gyp
       WARN EACCES user "undefined" does not have permission to access the dev dir "/root/.node-gyp/8.14.0"gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/mmmagic/.node-gyp"
      
      gyp
       WARN install got an error, rolling back install
      gyp WARN
       install got an error, rolling back install
      gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/mmmagic/.node-gyp'
      
      gyp ERR! System Linux 3.10.105gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
      gyp ERR! cwd
       /opt/iobroker/node_modules/mmmagicgyp ERR! node -v v8.14.0
      gyp ERR! node-gyp -v v3.8.0
      gyp ERR! not ok 
      
      npm
       WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
      
      
      npm
       ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! mmmagic@0.5.3 install: `node-gyp rebuild`npm ERR! Exit status 1
      npm ERR! 
      
      npm ERR! Failed at the mmmagic@0.5.3 install script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      
      npm ERR! A complete log of this run can be found in:npm ERR!     /root/.npm/_logs/2019-06-06T20_28_50_353Z-debug.log
      
      host.iobroker install adapter sql
      NPM version: 6.4.1
      npm install iobroker.sql --production --save --prefix "/opt/iobroker" (System call)
      gyp
       WARN EACCES user "undefined" does not have permission to access the dev dir "/root/.node-gyp/8.14.0"gyp 
      WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/mmmagic/.node-gyp"
      gyp
       WARN install got an error, rolling back install
      gyp
       WARN install got an error, rolling back installgyp ERR! configure error 
      gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/mmmagic/.node-gyp'
      
      gyp ERR! System Linux 3.10.105
      gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/mmmagic
      gyp ERR! node -v v8.14.0
      gyp ERR! node-gyp -v v3.8.0
      gyp ERR! not ok
       
      npm
       WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
      
      
      npm ERR! code ELIFECYCLEnpm ERR! errno 1
      npm
       ERR! mmmagic@0.5.3 install: `node-gyp rebuild`npm ERR! Exit status 1
      npm ERR! 
      npm ERR! Failed at the mmmagic@0.5.3 install script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      
      npm ERR! A complete log of this run can be found in:npm ERR!     /root/.npm/_logs/2019-06-06T20_29_37_206Z-debug.log
      
      host.iobroker install adapter sql
      NPM version: 6.4.1
      npm install iobroker.sql --production --save --prefix "/opt/iobroker" (System call)
      gyp
       WARN EACCES user "undefined" does not have permission to access the dev dir "/root/.node-gyp/8.14.0"
      gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/mmmagic/.node-gyp"
      gyp WARN install got an error, rolling back install
      gyp WARN install got an error, rolling back install
      gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/mmmagic/.node-gyp'
      
      gyp ERR! System Linux 3.10.105gyp
       ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/mmmagic
      gyp ERR!
       node -v v8.14.0gyp ERR! node-gyp -v v3.8.0
      gyp ERR! not ok 
      
      npm
       WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
      
      
      npm
       ERR! code ELIFECYCLEnpm ERR! errno 1
      npm ERR! mmmagic@0.5.3 install: `node-gyp rebuild`
      npm ERR! Exit status 1
      npm ERR! 
      npm ERR! Failed at the mmmagic@0.5.3 install script.
      npm ERR!
       This is probably not a problem with npm. There is likely additional logging output above.
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /root/.npm/_logs/2019-06-06T20_30_24_236Z-debug.log
      
      host.iobroker install adapter sql
      ERROR: host.iobroker Cannot install sql
      ERROR: process exited with code 13
      

      SQL_6.jpg SQL_5.jpg SQL_4.jpg SQL_3.jpg SQL_2.jpg SQL_1.jpg

      1 Reply Last reply Reply Quote 0
      • Amnesia1211
        Amnesia1211 last edited by

        Wirklich keiner eine Idee? Würde gerne die SQL Datenbank für das loggen nutzen.

        Homoran 1 Reply Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators @Amnesia1211 last edited by

          @Amnesia1211
          Hast du Mal im Forum nach fehlender Berechtigung und Behebung davon gesucht?

          Die in diesem Rahmen übliche Frage:

          Wann und wie würde ioBroker installiert?

          Amnesia1211 1 Reply Last reply Reply Quote 0
          • Amnesia1211
            Amnesia1211 @Homoran last edited by

            @Homoran sagte in Fehler bei der Installation vom SQL Adapter:

            Berechtigung

            Ja habe schon mal gesucht aber nichts gefunden 😞

            Wann ich iobroker installiert habe weiß ich nicht mehr genau, denke vor 3 Wochen.
            Wie hatte ich oben schon erwähnt, es läuft auf einer Synology DS RS818+ über Docker,
            der link ist hier https://hub.docker.com/r/buanet/iobroker/ die Version ist 2.0.0

            Andere Adapter lassen sich normal installieren. Was der Unterschied zum SQL Adapter sind kann ich mir nicht erklären.

            Homoran Negalein 2 Replies Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators @Amnesia1211 last edited by

              @Amnesia1211
              Sorry, das mit dem Docker habe ich überlesen. Aber genau da eird das Problem luegen. Leider kenne ich mich damit überhaupt nicht aus.

              1 Reply Last reply Reply Quote 0
              • Negalein
                Negalein Global Moderator @Amnesia1211 last edited by

                @Amnesia1211 sagte in Fehler bei der Installation vom SQL Adapter:

                Wie hatte ich oben schon erwähnt, es läuft auf einer Synology DS RS818+ über Docker,
                der link ist hier https://hub.docker.com/r/buanet/iobroker/ die Version ist 2.0.0

                Hast du hier schon mal gefragt?
                Ich glaube @andre hat mal was zwecks SQL geschrieben.

                Amnesia1211 1 Reply Last reply Reply Quote 0
                • Amnesia1211
                  Amnesia1211 @Negalein last edited by

                  @Negalein
                  Nein habe ich nicht gemacht, werde ich aber jetzt im Anschluss tun danke gute Idee 🙂

                  1 Reply Last reply Reply Quote 0
                  • Amnesia1211
                    Amnesia1211 last edited by

                    Also...
                    Mir wurde geraten die Docker Version auf 3.0 upzudaten, was ich dann nach einigen Problemen auch hin bekommen habe.
                    Der SQL Adapter läuft auf der Version 3.0, zudem wurde mir gesagt das ich ein Rechte Problem mit der Version 2.0 habe und deswegen die Installation
                    des SQL Adapters nicht klappt.

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

                    Support us

                    ioBroker
                    Community Adapters
                    Donate

                    590
                    Online

                    31.7k
                    Users

                    79.9k
                    Topics

                    1.3m
                    Posts

                    adapter sql fehler
                    3
                    8
                    604
                    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