Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Freier Arbeitsspeicher nimmt schnell ab ...

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    819

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    18
    1
    6.3k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.6k

Freier Arbeitsspeicher nimmt schnell ab ...

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
88 Beiträge 7 Kommentatoren 8.8k Aufrufe 5 Beobachtet
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • SMSS Offline
    SMSS Offline
    SMS
    schrieb am zuletzt editiert von
    #36

    Hier das nächste Problem:

    pi@MotionEye:~ $ iobroker update
    sudo: node: command not found
    

    Ist ein Slave

    HomoranH 1 Antwort Letzte Antwort
    0
    • Thomas BraunT Thomas Braun

      @sms

      iob stop
      iob fix
      iob start
      iob diag
      
      SMSS Offline
      SMSS Offline
      SMS
      schrieb am zuletzt editiert von
      #37

      @thomas-braun Sieht es jetzt besser aus?

      ======================= SUMMARY =======================
                           v.2023-01-02
      
      
      Operatingsystem:        Raspbian GNU/Linux 11 (bullseye)
      Installation:           Native
      Timezone:               Europe/Berlin
      User-ID:                1000
      X-Server:               false
      Boot Target:            multi-user.target
      
      Pending OS-Updates:     0
      
      Nodejs-Installation:    /usr/bin/nodejs         v16.19.0
                              /usr/bin/node           v16.19.0
                              /usr/bin/npm            8.19.3
                              /usr/bin/npx            8.19.3
      
      ioBroker Core:          js-controller           4.0.24
                              admin                   6.3.5
      
      ioBroker Status:        iobroker is running on this host.
      
      
      Objects type: jsonl
      States  type: jsonl
      
      Status admin:
      + system.adapter.admin.0                  : admin                 : Homee                                                                                                                                                                                                 -  enabled, port: 7770, bind: 0.0.0.0, run as: admi                                                                                                                                                             n
        system.adapter.admin.1                  : admin                 : Homee                                                                                                                                                                                                 - disabled, port: 7777, bind: 0.0.0.0, run as: admi                                                                                                                                                             n
      
      Pending iob updates:    1
      
      Active repo(s): Stable (default)
      
      Objects:                11514
      States:                 12551
      
      Size of iob-Database:
      
      15M     /opt/iobroker/iobroker-data/objects.jsonl
      11M     /opt/iobroker/iobroker-data/states.jsonl
      
      
      =================== END OF SUMMARY ====================
      
      
      1 Antwort Letzte Antwort
      0
      • SMSS SMS

        Hier das nächste Problem:

        pi@MotionEye:~ $ iobroker update
        sudo: node: command not found
        

        Ist ein Slave

        HomoranH Nicht stören
        HomoranH Nicht stören
        Homoran
        Global Moderator Administrators
        schrieb am zuletzt editiert von Homoran
        #38

        @sms sagte in Freier Arbeitsspeicher nimmt schnell ab ...:

        Hier das nächste Problem:

        pi@MotionEye:~ $ iobroker update
        sudo: node: command not found
        

        Ist ein Slave

        was hat die Meldung zu sudo und node mit dem Befehl darüber zu tun?
        bitte alles vollständig posten

        kein Support per PN! - Fragen im Forum stellen -
        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
        Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

        SMSS 1 Antwort Letzte Antwort
        0
        • HomoranH Homoran

          @sms sagte in Freier Arbeitsspeicher nimmt schnell ab ...:

          Hier das nächste Problem:

          pi@MotionEye:~ $ iobroker update
          sudo: node: command not found
          

          Ist ein Slave

          was hat die Meldung zu sudo und node mit dem Befehl darüber zu tun?
          bitte alles vollständig posten

          SMSS Offline
          SMSS Offline
          SMS
          schrieb am zuletzt editiert von
          #39

          @homoran das ist vollständig

          HomoranH 1 Antwort Letzte Antwort
          0
          • Thomas BraunT Thomas Braun

            @sms

            iobroker update 
            iobroker upgrade all
            iobroker stop
            iobroker upgrade self
            iobroker start
            

            Vorher würde ich aber nodeJS auf die empfohlene Version 16 bringen.

            SMSS Offline
            SMSS Offline
            SMS
            schrieb am zuletzt editiert von
            #40

            @Homoran Das hier möchte ich machen:

            iobroker update 
            iobroker upgrade all
            iobroker stop
            iobroker upgrade self
            iobroker start
            

            Ergebnis:

            pi@MotionEye:~ $ iobroker update
            sudo: node: command not found
            pi@MotionEye:~ $
            
            
            Thomas BraunT 1 Antwort Letzte Antwort
            0
            • SMSS SMS

              @homoran das ist vollständig

              HomoranH Nicht stören
              HomoranH Nicht stören
              Homoran
              Global Moderator Administrators
              schrieb am zuletzt editiert von
              #41

              @sms sagte in Freier Arbeitsspeicher nimmt schnell ab ...:

              @homoran das ist vollständig

              wenn du keinen Befehl mit sudo node.... absetzst, gibt es für das Betriebssystem keinen Grund diese Meldung zu liefern.
              Ergo musst du so etwas angefordert haben.

              kein Support per PN! - Fragen im Forum stellen -
              Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
              Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
              der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

              SMSS 1 Antwort Letzte Antwort
              0
              • HomoranH Homoran

                @sms sagte in Freier Arbeitsspeicher nimmt schnell ab ...:

                @homoran das ist vollständig

                wenn du keinen Befehl mit sudo node.... absetzst, gibt es für das Betriebssystem keinen Grund diese Meldung zu liefern.
                Ergo musst du so etwas angefordert haben.

                SMSS Offline
                SMSS Offline
                SMS
                schrieb am zuletzt editiert von SMS
                #42

                @homoran eigentlich nicht, da ich den Pi gerade neu gestartet habe

                Last login: Sat Jan 14 17:54:24 2023
                pi@MotionEye:~ $ iobroker update
                sudo: node: command not found
                pi@MotionEye:~ $
                
                Thomas BraunT 1 Antwort Letzte Antwort
                0
                • SMSS SMS

                  @Homoran Das hier möchte ich machen:

                  iobroker update 
                  iobroker upgrade all
                  iobroker stop
                  iobroker upgrade self
                  iobroker start
                  

                  Ergebnis:

                  pi@MotionEye:~ $ iobroker update
                  sudo: node: command not found
                  pi@MotionEye:~ $
                  
                  
                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  schrieb am zuletzt editiert von
                  #43

                  @sms sagte in Freier Arbeitsspeicher nimmt schnell ab ...:

                  iobroker update

                  ruft im Hintergrund natürlich node ... mit sudo-Recht auf. Warum das bei dir verbogen ist? Keine Ahnung.
                  Müsste ich später Mal am Rechner schauen was da genau abläuft.

                  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

                  1 Antwort Letzte Antwort
                  1
                  • SMSS Offline
                    SMSS Offline
                    SMS
                    schrieb am zuletzt editiert von
                    #44

                    mqtt Adater bekommt keine Verbindung (rotes Kreuz bei Verbindung):

                    Log:

                    mqtt.0
                    2023-01-14 17:54:49.153	info	Starting MQTT-WebSocket authenticated server on 0.0.0.0:1887
                    
                    mqtt.0
                    2023-01-14 17:54:49.151	info	Starting MQTT authenticated server on 0.0.0.0:1886
                    
                    mqtt.0
                    2023-01-14 17:54:48.697	info	starting. Version 4.0.7 in /opt/iobroker/node_modules/iobroker.mqtt, node: v16.19.0, js-controller: 4.0.24
                    
                    mqtt.0
                    2023-01-14 17:54:43.726	info	Terminated (NO_ERROR): Without reason
                    
                    mqtt.0
                    2023-01-14 17:54:43.725	info	terminating
                    
                    mqtt.0
                    2023-01-14 17:54:43.199	info	Got terminate signal TERMINATE_YOURSELF
                    
                    mqtt.0
                    2023-01-14 17:54:43.180	info	Adapter is disabled => stop
                    
                    mqtt.0
                    2023-01-14 17:51:49.649	info	Starting MQTT-WebSocket authenticated server on 0.0.0.0:1887
                    
                    mqtt.0
                    2023-01-14 17:51:49.647	info	Starting MQTT authenticated server on 0.0.0.0:1886
                    
                    mqtt.0
                    2023-01-14 17:51:49.193	info	starting. Version 4.0.7 in /opt/iobroker/node_modules/iobroker.mqtt, node: v16.19.0, js-controller: 4.0.24
                    
                    mqtt.0
                    2023-01-14 17:51:44.747	info	Terminated (NO_ERROR): Without reason
                    
                    mqtt.0
                    2023-01-14 17:51:44.746	info	terminating
                    
                    mqtt.0
                    2023-01-14 17:51:44.292	info	Got terminate signal TERMINATE_YOURSELF
                    
                    mqtt.0
                    2023-01-14 17:51:44.232	info	Adapter is disabled => stop
                    
                    mqtt.0
                    2023-01-14 17:35:53.342	info	Starting MQTT-WebSocket authenticated server on 0.0.0.0:1887
                    
                    mqtt.0
                    2023-01-14 17:35:53.340	info	Starting MQTT authenticated server on 0.0.0.0:1886
                    
                    mqtt.0
                    2023-01-14 17:35:52.918	info	starting. Version 4.0.7 in /opt/iobroker/node_modules/iobroker.mqtt, node: v16.19.0, js-controller: 4.0.24
                    
                    mqtt.0
                    2023-01-14 17:35:47.881	info	Terminated (NO_ERROR): Without reason
                    
                    mqtt.0
                    2023-01-14 17:35:47.879	info	terminating
                    
                    mqtt.0
                    2023-01-14 17:35:47.401	info	Got terminate signal TERMINATE_YOURSELF
                    
                    mqtt.0
                    2023-01-14 17:35:47.364	info	Adapter is disabled => stop
                    
                    1 Antwort Letzte Antwort
                    0
                    • SMSS SMS

                      @homoran eigentlich nicht, da ich den Pi gerade neu gestartet habe

                      Last login: Sat Jan 14 17:54:24 2023
                      pi@MotionEye:~ $ iobroker update
                      sudo: node: command not found
                      pi@MotionEye:~ $
                      
                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      schrieb am zuletzt editiert von Thomas Braun
                      #45

                      @sms

                      Was steht in der Datei /opt/iobroker/iobroker drin?

                      less /opt/iobroker/iobroker
                      

                      Sollte dann so aussehen:

                      #!/usr/bin/bash
                      if (( $# == 1 )) && ([ "$1" = "start" ] || [ "$1" = "stop" ] || [ "$1" = "restart" ]); then
                      sudo systemctl $1 iobroker
                      elif [ "$1" = "fix" ]; then
                      curl -sL https://iobroker.net/fix.sh | bash -
                      elif [ "$1" = "diag" ]; then
                        sudo -u iobroker curl -sLf https://iobroker.net/diag.sh --output /home/iobroker/.diag.sh && bash /home/iobroker/.diag.sh | sudo -u iobroker tee /home/iobroker/iob_diag.log
                      else
                      sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@"
                      fi
                      
                      

                      Alternativ den

                      iobroker stop
                      iobroker fix
                      

                      ausführen.

                      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

                      SMSS 1 Antwort Letzte Antwort
                      0
                      • Thomas BraunT Thomas Braun

                        @sms

                        Was steht in der Datei /opt/iobroker/iobroker drin?

                        less /opt/iobroker/iobroker
                        

                        Sollte dann so aussehen:

                        #!/usr/bin/bash
                        if (( $# == 1 )) && ([ "$1" = "start" ] || [ "$1" = "stop" ] || [ "$1" = "restart" ]); then
                        sudo systemctl $1 iobroker
                        elif [ "$1" = "fix" ]; then
                        curl -sL https://iobroker.net/fix.sh | bash -
                        elif [ "$1" = "diag" ]; then
                          sudo -u iobroker curl -sLf https://iobroker.net/diag.sh --output /home/iobroker/.diag.sh && bash /home/iobroker/.diag.sh | sudo -u iobroker tee /home/iobroker/iob_diag.log
                        else
                        sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@"
                        fi
                        
                        

                        Alternativ den

                        iobroker stop
                        iobroker fix
                        

                        ausführen.

                        SMSS Offline
                        SMSS Offline
                        SMS
                        schrieb am zuletzt editiert von SMS
                        #46

                        @thomas-braun Auf dem Slave der nicht mehr läuft:

                        #!/usr/bin/bash
                        if (( $# == 1 )) && ([ "$1" = "start" ] || [ "$1" = "stop" ] || [ "$1" = "restart" ]); then
                        sudo systemctl $1 iobroker
                        elif [ "$1" = "fix" ]; then
                        curl -sL https://iobroker.net/fix.sh | bash -
                        elif [ "$1" = "diag" ]; then
                          sudo -u iobroker curl -sLf https://iobroker.net/diag.sh --output /home/iobroker/.diag.sh && bash /home/iobroker/.diag.sh | sudo -u iobroker tee /home/iobroker/iob_diag.log
                        else
                        sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@"
                        fi
                        /opt/iobroker/iobroker (END)
                        
                        
                        Thomas BraunT 1 Antwort Letzte Antwort
                        0
                        • SMSS SMS

                          @thomas-braun Auf dem Slave der nicht mehr läuft:

                          #!/usr/bin/bash
                          if (( $# == 1 )) && ([ "$1" = "start" ] || [ "$1" = "stop" ] || [ "$1" = "restart" ]); then
                          sudo systemctl $1 iobroker
                          elif [ "$1" = "fix" ]; then
                          curl -sL https://iobroker.net/fix.sh | bash -
                          elif [ "$1" = "diag" ]; then
                            sudo -u iobroker curl -sLf https://iobroker.net/diag.sh --output /home/iobroker/.diag.sh && bash /home/iobroker/.diag.sh | sudo -u iobroker tee /home/iobroker/iob_diag.log
                          else
                          sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@"
                          fi
                          /opt/iobroker/iobroker (END)
                          
                          
                          Thomas BraunT Online
                          Thomas BraunT Online
                          Thomas Braun
                          Most Active
                          schrieb am zuletzt editiert von
                          #47

                          @sms

                          Das passt. Keine Ahnung warum der Alias da bei dir nicht richtig aufgerufen wird.

                          iobroker status
                          

                          sagt?

                          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

                          SMSS 1 Antwort Letzte Antwort
                          0
                          • Thomas BraunT Thomas Braun

                            @sms

                            Das passt. Keine Ahnung warum der Alias da bei dir nicht richtig aufgerufen wird.

                            iobroker status
                            

                            sagt?

                            SMSS Offline
                            SMSS Offline
                            SMS
                            schrieb am zuletzt editiert von
                            #48

                            @thomas-braun sagte in Freier Arbeitsspeicher nimmt schnell ab ...:

                            iobroker status

                            pi@MotionEye:~ $ iobroker status
                            sudo: node: command not found
                            pi@MotionEye:~ $
                            

                            seltsam!

                            Thomas BraunT 1 Antwort Letzte Antwort
                            0
                            • SMSS SMS

                              @thomas-braun sagte in Freier Arbeitsspeicher nimmt schnell ab ...:

                              iobroker status

                              pi@MotionEye:~ $ iobroker status
                              sudo: node: command not found
                              pi@MotionEye:~ $
                              

                              seltsam!

                              Thomas BraunT Online
                              Thomas BraunT Online
                              Thomas Braun
                              Most Active
                              schrieb am zuletzt editiert von
                              #49

                              @sms

                              sudo whoami
                              

                              sagt z. B.

                              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

                              SMSS 1 Antwort Letzte Antwort
                              0
                              • Thomas BraunT Thomas Braun

                                @sms

                                sudo whoami
                                

                                sagt z. B.

                                SMSS Offline
                                SMSS Offline
                                SMS
                                schrieb am zuletzt editiert von
                                #50

                                @thomas-braun sagte in Freier Arbeitsspeicher nimmt schnell ab ...:

                                sudo whoami

                                pi@MotionEye:~ $ sudo whoami
                                root
                                pi@MotionEye:~ $
                                
                                Thomas BraunT 1 Antwort Letzte Antwort
                                0
                                • SMSS SMS

                                  @thomas-braun sagte in Freier Arbeitsspeicher nimmt schnell ab ...:

                                  sudo whoami

                                  pi@MotionEye:~ $ sudo whoami
                                  root
                                  pi@MotionEye:~ $
                                  
                                  Thomas BraunT Online
                                  Thomas BraunT Online
                                  Thomas Braun
                                  Most Active
                                  schrieb am zuletzt editiert von
                                  #51

                                  @sms

                                  Jag den fixer mal über das System.

                                  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

                                  SMSS 1 Antwort Letzte Antwort
                                  0
                                  • Thomas BraunT Thomas Braun

                                    @sms

                                    Jag den fixer mal über das System.

                                    SMSS Offline
                                    SMSS Offline
                                    SMS
                                    schrieb am zuletzt editiert von
                                    #52

                                    @thomas-braun schon mehrfach gemacht

                                    pi@MotionEye:~ $ iob fix
                                    library: loaded
                                    Library version=2022-12-09
                                    
                                    ==========================================================================
                                    
                                        Welcome to the ioBroker installation fixer!
                                        Script version: 2022-12-22
                                    
                                        You might need to enter your password a couple of times.
                                    
                                    ==========================================================================
                                    
                                    
                                    ==========================================================================
                                        Installing prerequisites (1/4)
                                    ==========================================================================
                                    
                                    Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
                                    Hit:2 http://deb.debian.org/debian bullseye InRelease
                                    Hit:3 http://archive.raspberrypi.org/debian bullseye InRelease
                                    Hit:4 http://deb.debian.org/debian bullseye-updates InRelease
                                    Hit:5 https://deb.nodesource.com/node_14.x bullseye InRelease
                                    Hit:6 https://deb.nodesource.com/node_16.x bullseye InRelease
                                    Reading package lists... Done
                                    Installed gcc-c++
                                    readlink: missing operand
                                    Try 'readlink --help' for more information.
                                    usage: setcap [-q] [-v] [-n <rootid>] (-r|-|<caps>) <filename> [ ... (-r|-|<capsN>) <filenameN> ]
                                    
                                     Note <filename> must be a regular (non-symlink) file.
                                    
                                    ==========================================================================
                                        Checking ioBroker user and directory permissions (2/4)
                                    ==========================================================================
                                    
                                    Created /etc/sudoers.d/iobroker
                                    Fixing directory permissions...
                                    
                                    ==========================================================================
                                        Database maintenance (3/4)
                                    ==========================================================================
                                    
                                    Checking for uncompressed JSONL databases... This might take a while!
                                    
                                    usage: sudo -h | -K | -k | -V
                                    usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
                                    usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user]
                                                [command]
                                    usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-D directory] [-g group]
                                                [-h host] [-p prompt] [-R directory] [-T timeout] [-u user]
                                                [VAR=value] [-i|-s] [<command>]
                                    usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-D directory] [-g group]
                                                [-h host] [-p prompt] [-R directory] [-T timeout] [-u user] file ...
                                    main: line 12: [: -lt: unary operator expected
                                    sudo: npm: command not found
                                    
                                    ==========================================================================
                                        Checking autostart (4/4)
                                    ==========================================================================
                                    
                                    Enabling autostart...
                                    Autostart enabled!
                                    
                                    ==========================================================================
                                    
                                        Your installation was fixed successfully
                                        Run iobroker start to start ioBroker again!
                                    
                                    ==========================================================================
                                    
                                    Thomas BraunT 2 Antworten Letzte Antwort
                                    0
                                    • SMSS SMS

                                      @thomas-braun schon mehrfach gemacht

                                      pi@MotionEye:~ $ iob fix
                                      library: loaded
                                      Library version=2022-12-09
                                      
                                      ==========================================================================
                                      
                                          Welcome to the ioBroker installation fixer!
                                          Script version: 2022-12-22
                                      
                                          You might need to enter your password a couple of times.
                                      
                                      ==========================================================================
                                      
                                      
                                      ==========================================================================
                                          Installing prerequisites (1/4)
                                      ==========================================================================
                                      
                                      Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
                                      Hit:2 http://deb.debian.org/debian bullseye InRelease
                                      Hit:3 http://archive.raspberrypi.org/debian bullseye InRelease
                                      Hit:4 http://deb.debian.org/debian bullseye-updates InRelease
                                      Hit:5 https://deb.nodesource.com/node_14.x bullseye InRelease
                                      Hit:6 https://deb.nodesource.com/node_16.x bullseye InRelease
                                      Reading package lists... Done
                                      Installed gcc-c++
                                      readlink: missing operand
                                      Try 'readlink --help' for more information.
                                      usage: setcap [-q] [-v] [-n <rootid>] (-r|-|<caps>) <filename> [ ... (-r|-|<capsN>) <filenameN> ]
                                      
                                       Note <filename> must be a regular (non-symlink) file.
                                      
                                      ==========================================================================
                                          Checking ioBroker user and directory permissions (2/4)
                                      ==========================================================================
                                      
                                      Created /etc/sudoers.d/iobroker
                                      Fixing directory permissions...
                                      
                                      ==========================================================================
                                          Database maintenance (3/4)
                                      ==========================================================================
                                      
                                      Checking for uncompressed JSONL databases... This might take a while!
                                      
                                      usage: sudo -h | -K | -k | -V
                                      usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
                                      usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user]
                                                  [command]
                                      usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-D directory] [-g group]
                                                  [-h host] [-p prompt] [-R directory] [-T timeout] [-u user]
                                                  [VAR=value] [-i|-s] [<command>]
                                      usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-D directory] [-g group]
                                                  [-h host] [-p prompt] [-R directory] [-T timeout] [-u user] file ...
                                      main: line 12: [: -lt: unary operator expected
                                      sudo: npm: command not found
                                      
                                      ==========================================================================
                                          Checking autostart (4/4)
                                      ==========================================================================
                                      
                                      Enabling autostart...
                                      Autostart enabled!
                                      
                                      ==========================================================================
                                      
                                          Your installation was fixed successfully
                                          Run iobroker start to start ioBroker again!
                                      
                                      ==========================================================================
                                      
                                      Thomas BraunT Online
                                      Thomas BraunT Online
                                      Thomas Braun
                                      Most Active
                                      schrieb am zuletzt editiert von
                                      #53

                                      @sms sagte in Freier Arbeitsspeicher nimmt schnell ab ...:

                                      readlink: missing operand

                                      Das sind auch schon komische Meldungen da. Normalerweise tauchen die nicht auf.

                                      sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/null
                                      uname -m && type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && pwd && sudo apt-get update &> /dev/null && sudo apt-get update && apt-cache policy nodejs
                                      

                                      liefert?

                                      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

                                      Thomas BraunT SMSS 2 Antworten Letzte Antwort
                                      0
                                      • Thomas BraunT Thomas Braun

                                        @sms sagte in Freier Arbeitsspeicher nimmt schnell ab ...:

                                        readlink: missing operand

                                        Das sind auch schon komische Meldungen da. Normalerweise tauchen die nicht auf.

                                        sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/null
                                        uname -m && type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && pwd && sudo apt-get update &> /dev/null && sudo apt-get update && apt-cache policy nodejs
                                        

                                        liefert?

                                        Thomas BraunT Online
                                        Thomas BraunT Online
                                        Thomas Braun
                                        Most Active
                                        schrieb am zuletzt editiert von
                                        #54

                                        Und

                                        sudo apt update
                                        apt policy libcap2-bin
                                        

                                        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

                                        1 Antwort Letzte Antwort
                                        0
                                        • SMSS SMS

                                          @thomas-braun schon mehrfach gemacht

                                          pi@MotionEye:~ $ iob fix
                                          library: loaded
                                          Library version=2022-12-09
                                          
                                          ==========================================================================
                                          
                                              Welcome to the ioBroker installation fixer!
                                              Script version: 2022-12-22
                                          
                                              You might need to enter your password a couple of times.
                                          
                                          ==========================================================================
                                          
                                          
                                          ==========================================================================
                                              Installing prerequisites (1/4)
                                          ==========================================================================
                                          
                                          Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
                                          Hit:2 http://deb.debian.org/debian bullseye InRelease
                                          Hit:3 http://archive.raspberrypi.org/debian bullseye InRelease
                                          Hit:4 http://deb.debian.org/debian bullseye-updates InRelease
                                          Hit:5 https://deb.nodesource.com/node_14.x bullseye InRelease
                                          Hit:6 https://deb.nodesource.com/node_16.x bullseye InRelease
                                          Reading package lists... Done
                                          Installed gcc-c++
                                          readlink: missing operand
                                          Try 'readlink --help' for more information.
                                          usage: setcap [-q] [-v] [-n <rootid>] (-r|-|<caps>) <filename> [ ... (-r|-|<capsN>) <filenameN> ]
                                          
                                           Note <filename> must be a regular (non-symlink) file.
                                          
                                          ==========================================================================
                                              Checking ioBroker user and directory permissions (2/4)
                                          ==========================================================================
                                          
                                          Created /etc/sudoers.d/iobroker
                                          Fixing directory permissions...
                                          
                                          ==========================================================================
                                              Database maintenance (3/4)
                                          ==========================================================================
                                          
                                          Checking for uncompressed JSONL databases... This might take a while!
                                          
                                          usage: sudo -h | -K | -k | -V
                                          usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
                                          usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user]
                                                      [command]
                                          usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-D directory] [-g group]
                                                      [-h host] [-p prompt] [-R directory] [-T timeout] [-u user]
                                                      [VAR=value] [-i|-s] [<command>]
                                          usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-D directory] [-g group]
                                                      [-h host] [-p prompt] [-R directory] [-T timeout] [-u user] file ...
                                          main: line 12: [: -lt: unary operator expected
                                          sudo: npm: command not found
                                          
                                          ==========================================================================
                                              Checking autostart (4/4)
                                          ==========================================================================
                                          
                                          Enabling autostart...
                                          Autostart enabled!
                                          
                                          ==========================================================================
                                          
                                              Your installation was fixed successfully
                                              Run iobroker start to start ioBroker again!
                                          
                                          ==========================================================================
                                          
                                          Thomas BraunT Online
                                          Thomas BraunT Online
                                          Thomas Braun
                                          Most Active
                                          schrieb am zuletzt editiert von Thomas Braun
                                          #55

                                          @sms

                                          
                                          sudo setcap cap_net_raw+eip $(eval readlink -f `which node`)
                                          

                                          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

                                          1 Antwort Letzte Antwort
                                          0

                                          Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

                                          Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

                                          Mit deinem Input könnte dieser Beitrag noch besser werden 💗

                                          Registrieren Anmelden
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

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

                                          595

                                          Online

                                          32.8k

                                          Benutzer

                                          82.7k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe