Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] Update nicht möglich / Error: Cannot find module

    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

    [gelöst] Update nicht möglich / Error: Cannot find module

    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      thorkillar @Glasfaser last edited by

      @Glasfaser entschuldige bitte, ich hatte das nicht als Aufforderung verstanden, einzugeben.

      Der Befehl geht nicht !!

      pkill io
      Hier auch Thread dazu , bzw. suchen . Link Text

      ich habe jetzt pkill io ausgeführt und danach
      curl -sL https://iobroker.net/fix.sh | bash-

      mit folgendem Resultat:

      ckages [521 kB]
      Holen:7 http://deb.debian.org/debian stretch-updates/main amd64 Packages.diff/In
      dex [13,0 kB]
      Holen:8 http://deb.debian.org/debian stretch-updates/main amd64 Packages 2020-02
      -23-2017.41.pdiff [1.539 B]
      Holen:8 http://deb.debian.org/debian stretch-updates/main amd64 Packages 2020-02
      -23-2017.41.pdiff [1.539 B]
      Es wurden 721 kB in 2 s geholt (324 kB/s).
      Paketlisten werden gelesen... Fertig
      Installed gcc-c++

      ==========================================================================
      Checking ioBroker user and directory permissions (2/3)

      Created /etc/sudoers.d/iobroker
      sudo: Hostname buanet-iobroker1 kann nicht aufgelöst werden
      sudo: Hostname buanet-iobroker1 kann nicht aufgelöst werden
      Fixing directory permissions...
      This system does not support setting default permissions.
      Do not use npm to manually install adapters unless you know what you are doing!

      ==========================================================================
      Checking autostart (3/3)

      Unsupported init system, cannot enable autostart!

      ==========================================================================

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

      ==========================================================================

      root@buanet-iobroker1:/opt/iobroker#

      Glasfaser 1 Reply Last reply Reply Quote 0
      • Glasfaser
        Glasfaser @thorkillar last edited by

        @thorkillar

        sieht doch gut aus !

        so jetzt :

        cd /opt/iobroker
        
        npm install iobroker.js-controller --production
        
        1 Reply Last reply Reply Quote 0
        • T
          thorkillar last edited by thorkillar

          Da kommt leider das bei rum 😞

          npm ERR! code EACCES
          npm ERR! syscall scandir
          npm ERR! path /opt/iobroker/node_modules/@types/.color-name.DELETE
          npm ERR! errno -13
          npm ERR! Error: EACCES: permission denied, scandir '/opt/iobroker/node_modules/@
          types/.color-name.DELETE'
          npm ERR! { [Error: EACCES: permission denied, scandir '/opt/iobroker/node_modul
          es/@types/.color-name.DELETE']
          npm ERR! cause:
          npm ERR! { Error: EACCES: permission denied, scandir '/opt/iobroker/node_modu
          les/@types/.color-name.DELETE'
          npm ERR! errno: -13,
          npm ERR! code: 'EACCES',
          npm ERR! syscall: 'scandir',
          npm ERR! path: '/opt/iobroker/node_modules/@types/.color-name.DELETE' },
          npm ERR! stack:
          npm ERR! 'Error: EACCES: permission denied, scandir '/opt/iobroker/node_modu
          les/@types/.color-name.DELETE'',
          npm ERR! errno: -13,
          npm ERR! code: 'EACCES',
          npm ERR! syscall: 'scandir',
          npm ERR! path: '/opt/iobroker/node_modules/@types/.color-name.DELETE' }
          npm ERR!
          npm ERR! The operation was rejected by your operating system.
          npm ERR! It is likely you do not have the permissions to access this file as the
          current user
          npm ERR!
          npm ERR! If you believe this might be a permissions issue, please double-check t
          he
          npm ERR! permissions of the file and its containing directories, or try running
          npm ERR! the command again as root/Administrator.

          npm ERR! A complete log of this run can be found in:
          npm ERR! /home/iobroker/.npm/_logs/2020-04-04T18_23_48_418Z-debug.log
          root@buanet-iobroker1:/opt/iobroker#

          Glasfaser 1 Reply Last reply Reply Quote 0
          • Glasfaser
            Glasfaser @thorkillar last edited by Glasfaser

            @thorkillar

            😞

            mach mal sudo davor .

            sudo npm install iobroker.js-controller --production
            

            EDIT :

            Bitte benutzt die Code Tags Funktion -> </>
            Hier gehts zur Hilfe. Link Text

            1 Reply Last reply Reply Quote 0
            • T
              thorkillar last edited by

              jetzt ist schon etwas mehr passiert 🙂

              sudo npm install iobroker.js-controller --production
              sudo: Hostname buanet-iobroker1 kann nicht aufgelöst werden

              iobroker.js-controller@2.2.9 preinstall /opt/iobroker/node_modules/iobroker.js-controller
              node lib/preinstallCheck.js

              NPM version: 6.13.4

              node-bluetooth@1.2.6 install /opt/iobroker/node_modules/node-bluetooth
              node-gyp configure build

              make: Verzeichnis „/opt/iobroker/node_modules/node-bluetooth/build“ wird betreten
              CXX(target) Release/obj.target/BluetoothSerialPort/src/linux/BluetoothSerialPort.o
              CXX(target) Release/obj.target/BluetoothSerialPort/src/linux/DeviceINQ.o
              ../src/linux/DeviceINQ.cc:35:37: fatal error: bluetooth/bluetooth.h: Datei oder Verzeichnis nicht gefunden
              #include <bluetooth/bluetooth.h>
              ^
              compilation terminated.
              BluetoothSerialPort.target.mk:109: die Regel für Ziel „Release/obj.target/BluetoothSerialPort/src/linux/DeviceINQ.o“ scheiterte
              make: *** [Release/obj.target/BluetoothSerialPort/src/linux/DeviceINQ.o] Fehler 1
              make: Verzeichnis „/opt/iobroker/node_modules/node-bluetooth/build“ wird verlassen
              gyp ERR! build error
              gyp ERR! stack Error: make failed with exit code: 2
              gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:191:23)
              gyp ERR! stack at ChildProcess.emit (events.js:198:13)
              gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
              gyp ERR! System Linux 4.4.59+
              gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
              gyp ERR! cwd /opt/iobroker/node_modules/node-bluetooth
              gyp ERR! node -v v10.19.0
              gyp ERR! node-gyp -v v5.0.5
              gyp ERR! not ok

              gyp ERR! node-gyp -v v5.0.5
              gyp ERR! not ok

              iobroker.js-controller@2.2.9 install /opt/iobroker/node_modules/iobroker.js-controller
              node iobroker.js setup first

              object 0_userdata.0.example_state created
              113 file(s) successfully synchronized with ioBroker storage.
              Please DO NOT copy files manually into ioBroker storage directories!

              The following notifications happened during sync:

              • Ignoring Directory "sayit.0" because officially not created as meta object. Please remove directory!
              • Ignoring Directory "tr-064-community.admin" because officially not created as meta object. Please remove directory!
              • Added 113 Files in Directory "vis.0"
              • Ignoring Directory "vis.0Test_Vis2_Test" because officially not created as meta object. Please remove directory!

              npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/body-parser/package.json'
              npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/express/package.json'
              npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/express-session/package.json'
              npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/finalhandler/package.json'
              npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/send/package.json'
              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents):
              npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.5 (node_modules/osx-temperature-sensor):
              npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.5: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-bluetooth@1.2.6 (node_modules/node-bluetooth):
              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-bluetooth@1.2.6 install: node-gyp configure build
              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

              • iobroker.js-controller@2.2.9
                added 5 packages from 4 contributors, removed 140 packages and updated 21 packages in 89.982s

              9 packages are looking for funding
              run npm fund for details

              ╭────────────────────────────────────────────────────────────────╮
              │ │
              │ New minor version of npm available! 6.13.4 → 6.14.4 │
              │ Changelog: https://github.com/npm/cli/releases/tag/v6.14.4 │
              │ Run npm install -g npm to update! │
              │ │
              ╰────────────────────────────────────────────────────────────────╯

              Glasfaser 1 Reply Last reply Reply Quote 0
              • Glasfaser
                Glasfaser @thorkillar last edited by

                @thorkillar

                so jetzt :

                cd /opt/iobroker
                
                iobroker version
                
                T 1 Reply Last reply Reply Quote 0
                • T
                  thorkillar @Glasfaser last edited by

                  @Glasfaser sagte in Update nicht möglich / Error: Cannot find module:

                  cd /opt/iobroker

                  a5f680b6-022c-4617-925b-026b0178c184-image.png

                  Glasfaser 1 Reply Last reply Reply Quote 0
                  • Glasfaser
                    Glasfaser @thorkillar last edited by

                    @thorkillar

                    Da ist ja ganz schön etwas vermurkst !

                    node-forge , habe ich noch nie gehört , ich suche mal !

                    T 1 Reply Last reply Reply Quote 0
                    • T
                      thorkillar @Glasfaser last edited by

                      @Glasfaser danke für deine Hilfe. ich warte.

                      Glasfaser 1 Reply Last reply Reply Quote 0
                      • Glasfaser
                        Glasfaser @thorkillar last edited by

                        @thorkillar

                        Hast du den Adapter NODE-RED ?

                        T 1 Reply Last reply Reply Quote 0
                        • T
                          thorkillar @Glasfaser last edited by

                          Ich bin mir nicht sicher. Ich glaube, ich hatte es zu testzwecken mal installiert und danach deinstalliert.

                          Glasfaser 1 Reply Last reply Reply Quote 0
                          • Glasfaser
                            Glasfaser @thorkillar last edited by Glasfaser

                            @thorkillar

                            versuche erstmal ohne sudo

                            cd /opt/iobroker
                            npm install node-forge
                            
                            T 1 Reply Last reply Reply Quote 0
                            • T
                              thorkillar @Glasfaser last edited by

                              @Glasfaser sagte in Update nicht möglich / Error: Cannot find module:

                              cd /opt/iobroker
                              npm install node-forge

                              335eb0d5-7680-48aa-8b71-694d64e2ed84-image.png
                              08c3ed77-24a7-44db-b9ef-0c014a8e8cf2-image.png

                              Glasfaser 1 Reply Last reply Reply Quote 0
                              • Glasfaser
                                Glasfaser @thorkillar last edited by

                                @thorkillar

                                dann mit sudo davor

                                T 1 Reply Last reply Reply Quote 0
                                • T
                                  thorkillar @Glasfaser last edited by

                                  @Glasfaser 4a87c8d0-4432-4d4d-95a8-201ecd00844c-image.png

                                  Glasfaser 1 Reply Last reply Reply Quote 0
                                  • Glasfaser
                                    Glasfaser @thorkillar last edited by

                                    @thorkillar

                                    cd /opt/iobroker
                                    
                                    iobroker version
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • T
                                      thorkillar last edited by

                                      @Glasfaser sagte in Update nicht möglich / Error: Cannot find module:

                                      cd /opt/iobroker

                                      iobroker version

                                      8ca1bfcb-fb18-4501-b2d6-3edfc99bdf66-image.png

                                      Glasfaser 1 Reply Last reply Reply Quote 0
                                      • Glasfaser
                                        Glasfaser @thorkillar last edited by

                                        @thorkillar

                                        Ich verstehe nicht warum du immer Rechte Probleme hast !?

                                        Ist schon vorher mal was , gewesen !????

                                        1 Reply Last reply Reply Quote 0
                                        • haselchen
                                          haselchen Most Active last edited by

                                          @Glasfaser

                                          Meinste er sollte mal ein
                                          apt-get update
                                          apt-get upgrade

                                          versuchen.
                                          Evtl. kriegt er das System so wieder hin.

                                          Glasfaser 1 Reply Last reply Reply Quote 0
                                          • T
                                            thorkillar last edited by

                                            glaube nicht. ist mir zuvor nie aufgefallen. sonst sind die update einfach durchgeflaufen.

                                            Glasfaser 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

                                            725
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            cannot find module iobroker update
                                            4
                                            114
                                            9290
                                            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