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
    810

  • 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.
  • 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
                                  • Thomas BraunT Thomas Braun

                                    @sms

                                    sudo apt update
                                    apt policy nodejs
                                    
                                    SMSS Offline
                                    SMSS Offline
                                    SMS
                                    schrieb am zuletzt editiert von
                                    #62

                                    @thomas-braun liegt es vielleicht daran, das 14 und 16 drauf sind?

                                    pi@MotionEye:/ $ sudo apt update
                                    Hit:1 http://deb.debian.org/debian bullseye InRelease
                                    Hit:2 http://deb.debian.org/debian bullseye-updates InRelease
                                    Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
                                    Hit:4 http://archive.raspberrypi.org/debian bullseye 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
                                    Building dependency tree... Done
                                    Reading state information... Done
                                    All packages are up to date.
                                    pi@MotionEye:/ $
                                    
                                    1 Antwort 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
                                      #63

                                      @sms

                                      Und warum steht der 'pi' nicht in seinem Home-Verzeichnis?
                                      Schubs denn da mal hin:

                                      cd ~
                                      

                                      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

                                        sudo apt update
                                        apt policy nodejs
                                        
                                        SMSS Offline
                                        SMSS Offline
                                        SMS
                                        schrieb am zuletzt editiert von
                                        #64

                                        @thomas-braun

                                        pi@MotionEye:/ $ apt policy nodejs
                                        nodejs:
                                          Installed: (none)
                                          Candidate: 16.19.0-deb-1nodesource1
                                          Version table:
                                             16.19.0-deb-1nodesource1 500
                                                500 https://deb.nodesource.com/node_16.x bullseye/main arm64 Packages
                                             14.21.2-deb-1nodesource1 500
                                                500 https://deb.nodesource.com/node_14.x bullseye/main arm64 Packages
                                             12.22.12~dfsg-1~deb11u1 500
                                                500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages
                                             12.22.5~dfsg-2~11u1 500
                                                500 http://deb.debian.org/debian bullseye/main arm64 Packages
                                        pi@MotionEye:/ $
                                        
                                        Thomas BraunT 1 Antwort Letzte Antwort
                                        0
                                        • SMSS SMS

                                          @thomas-braun

                                          pi@MotionEye:/ $ apt policy nodejs
                                          nodejs:
                                            Installed: (none)
                                            Candidate: 16.19.0-deb-1nodesource1
                                            Version table:
                                               16.19.0-deb-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_16.x bullseye/main arm64 Packages
                                               14.21.2-deb-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_14.x bullseye/main arm64 Packages
                                               12.22.12~dfsg-1~deb11u1 500
                                                  500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages
                                               12.22.5~dfsg-2~11u1 500
                                                  500 http://deb.debian.org/debian bullseye/main arm64 Packages
                                          pi@MotionEye:/ $
                                          
                                          Thomas BraunT Online
                                          Thomas BraunT Online
                                          Thomas Braun
                                          Most Active
                                          schrieb am zuletzt editiert von Thomas Braun
                                          #65

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

                                          Installed: (none)

                                          ? Wie schafft man das?

                                          sudo apt install 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 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

                                          712

                                          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