Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Praktische Anwendungen (Showcase)
    4. VIS für FireTablet *gelöst*

    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

    VIS für FireTablet *gelöst*

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

      @thomas-braun sagte in VIS für FireTablet:

      sudo -H -u iobroker npm install iobroker.js-controller

      pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller
      npm ERR! code ENOTEMPTY
      npm ERR! syscall rename
      npm ERR! path /opt/iobroker/node_modules/ajv
      npm ERR! dest /opt/iobroker/node_modules/.ajv-Kze9IpmC
      npm ERR! errno -39
      npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/ajv' -> '/opt/iobroker/node_modules/.ajv-Kze9IpmC'
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/iobroker/.npm/_logs/2022-11-08T14_04_54_291Z-debug-0.log
      
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @gluecksmann last edited by

        @gluecksmann

        Dürfte das sein:

        https://forum.iobroker.net/topic/57337/fehler-25-bei-adapter-install-update-mit-npm8

        G 1 Reply Last reply Reply Quote 1
        • G
          gluecksmann @Thomas Braun last edited by

          @thomas-braun Sieht ganz danach aus.... beim ausführen sagt er das er keine Berechtigung zum löschen hat

          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @gluecksmann last edited by Thomas Braun

            @gluecksmann

            Dann hast du dir im Vorfeld da schon die Rechte verbogen. (aka mit 'sudo' oder gar als root herumgehampelt). Oder dein user 'pi' ist nicht in der Gruppe 'iobroker' drin.

            iob stop
            iob fix
            for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done
            cd /opt/iobroker
            sudo -H -u iobroker npm install iobroker.js-controller
            iob start
            
            G 1 Reply Last reply Reply Quote 0
            • G
              gluecksmann @Thomas Braun last edited by

              @thomas-braun sagte in VIS für FireTablet:

              for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done

              Muss ich für den dritten Schritt in ein spezielles Verzeichnis gehen ?

              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @gluecksmann last edited by Thomas Braun

                @gluecksmann sagte in VIS für FireTablet:

                Muss ich für den dritten Schritt in ein spezielles Verzeichnis gehen ?

                Nein, in der Variante nicht mehr. Mit den ersten Würfen musste man das allerdings.

                G 1 Reply Last reply Reply Quote 0
                • G
                  gluecksmann @Thomas Braun last edited by

                  @thomas-braun sagte in VIS für FireTablet:

                  @gluecksmann sagte in VIS für FireTablet:

                  Muss ich für den dritten Schritt in ein spezielles Verzeichnis gehen ?

                  Nein, in der Variante nicht mehr. Mit den ersten Würfen musste man das allerdings.

                  Also starte ich aus pi@raspberrypi: ? oder doch ein Verzeichnis?

                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @gluecksmann last edited by Thomas Braun

                    @gluecksmann Egal.

                    Der Befehl krabbelt automatisch in das richtige Verzeichnis.
                    Lediglich beim

                    sudo -H -u iobroker npm install iobroker.js-controller
                    

                    musst du in
                    /opt/iobroker
                    stehen.

                    G 1 Reply Last reply Reply Quote 0
                    • G
                      gluecksmann @Thomas Braun last edited by

                      @thomas-braun

                      Hmmm... hab ich alles gemacht...sieht aber trotzdem nicht danach aus das es funktioniert hat

                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @gluecksmann last edited by

                        @gluecksmann sagte in VIS für FireTablet:

                        sieht aber trotzdem nicht danach aus das es funktioniert hat

                        Wie sieht / sah es denn aus?

                        G 1 Reply Last reply Reply Quote 0
                        • G
                          gluecksmann @Thomas Braun last edited by

                          @thomas-braun ```
                          pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller
                          npm WARN skipping integrity check for git dependency ssh://git@github.com/nbuenger/ioBroker.govee.git
                          npm WARN skipping integrity check for git dependency ssh://git@github.com/ioBroker/ioBroker.icons-ultimate-png.git
                          npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.
                          npm WARN deprecated crypto@1.0.1: This package is no longer supported. It's now a built-in Node module. If you've depended on crypto, you should switch to the one that's built-in.
                          npm WARN deprecated @types/bl@5.1.0: This is a stub types definition. bl provides its own type definitions, so you do not need this installed.
                          npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
                          npm WARN deprecated node-xmpp-tls-connect@1.0.1: this package is deprecated please use https://github.com/xmppjs/xmpp.js
                          npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
                          npm WARN deprecated har-validator@5.1.5: this library is no longer supported
                          npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
                          npm WARN deprecated node-xmpp-core@5.0.9: this package is deprecated please use https://github.com/xmppjs/xmpp.js
                          npm WARN deprecated json3@3.3.2: Please use the native JSON object instead of JSON 3
                          npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
                          npm WARN deprecated querystring@0.2.1: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
                          npm WARN deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin.
                          npm WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained.
                          npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
                          npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                          npm WARN deprecated node-xmpp-client@3.2.0: this package is deprecated please use https://www.npmjs.com/package/@xmpp/client
                          npm WARN deprecated xmldom@0.1.16: Deprecated due to CVE-2021-21366 resolved in 0.5.0

                          added 6 packages, removed 26 packages, and changed 1181 packages in 11m

                          82 packages are looking for funding
                          run npm fund for details

                          mikeal created this issue in request/request

                          open Request’s Past, Present and Future #3142

                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @gluecksmann last edited by

                            @gluecksmann

                            Tip: Die Steuerzeichen (vor dem Konsolenoutput) gehören in eine neue, eigene Zeile.

                            Ansonsten sieht das gut aus.

                            G 1 Reply Last reply Reply Quote 0
                            • G
                              gluecksmann @Thomas Braun last edited by

                              @thomas-braun Aber geht nicht...

                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @gluecksmann last edited by

                                @gluecksmann

                                Das heißt konkret?

                                iobroker status
                                

                                sagt?

                                G 1 Reply Last reply Reply Quote 0
                                • G
                                  gluecksmann @Thomas Braun last edited by

                                  @thomas-braun sagte in VIS für FireTablet:

                                  iobroker status

                                  pi@raspberrypi:/opt/iobroker $ iobroker status
                                  iobroker is running on this host.

                                  Objects type: jsonl
                                  States type: jsonl
                                  pi@raspberrypi:/opt/iobroker $

                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @gluecksmann last edited by

                                    @gluecksmann

                                    Alles prima, ioBroker lüppt.

                                    G 1 Reply Last reply Reply Quote 0
                                    • G
                                      gluecksmann @Thomas Braun last edited by gluecksmann

                                      @thomas-braun Nöe... beim Aufruf kommt dann...

                                      Error: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.admin/lib/../www/index.html'
                                          at Object.openSync (node:fs:585:3)
                                          at Object.readFileSync (node:fs:453:35)
                                          at prepareIndex (/opt/iobroker/node_modules/iobroker.admin/lib/web.js:200:27)
                                          at /opt/iobroker/node_modules/iobroker.admin/lib/web.js:763:46
                                          at Layer.handle [as handle_request] (/opt/iobroker/node_modules/express/lib/router/layer.js:95:5)
                                          at next (/opt/iobroker/node_modules/express/lib/router/route.js:144:13)
                                          at Route.dispatch (/opt/iobroker/node_modules/express/lib/router/route.js:114:3)
                                          at Layer.handle [as handle_request] (/opt/iobroker/node_modules/express/lib/router/layer.js:95:5)
                                          at /opt/iobroker/node_modules/express/lib/router/index.js:284:15
                                          at Function.process_params (/opt/iobroker/node_modules/express/lib/router/index.js:346:12)
                                      
                                      
                                      Thomas Braun crunchip 2 Replies Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @gluecksmann last edited by

                                        @gluecksmann

                                        Mensch....
                                        Setz die `` in eine neue Zeile!

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

                                          @gluecksmann sagte in VIS für FireTablet:

                                          beim Aufruf kommt dann...

                                          bei welchem Aufruf?
                                          ist dein admin nicht installiert, bzw Fehlerhaft

                                          zeig mal

                                          iob list instances
                                          iob list adapters
                                          
                                          G 2 Replies Last reply Reply Quote 0
                                          • G
                                            gluecksmann @crunchip last edited by

                                            @crunchip sagte in VIS für FireTablet:

                                            iob list instances

                                            Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                                at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
                                                at Function.Module._load (node:internal/modules/cjs/loader:778:27)
                                                at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
                                                at node:internal/main/run_main_module:17:47 {
                                              code: 'MODULE_NOT_FOUND',
                                              requireStack: []
                                            
                                            
                                            node:internal/modules/cjs/loader:936
                                              throw err;
                                              ^
                                            
                                            Error: Cannot find module './lib/setup'
                                            Require stack:
                                            - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js
                                                at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
                                                at Function.Module._load (node:internal/modules/cjs/loader:778:27)
                                                at Module.require (node:internal/modules/cjs/loader:1005:19)
                                                at require (node:internal/modules/cjs/helpers:102:18)
                                                at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js:1:1)
                                                at Module._compile (node:internal/modules/cjs/loader:1105:14)
                                                at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
                                                at Module.load (node:internal/modules/cjs/loader:981:32)
                                                at Function.Module._load (node:internal/modules/cjs/loader:822:12)
                                                at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) {
                                              code: 'MODULE_NOT_FOUND',
                                              requireStack: [ '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' ]
                                            
                                            
                                            Homoran crunchip 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            553
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            93
                                            3984
                                            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