Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Installation
    5. Bekomme die nodejs Installation nicht vernünftig hin

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    UNSOLVED Bekomme die nodejs Installation nicht vernünftig hin

    This topic has been deleted. Only users with topic management privileges can see it.
    • Dustin F.
      Dustin F. @Thomas Braun last edited by

      @thomas-braun

      ja, da gab es einen Stromausfall, der mir das System ein wenig strubbelig gemacht hat und ich es umständlich fixen musste.

      1 Reply Last reply Reply Quote 0
      • crunchip
        crunchip Forum Testing Most Active @Dustin F. last edited by

        @dustin-f root und sudo????

        Homoran 1 Reply Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators @crunchip last edited by

          @crunchip super-root!

          1 Reply Last reply Reply Quote 2
          • Dustin F.
            Dustin F. @DJMarc75 last edited by

            @djmarc75

            ======== Start marking the full check here =========

            Skript v.2023-04-16
            
            *** BASE SYSTEM ***
            Model           : Raspberry Pi 4 Model B Rev 1.2
            Architecture    : armv7l
            Docker          : false
            Virtualization  : none
            Distributor ID: Raspbian
            Description:    Raspbian GNU/Linux 11 (bullseye)
            Release:        11
            Codename:       bullseye
            
            PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
            NAME="Raspbian GNU/Linux"
            VERSION_ID="11"
            VERSION="11 (bullseye)"
            VERSION_CODENAME=bullseye
            ID=raspbian
            ID_LIKE=debian
            HOME_URL="http://www.raspbian.org/"
            SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
            BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
            
            Systemuptime and Load:
             20:39:25 up 3 min,  1 user,  load average: 1.34, 0.86, 0.37
            CPU threads: 4
            
            Raspberry only:
            throttled=0x50000
            Other values than 0x0 hint to temperature/voltage problems
            temp=62.8'C
            volt=0.8500V
            
            *** Time and Time Zones ***
                           Local time: Mon 2023-07-10 20:39:25 BST
                       Universal time: Mon 2023-07-10 19:39:25 UTC
                             RTC time: n/a
                            Time zone: Europe/London (BST, +0100)
            System clock synchronized: yes
                          NTP service: active
                      RTC in local TZ: no
            
            *** User and Groups ***
            pi
            /home/pi
            pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi iobroker
            
            *** X-Server-Setup ***
            X-Server:       false
            Desktop:
            Terminal:       tty
            Boot Target:    graphical.target
            
            *** MEMORY ***
                           total        used        free      shared  buff/cache   available
            Mem:            3.8G        392M        3.1G        0.0K        323M        3.3G
            Swap:            99M          0B         99M
            Total:          3.9G        392M        3.2G
            
                     3838 M total memory
                      393 M used memory
                      179 M active memory
                      447 M inactive memory
                     3122 M free memory
                       74 M buffer memory
                      248 M swap cache
                       99 M total swap
                        0 M used swap
                       99 M free swap
            
            Raspberry only:
            oom events: 0
            lifetime oom required: 0 Mbytes
            total time in oom handler: 0 ms
            max time spent in oom handler: 0 ms
            
            *** FILESYSTEM ***
            Filesystem     Type      Size  Used Avail Use% Mounted on
            /dev/root      ext4       15G  9.1G  4.6G  67% /
            devtmpfs       devtmpfs  1.7G     0  1.7G   0% /dev
            tmpfs          tmpfs     1.9G     0  1.9G   0% /dev/shm
            tmpfs          tmpfs     768M  752K  767M   1% /run
            tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
            /dev/mmcblk0p1 vfat      253M   51M  202M  20% /boot
            tmpfs          tmpfs     384M     0  384M   0% /run/user/1000
            
            Messages concerning ext4 filesystem in dmesg:
            [Mon Jul 10 20:35:49 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1  smsc95xx.macaddr=DC:A6:32:AA:71:36 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  dwc_otg.lpm_enable=0 console=tty1 root=PARTUUID=e52a9d10-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
            [Mon Jul 10 20:35:50 2023] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none.
            [Mon Jul 10 20:35:50 2023] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
            [Mon Jul 10 20:35:51 2023] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none.
            
            Show mounted filesystems (real ones only):
            TARGET  SOURCE         FSTYPE OPTIONS
            /       /dev/mmcblk0p2 ext4   rw,noatime
            `-/boot /dev/mmcblk0p1 vfat   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,flush,errors=remount-ro
            
            Files in neuralgic directories:
            
            /var:
            1.3G    /var/
            619M    /var/lib
            508M    /var/lib/piVCCU3
            492M    /var/cache
            486M    /var/cache/apt
            
            Archived and active journals take up 48.0M in the file system.
            
            /opt/iobroker/backups:
            121M    /opt/iobroker/backups/
            
            /opt/iobroker/iobroker-data:
            411M    /opt/iobroker/iobroker-data/
            339M    /opt/iobroker/iobroker-data/files
            78M     /opt/iobroker/iobroker-data/files/icons-open-icon-library-png
            49M     /opt/iobroker/iobroker-data/backup-objects
            48M     /opt/iobroker/iobroker-data/files/javascript.admin
            
            The five largest files in iobroker-data are:
            35M     /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.24f2bb56.js.map
            27M     /opt/iobroker/iobroker-data/files/material/static/js/2.73100bd6.chunk.js.map
            12M     /opt/iobroker/iobroker-data/files/javascript.admin/static/js/790.1eb1f33b.chunk.js.map
            8.6M    /opt/iobroker/iobroker-data/objects.jsonl
            8.6M    /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.24f2bb56.js
            
            *** NodeJS-Installation ***
            
            /usr/bin/nodejs         v18.16.1
            /usr/bin/node           v18.16.1
            /usr/local/bin/npm              9.3.1
            /usr/local/bin/npx              9.3.1
            *** nodejs is NOT correctly installed ***
            
            nodejs:
              Installed: 18.16.1-deb-1nodesource1
              Candidate: 18.16.1-deb-1nodesource1
              Version table:
             *** 18.16.1-deb-1nodesource1 100
                    100 /var/lib/dpkg/status
                 16.20.1-deb-1nodesource1 500
                    500 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages
                 12.22.12~dfsg-1~deb11u4 500
                    500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
            
            Temp directories causing npm8 problem: 5
            Some problems detected, please run iob fix
            
            *** ioBroker-Installation ***
            
            ioBroker Status
            iobroker is running on this host.
            
            
            Objects type: jsonl
            States  type: jsonl
            
            MULTIHOSTSERVICE/enabled: false
            
            Core adapters versions
            js-controller:  4.0.24
            admin:          6.3.5
            javascript:     6.0.3
            
            npm ERR! code ELSPROBLEMS
            npm ERR! extraneous: has-binary2@1.0.3 /opt/iobroker/node_modules/has-binary2
            npm ERR! invalid: iobroker.admin@6.3.5 /opt/iobroker/node_modules/iobroker.admin
            npm ERR! invalid: iobroker.backitup@2.6.23 /opt/iobroker/node_modules/iobroker.backitup
            npm ERR! invalid: iobroker.discovery@3.1.0 /opt/iobroker/node_modules/iobroker.discovery
            npm ERR! invalid: iobroker.js-controller@4.0.24 /opt/iobroker/node_modules/iobroker.js-controller
            npm ERR! extraneous: iobroker.simple-api@2.7.2 /opt/iobroker/node_modules/iobroker.simple-api
            npm ERR! extraneous: iobroker.socketio@4.2.0 /opt/iobroker/node_modules/iobroker.socketio
            npm ERR! extraneous: iobroker.web@ /opt/iobroker/node_modules/iobroker.web
            npm ERR! extraneous: iobroker.ws.server@1.0.1 /opt/iobroker/node_modules/iobroker.ws.server
            npm ERR! extraneous: iobroker.ws@1.3.0 /opt/iobroker/node_modules/iobroker.ws
            
            npm ERR! A complete log of this run can be found in:
            npm ERR!     /home/pi/.npm/_logs/2023-07-10T19_40_00_074Z-debug-0.log
            Adapters from github:   0
            
            Adapter State
            + system.adapter.admin.0                  : admin                 : ioBroker-Pi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
            + system.adapter.backitup.0               : backitup              : ioBroker-Pi                              -  enabled
              system.adapter.chromecast.0             : chromecast            : ioBroker-Pi                              - disabled
              system.adapter.cloud.0                  : cloud                 : ioBroker-Pi                              - disabled
              system.adapter.daikin.0                 : daikin                : ioBroker-Pi                              - disabled
              system.adapter.deconz.0                 : deconz                : ioBroker-Pi                              - disabled, port: 80
              system.adapter.devices.0                : devices               : ioBroker-Pi                              - disabled
            + system.adapter.discovery.0              : discovery             : ioBroker-Pi                              -  enabled
              system.adapter.dwd.0                    : dwd                   : ioBroker-Pi                              -  enabled
              system.adapter.history.0                : history               : ioBroker-Pi                              - disabled
              system.adapter.hm-rega.0                : hm-rega               : ioBroker-Pi                              - disabled
              system.adapter.hm-rpc.0                 : hm-rpc                : ioBroker-Pi                              - disabled, port: 0
              system.adapter.hm-rpc.1                 : hm-rpc                : ioBroker-Pi                              - disabled, port: 0
              system.adapter.hmip.0                   : hmip                  : ioBroker-Pi                              -  enabled
              system.adapter.icons-material-png.0     : icons-material-png    : ioBroker-Pi                              - disabled
              system.adapter.icons-mfd-png.0          : icons-mfd-png         : ioBroker-Pi                              - disabled
              system.adapter.icons-mfd-svg.0          : icons-mfd-svg         : ioBroker-Pi                              - disabled
              system.adapter.icons-open-icon-library-png.0: icons-open-icon-library-png: ioBroker-Pi                              - disabled
              system.adapter.icons-ultimate-png.0     : icons-ultimate-png    : ioBroker-Pi                              - disabled
              system.adapter.info.0                   : info                  : ioBroker-Pi                              - disabled
              system.adapter.javascript.0             : javascript            : ioBroker-Pi                              - disabled
              system.adapter.lovelace.0               : lovelace              : ioBroker-Pi                              - disabled, port: 8091, bind: 0.0.0.0, run as: admin
              system.adapter.luftdaten.0              : luftdaten             : ioBroker-Pi                              -  enabled
              system.adapter.material.0               : material              : ioBroker-Pi                              - disabled
              system.adapter.melcloud.0               : melcloud              : ioBroker-Pi                              -  enabled
              system.adapter.mqtt.0                   : mqtt                  : ioBroker-Pi                              - disabled, port: 1883, bind: 0.0.0.0
              system.adapter.openweathermap.0         : openweathermap        : ioBroker-Pi                              - disabled
              system.adapter.ping.0                   : ping                  : ioBroker-Pi                              - disabled
              system.adapter.rpi2.0                   : rpi2                  : ioBroker-Pi                              - disabled
              system.adapter.samsung.0                : samsung               : ioBroker-Pi                              - disabled
              system.adapter.shuttercontrol.0         : shuttercontrol        : ioBroker-Pi                              - disabled
              system.adapter.solarmanpv.0             : solarmanpv            : ioBroker-Pi                              - disabled
              system.adapter.sonos.0                  : sonos                 : ioBroker-Pi                              - disabled
              system.adapter.terminal.0               : terminal              : ioBroker-Pi                              - disabled, port: 8088, bind: 0.0.0.0, run as: admin
              system.adapter.tr-064.0                 : tr-064                : ioBroker-Pi                              - disabled
              system.adapter.tr-064.1                 : tr-064                : ioBroker-Pi                              - disabled
              system.adapter.tr-064.2                 : tr-064                : ioBroker-Pi                              - disabled
              system.adapter.vis-bars.0               : vis-bars              : ioBroker-Pi                              - disabled
              system.adapter.vis-history.0            : vis-history           : ioBroker-Pi                              - disabled
              system.adapter.vis-hqwidgets.0          : vis-hqwidgets         : ioBroker-Pi                              - disabled
              system.adapter.vis-icontwo.0            : vis-icontwo           : ioBroker-Pi                              - disabled
              system.adapter.vis-inventwo.0           : vis-inventwo          : ioBroker-Pi                              - disabled
              system.adapter.vis-justgage.0           : vis-justgage          : ioBroker-Pi                              - disabled
              system.adapter.vis-material-advanced.0  : vis-material-advanced : ioBroker-Pi                              - disabled
              system.adapter.vis-metro.0              : vis-metro             : ioBroker-Pi                              - disabled
              system.adapter.vis-plumb.0              : vis-plumb             : ioBroker-Pi                              - disabled
              system.adapter.vis-rgraph.0             : vis-rgraph            : ioBroker-Pi                              - disabled
              system.adapter.vis-timeandweather.0     : vis-timeandweather    : ioBroker-Pi                              - disabled
              system.adapter.vis.0                    : vis                   : ioBroker-Pi                              - disabled
              system.adapter.weatherunderground.0     : weatherunderground    : ioBroker-Pi                              -  enabled
              system.adapter.web.0                    : web                   : ioBroker-Pi                              - disabled, port: 8082, bind: 0.0.0.0, run as: admin
              system.adapter.zwave2.0                 : zwave2                : ioBroker-Pi                              - disabled
            
            + instance is alive
            
            Enabled adapters with bindings
            + system.adapter.admin.0                  : admin                 : ioBroker-Pi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
            
            ioBroker-Repositories
            Stable (default): http://download.iobroker.net/sources-dist.json
            Beta (latest) : http://download.iobroker.net/sources-dist-latest.json
            
            Active repo(s): Stable (default)
            
            Installed ioBroker-Instances
            Used repository: Stable (default)
            Adapter    "admin"        : 6.3.5    , installed 6.3.5
            Adapter    "backitup"     : 2.6.23   , installed 2.6.23
            Adapter    "chromecast"   : 3.0.3    , installed 2.3.1  [Updatable]
            Adapter    "cloud"        : 4.4.1    , installed 4.2.2  [Updatable]
            Adapter    "daikin"       : 1.4.2    , installed 1.4.2
            Adapter    "deconz"       : 1.3.21   , installed 1.3.21
            Adapter    "devices"      : 1.1.5    , installed 1.1.5
            Adapter    "discovery"    : 3.1.0    , installed 3.1.0
            Adapter    "history"      : 2.2.4    , installed 2.2.4
            Adapter    "hm-rega"      : 3.0.46   , installed 3.0.46
            Adapter    "hm-rpc"       : 1.15.18  , installed 1.15.12 [Updatable]
            Adapter    "icons-material-png": 0.1.0, installed 0.1.0
            Adapter    "icons-mfd-png": 1.1.0    , installed 1.1.0
            Adapter    "icons-mfd-svg": 1.1.0    , installed 1.1.0
            Adapter    "icons-ultimate-png": 1.0.1, installed 1.0.1
            Adapter    "info"         : 1.9.26   , installed 1.9.19 [Updatable]
            Adapter    "javascript"   : 7.0.3    , installed 6.0.3  [Updatable]
            Controller "js-controller": 4.0.24   , installed 4.0.24
            Adapter    "lovelace"     : 3.0.1    , installed 3.0.1
            Adapter    "material"     : 1.3.1    , installed 1.1.2  [Updatable]
            Adapter    "mqtt"         : 4.1.1    , installed 4.0.7  [Updatable]
            Adapter    "openweathermap": 0.3.9   , installed 0.3.0  [Updatable]
            Adapter    "ping"         : 1.5.3    , installed 1.5.3
            Adapter    "rpi2"         : 1.3.2    , installed 1.3.2
            Adapter    "samsung"      : 0.5.11   , installed 0.5.8  [Updatable]
            Adapter    "shuttercontrol": 1.5.0   , installed 1.4.18 [Updatable]
            Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
            Adapter    "socketio"     : 4.2.0    , installed 4.2.0
            Adapter    "sonos"        : 2.3.1    , installed 2.3.1
            Adapter    "terminal"     : 1.0.0    , installed 1.0.0
            Adapter    "tr-064"       : 4.2.18   , installed 4.2.18
            Adapter    "vis"          : 1.4.16   , installed 1.4.16
            Adapter    "vis-bars"     : 0.1.4    , installed 0.1.4
            Adapter    "vis-history"  : 1.0.0    , installed 1.0.0
            Adapter    "vis-hqwidgets": 1.4.0    , installed 1.4.0
            Adapter    "vis-icontwo"  : 0.96.0   , installed 0.96.0
            Adapter    "vis-inventwo" : 3.3.1    , installed 3.3.1
            Adapter    "vis-justgage" : 1.0.2    , installed 1.0.2
            Adapter    "vis-material-advanced": 1.7.2, installed 1.7.2
            Adapter    "vis-metro"    : 1.2.0    , installed 1.2.0
            Adapter    "vis-plumb"    : 1.0.2    , installed 1.0.2
            Adapter    "vis-rgraph"   : 0.0.2    , installed 0.0.2
            Adapter    "vis-timeandweather": 1.2.2, installed 1.2.2
            Adapter    "ws"           : 1.3.0    , installed 1.3.0
            
            Objects and States
            Please stand by - This may take a while
            Objects:        4142
            States:         3530
            
            *** OS-Repositories and Updates ***
            Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
            Hit:2 http://phoscon.de/apt/deconz bullseye InRelease
            Hit:3 http://archive.raspberrypi.org/debian bullseye InRelease
            Hit:4 https://deb.nodesource.com/node_16.x bullseye InRelease
            Hit:5 https://apt.pivccu.de/piVCCU stable InRelease
            Reading package lists...
            Pending Updates: 0
            
            *** Listening Ports ***
            Active Internet connections (only servers)
            Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
            tcp        0      0 10.0.3.1:53             0.0.0.0:*               LISTEN      0          13899      716/dnsmasq
            tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1001       14026      649/iobroker.js-con
            tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1001       15915      649/iobroker.js-con
            tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      1000       14687      385/deCONZ
            tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          13874      674/sshd: /usr/sbin
            tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN      1000       13734      385/deCONZ
            tcp6       0      0 :::22                   :::*                    LISTEN      0          13876      674/sshd: /usr/sbin
            tcp6       0      0 :::8081                 :::*                    LISTEN      1001       16023      1132/io.admin.0
            udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        3053       379/avahi-daemon: r
            udp        0      0 0.0.0.0:1900            0.0.0.0:*                           1000       13737      385/deCONZ
            udp        0      0 0.0.0.0:54252           0.0.0.0:*                           108        3055       379/avahi-daemon: r
            udp        0      0 10.0.3.1:53             0.0.0.0:*                           0          13898      716/dnsmasq
            udp        0      0 0.0.0.0:67              0.0.0.0:*                           0          13895      716/dnsmasq
            udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          15407      514/dhclient
            udp6       0      0 :::5353                 :::*                                108        3054       379/avahi-daemon: r
            udp6       0      0 :::51997                :::*                                108        3056       379/avahi-daemon: r
            
            *** Log File - Last 25 Lines ***
            
            2023-07-10 20:38:46.630  - info: host.ioBroker-Pi iobroker install hmip@1.20.0 using installedFrom
            2023-07-10 20:38:50.931  - info: host.ioBroker-Pi iobroker npm-install: NPM version: 9.3.1
            2023-07-10 20:38:50.934  - info: host.ioBroker-Pi iobroker npm-install: Installing iobroker.hmip@1.20.0... (System call)
            2023-07-10 20:39:10.954  - error: host.ioBroker-Pi iobroker npm-install: host.ioBroker-Pi Cannot install iobroker.hmip@1.20.0: 217
            2023-07-10 20:39:11.979  - info: host.ioBroker-Pi iobroker npm-install: exit 25
            2023-07-10 20:39:12.979  - warn: host.ioBroker-Pi startInstance cannot find adapter "weatherunderground@3.4.2". Try to install it... 1 attempt
            2023-07-10 20:39:12.980  - info: host.ioBroker-Pi iobroker install weatherunderground@3.4.2 using installedFrom
            2023-07-10 20:39:17.273  - info: host.ioBroker-Pi iobroker npm-install: NPM version: 9.3.1
            2023-07-10 20:39:17.276  - info: host.ioBroker-Pi iobroker npm-install: Installing iobroker.weatherunderground@3.4.2... (System call)
            2023-07-10 20:39:40.539  - error: host.ioBroker-Pi iobroker npm-install: host.ioBroker-Pi Cannot install iobroker.weatherunderground@3.4.2: 217
            2023-07-10 20:39:41.571  - info: host.ioBroker-Pi iobroker npm-install: exit 25
            2023-07-10 20:39:42.571  - warn: host.ioBroker-Pi startInstance cannot find adapter "melcloud@1.3.4". Try to install it... 1 attempt
            2023-07-10 20:39:42.572  - info: host.ioBroker-Pi iobroker install melcloud@1.3.4 using installedFrom
            2023-07-10 20:39:47.498  - info: host.ioBroker-Pi iobroker npm-install: NPM version: 9.3.1
            2023-07-10 20:39:47.504  - info: host.ioBroker-Pi iobroker npm-install: Installing iobroker.melcloud@1.3.4... (System call)
            2023-07-10 20:40:13.281  - error: host.ioBroker-Pi iobroker npm-install: host.ioBroker-Pi Cannot install iobroker.melcloud@1.3.4: 217
            2023-07-10 20:40:14.336  - info: host.ioBroker-Pi iobroker npm-install: exit 25
            2023-07-10 20:40:15.338  - warn: host.ioBroker-Pi startInstance cannot find adapter "dwd@2.8.3". Try to install it... 1 attempt
            2023-07-10 20:40:15.339  - info: host.ioBroker-Pi iobroker install dwd@2.8.3 using installedFrom
            2023-07-10 20:40:20.260  - info: host.ioBroker-Pi iobroker npm-install: NPM version: 9.3.1
            2023-07-10 20:40:20.264  - info: host.ioBroker-Pi iobroker npm-install: Installing iobroker.dwd@2.8.3... (System call)
            2023-07-10 20:40:43.143  - error: host.ioBroker-Pi iobroker npm-install: host.ioBroker-Pi Cannot install iobroker.dwd@2.8.3: 217
            2023-07-10 20:40:44.168  - info: host.ioBroker-Pi iobroker npm-install: exit 25
            2023-07-10 20:40:45.169  - warn: host.ioBroker-Pi startInstance cannot find adapter "luftdaten@2.2.4". Try to install it... 1 attempt
            2023-07-10 20:40:45.169  - info: host.ioBroker-Pi iobroker install luftdaten@2.2.4 using installedFrom
            
            

            ============ Mark until here for C&P =============

            iob diag has finished.

            sorry, konnte hier gerade nicht antworten

            Homoran 1 Reply Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators @Dustin F. last edited by

              @dustin-f sagte in Bekomme die nodejs Installation nicht vernünftig hin:

              throttled=0x50000
              temp=62.8'C

              @dustin-f sagte in Bekomme die nodejs Installation nicht vernünftig hin:

              Some problems detected, please run iob fix

              @dustin-f sagte in Bekomme die nodejs Installation nicht vernünftig hin:

              npm ERR! code ELSPROBLEMS

              Dustin F. 1 Reply Last reply Reply Quote 0
              • Dustin F.
                Dustin F. @Homoran last edited by

                   Your installation was fixed successfully
                    Run iobroker start to start ioBroker again!
                

                wenn ich

                iob diag
                

                erneut durchlaufen lasse, erhalte ich dieselbe Fehlermeldung. Meine Vermutung ist, dass es damit zutun haben könnte, dass

                /usr/bin/nodejs         v18.16.1
                /usr/bin/node           v18.16.1
                /usr/local/bin/npm              9.3.1
                /usr/local/bin/npx              9.3.1
                *** nodejs is NOT correctly installed ***
                
                nodejs:
                  Installed: 18.16.1-deb-1nodesource1
                  Candidate: 18.16.1-deb-1nodesource1
                  Version table:
                 *** 18.16.1-deb-1nodesource1 100
                        100 /var/lib/dpkg/status
                     16.20.1-deb-1nodesource1 500
                        500 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages
                     12.22.12~dfsg-1~deb11u4 500
                        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                
                Temp directories causing npm8 problem: 0
                
                

                npm und npx im /usr/local/bin sind. Die Ordner aber beim Versuch zu löschen nicht existieren. Habe versucht mit der nodejs Anleitung es zu fixen, bekomme es aber nicht hin.

                Wichtig dabei ist:

                nodejs liegt in /usr/bin
                node liegt in /usr/bin
                npm liegt in /usr/bin
                npx liegt in /usr/bin

                die Versionsnummern von nodejs und node sowie von npm und npx stimmen jeweils überein.
                Falsch ist eine Installation in /usr/local/bin oder irgendwelchen anderen Verzeichnissen als /usr/bin

                Homoran DJMarc75 2 Replies Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators @Dustin F. last edited by

                  @dustin-f was sagt which npm oder npx?

                  Dustin F. 1 Reply Last reply Reply Quote 0
                  • DJMarc75
                    DJMarc75 @Dustin F. last edited by

                    @dustin-f bei Dir ist halt das Ganze auch krumm und schief.... schau in der Signatur von @Thomas-Braun und bieg das halt hin

                    Homoran Dustin F. 2 Replies Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @DJMarc75 last edited by

                      @djmarc75 sagte in Bekomme die nodejs Installation nicht vernünftig hin:

                      und bieg das halt hin

                      will er ja!
                      aber die angeblichen falschen Pfade scheinen nicht zu existieren

                      1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Dustin F. last edited by

                        @dustin-f

                        Mann Mann Mann...
                        Die verfummelsten Systeme kommen dann natürlich auch IMMER mit root daher.

                        IHR TUT EUCH NULL GEFALLEN MIT DEM SCHEISS-ROOT!

                        Bin dann für heute raus, keinen Bock auf den Kram.

                        Thomas Braun Dustin F. 2 Replies Last reply Reply Quote 1
                        • Thomas Braun
                          Thomas Braun Most Active @Thomas Braun last edited by Thomas Braun

                          @thomas-braun

                          sudo rm /usr/local/bin/n*
                          

                          heißt das. BashCompletion ftw....

                          Dustin F. 1 Reply Last reply Reply Quote 0
                          • Dustin F.
                            Dustin F. @Homoran last edited by

                            @homoran sagte in Bekomme die nodejs Installation nicht vernünftig hin:

                            which npm

                            pi@ioBroker-Pi:~ $ which npm
                            /usr/local/bin/npm
                            
                            1 Reply Last reply Reply Quote 0
                            • Dustin F.
                              Dustin F. @DJMarc75 last edited by

                              @djmarc75

                              das versuche ich ja leider vergeblich.

                              1 Reply Last reply Reply Quote 0
                              • Dustin F.
                                Dustin F. @Thomas Braun last edited by

                                @thomas-braun

                                ohne root konnte ich aber nicht mehr weiter, da das update zu bullseye nicht anders zu installieren war

                                Homoran crunchip Thomas Braun 3 Replies Last reply Reply Quote 0
                                • Homoran
                                  Homoran Global Moderator Administrators @Dustin F. last edited by

                                  @dustin-f ein weiteter Hinweis dass alles verbogen ist.

                                  1 Reply Last reply Reply Quote 0
                                  • crunchip
                                    crunchip Forum Testing Most Active @Dustin F. last edited by

                                    @dustin-f wär mir neu, warum sollte das nicht funktionieren?

                                    1 Reply Last reply Reply Quote 0
                                    • Dustin F.
                                      Dustin F. @Thomas Braun last edited by

                                      @thomas-braun sagte in Bekomme die nodejs Installation nicht vernünftig hin:

                                      @thomas-braun

                                      sudo rm /usr/local/bin/n*
                                      

                                      heißt das. BashCompletion ftw....

                                      das war schon mal sehr hilfreich

                                      pi@ioBroker-Pi:~ $ which npm
                                      /usr/bin/npm
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @Dustin F. last edited by

                                        @dustin-f sagte in Bekomme die nodejs Installation nicht vernünftig hin:

                                        update zu bullseye nicht anders zu installieren war

                                        Quatsch.

                                        Dustin F. 1 Reply Last reply Reply Quote 0
                                        • Dustin F.
                                          Dustin F. @Thomas Braun last edited by

                                          @thomas-braun

                                          *** NodeJS-Installation ***
                                          
                                          /usr/bin/nodejs         v16.20.1
                                          /usr/bin/node           v16.20.1
                                          /usr/bin/npm            8.19.4
                                          /usr/bin/npx            8.19.4
                                          
                                          
                                          nodejs:
                                            Installed: 16.20.1-deb-1nodesource1
                                            Candidate: 16.20.1-deb-1nodesource1
                                            Version table:
                                           *** 16.20.1-deb-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages
                                                  100 /var/lib/dpkg/status
                                               12.22.12~dfsg-1~deb11u4 500
                                                  500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                                          

                                          Danke sehr!

                                          1 Reply Last reply Reply Quote 0
                                          • Dustin F.
                                            Dustin F. last edited by

                                            Ich verzweifel

                                            pi@ioBroker-Pi:/opt/iobroker $ 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 update &> /dev/null && sudo apt update && apt policy nodejs
                                            armv7l
                                            /usr/bin/nodejs
                                            /usr/bin/node
                                            /usr/bin/npm
                                            /usr/local/bin/npx
                                            v18.16.1
                                            v18.16.1
                                            9.5.1
                                            -bash: /usr/local/bin/npx: No such file or directory
                                            
                                            

                                            wo verdammt noch mal kommt der local Ordner nun wieder her? Ich habe mich penibelst an diese Anleitung gehalten [HowTo] Nodejs-Installation und Upgrades unter Debian

                                            ok

                                            which npx
                                            

                                            ergibt
                                            /usr/bin/npx

                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.1k
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            nodejs 18
                                            5
                                            28
                                            1650
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo