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

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    6
    1
    190

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    8
    1
    201

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

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.
  • 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
                              • 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?

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

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

                                @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?

                                wie gebe ich das ein?

                                Thomas BraunT 1 Antwort Letzte Antwort
                                0
                                • SMSS SMS

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

                                  @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?

                                  wie gebe ich das ein?

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

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

                                  wie gebe ich das ein?

                                  Wie meinst du das?
                                  Eingeben oder in die Konsole pasten.
                                  Ich würde es kopieren/pasten...

                                  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 sagte in Freier Arbeitsspeicher nimmt schnell ab ...:

                                    wie gebe ich das ein?

                                    Wie meinst du das?
                                    Eingeben oder in die Konsole pasten.
                                    Ich würde es kopieren/pasten...

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

                                    @thomas-braun so?

                                    pi@MotionEye:/ $   
                                    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
                                    aarch64
                                    pi@MotionEye:/ $
                                    
                                    

                                    oder

                                    pi@MotionEye:/ $ sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/null
                                    pi@MotionEye:/ $ 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                                       aarch64
                                    pi@MotionEye:/ $
                                    
                                    Thomas BraunT 1 Antwort Letzte Antwort
                                    0
                                    • SMSS SMS

                                      @thomas-braun so?

                                      pi@MotionEye:/ $   
                                      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
                                      aarch64
                                      pi@MotionEye:/ $
                                      
                                      

                                      oder

                                      pi@MotionEye:/ $ sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/null
                                      pi@MotionEye:/ $ 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                                       aarch64
                                      pi@MotionEye:/ $
                                      
                                      Thomas BraunT Online
                                      Thomas BraunT Online
                                      Thomas Braun
                                      Most Active
                                      schrieb am zuletzt editiert von
                                      #59

                                      @sms

                                      Ja, allerdings sieht das auf einem gesunden System so aus:

                                      echad@chet:~ $ 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
                                      aarch64
                                      /usr/bin/nodejs
                                      /usr/bin/node
                                      /usr/bin/npm
                                      /usr/bin/npx
                                      v19.4.0
                                      v19.4.0
                                      9.2.0
                                      9.2.0
                                      4.0.24
                                      echad
                                      echad adm dialout cdrom sudo audio video plugdev games users input render netdev lpadmin boinc gpio i2c spi iobroker
                                      tty
                                      /home/echad
                                      

                                      Da ist wohl nodejs kaputt.

                                      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

                                        Ja, allerdings sieht das auf einem gesunden System so aus:

                                        echad@chet:~ $ 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
                                        aarch64
                                        /usr/bin/nodejs
                                        /usr/bin/node
                                        /usr/bin/npm
                                        /usr/bin/npx
                                        v19.4.0
                                        v19.4.0
                                        9.2.0
                                        9.2.0
                                        4.0.24
                                        echad
                                        echad adm dialout cdrom sudo audio video plugdev games users input render netdev lpadmin boinc gpio i2c spi iobroker
                                        tty
                                        /home/echad
                                        

                                        Da ist wohl nodejs kaputt.

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

                                        @thomas-braun und wie bekomme ich das wieder hin?

                                        Thomas BraunT 2 Antworten Letzte Antwort
                                        0
                                        • SMSS SMS

                                          @thomas-braun und wie bekomme ich das wieder hin?

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

                                          @sms

                                          sudo apt update
                                          apt policy nodejs
                                          

                                          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 2 Antworten 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

                                          500

                                          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