Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst]-Endlosschleife bei Adapter Installation

    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

    [gelöst]-Endlosschleife bei Adapter Installation

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

      Hallo zusammen,

      vvvvvviiiiiieeeeellleennn Dank

      der Fixer hat das Problem behoben. jetzt lädt er die Adapter herunter wie schmitz katze.

      Ihr seit die besten

      Danke 👌

      1 Reply Last reply Reply Quote 1
      • T
        ThorstenStr last edited by ThorstenStr

        Hallo zusammen,
        ich muss das ganze leider noch einmal ausgraben. der Erfolg war nur für kurze Zeit, jetzt habe ich das Problem wieder.
        Ich habe daraufhin das System neu aufgesetzt mit der neuen Anleitung und auch den Patch ausgeführt.
        Das Sytem ist wieder ein Debian 9.9.0
        Die Restlichen Daten hier:
        Betriebssystem: linux
        Architektur: x64
        CPUs: 4
        Geschwindigkeit: 938 MHz
        Modell: Intel(R) Celeron(R) CPU J3160 @ 1.60GHz
        RAM: 7.65 GB
        System Betriebszeit: 11:42:39
        Node.js: v8.16.0 (Recommended version v10.16.0)
        NPM: 6.9.0
        Festplatte Größe: 225.51 GB
        Festplatte frei: 223.85 GB
        Anzahl der Adapter: 248
        Betriebszeit: 11:42:36
        Aktive Instanzen: 8
        Hostname: iobroker

        Leider habe ich weider diese Endlosschleife sowohl bei der Installation als auch bei der Deinstallation.

        Anbei die Screenshots.

        hat hier noch irgendjemand eine Idee für mich ??
        Vis-uninstall.JPG Vis-install.JPG Log-uninstall.JPG Log-install.JPG

        liv-in-sky 1 Reply Last reply Reply Quote 0
        • liv-in-sky
          liv-in-sky last edited by liv-in-sky

          sorry - der letzte text war falsch von mir

          1 Reply Last reply Reply Quote 0
          • liv-in-sky
            liv-in-sky @ThorstenStr last edited by

            @ThorstenStr

            eigentlich sieht man nur eines:

            • der cloud adapter macht probleme - könnte mal nochmal installiert werden
            • die vis braucht eine lizens - siehe instanz-setting
            1 Reply Last reply Reply Quote 0
            • T
              ThorstenStr last edited by ThorstenStr

              @liv-in-sky
              alles klar, dann installiere ich den cloud adapter noch einmal neu.
              Die vis ist noch blank, hier habe ich eine Lizenz, die zu diesem Zeitpunkt aber noch nicht eingetragen werden konnte da ich ja in der Endloschleife hänge. Sobald ich das System durchstarte, sind alle Adapter da und können auch bearbeitet werden.

              1 Reply Last reply Reply Quote 0
              • liv-in-sky
                liv-in-sky last edited by

                wegen dem hängenbleiben bei der installation

                • evtl admin adapter updaten
                • npm rebuild
                • npm cache clean --force

                da das system neu aufegesetzt ist, würde ich auch gleich die neue node version (10) aufspielen und damit arbeiten - dann soltest du npm rebuild sowieso machen

                T 1 Reply Last reply Reply Quote 0
                • T
                  ThorstenStr @liv-in-sky last edited by

                  @liv-in-sky
                  ok alles klar, werde ich Testen. Ich habe den cloud adapter neu installiert, und den alten gelöscht.
                  Zuerst lief gestern abend alles gut auch bei den Installationen. Seit heute wieder das gleiche Spiel.
                  werde es noch mit dem Node Update testen und berichten.
                  Viele Dank
                  neu.JPG

                  liv-in-sky 1 Reply Last reply Reply Quote 0
                  • liv-in-sky
                    liv-in-sky @ThorstenStr last edited by

                    @ThorstenStr hast du das refresh problem im admin noch - oder reden wir nur noch vom cloud adapter problem ?

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

                      Das refresh Problem besteht nach wie vor ich habe nur immer direkt den Log gepostet.
                      Mehr wie hier ist nicht zu sehen:
                      neu1.JPG

                      liv-in-sky 1 Reply Last reply Reply Quote 0
                      • liv-in-sky
                        liv-in-sky @ThorstenStr last edited by

                        @ThorstenStr ist den am ende die instanz/adaper zu sehen, installiert und funktionsfähig?

                        welchen browser benutzt du ?

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

                          Ja er ist zu sehen und funktioniert aber erst nache einem Neustart des Systems.
                          Getestet mit IE, Edge und Firefox.

                          liv-in-sky 1 Reply Last reply Reply Quote 0
                          • liv-in-sky
                            liv-in-sky @ThorstenStr last edited by liv-in-sky

                            @ThorstenStr

                            probier auch mal chrome (wurde irgendwo empfohlen)

                            warum einen neustart - kannst du nicht mehr auf einen anderen tab wechseln oder den admin direct nochmal aufrufen - wenn installiert dann installiert - da sollte def. kein neustart nötig sein - das log zeigt auch an, das mit exit 0 alles gut bei der installation lief

                            evtl mal cache usw in den browsern löschen

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

                              Ja ich habe nur den Installscreen (der Screenshot ist übrigens von gerade, ist immer noch die Installation die ich vor 20min angefangen habe) und rechts oben bei ioBroker das Symbol das eine Installation läuft.
                              egal wie oft ich die seite neu lade, tabs wechsel oder neu öffne, der Adapter wird nicht angezeigt.
                              Nach einem Neustart des Systems und erneutem Einloggen ist dann alles da.
                              neu2.JPG

                              1 Reply Last reply Reply Quote 0
                              • liv-in-sky
                                liv-in-sky last edited by

                                öffne mal ein terminal fenster und mach den npm rebuild

                                cd /opt/iobroker
                                iobroker backup (zur sicherheit)
                                npm rebuild

                                was kommt da ?

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

                                  Kann ich erst heute Abend testen, bin im Moment über den iobroker.pro drauf.
                                  ich melde mich mit dem Ergebnis

                                  liv-in-sky 1 Reply Last reply Reply Quote 0
                                  • liv-in-sky
                                    liv-in-sky @ThorstenStr last edited by

                                    @ThorstenStr

                                    hast du das problem auch wenn du direkt draufgehst oder nur, wenn du über iobroker.pro drauf gehst ?

                                    T 1 Reply Last reply Reply Quote 0
                                    • T
                                      ThorstenStr @liv-in-sky last edited by

                                      @liv-in-sky

                                      der Fehler ist sowohl als auch, egal ob über den Pro als auch Lokal.

                                      Hier das Ergebnis von NPM rebuild

                                      > iobroker@2.0.3 install /opt/iobroker/node_modules/iobroker
                                      > node lib/checkVersions.js
                                      
                                      NPM version: 6.9.2
                                      
                                      > iobroker@2.0.3 postinstall /opt/iobroker/node_modules/iobroker
                                      > node lib/install.js
                                      
                                      lib/install.js is not being run as part of an installation - skipping...
                                      
                                      > serialport@6.2.2 install /opt/iobroker/node_modules/iobroker.discovery/node_modules/serialport
                                      > prebuild-install || node-gyp rebuild
                                      
                                      prebuild-install WARN install EPERM: operation not permitted, utime 'build/Release/serialport.node'
                                      make: Verzeichnis „/opt/iobroker/node_modules/iobroker.discovery/node_modules/serialport/build“ wird betreten
                                        CXX(target) Release/obj.target/serialport/src/serialport.o
                                      ../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:
                                      ../src/serialport.cpp:95:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                         data->callback.Call(2, argv);
                                                                    ^
                                      In file included from ../src/./serialport.h:6:0,
                                                       from ../src/serialport.cpp:1:
                                      ../../nan/nan.h:1740:3: note: declared here
                                         Call(int argc, v8::Local<v8::Value> argv[]) const {
                                         ^~~~
                                      ../src/serialport.cpp: In function ‘void EIO_AfterUpdate(uv_work_t*)’:
                                      ../src/serialport.cpp:150:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                         data->callback.Call(1, argv);
                                                                    ^
                                      In file included from ../src/./serialport.h:6:0,
                                                       from ../src/serialport.cpp:1:
                                      ../../nan/nan.h:1740:3: note: declared here
                                         Call(int argc, v8::Local<v8::Value> argv[]) const {
                                         ^~~~
                                      ../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’:
                                      ../src/serialport.cpp:188:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                         data->callback.Call(1, argv);
                                                                    ^
                                      In file included from ../src/./serialport.h:6:0,
                                                       from ../src/serialport.cpp:1:
                                      ../../nan/nan.h:1740:3: note: declared here
                                         Call(int argc, v8::Local<v8::Value> argv[]) const {
                                         ^~~~
                                      ../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’:
                                      ../src/serialport.cpp:231:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                         data->callback.Call(1, argv);
                                                                    ^
                                      In file included from ../src/./serialport.h:6:0,
                                                       from ../src/serialport.cpp:1:
                                      ../../nan/nan.h:1740:3: note: declared here
                                         Call(int argc, v8::Local<v8::Value> argv[]) const {
                                         ^~~~
                                      ../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’:
                                      ../src/serialport.cpp:285:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                         data->callback.Call(1, argv);
                                                                    ^
                                      In file included from ../src/./serialport.h:6:0,
                                                       from ../src/serialport.cpp:1:
                                      ../../nan/nan.h:1740:3: note: declared here
                                         Call(int argc, v8::Local<v8::Value> argv[]) const {
                                         ^~~~
                                      ../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’:
                                      ../src/serialport.cpp:336:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                         data->callback.Call(2, argv);
                                                                    ^
                                      In file included from ../src/./serialport.h:6:0,
                                                       from ../src/serialport.cpp:1:
                                      ../../nan/nan.h:1740:3: note: declared here
                                         Call(int argc, v8::Local<v8::Value> argv[]) const {
                                         ^~~~
                                      ../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’:
                                      ../src/serialport.cpp:383:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                         data->callback.Call(2, argv);
                                                                    ^
                                      In file included from ../src/./serialport.h:6:0,
                                                       from ../src/serialport.cpp:1:
                                      ../../nan/nan.h:1740:3: note: declared here
                                         Call(int argc, v8::Local<v8::Value> argv[]) const {
                                         ^~~~
                                      ../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:
                                      ../src/serialport.cpp:424:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                         data->callback.Call(1, argv);
                                                                    ^
                                      In file included from ../src/./serialport.h:6:0,
                                                       from ../src/serialport.cpp:1:
                                      ../../nan/nan.h:1740:3: note: declared here
                                         Call(int argc, v8::Local<v8::Value> argv[]) const {
                                         ^~~~
                                        CXX(target) Release/obj.target/serialport/src/serialport_unix.o
                                        CXX(target) Release/obj.target/serialport/src/poller.o
                                      ../src/poller.cpp: In static member function ‘static void Poller::onData(uv_poll_t*, int, int)’:
                                      ../src/poller.cpp:69:29: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                         obj->callback.Call(2, argv);
                                                                   ^
                                      In file included from ../src/poller.cpp:1:0:
                                      ../../nan/nan.h:1740:3: note: declared here
                                         Call(int argc, v8::Local<v8::Value> argv[]) const {
                                         ^~~~
                                        CXX(target) Release/obj.target/serialport/src/serialport_linux.o
                                        SOLINK_MODULE(target) Release/obj.target/serialport.node
                                        COPY Release/serialport.node
                                      make: Verzeichnis „/opt/iobroker/node_modules/iobroker.discovery/node_modules/serialport/build“ wird verlassen
                                      
                                      > iobroker.js-controller@1.5.11 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                                      > node lib/preinstallCheck.js
                                      
                                      NPM version: 6.9.2
                                      npm version >= 5: disabling package-lock
                                      
                                      > iobroker.js-controller@1.5.11 install /opt/iobroker/node_modules/iobroker.js-controller
                                      > node iobroker.js setup first
                                      
                                      
                                      > iobroker.vis@1.1.10 install /opt/iobroker/node_modules/iobroker.vis
                                      > node main.js --install
                                      
                                      
                                      > iobroker.vis-google-fonts@0.1.0 install /opt/iobroker/node_modules/iobroker.vis-google-fonts
                                      > node main.js --install
                                      
                                      
                                      > authenticate-pam@1.0.2 install /opt/iobroker/node_modules/authenticate-pam
                                      > node-gyp rebuild
                                      
                                      gyp ERR! clean error
                                      gyp ERR! stack Error: EACCES: permission denied, rmdir 'build'
                                      gyp ERR! System Linux 4.9.0-9-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.16.0
                                      gyp ERR! node-gyp -v v3.8.0
                                      gyp ERR! not ok
                                      npm ERR! code ELIFECYCLE
                                      npm ERR! errno 1
                                      npm ERR! authenticate-pam@1.0.2 install: `node-gyp rebuild`
                                      npm ERR! Exit status 1
                                      npm ERR!
                                      npm ERR! Failed at the authenticate-pam@1.0.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!     /home/thorsten/.npm/_logs/2019-06-28T16_26_26_603Z-debug.log
                                      thorsten@iobroker:/opt/iobroker$
                                      
                                      
                                      liv-in-sky 1 Reply Last reply Reply Quote 0
                                      • liv-in-sky
                                        liv-in-sky @ThorstenStr last edited by

                                        @ThorstenStr hast du das mal mit sudo probiert ?

                                        wie vorher nur mit sudo npm rebuild

                                        T 1 Reply Last reply Reply Quote 0
                                        • T
                                          ThorstenStr @liv-in-sky last edited by

                                          @liv-in-sky

                                          sieht nicht besser aus:

                                          thorsten@iobroker:/opt/iobroker$ sudo npm rebuild
                                          [sudo] Passwort für thorsten:
                                          
                                          > iobroker@2.0.3 install /opt/iobroker/node_modules/iobroker
                                          > node lib/checkVersions.js
                                          
                                          NPM version: 6.9.2
                                          
                                          > iobroker@2.0.3 postinstall /opt/iobroker/node_modules/iobroker
                                          > node lib/install.js
                                          
                                          lib/install.js is not being run as part of an installation - skipping...
                                          
                                          > serialport@6.2.2 install /opt/iobroker/node_modules/iobroker.discovery/node_modules/serialport
                                          > prebuild-install || node-gyp rebuild
                                          
                                          prebuild-install WARN install EACCES: permission denied, access '/root/.npm'
                                          gyp ERR! clean error
                                          gyp ERR! stack Error: EACCES: permission denied, rmdir 'build'
                                          gyp ERR! System Linux 4.9.0-9-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/iobroker.discovery/node_modules/serialport
                                          gyp ERR! node -v v8.16.0
                                          gyp ERR! node-gyp -v v3.8.0
                                          gyp ERR! not ok
                                          npm ERR! code ELIFECYCLE
                                          npm ERR! errno 1
                                          npm ERR! serialport@6.2.2 install: `prebuild-install || node-gyp rebuild`
                                          npm ERR! Exit status 1
                                          npm ERR!
                                          npm ERR! Failed at the serialport@6.2.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-06-29T13_53_23_318Z-debug.log
                                          thorsten@iobroker:/opt/iobroker$
                                          
                                          
                                          liv-in-sky 1 Reply Last reply Reply Quote 0
                                          • liv-in-sky
                                            liv-in-sky @ThorstenStr last edited by liv-in-sky

                                            @ThorstenStr du hattest das fixer script angewendet ?

                                            T liv-in-sky 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            887
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            adapter installation neue instanz
                                            5
                                            44
                                            1972
                                            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