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.
    • Stabilostick
      Stabilostick @P-A-L-A-D-I-N last edited by

      @P-A-L-A-D-I-N

      Hi, ich habe den Windows Installer geschrieben. Es interessiert mich, was da im Hintergrund passiert. All Deine Vermutungen sind richtig.

      Eigentlich sollte der ioBroker-Service der Instanz die notwendigen Rechte auf diese Ordner haben. Hast Du die Version 1.5.14.b des Installers für die Instanz genutzt?

      Wenn Du magst, kannst Du mich gerne per Chat anschreiben. Ich würde mir dann das mal per Teamviewer ansehen.

      1 Reply Last reply Reply Quote 1
      • P
        P-A-L-A-D-I-N last edited by

        Ich habe den Installer für Windows benutzt. Wenn ich mich nicht irre, müßte es die ("damals" aktuellste) Version 1.5.11b gewesen sein.

        Da ja Einiges nicht so ganz rund läuft, wäre ein Chat oder Zugriff per TV vielleicht wirklich nicht schlecht, Stabilostick! Ich schicke Dir gleich mal noch eine PN. Danke!

        1 Reply Last reply Reply Quote 0
        • S
          spaceduck last edited by spaceduck

          kann man an den Installations fixer eigentlich einen Verzeichnisnamen übergeben wenn iobroker nicht im default /opt/iobroker liegt?

          By the way, ich war lange nicht mehr in diesem Forum aktiv, aber die neue Forensoftware ist ja echt ein Krampf! 😬 😬 😬

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

            @spaceduck sagte in Diskussion zum neuen Installation-Fixer:

            kann man an den Installations fixer eigentlich einen Verzeichnisnamen übergeben wenn iobroker nicht im default /opt/iobroker liegt?

            Nein. Könnte man sich aber zumindest für den Fixer überlegen. Beim Installer hatten wir es diskutiert und uns bewusst dagegen entschieden.

            1 Reply Last reply Reply Quote 0
            • S
              spaceduck last edited by

              Ich habe mir jetzt mit einem Link von /opt/iobroker auf mein Zielverzeichnis beholfen, das hat funktioniert.

              1 Reply Last reply Reply Quote 0
              • M
                MagicSven last edited by Negalein

                root@rock64:/# curl -sL http://iobroker.net/fix.sh | bash -
                bash: line 1: syntax error near unexpected token `newline'
                bash: line 1: `<!DOCTYPE html>'
                

                What is going wrong?

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

                  @MagicSven sagte in Diskussion zum neuen Installation-Fixer:

                  curl -sL

                  Looks like the fix.sh is currently not available on iobroker.net. You can also use temporary the version from Github:

                  curl -sL https://raw.githubusercontent.com/ioBroker/ioBroker/master/fix_installation.sh | bash -
                  
                  apollon77 1 Reply Last reply Reply Quote 0
                  • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            896
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

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