Navigation

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

    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

    UNSOLVED SQL Adapter Update - Fehler

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

      Hallo,
      habe mein produktivsystem auf die neuesten Adapterversionen im Status stable installiert. unter anderem auch den sql.0 Adapter.

      Diese wurde komplett deinstalliert, da ich über SUDO IOBROKER UPGRADE alles auf einmal über die Konsole upgedatet hatte.
      Ich stellte dann fest, dass noch nichtmal mehr eine Instanz drin war.
      Okay installier ich einfach neu und es geht nicht mehr 😞
      Hier das Fehlerprotokoll - und nun ?:

      sudo iobroker add sql
      NPM version: 6.4.1
      npm install iobroker.sql --production --save --prefix "/opt/iobroker" (System call)
      gyp ERR! clean error
      gyp ERR! stack Error: EACCES: permission denied, rmdir 'build'
      gyp ERR! System Linux 4.9.0-8-amd64
      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/authenticate-pam
      gyp ERR! node -v v8.15.1
      gyp ERR! node-gyp -v v3.8.0
      gyp ERR! not ok
      gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/8.15.1"
      gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/epoll/.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/epoll/.node-gyp'
      gyp ERR! System Linux 4.9.0-8-amd64
      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/epoll
      gyp ERR! node -v v8.15.1
      gyp ERR! node-gyp -v v3.8.0
      gyp ERR! not ok
      gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/8.15.1"
      gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/mmmagic/.node-gyp"
      gyp ERR! build error
      gyp ERR! stack Error: not found: make
      gyp ERR! stack     at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12)
      gyp ERR! stack     at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19)
      gyp ERR! stack     at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)
      gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16
      gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5
      gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
      gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:152:21)
      gyp ERR! System Linux 4.9.0-8-amd64
      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.15.1
      gyp ERR! node-gyp -v v3.8.0
      gyp ERR! not ok
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules/xpc-connection):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 (node_modules/authenticate-pam):
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 install: `node-gyp rebuild`
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: epoll@0.1.22 (node_modules/epoll):
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: epoll@0.1.22 install: `node-gyp rebuild`
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
      
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! mmmagic@0.5.2 install: `node-gyp rebuild`
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the mmmagic@0.5.2 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-03-16T14_53_19_469Z-debug.log
      host.ioBdebian create instance sql
      host.ioBdebian error: reading io-package.json Error: ENOENT: no such file or directory, open 'null/io-package.json'
      
      1 Reply Last reply Reply Quote 0
      • Jey Cee
        Jey Cee Developer last edited by

        Hast du mal den installiert fixer laufen lassen auf dem System?

        Hab heute zufällig gelesen das es mit den rechten und SQL adapter Probleme gab.

        Segway 1 Reply Last reply Reply Quote 0
        • Segway
          Segway @Jey Cee last edited by

          @Jey-Cee

          Okay, den fix installiert und konnte wieder die sql-Instanz installieren.....mhhhh....komisch, dass der komplett deinstalliert war ????

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

            leider startet der sql Adapter nun wieder immer neu und dann kommt

            sql.0	2019-03-16 16:37:21.784	error	Error: ER_CON_COUNT_ERROR: Too many connections
            
            Segway 1 Reply Last reply Reply Quote 0
            • Segway
              Segway @Segway last edited by

              @Segway

              So, hab das alte backup wieder eingespielt und BEVOR ich irgendwas gemacht habe, habe ich erst den FIX eingespielt.
              Dann NICHT über upgrade einfach alles updaten lassen sondern jeden Adapter einzeln per Console upgedatet.

              LÄUFT ☺ ☺ ☺

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

              Support us

              ioBroker
              Community Adapters
              Donate

              893
              Online

              31.8k
              Users

              80.0k
              Topics

              1.3m
              Posts

              adapter fehler sql
              2
              5
              345
              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