Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Diskussion zum neuen Installation-Fixer

    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

    Diskussion zum neuen Installation-Fixer

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

      @darkiop Hey,
      ne das ist da, aber nur mit https!!

      D 1 Reply Last reply Reply Quote 0
      • D
        darkiop Most Active @apollon77 last edited by darkiop

        @apollon77 Stimmt - das Problem von @MagicSven ist: http://iobroker.net leitet auf https://www.iobroker.net - und da gibt es den fixer nicht 🙂

        Aber ja, wenn man die richtige URL nutzt, dann passt es 🙂

        AlCalzone 1 Reply Last reply Reply Quote 0
        • AlCalzone
          AlCalzone Developer @darkiop last edited by

          @apollon77 @Bluefox Diese Weiterleitung sollten wir reparieren

          apollon77 1 Reply Last reply Reply Quote 0
          • apollon77
            apollon77 @AlCalzone last edited by

            @AlCalzone Warum? Man sollte einfach den richtigen Link nehmen 😉 In jeder Doku ists mit https drin ...

            AlCalzone 1 Reply Last reply Reply Quote 0
            • AlCalzone
              AlCalzone Developer @apollon77 last edited by AlCalzone

              @apollon77 Was spricht dagegen, allgemein bei allen Weiterleitungen, wo "www." oder "https" fehlt, den Rest des Pfades beizubehalten? Mach ich bei meinen Webseiten auch so 🙂
              https://www.iobroker.net/fix.sh (mit WWW) funktioniert übrigens auch nicht - Cannot GET /fix.sh
              So ein "s" kann beim Abtippen schon mal vergessen gehen - und die resultierende Meldung ist nicht gerade DAU-freundlich.

              EDIT: obige URL führt genau auf https://www.iobroker.net/fix.sh mit der genannten Fehlermeldung. Denke den Fall mit www. sollten wir auch weiterleiten.

              apollon77 1 Reply Last reply Reply Quote 1
              • apollon77
                apollon77 @AlCalzone last edited by

                @AlCalzone aktuell ist 222. und ohne www zwei komplett getrennte server ... Aber ja kann man bestimmt tun 😉

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

                  Hallo!

                  Ich nutze jetzt seit ein paar Wochen den iobroker über Docker auf meiner Synology NAS. Soweit funktioniert auch alles sehr gut.

                  Seit ein paar Tagen kann ich aber zb. den XBox Adapter nicht mehr updaten.

                  Folgende Fehlermeldung:

                  $ ./iobroker upgrade xbox
                  Update xbox from @0.5.8 to @0.6.1
                  NPM version: 6.13.4
                  npm install iobroker.xbox@0.6.1 --unsafe-perm --loglevel error --prefix "/opt/iobroker" (System call)
                  dpkg-query: Paket »libssl-dev« ist nicht installiert und es ist keine Information verfügbarVerwenden Sie dpkg --info (= dpkg-deb --info) zum Untersuchen von Archivenund dpkg --contents (= dpkg-deb --contents) zum Auflisten ihres Inhalts.
                  WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
                  E: Sperrdatei /var/lib/dpkg/lock konnte nicht geöffnet werden. - open (13: Keine Berechtigung)E: Sperren des Administrationsverzeichnisses (/var/lib/dpkg/) nicht möglich, sind Sie root?
                  ERROR: Could not find a version that satisfies the requirement xbox-smartglass-core>=1.1.2 (from versions: 1.0.2, 1.0.3, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.0.10, 1.0.11, 1.0.12, 1.1.0, 1.1.1)
                  ERROR: No matching distribution found for xbox-smartglass-core>=1.1.2
                  npm
                   ERR! code ELIFECYCLEnpm ERR! errno 1npm ERR!
                   iobroker.xbox@0.6.1 install: `npip install`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the iobroker.xbox@0.6.1 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!     /opt/iobroker/.npm/_logs/2020-04-01T02_05_14_321Z-debug.log
                  ERROR: host.buanet-iobroker1 Cannot install iobroker.xbox@0.6.1: 1
                  ERROR: process exited with code 25
                  

                  Habe mich dann durch mehrere Foren gelesen und kam schließlich auf den Fix:

                  curl -sL https://iobroker.net/fix.sh | bash -
                  

                  Wenn ich diesen auführe, bekomme ich folgendes "Fehlerbild":

                  root@buanet-iobroker1:/opt/iobroker# curl -sL https://iobroker.net/fix.sh | bash -                                                                                                                                                                                                          
                  library: loaded                                                                                                                                                                                                                                                                             
                  Library version=2020-01-30                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                              
                  ==========================================================================                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                              
                      Welcome to the ioBroker installation fixer!                                                                                                                                                                                                                                             
                      Script version: 2020-01-25                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                              
                  ==========================================================================                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                              
                  ==========================================================================                                                                                                                                                                                                                  
                      Installing prerequisites (1/3)                                                                                                                                                                                                                                                          
                  ==========================================================================                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                              
                  OK:1 http://security.debian.org/debian-security stretch/updates InRelease                                                                                                                                                                                                                   
                  Ign:2 http://deb.debian.org/debian stretch InRelease                                                                                                                                                                                                                                        
                  OK:3 http://deb.debian.org/debian stretch-updates InRelease                                                                                                                                                                                                                                 
                  OK:4 http://deb.debian.org/debian stretch Release                                                                                                                                                                                                                                           
                  OK:5 https://deb.nodesource.com/node_10.x stretch InRelease                                                                                                                                                                                                                                 
                  Paketlisten werden gelesen... Fertig                                                                                                                                                                                                                                                        
                  Installed gcc-c++                                                                                                                                                                                                                                                                           
                  Docker detected!                                                                                                                                                                                                                                                                            
                  If you have any adapters that need the CAP_NET_ADMIN capability,                                                                                                                                                                                                                            
                  you need to start the docker container with the option --cap-add=NET_ADMIN                                                                                                                                                                                                                  
                  and manually add that capability to node                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                              
                  ==========================================================================                                                                                                                                                                                                                  
                      Checking ioBroker user and directory permissions (2/3)                                                                                                                                                                                                                                  
                  ==========================================================================                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                              
                  Created /etc/sudoers.d/iobroker                                                                                                                                                                                                                                                             
                  sudo: Hostname buanet-iobroker1 kann nicht aufgelöst werden                                                                                                                                                                                                                                
                  sudo: Hostname buanet-iobroker1 kann nicht aufgelöst werden                                                                                                                                                                                                                                
                  Fixing directory permissions...                                                                                                                                                                                                                                                             
                  This system does not support setting default permissions.                                                                                                                                                                                                                                   
                  Do not use npm to manually install adapters unless you know what you are doing!                                                                                                                                                                                                             
                                                                                                                                                                                                                                                                                                              
                  ==========================================================================                                                                                                                                                                                                                  
                      Checking autostart (3/3)                                                                                                                                                                                                                                                                
                  ==========================================================================                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                              
                  Unsupported init system, cannot enable autostart!                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                                              
                  ==========================================================================                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                              
                      Your installation was fixed successfully                                                                                                                                                                                                                                                
                      Run iobroker start to start ioBroker again!                                                                                                                                                                                                                                             
                                                                                                                                                                                                                                                                                                              
                  ========================================================================== 
                  

                  Was mir schon komisch vorkommt sind die Versionen der Library ..

                  Mein Adapter Update Thema hat sich damit leider nicht behoben und auch bei der Installation neuer Adapter, bekomme ich die Permission Error Meldung.

                  Kann mir hierzu jemand helfen?

                  Danke euch!

                  foxriver76 1 Reply Last reply Reply Quote 0
                  • foxriver76
                    foxriver76 Developer @Cynric10 last edited by

                    @Cynric10

                    ERROR: No matching distribution found for xbox-smartglass-core>=1.1.2
                    Python Version zu niedrig, in diesem Fall wird mindestens 3.6 benötigt.

                    Cynric10 1 Reply Last reply Reply Quote 1
                    • Cynric10
                      Cynric10 @foxriver76 last edited by

                      @foxriver76

                      Danke dir für die Antwort!

                      Kannst du mir sagen wie ich python unter meinen Bedingungen, bestmöglich update?
                      Danke sehr

                      foxriver76 1 Reply Last reply Reply Quote 0
                      • foxriver76
                        foxriver76 Developer @Cynric10 last edited by

                        @Cynric10 Ich schreibe später mal was, ist auf Linux Systemen nicht ganz trivial, da die Version nur zusätzlich installiert werden darf. Python wird intern sehr intensiv genutzt, weshalb man sich da sein System leicht 'zerschießen' kann.

                        Cynric10 1 Reply Last reply Reply Quote 1
                        • Cynric10
                          Cynric10 @foxriver76 last edited by Cynric10

                          @foxriver76

                          Wollte jetzt vorab ein Backup machen, bevor ich mir dann das Python Update ansehe, leider hab ich hier schon Probleme, wie auch zuvor mit der Adapter installation:

                          backitup.0	2020-04-01 20:39:53.963	error	Unable to apply new capability set.
                          backitup.0	2020-04-01 20:39:53.963	error	sudo: Hostname buanet-iobroker1 kann nicht aufgelöst werden
                          backitup.0	2020-04-01 20:39:53.963	error	(3044) Error: Command failed: sudo mount -t cifs -o username=backup,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.178.29:5000/Backup/Docker/IOBroker /opt/iobroker/backups
                          

                          Nehme ich den Punkt "Mount as Root" raus, möchte er den Root haben weil er sonst die --option nicht machen kann.

                          Denke mal das es hierfür der falsche Thread ist, aber spielt das bei meiner vorigen Problem eine Rolle?

                          Danke dir!

                          simatec 1 Reply Last reply Reply Quote 0
                          • wendy2702
                            wendy2702 last edited by

                            Was passiert denn wenn du das BAckup manuell über Konsole machst ?

                            1 Reply Last reply Reply Quote 0
                            • simatec
                              simatec Developer Most Active @Cynric10 last edited by

                              @Cynric10 sagte in Diskussion zum neuen Installation-Fixer:

                              192.168.178.29:5000

                              Warum gibst du beim Host einen Port an?

                              1 Reply Last reply Reply Quote 0
                              • P
                                passuff last edited by

                                Re: Diskussion zum neuen Installation-Fixer

                                Ist es normal, dass ich den Befehl lediglich bei laufendem iobroker ausführen kann? Wenn ich zuvor iobroker stoppe, bekomme ich die folgende Fehlermeldung:

                                -bash: bash-: Kommando nicht gefunden.
                                
                                apollon77 Thomas Braun 2 Replies Last reply Reply Quote 0
                                • apollon77
                                  apollon77 @passuff last edited by

                                  @passuff An sich darf der Befehl nur bei gestopptem ioBroker auseführt werden und prüft das an sich auch ... Bitte ggf GitHub issue anlegen mit Details zum System und sp

                                  P 1 Reply Last reply Reply Quote 0
                                  • P
                                    passuff @apollon77 last edited by

                                    @apollon77 So hätte ich es auch erwartet. Funzt bei mir leider nicht . Ich mache ein issue auf.

                                    P 1 Reply Last reply Reply Quote 0
                                    • P
                                      passuff @passuff last edited by

                                      gibt es einen Unterschied zwischen "curl -sL https://iobroker.net/fix.sh | bash-" und "iob fix"?

                                      arteck 1 Reply Last reply Reply Quote 0
                                      • arteck
                                        arteck Developer Most Active @passuff last edited by

                                        @passuff das eine hast du auf der platte (iob fix) liegen das andere wird immer frisch gezogen ..

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

                                          @passuff sagte in Diskussion zum neuen Installation-Fixer:

                                          bash: bash-: Kommando nicht gefunden.

                                          Da fehlt ein Leerzeichen.

                                          bash - 
                                          

                                          muss das lauten.

                                          apollon77 1 Reply Last reply Reply Quote 0
                                          • apollon77
                                            apollon77 @arteck last edited by

                                            @arteck Sorry da muss ich dich korrigieren ... "iob fix" führt exakt das gleiche kommando aus

                                            arteck 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

                                            906
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            fixer installation linux
                                            51
                                            296
                                            47705
                                            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