Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. admin Webseite Leer (Keine Anmeldemaske)

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    admin Webseite Leer (Keine Anmeldemaske)

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

      @kaskadeur111 sagte in admin Webseite Leer (Keine Anmeldemaske):

      root@iobroker2:/opt/iobroker# iobroker del admin                                                                                   
      Delete adapter "admin"                                                                                                             
      host.iobroker2 object admin deleted                                                                                                
      host.iobroker2 object admin.admin deleted                                                                                          
      npm uninstall iobroker.admin --loglevel error --prefix "/opt/iobroker" (System c                                                   
      all)                                                                                                                               
                                                                                                                                         
      npm ERR! code 1                                                                                                                    
      npm ERR! path /opt/iobroker/node_modules/pcap                                                                                      
      npm ERR! command failed                                                                                                            
      npm ERR! command sh -c node-gyp rebuild                                                                                            
      npm ERR! make: Verzeichnis „/opt/iobroker/node_modules/pcap/build“ wird betreten                                                  
      npm ERR!   CXX(target) Release/obj.target/pcap_binding/pcap_binding.o                                                              
      npm ERR! make: Verzeichnis „/opt/iobroker/node_modules/pcap/build“ wird verlassen                                                 
      npm ERR! ../pcap_binding.cc:2:10: fatal error: pcap/pcap.h: Datei oder Verzeichnis nicht gefunden                                  
      npm ERR!  #include <pcap/pcap.h>                                                                                                   
      npm ERR!           ^~~~~~~~~~~~~                                                                                                   
      npm ERR! compilation terminated.                                                                                                   
      npm ERR! make: *** [pcap_binding.target.mk:112: Release/obj.target/pcap_binding/pcap_binding.o] Fehler 1                           
      npm ERR! gyp ERR! build error                                                                                                      
      npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2                                                                     
      npm ERR! gyp ERR! stack     at ChildProcess.onExit (/opt/iobroker/node_modules/node-gyp/lib/build.js:262:23)                       
      npm ERR! gyp ERR! stack     at ChildProcess.emit (events.js:314:20)                                                                
      npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)                              
      npm ERR! gyp ERR! System Linux 4.4.59+                                                                                             
      npm ERR! gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"                                     
      npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/pcap                                                                              
      npm ERR! gyp ERR! node -v v12.22.2                                                                                                 
      npm ERR! gyp ERR! node-gyp -v v3.8.0                                                                                               
      npm ERR! gyp ERR! not ok                                                                                                           
                                                                                                                                         
      npm ERR! A complete log of this run can be found in:                                                                               
      npm ERR!     /opt/iobroker/.npm/_logs/2021-07-24T12_59_56_173Z-debug.log                                                           
      Error deleting adapter admin from disk: Error: host.iobroker2: Cannot uninstall iobroker.admin: 1                                  
      You might have to delete it yourself! 
      

      Error deleting adapter admin from disk: Error: host.iobroker2: Cannot uninstall iobroker.admin: 1
      You might have to delete it yourself!

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

        @kaskadeur111
        Jetzt muss ein Docker Kundiger helfen.

        Nur noch zur Abklärung

        @kaskadeur111 sagte in admin Webseite Leer (Keine Anmeldemaske):

        Was ich bisher versucht habe (laut Hormorans Tip aus dem Forum:
        admin neu installiert
        npm cache clean
        iobroker stop
        npm install iobroker.admin
        iobroker upload admin
        iobroker start
        jscontroller neu installiert:
        npm cache clean
        iobroker stop
        npm install iobroker.js-controller
        iobroker start

        hast du die npm Befehle im Installationsverzeichnis (üblicherweise /opt/iobroker, bei Docker hab ich keine Ahnung!) ausgeführt?

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

          @homoran OK, Danke Dir trotzdem sehr für die Unterstützung bis hierhin!
          Ja ich habe die Befehle in /opt/iobroker ausgeführt

          Kann mir jemand sagen wie ich den admin adapter manuell deinstallieren kann ("You might have to delete it yourself!")?

          iobroker list adapters sagt mir immer noch dass die 5.1.5 installiert sei, obwohl es im iobroker-data/files Ordner keine admin Ordner mehr gibt (müsste der dort aufgeführt sein?)

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

            @kaskadeur111

            cd /opt/iobroker
            npm list pcap
            

            Da schlägt der Bau vom pcap fehl. Wozu auch immer das Modul verwendet wird. Auf meinem System ist es jedenfalls nicht vorhanden

            K 1 Reply Last reply Reply Quote 0
            • K
              Kaskadeur111 @Thomas Braun last edited by Kaskadeur111

              @thomas-braun

              root@iobroker2:/opt/iobroker# npm list pcap                                                                                        
              iobroker.inst@1.3.1 /opt/iobroker                                                                                                  
              ├─┬ iobroker.amazon-dash@1.1.0                                                                                                     
              │ └── pcap@3.1.0                                                                                                                   
              └── pcap@2.1.0 extraneous
              

              Das ist der Dash Button Adapter, soll ich den mal runterschmeißen? (Den brauche ich eigentlich ;-))

              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators @Kaskadeur111 last edited by Homoran

                @kaskadeur111 sagte in admin Webseite Leer (Keine Anmeldemaske):

                müsste der dort aufgeführt sein?

                nein!

                der wäre in einem anderen Pfad, hab es gerade nicht im Kopf. irgendwas mit node-modules
                mach erstmal was Thomas sagt

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

                  @kaskadeur111
                  Vermutlich eher der extranous pcap.

                  cd /opt/iobroker 
                  npm uninstall pcap@2.1.0
                  npm prune
                  
                  K 1 Reply Last reply Reply Quote 0
                  • K
                    Kaskadeur111 @Thomas Braun last edited by

                    @thomas-braun

                    uninstall:

                    root@iobroker2:/opt/iobroker# sudo npm uninstall pcap@2.1.0                                                                                                              
                    ⸨#####⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⸩ ⠙ idealTree:socket.io: sill placeDep node_modules/node-red-contrib-polymer socket.io@1.7.4 OK for: node-red-contrib-polymer@0.0.22 w
                    ⸨#####⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⸩ ⠙ idealTree:socket.io: sill placeDep node_modules/node-red-contrib-polymer socket.io@1.7.4 OK for: node-red-contrib-polymer@0.0.22 w
                    ⸨#######⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⸩ ⠴ idealTree:validate-npm-package-license: sill placeDep ROOT validate-npm-package-license@3.0.4 OK for: normalize-package-data@2.5.0 w
                    ⸨#######⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⸩ ⠦ idealTree:validate-npm-package-license: sill placeDep ROOT validate-npm-package-license@3.0.4 OK for: normalize-package-data@2.5.0 w
                    npm ERR! code 128                                                                                                                                                        
                    npm ERR! An unknown git error occurred                                                                                                                                   
                    npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/ioBroker/ioBroker.cul.git                                                                       
                    npm ERR! Warning: Permanently added the RSA host key for IP address '140.82.121.4' to the list of known hosts.                                                           
                    npm ERR! git@github.com: Permission denied (publickey).                                                                                                                  
                    npm ERR! fatal: Konnte nicht vom Remote-Repository lesen.                                                                                                                
                    npm ERR!                                                                                                                                                                 
                    npm ERR! Bitte stellen Sie sicher, dass die korrekten Zugriffsberechtigungen bestehen                                                                                    
                    npm ERR! und das Repository existiert.                                                                                                                                   
                                                                                                                                                                                             
                    npm ERR! A complete log of this run can be found in:                                                                                                                     
                    npm ERR!     /root/.npm/_logs/2021-07-24T13_53_38_001Z-debug.log  
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Kaskadeur111 last edited by

                      @kaskadeur111 Nix sudo!
                      Hab ich das irgendwo geschrieben?

                      K 1 Reply Last reply Reply Quote 0
                      • K
                        Kaskadeur111 @Thomas Braun last edited by

                        @thomas-braun ich habe die befehle erst ohne sudo ausgeführt

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

                          @kaskadeur111

                          Du bist doch schon (vermutlich eh Grundlos) root.

                          Und auch deine Fehlversuche möchten wir sehen damit man sieht was da genau eingegeben wurde.

                          Mit git kenn ich mich nicht aus, keine Ahnung warum da jetzt die beiden Dinger aufgerufen werden.

                          K 1 Reply Last reply Reply Quote 0
                          • K
                            Kaskadeur111 @Thomas Braun last edited by

                            @thomas-braun OK, hier nochmal ohne sudo

                            npm WARN deprecated node-pre-gyp@0.12.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package wi                                                                                                                                                      
                            ll recieve updates in the future                                                                                                                                                                                                                                                                                               
                            npm WARN deprecated node-pre-gyp@0.11.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package wi                                                                                                                                                      
                            ll recieve updates in the future                                                                                                                                                                                                                                                                                               
                            npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)                                                                                                                                                                                                                          
                            ⸨################⠂⠂⸩ ⠴ reify:bcryptjs: http fetch GET 200 https://codeload.github.com/ioBroker/ioBroker.cul/tar.gz/8ccc0070f9d80e2ffa457a50830c964ab5783a46 928ms (c                                                                                                                                                      
                            npm WARN deprecated axios@0.19.2: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410                                                                                                                                                                         
                            npm WARN core-js@2.6.12: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detectio                                                                                                                                                      
                            n in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.                                                                                                                                                                 
                            ⸨##################⸩ ⠧ reify:core-js: WARN deprecated core-js@2.6.12: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues.                                                                                                                                                       
                            npm ERR! code 1                                                                                                                                                                                                                                                                                                                
                            npm ERR! path /opt/iobroker/node_modules/pcap                                                                                                                                                                                                                                                                                  
                            npm ERR! command failed                                                                                                                                                                                                                                                                                                        
                            npm ERR! command sh -c node-gyp rebuild                                                                                                                                                                                                                                                                                        
                            npm ERR! make: Verzeichnis „/opt/iobroker/node_modules/pcap/build“ wird betreten                                                                                                                                                                                                                                              
                            npm ERR!   CXX(target) Release/obj.target/pcap_binding/pcap_binding.o                                                                                                                                                                                                                                                          
                            npm ERR! make: Verzeichnis „/opt/iobroker/node_modules/pcap/build“ wird verlassen                                                                                                                                                                                                                                             
                            npm ERR! gyp info it worked if it ends with ok                                                                                                                                                                                                                                                                                 
                            npm ERR! gyp info using node-gyp@3.8.0                                                                                                                                                                                                                                                                                         
                            npm ERR! gyp info using node@14.17.3 | linux | x64                                                                                                                                                                                                                                                                             
                            npm ERR! gyp info spawn /usr/bin/python2                                                                                                                                                                                                                                                                                       
                            npm ERR! gyp info spawn args [                                                                                                                                                                                                                                                                                                 
                            npm ERR! gyp info spawn args   '/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py',                                                                                                                                                                                                                                          
                            npm ERR! gyp info spawn args   'binding.gyp',                                                                                                                                                                                                                                                                                  
                            npm ERR! gyp info spawn args   '-f',                                                                                                                                                                                                                                                                                           
                            npm ERR! gyp info spawn args   'make',                                                                                                                                                                                                                                                                                         
                            npm ERR! gyp info spawn args   '-I',                                                                                                                                                                                                                                                                                           
                            npm ERR! gyp info spawn args   '/opt/iobroker/node_modules/pcap/build/config.gypi',                                                                                                                                                                                                                                            
                            npm ERR! gyp info spawn args   '-I',                                                                                                                                                                                                                                                                                           
                            npm ERR! gyp info spawn args   '/opt/iobroker/node_modules/node-gyp/addon.gypi',                                                                                                                                                                                                                                               
                            npm ERR! gyp info spawn args   '-I',                                                                                                                                                                                                                                                                                           
                            npm ERR! gyp info spawn args   '/opt/iobroker/.node-gyp/14.17.3/include/node/common.gypi',                                                                                                                                                                                                                                     
                            npm ERR! gyp info spawn args   '-Dlibrary=shared_library',                                                                                                                                                                                                                                                                     
                            npm ERR! gyp info spawn args   '-Dvisibility=default',                                                                                                                                                                                                                                                                         
                            npm ERR! gyp info spawn args   '-Dnode_root_dir=/opt/iobroker/.node-gyp/14.17.3',                                                                                                                                                                                                                                              
                            npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/opt/iobroker/node_modules/node-gyp',                                                                                                                                                                                                                                           
                            npm ERR! gyp info spawn args   '-Dnode_lib_file=/opt/iobroker/.node-gyp/14.17.3/<(target_arch)/node.lib',                                                                                                                                                                                                                      
                            npm ERR! gyp info spawn args   '-Dmodule_root_dir=/opt/iobroker/node_modules/pcap',                                                                                                                                                                                                                                            
                            npm ERR! gyp info spawn args   '-Dnode_engine=v8',                                                                                                                                                                                                                                                                             
                            npm ERR! gyp info spawn args   '--depth=.',                                                                                                                                                                                                                                                                                    
                            npm ERR! gyp info spawn args   '--no-parallel',                                                                                                                                                                                                                                                                                
                            npm ERR! gyp info spawn args   '--generator-output',                                                                                                                                                                                                                                                                           
                            npm ERR! gyp info spawn args   'build',                                                                                                                                                                                                                                                                                        
                            npm ERR! gyp info spawn args   '-Goutput_dir=.'                                                                                                                                                                                                                                                                                
                            npm ERR! gyp info spawn args ]                                                                                                                                                                                                                                                                                                 
                            npm ERR! gyp info spawn make                                                                                                                                                                                                                                                                                                   
                            npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]                                                                                                                                                                                                                                                            
                            npm ERR! ../pcap_binding.cc:2:10: fatal error: pcap/pcap.h: Datei oder Verzeichnis nicht gefunden                                                                                                                                                                                                                              
                            npm ERR!  #include <pcap/pcap.h>                                                                                                                                                                                                                                                                                               
                            npm ERR!           ^~~~~~~~~~~~~                                                                                                                                                                                                                                                                                               
                            npm ERR! compilation terminated.                                                                                                                                                                                                                                                                                               
                            npm ERR! make: *** [pcap_binding.target.mk:112: Release/obj.target/pcap_binding/pcap_binding.o] Fehler 1                                                                                                                                                                                                                       
                            npm ERR! gyp ERR! build error                                                                                                                                                                                                                                                                                                  
                            npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2                                                                                                                                                                                                                                                                 
                            npm ERR! gyp ERR! stack     at ChildProcess.onExit (/opt/iobroker/node_modules/node-gyp/lib/build.js:262:23)                                                                                                                                                                                                                   
                            npm ERR! gyp ERR! stack     at ChildProcess.emit (events.js:375:28)                                                                                                                                                                                                                                                            
                            npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)                                                                                                                                                                                                                          
                            npm ERR! gyp ERR! System Linux 4.4.59+                                                                                                                                                                                                                                                                                         
                            npm ERR! gyp ERR! command "/usr/local/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"                                                                                                                                                                                                                           
                            npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/pcap                                                                                                                                                                                                                                                                          
                            npm ERR! gyp ERR! node -v v14.17.3                                                                                                                                                                                                                                                                                             
                            npm ERR! gyp ERR! node-gyp -v v3.8.0                                                                                                                                                                                                                                                                                           
                            npm ERR! gyp ERR! not ok                                                                                                                                                                                                                                                                                                       
                                                                                                                                                                                                                                                                                                                                                           
                            npm ERR! A complete log of this run can be found in:                                                                                                                                                                                                                                                                           
                            npm ERR!     /opt/iobroker/.npm/_logs/2021-07-24T13_58_16_080Z-debug.log  
                            
                            timemachine3030 created this issue in axios/axios

                            closed Hotfix: Prevent SSRF #3410

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

                              @kaskadeur111

                              Deine nodeJS-Installation ist 100% krumm.
                              Schau in meiner Signatur wir man die gerade zieht.

                              K 2 Replies Last reply Reply Quote 0
                              • K
                                Kaskadeur111 @Thomas Braun last edited by

                                @thomas-braun mach ich

                                1 Reply Last reply Reply Quote 0
                                • K
                                  Kaskadeur111 @Thomas Braun last edited by Kaskadeur111

                                  @thomas-braun

                                  Frage: Deine einleitende Worte stimmen mich nachdenklich, denn ich habe einen Docker Container auf einer Synology, und ich bin root@ .... was bedeutet jetzt das "Nicht machen!" ???

                                  "Vorwort:
                                  Bis auf Ausnahmefälle (z. B. bei Docker auf einer Synology) wird ein auf Debian basierendes System seit Jahren NICHT mehr per direktem root-login administriert, sondern als normaler user mittels 'sudo'. Solche login prompts sind also unnötig und 'gefährlich':

                                  root@raspberrypi:~#

                                  Nicht machen!"

                                  OK, wahrscheinlich bedeutet es nichts, denn ich habe ja so einen Ausnahmefall.

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

                                    @kaskadeur111 Das heißt, das man den root-Account nicht benutzt sondern einen User der entsprechende Rechte erhalten kann.

                                    Auf der Synology geht das aber nicht, weil das dortige System extremst abgespeckt ist und es keine User-Verwaltung im klassischen Sinne gibt.

                                    Aus meiner Sicht ist das ganze auch keine gescheite Basis um dort im Docker den ioBroker laufen zu lassen. Aber das ist ein anderes Thema.

                                    K 1 Reply Last reply Reply Quote 0
                                    • K
                                      Kaskadeur111 @Thomas Braun last edited by

                                      @thomas-braun Hmm Naja, wenn du als Basis die Software meinst, kann sein, da kenne ich mich zu wenig aus.

                                      Bei mir Läuft ein Xpenology auf einem i5 Selbstbau NAS mit 32GB RAM und NVME SSDs. Hardwaretechnisch stimmt die Basis auf jedenfall mal

                                      Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                                      • Homoran
                                        Homoran Global Moderator Administrators @Kaskadeur111 last edited by

                                        @kaskadeur111 sagte in admin Webseite Leer (Keine Anmeldemaske):

                                        ein Xpenology

                                        das klingt aber nach einem seltsamen OS.

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

                                          @homoran Ist halt eine vollwertige Synology die auf eigener Hardware installiert ist. Aber egal, back to Topic, gibt Gründe für das System wie es ist 🐕

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

                                            @kaskadeur111
                                            Klar rede ich vom OS.

                                            Ich würde auch auf eigener Hardware nicht so'n Krampf wie DSM installieren. Da gibt's vernünftigere NAS-Systeme

                                            K 1 Reply 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

                                            635
                                            Online

                                            32.0k
                                            Users

                                            80.4k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            81
                                            3790
                                            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