Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Simple-api startet nicht mehr

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Simple-api startet nicht mehr

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

      @thomas-braun said in Simple-api startet nicht mehr:

      iob nodejs-update 20

      Hallo, ich habe das selbe Problem: Simple Rest Api startet nicht.
      Ich habe alle Adapter aktualisiert und auch nodejs auf 20. Aber npm ist Version 10.5.2
      Wie wird npm geupdatet? npm install -g npm soll wohl nicht benutzt werden...
      Vielen Dank!

      Homoran mcm1957 2 Replies Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators @Andreas 9 last edited by

        @andreas-9 sagte in Simple-api startet nicht mehr:

        Wie wird npm geupdatet?

        gar nicht! kommt mit node in der passenden Version

        1 Reply Last reply Reply Quote 0
        • mcm1957
          mcm1957 @Andreas 9 last edited by

          @andreas-9 said in Simple-api startet nicht mehr:

          @thomas-braun said in Simple-api startet nicht mehr:

          iob nodejs-update 20

          Hallo, ich habe das selbe Problem: Simple Rest Api startet nicht.
          Ich habe alle Adapter aktualisiert und auch nodejs auf 20. Aber npm ist Version 10.5.2
          Wie wird npm geupdatet? npm install -g npm soll wohl nicht benutzt werden...
          Vielen Dank!

          Welche Versionen sind aktiv ?

          • simple-api
          • js-controller
          • node
          • o/s
          1 Reply Last reply Reply Quote 0
          • A
            Andreas 9 last edited by

            @mcm1957
            ich hab mal iob diag ausgeführt:

            Skript v.2024-05-22
            
            *** BASE SYSTEM ***
             Static hostname: IOBroker-Raspi4
                   Icon name: computer
            Operating System: Raspbian GNU/Linux 12 (bookworm)
                      Kernel: Linux 6.6.28+rpt-rpi-v8
                Architecture: arm64
            
            Model           : Raspberry Pi 4 Model B Rev 1.5
            Docker          : false
            Virtualization  : none
            Kernel          : aarch64
            Userland        : 32 bit
            
            Systemuptime and Load:
             12:01:29 up  1:50,  2 users,  load average: 0.48, 0.25, 0.14
            CPU threads: 4
            
            
            *** RASPBERRY THROTTLING ***
            Current issues:
            No throttling issues detected.
            
            Previously detected issues:
            No throttling issues detected.
            
            *** Time and Time Zones ***
                           Local time: Mon 2024-05-27 12:01:29 CEST
                       Universal time: Mon 2024-05-27 10:01:29 UTC
                             RTC time: n/a
                            Time zone: Europe/Berlin (CEST, +0200)
            System clock synchronized: yes
                          NTP service: active
                      RTC in local TZ: no
            
            *** Users and Groups ***
            User that called 'iob diag':
            andi
            HOME=/home/andi
            GROUPS=andi adm dialout cdrom sudo audio video plugdev games users input render netdev gpio i2c spi iobroker
            
            User that is running 'js-controller':
            iobroker
            HOME=/home/iobroker
            GROUPS=iobroker tty dialout audio video bluetooth gpio i2c
            
            *** Display-Server-Setup ***
            Display-Server: false
            Desktop:
            Terminal:       tty
            Boot Target:    multi-user.target
            
            *** MEMORY ***
                           total        used        free      shared  buff/cache   available
            Mem:            4.0G        809M        1.9G        1.2M        1.3G        3.2G
            Swap:           104M          0B        104M
            Total:          4.1G        809M        2.0G
            
            Active iob-Instances:   13
            
                     3792 M total memory
                      772 M used memory
                     1004 M active memory
                      807 M inactive memory
                     1813 M free memory
                      168 M buffer memory
                     1046 M swap cache
                       99 M total swap
                        0 M used swap
                       99 M free swap
            
            *** top - Table Of Processes  ***
            top - 12:01:29 up  1:50,  2 users,  load average: 0.48, 0.25, 0.14
            Tasks: 180 total,   1 running, 179 sleeping,   0 stopped,   0 zombie
            %Cpu(s):  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
            MiB Mem :   3792.1 total,   1812.7 free,    773.4 used,   1214.9 buff/cache
            MiB Swap:    100.0 total,    100.0 free,      0.0 used.   3018.7 avail Mem
            
            *** FAILED SERVICES ***
            
              UNIT             LOAD   ACTIVE SUB    DESCRIPTION
            * telegraf.service loaded failed failed Telegraf
            
            LOAD   = Reflects whether the unit definition was properly loaded.
            ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
            SUB    = The low-level unit activation state, values depend on unit type.
            1 loaded units listed.
            
            *** FILESYSTEM ***
            Filesystem     Type      Size  Used Avail Use% Mounted on
            udev           devtmpfs  1.6G     0  1.6G   0% /dev
            tmpfs          tmpfs     380M  1.2M  379M   1% /run
            /dev/mmcblk0p2 ext4      117G  9.0G  102G   9% /
            tmpfs          tmpfs     1.9G     0  1.9G   0% /dev/shm
            tmpfs          tmpfs     5.0M   16K  5.0M   1% /run/lock
            /dev/mmcblk0p1 vfat      510M   96M  415M  19% /boot/firmware
            tmpfs          tmpfs     380M     0  380M   0% /run/user/1000
            
            Messages concerning ext4 filesystem in dmesg:
            [Mon May 27 10:10:51 2024] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0  smsc95xx.macaddr=D8:3A:DD:95:FE:04 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=6f9649ea-02 rootfstype=ext4 fsck.repair=yes rootwait
            [Mon May 27 10:10:54 2024] EXT4-fs (mmcblk0p2): mounted filesystem ee354f68-c22f-48b7-a81c-43ae87c280f8 ro with ordered data mode. Quota mode: none.
            [Mon May 27 10:10:56 2024] EXT4-fs (mmcblk0p2): re-mounted ee354f68-c22f-48b7-a81c-43ae87c280f8 r/w. Quota mode: none.
            
            Show mounted filesystems:
            TARGET                                                  SOURCE         FSTYPE      OPTIONS
            /                                                       /dev/mmcblk0p2 ext4        rw,noatime
            |-/sys                                                  sysfs          sysfs       rw,nosuid,nodev,noexec,relatime
            | |-/sys/kernel/security                                securityfs     securityfs  rw,nosuid,nodev,noexec,relatime
            | |-/sys/fs/cgroup                                      cgroup2        cgroup2     rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot
            | |-/sys/fs/pstore                                      pstore         pstore      rw,nosuid,nodev,noexec,relatime
            | |-/sys/fs/bpf                                         bpf            bpf         rw,nosuid,nodev,noexec,relatime,mode=700
            | |-/sys/kernel/debug                                   debugfs        debugfs     rw,nosuid,nodev,noexec,relatime
            | |-/sys/kernel/tracing                                 tracefs        tracefs     rw,nosuid,nodev,noexec,relatime
            | |-/sys/fs/fuse/connections                            fusectl        fusectl     rw,nosuid,nodev,noexec,relatime
            | `-/sys/kernel/config                                  configfs       configfs    rw,nosuid,nodev,noexec,relatime
            |-/proc                                                 proc           proc        rw,relatime
            | `-/proc/sys/fs/binfmt_misc                            systemd-1      autofs      rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=3943
            |   `-/proc/sys/fs/binfmt_misc                          binfmt_misc    binfmt_misc rw,nosuid,nodev,noexec,relatime
            |-/dev                                                  udev           devtmpfs    rw,nosuid,relatime,size=1671560k,nr_inodes=417890,mode=755
            | |-/dev/pts                                            devpts         devpts      rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000
            | |-/dev/shm                                            tmpfs          tmpfs       rw,nosuid,nodev
            | `-/dev/mqueue                                         mqueue         mqueue      rw,nosuid,nodev,noexec,relatime
            |-/run                                                  tmpfs          tmpfs       rw,nosuid,nodev,noexec,relatime,size=388308k,mode=755
            | |-/run/lock                                           tmpfs          tmpfs       rw,nosuid,nodev,noexec,relatime,size=5120k
            | |-/run/credentials/systemd-sysctl.service             ramfs          ramfs       ro,nosuid,nodev,noexec,relatime,mode=700
            | |-/run/credentials/systemd-sysusers.service           ramfs          ramfs       ro,nosuid,nodev,noexec,relatime,mode=700
            | |-/run/credentials/systemd-tmpfiles-setup-dev.service ramfs          ramfs       ro,nosuid,nodev,noexec,relatime,mode=700
            | |-/run/rpc_pipefs                                     sunrpc         rpc_pipefs  rw,relatime
            | |-/run/credentials/systemd-tmpfiles-setup.service     ramfs          ramfs       ro,nosuid,nodev,noexec,relatime,mode=700
            | `-/run/user/1000                                      tmpfs          tmpfs       rw,nosuid,nodev,relatime,size=388304k,nr_inodes=97076,mode=700,uid=1000,gid=1000
            `-/boot/firmware                                        /dev/mmcblk0p1 vfat        rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro
            
            Files in neuralgic directories:
            
            /var:
            4.5G    /var/
            3.0G    /var/log/journal/f1efad6ddc4841dc8c5c94b6519006b3
            3.0G    /var/log/journal
            3.0G    /var/log
            1.1G    /var/cache/apt/archives
            
            Archived and active journals take up 2.9G in the file system.
            
            /opt/iobroker/backups:
            531M    /opt/iobroker/backups/
            28M     /opt/iobroker/backups/influx
            
            /opt/iobroker/iobroker-data:
            222M    /opt/iobroker/iobroker-data/
            164M    /opt/iobroker/iobroker-data/files
            138M    /opt/iobroker/iobroker-data/files/javascript.admin
            118M    /opt/iobroker/iobroker-data/files/javascript.admin/static
            117M    /opt/iobroker/iobroker-data/files/javascript.admin/static/js
            
            The five largest files in iobroker-data are:
            12M     /opt/iobroker/iobroker-data/objects.jsonl
            7.0M    /opt/iobroker/iobroker-data/files/javascript.admin/static/js/675.a9c6d34a.chunk.js.map
            7.0M    /opt/iobroker/iobroker-data/files/javascript.admin/static/js/61.54b23816.chunk.js.map
            6.6M    /opt/iobroker/iobroker-data/files/javascript.admin/static/js/139.52cd9c26.chunk.js.map
            6.5M    /opt/iobroker/iobroker-data/files/javascript.admin/static/js/516.837647f3.chunk.js.map
            
            USB-Devices by-id:
            USB-Sticks -  Avoid direct links to /dev/tty* in your adapter setups, please always prefer the links 'by-id':
            
            No Devices found 'by-id'
            
            
            
            
            *** NodeJS-Installation ***
            
            /usr/bin/nodejs         v20.13.1
            /usr/bin/node           v20.13.1
            /usr/bin/npm            10.8.0
            /usr/bin/npx            10.8.0
            /usr/bin/corepack       0.28.0
            
            
            nodejs:
              Installed: 20.13.1-1nodesource1
              Candidate: 20.13.1-1nodesource1
              Version table:
             *** 20.13.1-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                    100 /var/lib/dpkg/status
                 20.13.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                 20.12.2-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                 20.12.1-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                 20.12.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                 20.11.1-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                 20.11.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                 20.10.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                 20.9.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                 20.8.1-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                 20.8.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                 20.7.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                 20.6.1-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                 20.6.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                 20.5.1-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                 20.5.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                 20.4.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                 20.3.1-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                 20.3.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                 20.2.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                 20.1.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                 20.0.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                 18.19.0+dfsg-6~deb12u1+rpi1 500
                    500 http://raspbian.raspberrypi.com/raspbian bookworm/main armhf Packages
            
            Temp directories causing npm8 problem: 0
            No problems detected
            
            Errors in npm tree:
            
            *** ioBroker-Installation ***
            
            ioBroker Status
            iobroker is running on this host.
            
            
            Objects type: jsonl
            States  type: jsonl
            
            Core adapters versions
            js-controller:  5.0.19
            admin:          6.13.16
            javascript:     8.3.1
            
            nodejs modules from github:     0
            
            Adapter State
            + system.adapter.admin.0                  : admin                 : IOBroker-Raspi4                          -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
            + system.adapter.backitup.0               : backitup              : IOBroker-Raspi4                          -  enabled
            + system.adapter.discovery.0              : discovery             : IOBroker-Raspi4                          -  enabled
            + system.adapter.fritzdect.0              : fritzdect             : IOBroker-Raspi4                          -  enabled
            + system.adapter.hm-rega.0                : hm-rega               : IOBroker-Raspi4                          -  enabled
            + system.adapter.hm-rpc.0                 : hm-rpc                : IOBroker-Raspi4                          -  enabled, port: 0
            + system.adapter.influxdb.0               : influxdb              : IOBroker-Raspi4                          -  enabled, port: 8086
            + system.adapter.javascript.0             : javascript            : IOBroker-Raspi4                          -  enabled
            + system.adapter.mqtt.0                   : mqtt                  : IOBroker-Raspi4                          -  enabled, port: 1883, bind: 0.0.0.0
            + system.adapter.ping.0                   : ping                  : IOBroker-Raspi4                          -  enabled
            + system.adapter.plenticore.0             : plenticore            : IOBroker-Raspi4                          -  enabled, port: 443
              system.adapter.simple-api.0             : simple-api            : IOBroker-Raspi4                          - disabled, port: 8087, bind: 0.0.0.0, run as: admin
            + system.adapter.sonoff.0                 : sonoff                : IOBroker-Raspi4                          -  enabled, port: 1884, bind: 0.0.0.0
            
            + instance is alive
            
            Enabled adapters with bindings
            + system.adapter.admin.0                  : admin                 : IOBroker-Raspi4                          -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
            + system.adapter.hm-rpc.0                 : hm-rpc                : IOBroker-Raspi4                          -  enabled, port: 0
            + system.adapter.influxdb.0               : influxdb              : IOBroker-Raspi4                          -  enabled, port: 8086
            + system.adapter.mqtt.0                   : mqtt                  : IOBroker-Raspi4                          -  enabled, port: 1883, bind: 0.0.0.0
            + system.adapter.plenticore.0             : plenticore            : IOBroker-Raspi4                          -  enabled, port: 443
            + system.adapter.sonoff.0                 : sonoff                : IOBroker-Raspi4                          -  enabled, port: 1884, bind: 0.0.0.0
            
            ioBroker-Repositories
            stable        : http://download.iobroker.net/sources-dist.json
            beta          : http://download.iobroker.net/sources-dist-latest.json
            
            Active repo(s): stable
            
            Installed ioBroker-Instances
            Used repository: stable
            Adapter    "admin"        : 6.13.16  , installed 6.13.16
            Adapter    "backitup"     : 2.11.0   , installed 2.11.0
            Adapter    "discovery"    : 4.4.0    , installed 4.4.0
            Adapter    "fritzdect"    : 2.5.9    , installed 2.5.9
            Adapter    "hm-rega"      : 4.0.0    , installed 4.0.0
            Adapter    "hm-rpc"       : 1.17.0   , installed 1.17.0
            Adapter    "influxdb"     : 4.0.2    , installed 4.0.2
            Adapter    "javascript"   : 8.3.1    , installed 8.3.1
            Controller "js-controller": 5.0.19   , installed 5.0.19
            Adapter    "mqtt"         : 5.2.0    , installed 5.2.0
            Adapter    "panasonic-viera": 2.1.0  , installed 2.1.0
            Adapter    "ping"         : 1.6.2    , installed 1.6.2
            Adapter    "plenticore"   : 2.2.0    , installed 2.2.0
            Adapter    "rest-api"     : 1.1.0    , installed 1.1.0
            Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
            Adapter    "sonoff"       : 3.0.3    , installed 3.0.3
            
            Objects and States
            Please stand by - This may take a while
            Objects:        1982
            States:         1689
            
            *** OS-Repositories and Updates ***
            Hit:1 http://raspbian.raspberrypi.com/raspbian bookworm InRelease
            Hit:2 http://archive.raspberrypi.com/debian bookworm InRelease
            Hit:3 https://apt.grafana.com stable InRelease
            Hit:4 https://deb.nodesource.com/node_20.x nodistro InRelease
            Hit:5 https://repos.influxdata.com/debian stable InRelease
            Hit:6 https://repos.influxdata.com/debian stretch 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 0.0.0.0:22              0.0.0.0:*               LISTEN      0          6657       668/sshd: /usr/sbin
            tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1001       60093      6270/iobroker.js-co
            tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1001       60088      6270/iobroker.js-co
            tcp        0      0 0.0.0.0:42010           0.0.0.0:*               LISTEN      1001       63636      6442/io.hm-rpc.0
            tcp        0      0 0.0.0.0:1884            0.0.0.0:*               LISTEN      1001       63601      6424/io.sonoff.0
            tcp        0      0 0.0.0.0:1883            0.0.0.0:*               LISTEN      1001       62277      6393/io.mqtt.0
            tcp        0      0 127.0.0.1:8088          0.0.0.0:*               LISTEN      999        5750       727/influxd
            tcp6       0      0 :::22                   :::*                    LISTEN      0          6659       668/sshd: /usr/sbin
            tcp6       0      0 :::3000                 :::*                    LISTEN      106        6799       785/grafana
            tcp6       0      0 :::8086                 :::*                    LISTEN      999        6759       727/influxd
            tcp6       0      0 :::8081                 :::*                    LISTEN      1001       60137      6291/io.admin.0
            udp        0      0 0.0.0.0:5353            0.0.0.0:*                           104        494        502/avahi-daemon: r
            udp        0      0 0.0.0.0:59264           0.0.0.0:*                           104        496        502/avahi-daemon: r
            udp6       0      0 fe80::7747:b49b:2be:546 :::*                                0          5736       609/NetworkManager
            udp6       0      0 :::39670                :::*                                104        497        502/avahi-daemon: r
            udp6       0      0 :::5353                 :::*                                104        495        502/avahi-daemon: r
            
            *** Log File - Last 25 Lines ***
            
            2024-05-27 11:58:19.843  - info: javascript.0 (8692) Start JavaScript script.js.common.Gaszähler.Zähler-Korrektur (Blockly)
            2024-05-27 11:58:19.849  - info: javascript.0 (8692) script.js.common.Gaszähler.Zähler-Korrektur: registered 1 subscription, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
            2024-05-27 11:58:20.016  - error: javascript.0 (8692) [sunTimeSchedules] Unable to set state for astro time "nightEnd"
            2024-05-27 11:58:20.020  - error: javascript.0 (8692) [sunTimeSchedules] Unable to set state for astro time "night"
            2024-05-27 11:58:29.763  - info: javascript.0 (8692) Stopping script script.js.common.Heizstab.Heizstab-Generalschalter
            2024-05-27 11:58:29.861  - info: javascript.0 (8692) Start JavaScript script.js.common.Heizstab.Heizstab-Generalschalter (Blockly)
            2024-05-27 11:58:29.873  - info: javascript.0 (8692) script.js.common.Heizstab.Heizstab-Generalschalter: registered 0 subscriptions, 1 schedule, 0 messages, 0 logs and 0 file subscriptions
            2024-05-27 11:58:40.508  - info: javascript.0 (8692) Stopping script script.js.common.Heizstab.Heizstab-Generalschalter
            2024-05-27 11:58:40.608  - info: javascript.0 (8692) Start JavaScript script.js.common.Heizstab.Heizstab-Generalschalter (Blockly)
            2024-05-27 11:58:40.634  - info: javascript.0 (8692) script.js.common.Heizstab.Heizstab-Generalschalter: registered 0 subscriptions, 1 schedule, 0 messages, 0 logs and 0 file subscriptions
            2024-05-27 11:58:43.265  - info: admin.0 (6291) <== Disconnect system.user.admin from ::ffff:192.168.178.5 javascript
            2024-05-27 11:59:00.041  - info: javascript.0 (8692) script.js.common.Heizstab.Heizstab-Steuerung: ----> Heizstabsteuerung...
            2024-05-27 11:59:16.504  - info: admin.0 (6291) ==> Connected system.user.admin from ::ffff:192.168.178.5
            2024-05-27 12:00:00.048  - info: javascript.0 (8692) script.js.common.Heizstab.Heizstab-Steuerung: ----> Heizstabsteuerung...
            2024-05-27 12:00:00.074  - info: javascript.0 (8692) script.js.common.Status: ========== Status: ==========
            2024-05-27 12:00:00.075  - info: javascript.0 (8692) script.js.common.Status: DS-Excess: 1141.12
            2024-05-27 12:00:00.076  - info: javascript.0 (8692) script.js.common.Status: Hausverbrauch: 1244.6540496411
            2024-05-27 12:00:00.076  - info: javascript.0 (8692) script.js.common.Status: Batterie-Ladung: 15
            2024-05-27 12:00:00.077  - info: javascript.0 (8692) script.js.common.Status: HSTGeneralSchalter: true
            2024-05-27 12:00:00.077  - info: javascript.0 (8692) script.js.common.Status: HSTGeneralSchalter: 229
            2024-05-27 12:00:00.077  - info: javascript.0 (8692) script.js.common.Status: Heizstableistung: 991
            2024-05-27 12:00:00.078  - info: javascript.0 (8692) script.js.common.Status: WWPumpe: false
            2024-05-27 12:00:00.079  - info: javascript.0 (8692) script.js.common.Status: WWTermperatur: 45.8
            2024-05-27 12:00:00.079  - info: javascript.0 (8692) script.js.common.Status: WWSpeicher: false
            2024-05-27 12:00:00.079  - info: javascript.0 (8692) script.js.common.Status: ========== Status: ==========
            
            

            Zusammmenfassung:

            ======================= SUMMARY =======================
                                    v.2024-05-22
            
            
             Static hostname: IOBroker-Raspi4
                   Icon name: computer
            Operating System: Raspbian GNU/Linux 12 (bookworm)
                      Kernel: Linux 6.6.28+rpt-rpi-v8
                Architecture: arm64
            
            Installation:           native
            Kernel:                 aarch64
            Userland:               32 bit
            Timezone:               Europe/Berlin (CEST, +0200)
            User-ID:                1000
            Display-Server:         false
            Boot Target:            multi-user.target
            
            Pending OS-Updates:     0
            Pending iob updates:    0
            
            Nodejs-Installation:
            /usr/bin/nodejs         v20.13.1
            /usr/bin/node           v20.13.1
            /usr/bin/npm            10.8.0
            /usr/bin/npx            10.8.0
            /usr/bin/corepack       0.28.0
            
            Recommended versions are nodejs 18.20.3 and npm 10.7.0
            Your nodejs installation is correct
            
            MEMORY:
                           total        used        free      shared  buff/cache   available
            Mem:            4.0G        838M        1.9G        1.2M        1.3G        3.1G
            Swap:           104M          0B        104M
            Total:          4.1G        838M        2.0G
            
            Active iob-Instances:   13
            Active repo(s): stable
            
            ioBroker Core:          js-controller           5.0.19
                                    admin                   6.13.16
            
            ioBroker Status:        iobroker is running on this host.
            
            
            Objects type: jsonl
            States  type: jsonl
            
            Status admin and web instance:
            + system.adapter.admin.0                  : admin                 : IOBroker-Raspi4                          -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
            
            Objects:                1982
            States:                 1689
            
            Size of iob-Database:
            
            12M     /opt/iobroker/iobroker-data/objects.jsonl
            5.8M    /opt/iobroker/iobroker-data/states.jsonl
            
            
            
            =================== END OF SUMMARY ====================
            

            Danke für die Mühe!!!

            DJMarc75 mcm1957 Thomas Braun 3 Replies Last reply Reply Quote 0
            • DJMarc75
              DJMarc75 @Andreas 9 last edited by

              @andreas-9 sagte in Simple-api startet nicht mehr:

              /usr/bin/npm 10.8.0

              Wohl nachträglich NPM reingebügelt ?

              Die richtige Version wäre 10.5.2 und kommt immer automatisch mit wenn NodeJS korrekt upgedatet wird.

              1 Reply Last reply Reply Quote 0
              • mcm1957
                mcm1957 @Andreas 9 last edited by

                @andreas-9
                https://forum.iobroker.net/topic/74827/simple-api-startet-nicht-mehr/9 und nachfolgend.

                Teste mal mit aktueller LATEST von simple-api

                H 1 Reply Last reply Reply Quote 0
                • H
                  hkettler @mcm1957 last edited by

                  @mcm1957 Anfängerfrage zum gleichen Problem: Standardmässig wird noch 2.7.2 installiert. Wie installiere ich die latest (2.8.0 zur Zeit) Version?

                  mcm1957 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Andreas 9 last edited by

                    @andreas-9 sagte in Simple-api startet nicht mehr:

                    /usr/bin/npm 10.8.0

                    npm falsch installiert.
                    Lasst von npm ganz einfach die Finger...
                    Kann doch nicht so schwer sein...

                    iob stop
                    sudo apt update
                    sudo apt install --reinstall nodejs
                    iob start
                    
                    A 1 Reply Last reply Reply Quote 1
                    • mcm1957
                      mcm1957 @hkettler last edited by

                      @hkettler said in Simple-api startet nicht mehr:

                      @mcm1957 Anfängerfrage zum gleichen Problem: Standardmässig wird noch 2.7.2 installiert. Wie installiere ich die latest (2.8.0 zur Zeit) Version?

                      a) Repository temporär auf LATEST (Beta) umstellen, search for updates klicken und NUR diesen Adapter aktualisiseren

                      oder

                      b) im Expertmode auf custom install simple-api@latest eingeben

                      H 1 Reply Last reply Reply Quote 2
                      • H
                        hkettler @mcm1957 last edited by

                        @mcm1957 Danke. Funktioniert. 2.8.0 installiert und Fehler ist weg.

                        1 Reply Last reply Reply Quote 0
                        • A
                          Andreas 9 @Thomas Braun last edited by

                          @thomas-braun
                          so, geschafft!
                          nodejs /npm reinstalliert und Version 2.8.0 installiert - läuft!
                          Herzlichen Dank an alle!

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

                          Support us

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

                          862
                          Online

                          31.9k
                          Users

                          80.2k
                          Topics

                          1.3m
                          Posts

                          simple-api
                          9
                          22
                          1322
                          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