Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Fehlermeldung beim Versuch ioBroker zu stoppen

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.8k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.2k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.3k

Fehlermeldung beim Versuch ioBroker zu stoppen

Scheduled Pinned Locked Moved ioBroker Allgemein
28 Posts 3 Posters 2.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • hg6806H hg6806

    @thomas-braun

    Wie und was denn ändern?
    Und wieso habe ich jetzt hier überhaupt ein Problem?
    Das hat doch sonst immer geklappt?

    Thomas BraunT Online
    Thomas BraunT Online
    Thomas Braun
    Most Active
    wrote on last edited by
    #9

    @hg6806 sagte in Fehlermeldung beim Versuch ioBroker zu stoppen:

    Wie und was denn ändern?

    Steht doch da. Im Grunde aus der 1000 ein $(id -u) machen.
    Heute ist neuer Code für iob diag, iob nodejs-update und den Installer hochgeladen worden. Die Passage, die da jetzt bei dir Probleme bereitet sollte eigentlich auch anders aussehen.

    Linux-Werkzeugkasten:
    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
    NodeJS Fixer Skript:
    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

    hg6806H 1 Reply Last reply
    0
    • Thomas BraunT Thomas Braun

      @hg6806 sagte in Fehlermeldung beim Versuch ioBroker zu stoppen:

      Wie und was denn ändern?

      Steht doch da. Im Grunde aus der 1000 ein $(id -u) machen.
      Heute ist neuer Code für iob diag, iob nodejs-update und den Installer hochgeladen worden. Die Passage, die da jetzt bei dir Probleme bereitet sollte eigentlich auch anders aussehen.

      hg6806H Offline
      hg6806H Offline
      hg6806
      Most Active
      wrote on last edited by
      #10

      @thomas-braun

      Sorry, bin kein Linuxer. Nochmal die Frage wie ich was ändern soll. Welche Datei und wie?

      Thomas BraunT 1 Reply Last reply
      0
      • hg6806H hg6806

        @thomas-braun

        Wie und was denn ändern?
        Und wieso habe ich jetzt hier überhaupt ein Problem?
        Das hat doch sonst immer geklappt?

        Thomas BraunT Online
        Thomas BraunT Online
        Thomas Braun
        Most Active
        wrote on last edited by
        #11

        @hg6806

        Alternativ kannst du auch die Zeilen 3-6 komplett löschen.

        Linux-Werkzeugkasten:
        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
        NodeJS Fixer Skript:
        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

        hg6806H 1 Reply Last reply
        0
        • Thomas BraunT Thomas Braun

          @hg6806

          Alternativ kannst du auch die Zeilen 3-6 komplett löschen.

          hg6806H Offline
          hg6806H Offline
          hg6806
          Most Active
          wrote on last edited by
          #12

          @thomas-braun

          Aus der Datei /usr/bin/bash oder wie?

          1 Reply Last reply
          0
          • hg6806H hg6806

            @thomas-braun

            Sorry, bin kein Linuxer. Nochmal die Frage wie ich was ändern soll. Welche Datei und wie?

            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            wrote on last edited by Thomas Braun
            #13

            @hg6806

            Die Datei /usr/bin/iobroker bzw. deren Linktarget /opt/iobroker/iobroker mit dem Editor deiner Wahl bearbeiten.

            sudo -H -u iobrokoer nano  /usr/bin/iobroker
            

            wäre eine Möglichkeit.

            Linux-Werkzeugkasten:
            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
            NodeJS Fixer Skript:
            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

            hg6806H 1 Reply Last reply
            0
            • Thomas BraunT Thomas Braun

              @hg6806

              Die Datei /usr/bin/iobroker bzw. deren Linktarget /opt/iobroker/iobroker mit dem Editor deiner Wahl bearbeiten.

              sudo -H -u iobrokoer nano  /usr/bin/iobroker
              

              wäre eine Möglichkeit.

              hg6806H Offline
              hg6806H Offline
              hg6806
              Most Active
              wrote on last edited by
              #14

              @thomas-braun

              Noch immer Fehler.

              pi@RasPi4-VNC:~ $ iob stop
              /usr/bin/iob: line 2: conditional binary operator expected
              /usr/bin/iob: line 2: syntax error near `*--allow-root*'
              /usr/bin/iob: line 2: `if [ "$(id -u)" = 0 ] && [[  != *--allow-root* ]]; then'
              
              
              Thomas BraunT 1 Reply Last reply
              0
              • hg6806H hg6806

                @thomas-braun

                Noch immer Fehler.

                pi@RasPi4-VNC:~ $ iob stop
                /usr/bin/iob: line 2: conditional binary operator expected
                /usr/bin/iob: line 2: syntax error near `*--allow-root*'
                /usr/bin/iob: line 2: `if [ "$(id -u)" = 0 ] && [[  != *--allow-root* ]]; then'
                
                
                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                wrote on last edited by
                #15

                @hg6806 sagte in Fehlermeldung beim Versuch ioBroker zu stoppen:

                Noch immer Fehler.

                Ja, da fehlt noch ein $* vor dem !=
                Die korrekte Zeile muss lauten:

                if [ "$(id -u)" = 0 ] && [[ $* != *--allow-root* ]]; then 
                

                Linux-Werkzeugkasten:
                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                NodeJS Fixer Skript:
                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                hg6806H 1 Reply Last reply
                0
                • Thomas BraunT Thomas Braun

                  @hg6806 sagte in Fehlermeldung beim Versuch ioBroker zu stoppen:

                  Noch immer Fehler.

                  Ja, da fehlt noch ein $* vor dem !=
                  Die korrekte Zeile muss lauten:

                  if [ "$(id -u)" = 0 ] && [[ $* != *--allow-root* ]]; then 
                  
                  hg6806H Offline
                  hg6806H Offline
                  hg6806
                  Most Active
                  wrote on last edited by
                  #16

                  @thomas-braun

                  Hat endlich geklappt, allerdings kann ich kein Restore ausführen zumindest passiert nichts:

                  pi@RasPi4-VNC:~ $ cd /opt/iobroker
                  pi@RasPi4-VNC:/opt/iobroker $ iob restore 0
                  pi@RasPi4-VNC:/opt/iobroker $ iob restore 0
                  pi@RasPi4-VNC:/opt/iobroker $
                  
                  
                  Thomas BraunT 1 Reply Last reply
                  0
                  • hg6806H hg6806

                    @thomas-braun

                    Hat endlich geklappt, allerdings kann ich kein Restore ausführen zumindest passiert nichts:

                    pi@RasPi4-VNC:~ $ cd /opt/iobroker
                    pi@RasPi4-VNC:/opt/iobroker $ iob restore 0
                    pi@RasPi4-VNC:/opt/iobroker $ iob restore 0
                    pi@RasPi4-VNC:/opt/iobroker $
                    
                    
                    Thomas BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    wrote on last edited by
                    #17

                    @hg6806

                    Den user 'pi' hast du aus- und wieder eingeloggt?

                    Linux-Werkzeugkasten:
                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                    NodeJS Fixer Skript:
                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                    hg6806H 1 Reply Last reply
                    0
                    • Thomas BraunT Thomas Braun

                      @hg6806

                      Den user 'pi' hast du aus- und wieder eingeloggt?

                      hg6806H Offline
                      hg6806H Offline
                      hg6806
                      Most Active
                      wrote on last edited by
                      #18

                      @thomas-braun

                      Neu gebootet, das Gleiche

                      pi@RasPi4-VNC:~ $ cd /opt/iobroker
                      pi@RasPi4-VNC:/opt/iobroker $ iob stop
                      pi@RasPi4-VNC:/opt/iobroker $ iob restore 0
                      pi@RasPi4-VNC:/opt/iobroker $
                      
                      
                      Thomas BraunT 1 Reply Last reply
                      0
                      • hg6806H hg6806

                        @thomas-braun

                        Neu gebootet, das Gleiche

                        pi@RasPi4-VNC:~ $ cd /opt/iobroker
                        pi@RasPi4-VNC:/opt/iobroker $ iob stop
                        pi@RasPi4-VNC:/opt/iobroker $ iob restore 0
                        pi@RasPi4-VNC:/opt/iobroker $
                        
                        
                        Thomas BraunT Online
                        Thomas BraunT Online
                        Thomas Braun
                        Most Active
                        wrote on last edited by
                        #19

                        @hg6806 Liegt denn überhaupt ein backup in /opt/iobroker/backups?

                        Linux-Werkzeugkasten:
                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                        NodeJS Fixer Skript:
                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                        hg6806H 1 Reply Last reply
                        0
                        • Thomas BraunT Thomas Braun

                          @hg6806 Liegt denn überhaupt ein backup in /opt/iobroker/backups?

                          hg6806H Offline
                          hg6806H Offline
                          hg6806
                          Most Active
                          wrote on last edited by
                          #20

                          @thomas-braun

                          pi@RasPi4-VNC:/opt/iobroker/backups $ dir
                          2024_09_08-16_33_32_backupiobroker.tar.gz
                          
                          
                          Thomas BraunT 1 Reply Last reply
                          0
                          • hg6806H hg6806

                            @thomas-braun

                            pi@RasPi4-VNC:/opt/iobroker/backups $ dir
                            2024_09_08-16_33_32_backupiobroker.tar.gz
                            
                            
                            Thomas BraunT Online
                            Thomas BraunT Online
                            Thomas Braun
                            Most Active
                            wrote on last edited by
                            #21

                            @hg6806

                            ls -la /opt/iobroker/backups
                            

                            damit man die Rechte sieht.

                            Linux-Werkzeugkasten:
                            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                            NodeJS Fixer Skript:
                            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                            hg6806H 1 Reply Last reply
                            0
                            • Thomas BraunT Thomas Braun

                              @hg6806

                              ls -la /opt/iobroker/backups
                              

                              damit man die Rechte sieht.

                              hg6806H Offline
                              hg6806H Offline
                              hg6806
                              Most Active
                              wrote on last edited by
                              #22

                              @thomas-braun

                              pi@RasPi4-VNC:/opt/iobroker/backups $ ls -la /opt/iobroker/backups
                              total 31312
                              drwxrwxr-x+ 2 iobroker iobroker     4096 Sep 27 21:10 .
                              drwxrwsrwx+ 6 iobroker iobroker     4096 Sep 27 20:42 ..
                              -rw-rw-r--+ 1 pi       pi       32054686 Sep 27 21:10 2024_09_08-16_33_32_backupiobroker.tar.gz
                              pi@RasPi4-VNC:/opt/iobroker/backups $
                              
                              
                              Thomas BraunT 1 Reply Last reply
                              0
                              • hg6806H hg6806

                                @thomas-braun

                                pi@RasPi4-VNC:/opt/iobroker/backups $ ls -la /opt/iobroker/backups
                                total 31312
                                drwxrwxr-x+ 2 iobroker iobroker     4096 Sep 27 21:10 .
                                drwxrwsrwx+ 6 iobroker iobroker     4096 Sep 27 20:42 ..
                                -rw-rw-r--+ 1 pi       pi       32054686 Sep 27 21:10 2024_09_08-16_33_32_backupiobroker.tar.gz
                                pi@RasPi4-VNC:/opt/iobroker/backups $
                                
                                
                                Thomas BraunT Online
                                Thomas BraunT Online
                                Thomas Braun
                                Most Active
                                wrote on last edited by
                                #23

                                @hg6806

                                Der iobroker darf mit Dateien, die dem pi gehören nix anfangen.

                                chown iobroker:iobroker /opt/iobroker/backups/2024_09_08-16_33_32_backupiobroker.tar.gz
                                

                                Linux-Werkzeugkasten:
                                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                NodeJS Fixer Skript:
                                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                hg6806H 1 Reply Last reply
                                0
                                • Thomas BraunT Thomas Braun

                                  @hg6806

                                  Der iobroker darf mit Dateien, die dem pi gehören nix anfangen.

                                  chown iobroker:iobroker /opt/iobroker/backups/2024_09_08-16_33_32_backupiobroker.tar.gz
                                  
                                  hg6806H Offline
                                  hg6806H Offline
                                  hg6806
                                  Most Active
                                  wrote on last edited by
                                  #24

                                  @thomas-braun

                                  Verstehe ich leider alles nicht

                                  pi@RasPi4-VNC:/opt/iobroker/backups $ chown iobroker:iobroker /opt/iobroker/backups/2024_09_08-16_33_32_backupiobroker.tar.gz
                                  chown: changing ownership of '/opt/iobroker/backups/2024_09_08-16_33_32_backupiobroker.tar.gz': Operation not permitted
                                  
                                  
                                  
                                  Thomas BraunT 1 Reply Last reply
                                  0
                                  • hg6806H hg6806

                                    @thomas-braun

                                    Verstehe ich leider alles nicht

                                    pi@RasPi4-VNC:/opt/iobroker/backups $ chown iobroker:iobroker /opt/iobroker/backups/2024_09_08-16_33_32_backupiobroker.tar.gz
                                    chown: changing ownership of '/opt/iobroker/backups/2024_09_08-16_33_32_backupiobroker.tar.gz': Operation not permitted
                                    
                                    
                                    
                                    Thomas BraunT Online
                                    Thomas BraunT Online
                                    Thomas Braun
                                    Most Active
                                    wrote on last edited by
                                    #25

                                    @hg6806 sagte in Fehlermeldung beim Versuch ioBroker zu stoppen:

                                    Operation not permitted

                                    Dann per root command:

                                    sudo chown iobroker:iobroker /opt/iobroker/backups/2024_09_08-16_33_32_backupiobroker.tar.gz
                                    

                                    Linux-Werkzeugkasten:
                                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                    NodeJS Fixer Skript:
                                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                    hg6806H 1 Reply Last reply
                                    0
                                    • Thomas BraunT Thomas Braun

                                      @hg6806 sagte in Fehlermeldung beim Versuch ioBroker zu stoppen:

                                      Operation not permitted

                                      Dann per root command:

                                      sudo chown iobroker:iobroker /opt/iobroker/backups/2024_09_08-16_33_32_backupiobroker.tar.gz
                                      
                                      hg6806H Offline
                                      hg6806H Offline
                                      hg6806
                                      Most Active
                                      wrote on last edited by
                                      #26

                                      @thomas-braun

                                      Irgendwie klappt das alles nicht.
                                      Hatte noch ein anderes Backup ausprobiert, gleiches Verhalten.
                                      Ich breche hier ab und mache morgen noch einmal eine Neuinstallation nach eurer Anleitung.
                                      Hoffe dass es dann funktioniert.

                                      pi@RasPi4-VNC:/opt/iobroker/backups $ sudo chown iobroker:iobroker /opt/iobroker/backups/iobroker_2024_09_26-02_00_10_backupiobroker.tar.gz
                                      pi@RasPi4-VNC:/opt/iobroker/backups $ cd..
                                      bash: cd..: command not found
                                      pi@RasPi4-VNC:/opt/iobroker/backups $ cd
                                      pi@RasPi4-VNC:~ $ cd /opt/iobroker
                                      pi@RasPi4-VNC:/opt/iobroker $ iob restore 0
                                      pi@RasPi4-VNC:/opt/iobroker $ dir
                                      backups  INSTALLER_INFO.txt  iob  iobroker  iobroker-data  log  node_modules  package.json  package-lock.json
                                      pi@RasPi4-VNC:/opt/iobroker $
                                      
                                      
                                      Thomas BraunT 1 Reply Last reply
                                      0
                                      • hg6806H hg6806

                                        @thomas-braun

                                        Irgendwie klappt das alles nicht.
                                        Hatte noch ein anderes Backup ausprobiert, gleiches Verhalten.
                                        Ich breche hier ab und mache morgen noch einmal eine Neuinstallation nach eurer Anleitung.
                                        Hoffe dass es dann funktioniert.

                                        pi@RasPi4-VNC:/opt/iobroker/backups $ sudo chown iobroker:iobroker /opt/iobroker/backups/iobroker_2024_09_26-02_00_10_backupiobroker.tar.gz
                                        pi@RasPi4-VNC:/opt/iobroker/backups $ cd..
                                        bash: cd..: command not found
                                        pi@RasPi4-VNC:/opt/iobroker/backups $ cd
                                        pi@RasPi4-VNC:~ $ cd /opt/iobroker
                                        pi@RasPi4-VNC:/opt/iobroker $ iob restore 0
                                        pi@RasPi4-VNC:/opt/iobroker $ dir
                                        backups  INSTALLER_INFO.txt  iob  iobroker  iobroker-data  log  node_modules  package.json  package-lock.json
                                        pi@RasPi4-VNC:/opt/iobroker $
                                        
                                        
                                        Thomas BraunT Online
                                        Thomas BraunT Online
                                        Thomas Braun
                                        Most Active
                                        wrote on last edited by
                                        #27

                                        @hg6806 sagte in Fehlermeldung beim Versuch ioBroker zu stoppen:

                                        Hoffe dass es dann funktioniert.

                                        Der Installer sollte jetzt wieder funktionieren. Die fehlerhafte Codepassage ist raus.

                                        Linux-Werkzeugkasten:
                                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                        NodeJS Fixer Skript:
                                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                        hg6806H 1 Reply Last reply
                                        0
                                        • Thomas BraunT Thomas Braun

                                          @hg6806 sagte in Fehlermeldung beim Versuch ioBroker zu stoppen:

                                          Hoffe dass es dann funktioniert.

                                          Der Installer sollte jetzt wieder funktionieren. Die fehlerhafte Codepassage ist raus.

                                          hg6806H Offline
                                          hg6806H Offline
                                          hg6806
                                          Most Active
                                          wrote on last edited by
                                          #28

                                          @thomas-braun

                                          Moin!

                                          Nach Neuinstallation läuft wieder alles. Auch der Restore.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

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

                                          844

                                          Online

                                          32.4k

                                          Users

                                          81.5k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe