Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [iot] Andere Probleme mit dem iot-Adapter bzw der Nutzung

    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

    [iot] Andere Probleme mit dem iot-Adapter bzw der Nutzung

    This topic has been deleted. Only users with topic management privileges can see it.
    • apollon77
      apollon77 @Danny Köhn last edited by

      @Danny-Köhn installiere iot mal neu

      1 Reply Last reply Reply Quote 0
      • Danny Köhn
        Danny Köhn last edited by

        @apollon77 ist dann das gleiche Problem

        Thomas Braun apollon77 2 Replies Last reply Reply Quote 0
        • Danny Köhn
          Danny Köhn last edited by

          code_ host.raspberrypi4-iobroker	2020-06-28 00:34:31.386	info	Restart adapter system.adapter.iot.0 because enabled
          host.raspberrypi4-iobroker	2020-06-28 00:34:31.385	error	instance system.adapter.iot.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
          host.raspberrypi4-iobroker	2020-06-28 00:34:31.384	error	Caught by controller[0]: }
          host.raspberrypi4-iobroker	2020-06-28 00:34:31.383	error	Caught by controller[0]: requireStack: [ '/opt/iobroker/node_modules/iobroker.iot/main.js' ]
          host.raspberrypi4-iobroker	2020-06-28 00:34:31.383	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
          host.raspberrypi4-iobroker	2020-06-28 00:34:31.382	error	Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12) {
          host.raspberrypi4-iobroker	2020-06-28 00:34:31.382	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:879:14)
          host.raspberrypi4-iobroker	2020-06-28 00:34:31.381	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:986:32)
          host.raspberrypi4-iobroker	2020-06-28 00:34:31.381	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
          host.raspberrypi4-iobroker	2020-06-28 00:34:31.380	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1138:30)
          host.raspberrypi4-iobroker	2020-06-28 00:34:31.380	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.iot/main.js:6:22)
          host.raspberrypi4-iobroker	2020-06-28 00:34:31.379	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:72:18)
          host.raspberrypi4-iobroker	2020-06-28 00:34:31.378	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:1026:19)
          host.raspberrypi4-iobroker	2020-06-28 00:34:31.378	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:842:27)
          host.raspberrypi4-iobroker	2020-06-28 00:34:31.377	error	Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:966:15)
          host.raspberrypi4-iobroker	2020-06-28 00:34:31.377	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.iot/main.js
          host.raspberrypi4-iobroker	2020-06-28 00:34:31.376	error	Caught by controller[0]: Require stack:
          host.raspberrypi4-iobroker	2020-06-28 00:34:31.375	error	Caught by controller[0]: Error: Cannot find module 'aws-iot-device-sdk'
          host.raspberrypi4-iobroker	2020-06-28 00:34:31.375	error	Caught by controller[0]: ^
          host.raspberrypi4-iobroker	2020-06-28 00:34:31.374	error	Caught by controller[0]: throw err;
          host.raspberrypi4-iobroker	2020-06-28 00:34:31.373	error	Caught by controller[0]: internal/modules/cjs/loader.js:969
          host.raspberrypi4-iobroker	2020-06-28 00:34:31.144	info	instance system.adapter.iot.0 started with pid 6525
          host.raspberrypi4-iobroker	2020-06-28 00:34:31.068	info	"system.adapter.iot.0" enabled
          
          1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Danny Köhn last edited by

            @Danny-Köhn

            mount | grep ^/dev
            
            1 Reply Last reply Reply Quote 0
            • Danny Köhn
              Danny Köhn last edited by

              
              root@raspberrypi4-iobroker:~# mount | grep ^/dev
              /dev/mmcblk0p2 on / type ext4 (rw,noatime)
              /dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
              root@raspberrypi4-iobroker:~# 
              
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Danny Köhn last edited by

                @Danny-Köhn Och, root-shell. Dann bin ich raus. Viel Erfolg noch.

                1 Reply Last reply Reply Quote 0
                • Danny Köhn
                  Danny Köhn last edited by

                  @Thomas-Braun ist das ein Problem bin leider nicht so bewandert bei linux.

                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Danny Köhn last edited by

                    @Danny-Köhn Ja, gerade DANN ist es ein Problem.
                    Debian/Raspbian wird nicht per root login, sonder per 'sudo' administriert.

                    1 Reply Last reply Reply Quote 0
                    • Danny Köhn
                      Danny Köhn last edited by

                      @Thomas-Braun bin über SSH als Root User eingeloggt

                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Danny Köhn last edited by

                        @Danny-Köhn Und das ist Quark.
                        Log dich mit dem Standard-User, vermutlich 'pi' ein.

                        1 Reply Last reply Reply Quote 0
                        • Danny Köhn
                          Danny Köhn last edited by

                          Schon geschehen

                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Danny Köhn last edited by

                            @Danny-Köhn

                            which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                            
                            1 Reply Last reply Reply Quote 0
                            • Danny Köhn
                              Danny Köhn last edited by

                              code_text
                              
                              /usr/bin/nodejs
                              v12.18.1
                              /usr/local/bin/node
                              v12.18.1
                              /usr/local/bin/npm
                              6.14.5
                              nodejs:
                                Installiert:           12.18.1-1nodesource1
                                Installationskandidat: 12.18.1-1nodesource1
                                Versionstabelle:
                               *** 12.18.1-1nodesource1 500
                                      500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
                                      100 /var/lib/dpkg/status
                                   10.21.0~dfsg-1~deb10u1+rpi1 500
                                      500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                              pi@raspberrypi4-iobroker:~ $ 
                              
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @Danny Köhn last edited by

                                @Danny-Köhn Auch mal wieder ein Klassiker.
                                node ist falsch installiert.

                                sudo rm /usr/local/bin/node
                                sudo rm /usr/local/bin/npm
                                sudo apt update 
                                sudo apt dist-upgrade
                                sudo apt install nodejs --reinstall
                                sudo reboot
                                
                                1 Reply Last reply Reply Quote 0
                                • Danny Köhn
                                  Danny Köhn last edited by

                                  
                                  Nach dieser Operation werden 38,9 MB Plattenplatz zusätzlich benutzt.
                                  Möchten Sie fortfahren? [J/n] J
                                  Abbruch.
                                  pi@raspberrypi4-iobroker:~ $
                                  
                                  
                                  

                                  Bei Ja macht er trotzdem einen Abbruch

                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Danny Köhn last edited by Thomas Braun

                                    @Danny-Köhn Kompletten input wie auch output zeigen.

                                    sudo apt update
                                    sudo apt upgrade
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • Danny Köhn
                                      Danny Köhn last edited by

                                      Mit den Befehlen ging es.

                                      code_text
                                      
                                      pi@raspberrypi4-iobroker:~ $ sudo apt update
                                      OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
                                      OK:2 http://archive.raspberrypi.org/debian buster InRelease                  
                                      OK:3 https://deb.nodesource.com/node_12.x buster InRelease                   
                                      Paketlisten werden gelesen... Fertig                 
                                      Abhängigkeitsbaum wird aufgebaut.       
                                      Statusinformationen werden eingelesen.... Fertig
                                      Aktualisierung für 3 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
                                      pi@raspberrypi4-iobroker:~ $ sudo apt upgrade
                                      Paketlisten werden gelesen... Fertig
                                      Abhängigkeitsbaum wird aufgebaut.       
                                      Statusinformationen werden eingelesen.... Fertig
                                      Paketaktualisierung (Upgrade) wird berechnet... Fertig
                                      Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
                                        gyp libc-ares2 libjs-inherits libjs-is-typedarray libmicrodns0 libssl-dev libuv1 libuv1-dev node-abbrev node-ajv node-ansi
                                        node-ansi-align node-ansi-regex node-ansi-styles node-ansistyles node-aproba node-archy node-are-we-there-yet node-asn1 node-assert-plus
                                        node-asynckit node-aws-sign2 node-aws4 node-balanced-match node-bcrypt-pbkdf node-bluebird node-boxen node-brace-expansion
                                        node-builtin-modules node-builtins node-cacache node-call-limit node-camelcase node-caseless node-chalk node-chownr node-cli-boxes
                                        node-cliui node-clone node-co node-color-convert node-color-name node-combined-stream node-concat-map node-concat-stream
                                        node-config-chain node-console-control-strings node-copy-concurrently node-core-util-is node-cross-spawn node-cyclist node-dashdash
                                        node-decamelize node-decompress-response node-deep-extend node-defaults node-delayed-stream node-delegates node-detect-indent
                                        node-detect-newline node-duplexer3 node-duplexify node-ecc-jsbn node-editor node-encoding node-end-of-stream node-errno
                                        node-escape-string-regexp node-execa node-extend node-extsprintf node-find-up node-flush-write-stream node-forever-agent node-form-data
                                        node-from2 node-fs-vacuum node-fs-write-stream-atomic node-fs.realpath node-gauge node-get-caller-file node-get-stream node-getpass
                                        node-glob node-got node-graceful-fs node-har-schema node-har-validator node-has-flag node-has-symbol-support-x node-has-to-string-tag-x
                                        node-has-unicode node-hosted-git-info node-http-signature node-iconv-lite node-iferr node-import-lazy node-imurmurhash node-inflight
                                        node-inherits node-ini node-invert-kv node-is-builtin-module node-is-npm node-is-object node-is-plain-obj node-is-retry-allowed
                                        node-is-stream node-is-typedarray node-isarray node-isexe node-isstream node-isurl node-jsbn node-json-parse-better-errors
                                        node-json-schema node-json-stable-stringify node-json-stringify-safe node-jsonify node-jsonparse node-jsonstream node-jsprim
                                        node-latest-version node-lazy-property node-lcid node-libnpx node-locate-path node-lockfile node-lowercase-keys node-lru-cache node-mem
                                        node-mime-types node-mimic-fn node-mimic-response node-minimatch node-minimist node-mississippi node-mkdirp node-move-concurrently
                                        node-mute-stream node-node-uuid node-nopt node-normalize-package-data node-npm-package-arg node-npm-run-path node-npmlog node-oauth-sign
                                        node-object-assign node-once node-opener node-os-locale node-osenv node-p-cancelable node-p-finally node-p-limit node-p-locate
                                        node-p-timeout node-package-json node-parallel-transform node-path-exists node-path-is-absolute node-path-is-inside node-performance-now
                                        node-prepend-http node-process-nextick-args node-promise-inflight node-promzard node-proto-list node-prr node-pump node-pumpify
                                        node-punycode node-qs node-qw node-rc node-read node-read-package-json node-readable-stream node-registry-auth-token node-registry-url
                                        node-request node-require-directory node-require-main-filename node-resolve-from node-retry node-rimraf node-run-queue node-safe-buffer
                                        node-semver node-semver-diff node-set-blocking node-sha node-shebang-command node-shebang-regex node-signal-exit node-slash node-slide
                                        node-sorted-object node-spdx-correct node-spdx-expression-parse node-spdx-license-ids node-sshpk node-ssri node-stream-each
                                        node-stream-iterate node-stream-shift node-string-decoder node-string-width node-strip-ansi node-strip-eof node-strip-json-comments
                                        node-supports-color node-tar node-term-size node-text-table node-through node-through2 node-timed-out node-tough-cookie node-tunnel-agent
                                        node-tweetnacl node-typedarray node-uid-number node-unique-filename node-unpipe node-url-parse-lax node-url-to-options
                                        node-util-deprecate node-uuid node-validate-npm-package-license node-validate-npm-package-name node-verror node-wcwidth.js node-which
                                        node-which-module node-wide-align node-widest-line node-wrap-ansi node-wrappy node-write-file-atomic node-xdg-basedir node-xtend
                                        node-y18n node-yallist node-yargs node-yargs-parser nodejs-doc rpi-eeprom-images
                                      Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
                                      Die folgenden NEUEN Pakete werden installiert:
                                        agnostics fio ibverbs-providers libaio1 libboost-atomic1.67.0 libboost-iostreams1.67.0 libboost-regex1.67.0 libboost-system1.67.0
                                        libboost-thread1.67.0 libgfapi0 libgfrpc0 libgfxdr0 libglusterfs0 libibverbs1 libnuma1 librados2 librbd1 librdmacm1 lxplug-magnifier
                                        rp-bookshelf rpi.gpio-common
                                      Die folgenden Pakete werden aktualisiert (Upgrade):
                                        python-rpi.gpio python3-rpi.gpio raspberrypi-ui-mods
                                      3 aktualisiert, 21 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                                      Es müssen 15,8 MB an Archiven heruntergeladen werden.
                                      Nach dieser Operation werden 38,9 MB Plattenplatz zusätzlich benutzt.
                                      Möchten Sie fortfahren? [J/n] j
                                      Holen:1 http://archive.raspberrypi.org/debian buster/main armhf agnostics armhf 0.4 [10,6 kB]
                                      Holen:2 http://archive.raspberrypi.org/debian buster/main armhf lxplug-magnifier armhf 0.2 [6.280 B]
                                      Holen:3 http://archive.raspberrypi.org/debian buster/main armhf rpi.gpio-common armhf 0.7.0-0.1~bpo10+1 [5.776 B]
                                      Holen:4 http://archive.raspberrypi.org/debian buster/main armhf python-rpi.gpio armhf 0.7.0-0.1~bpo10+1 [20,8 kB]
                                      Holen:5 http://archive.raspberrypi.org/debian buster/main armhf python3-rpi.gpio armhf 0.7.0-0.1~bpo10+1 [20,7 kB]
                                      python-rpi.gpio (0.7.0-0.1~bpo10+1) wird eingerichtet ...
                                      libboost-system1.67.0:armhf (1.67.0-13+deb10u1) wird eingerichtet ...
                                      libaio1:armhf (0.3.112-3) wird eingerichtet ...
                                      libgfxdr0:armhf (5.5-3) wird eingerichtet ...
                                      librdmacm1:armhf (22.1-1) wird eingerichtet ...
                                      libboost-thread1.67.0:armhf (1.67.0-13+deb10u1) wird eingerichtet ...
                                      libgfrpc0:armhf (5.5-3) wird eingerichtet ...
                                      librados2:armhf (12.2.11+dfsg1-2.1+rpi1) wird eingerichtet ...
                                      librbd1:armhf (12.2.11+dfsg1-2.1+rpi1) wird eingerichtet ...
                                      libgfapi0:armhf (5.5-3) wird eingerichtet ...
                                      fio (3.12-2) wird eingerichtet ...
                                      agnostics (0.4) wird eingerichtet ...
                                      Trigger für man-db (2.8.5-2) werden verarbeitet ...
                                      Trigger für shared-mime-info (1.10-1) werden verarbeitet ...
                                      Trigger für desktop-file-utils (0.23-4) werden verarbeitet ...
                                      Trigger für mime-support (3.62) werden verarbeitet ...
                                      Trigger für hicolor-icon-theme (0.17-2) werden verarbeitet ...
                                      Trigger für gnome-menus (3.31.4-3) werden verarbeitet ...
                                      Trigger für libc-bin (2.28-10+rpi1) werden verarbeitet ...
                                      Trigger für systemd (241-7~deb10u4+rpi1) werden verarbeitet ...
                                      pi@raspberrypi4-iobroker:~ $ 
                                      
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @Danny Köhn last edited by

                                        @Danny-Köhn
                                        Da schleppst du ja noch den kompletten Desktop mit...

                                        sudo apt autoremove
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • Danny Köhn
                                          Danny Köhn last edited by

                                          Ja den Desktop nutze ich da das Gerät im Bastelraum steht.

                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @Danny Köhn last edited by

                                            @Danny-Köhn Die Begründung verstehe ich nicht. Mein Raspi steht im Wohnzimmer. Hat aber trotzdem keinen Desktop laufen. Ist das bei Bastelräumen erforderlich?

                                            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

                                            701
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            cloud
                                            47
                                            255
                                            34365
                                            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