Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. js-controller 3.0/3.1 jetzt im Latest!

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    js-controller 3.0/3.1 jetzt im Latest!

    This topic has been deleted. Only users with topic management privileges can see it.
    • dslraser
      dslraser Forum Testing Most Active @Thomas Braun last edited by

      @Thomas-Braun sagte in js-controller 3.0 jetzt im Latest!:

      npm rebuild canvas --build-from-source

      root@iobroker:/opt/iobroker# npm rebuild canvas --build-from-source
      
      > canvas@2.6.1 install /opt/iobroker/node_modules/canvas
      > node-pre-gyp install --fallback-to-build
      
      node-pre-gyp WARN Using request for node-pre-gyp https download
      Package pixman-1 was not found in the pkg-config search path.
      Perhaps you should add the directory containing `pixman-1.pc'
      to the PKG_CONFIG_PATH environment variable
      No package 'pixman-1' found
      gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
      gyp ERR! configure error
      gyp ERR! stack Error: `gyp` failed with exit code: 1
      gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
      gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275: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" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=5" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"
      gyp ERR! cwd /opt/iobroker/node_modules/canvas
      gyp ERR! node -v v12.16.3
      gyp ERR! node-gyp -v v5.1.0
      gyp ERR! not ok
      node-pre-gyp ERR! build error
      node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
      node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/canvas/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
      node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
      node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1021:16)
      node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
      node-pre-gyp ERR! System Linux 4.4.59+
      node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
      node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
      node-pre-gyp ERR! node -v v12.16.3
      node-pre-gyp ERR! node-pre-gyp -v v0.11.0
      node-pre-gyp ERR! not ok
      Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! canvas@2.6.1 install: `node-pre-gyp install --fallback-to-build`
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the canvas@2.6.1 install script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /opt/iobroker/.npm/_logs/2020-05-02T11_26_33_480Z-debug.log
      root@iobroker:/opt/iobroker#
      

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

        @dslraser Da fehlen jetzt die -dev-Pakete aus dem graphic stack. Ich weiß aber nicht wo man die bei deinem System her bekommt.

        dslraser 1 Reply Last reply Reply Quote 0
        • dslraser
          dslraser Forum Testing Most Active @Thomas Braun last edited by

          @Thomas-Braun
          ich bin jetzt mal ne Stunde wech, nachher gets weiter.

          1 Reply Last reply Reply Quote 0
          • liv-in-sky
            liv-in-sky last edited by

            was sind das für warnungen ? weiß jmd, wie man die die wegbekommen kann

            web.1	2020-05-02 13:43:02.580	warn	(22881) readFile will not read this file (uploads/files/1588419094081-xxxxxxxxxxxxxx6f-0378895cb788-grafik.png) in future versions: assets is not an object of type "meta"
            

            kommt so alle 20-30 sekunden - die

            apollon77 1 Reply Last reply Reply Quote 0
            • dslraser
              dslraser Forum Testing Most Active @Thomas Braun last edited by

              @Thomas-Braun sagte in js-controller 3.0 jetzt im Latest!:

              @dslraser Da fehlen jetzt die -dev-Pakete aus dem graphic stack. Ich weiß aber nicht wo man die bei deinem System her bekommt.

              Was für Infos brauchst Du dafür ?

              apollon77 1 Reply Last reply Reply Quote 0
              • apollon77
                apollon77 @dslraser last edited by

                @dslraser Poste mal das install log von dem update

                dslraser 1 Reply Last reply Reply Quote 0
                • apollon77
                  apollon77 @Thomas Braun last edited by

                  @Thomas-Braun Das iobroker rebuild iot --install ist der preferred way mit controller 3.0!

                  dirk1962 1 Reply Last reply Reply Quote 0
                  • apollon77
                    apollon77 @Thomas Braun last edited by

                    @Thomas-Braun Und genau aus dem grund haben wir das eigene Kommando! @Thomas-Braun Bitte empfehle das in Zukunft. Danke!

                    1 Reply Last reply Reply Quote 0
                    • dslraser
                      dslraser Forum Testing Most Active @apollon77 last edited by

                      @apollon77 sagte in js-controller 3.0 jetzt im Latest!:

                      Poste mal das install log von dem update

                      vom iot Update, oder welches meinst Du ?

                      1 Reply Last reply Reply Quote 0
                      • apollon77
                        apollon77 @liv-in-sky last edited by

                        @liv-in-sky eigene Files die du irgendwie aus nem eigenen Folder lesen willst oder so? Der Name ist "assets" ... klingelt da was vllt?

                        liv-in-sky 1 Reply Last reply Reply Quote 0
                        • apollon77
                          apollon77 @dslraser last edited by apollon77

                          @dslraser Die sollte der Adapter an sich installieren ... mach mal ein apt installmit der Liste die da angegeben ist https://github.com/ioBroker/ioBroker.iot/blob/master/io-package.json#L243

                          Deswegen wäre ich mal über ein Install Log vom Adapter echt erfreut

                          Bzw bitte führe mal im container das hier aus

                          node -e 'console.log(process.platform);'
                          

                          Was ist das Ergebnis?

                          dslraser 2 Replies Last reply Reply Quote 0
                          • dslraser
                            dslraser Forum Testing Most Active @apollon77 last edited by

                            @apollon77 sagte in js-controller 3.0 jetzt im Latest!:

                            Was ist das Ergebnis?

                            root@iobroker:/opt/iobroker# node -e 'console.log(process.platform);'
                            linux
                            root@iobroker:/opt/iobroker#
                            
                            1 Reply Last reply Reply Quote 0
                            • dslraser
                              dslraser Forum Testing Most Active @apollon77 last edited by

                              @apollon77 sagte in js-controller 3.0 jetzt im Latest!:

                              Deswegen wäre ich mal über ein Install Log vom Adapter echt erfreut

                              das Log von heute habe ich vorhin gelöscht, da ich noch was anderes gemacht habe, da ist jetzt fast nichts drinn, jedenfalls nichts mehr von den Updates...😕

                              apollon77 1 Reply Last reply Reply Quote 0
                              • apollon77
                                apollon77 @dslraser last edited by

                                @dslraser Dann versuch mal manuell die genannten Pakete zu installieren, an sich würde ich aber erwarten das er sagt das die alle da sind

                                dslraser 1 Reply Last reply Reply Quote 0
                                • dslraser
                                  dslraser Forum Testing Most Active @apollon77 last edited by dslraser

                                  @apollon77

                                  meinst Du so ? (dann wäre das erste schon nicht da, oder ?)

                                  root@iobroker:/opt/iobroker# apt install libcairo2-dev
                                  Paketlisten werden gelesen... Fertig
                                  Abhängigkeitsbaum wird aufgebaut.
                                  Statusinformationen werden eingelesen.... Fertig
                                  E: Paket libcairo2-dev kann nicht gefunden werden.
                                  root@iobroker:/opt/iobroker#
                                  
                                  apollon77 1 Reply Last reply Reply Quote 0
                                  • apollon77
                                    apollon77 @dslraser last edited by

                                    @dslraser Was hast denn du für ein System in deinem Container? Also Debian hat das seit ewig (https://packages.debian.org/search?keywords=libcairo2-dev), Ubuntu an such auch ...

                                    dslraser 2 Replies Last reply Reply Quote 0
                                    • dslraser
                                      dslraser Forum Testing Most Active @apollon77 last edited by dslraser

                                      @apollon77
                                      das ist das "Buanet Image 4.2=latest"

                                      1 Reply Last reply Reply Quote 0
                                      • dslraser
                                        dslraser Forum Testing Most Active @apollon77 last edited by dslraser

                                        @apollon77 sagte in js-controller 3.0 jetzt im Latest!:

                                        Was hast denn du für ein System in deinem Container?

                                        Das hier: Buanet

                                        Bildschirmfoto 2020-05-02 um 14.29.30.png

                                        apollon77 1 Reply Last reply Reply Quote 0
                                        • dirk1962
                                          dirk1962 @apollon77 last edited by dirk1962

                                          @apollon77
                                          sagte in js-controller 3.0 jetzt im Latest!:

                                          @Thomas-Braun Das iobroker rebuild iot --install ist der preferred way mit controller 3.0

                                          Habe ich genauso gemacht und musste es nach jedem Update des iot Adapters wieder machen.
                                          iobroker läuft unter PROXMOX in VM.
                                          JS-controller 3.0.20
                                          Node.js v12.16.3
                                          alle Adapter aus dem latest.

                                          apollon77 1 Reply Last reply Reply Quote 0
                                          • F
                                            fabib last edited by

                                            Hallo Leute,

                                            hab den Update geschafft. Jetzt habe ich nur noch das Problem mit dem Zigbee Adapter Version 1.1.1 ... ich weiß leider nicht weiter. Hab schon npm rebuild gemacht und iobroker fix

                                            Das Log aus ioBroker wenn der Adapter starten möchte:

                                            2020-05-02 14:35:19.196 - info: host.raspberrypi "system.adapter.zigbee.0" enabled
                                            2020-05-02 14:35:19.250 - info: host.raspberrypi instance system.adapter.zigbee.0 started with pid 10268
                                            2020-05-02 14:35:21.564 - info: zigbee.0 (10268) starting. Version 1.1.1 in /opt/iobroker/node_modules/iobroker.zigbee, node: v12.16.3, js-controller: 3.0.20
                                            2020-05-02 14:35:21.603 - info: zigbee.0 (10268) Starting Zigbee...
                                            2020-05-02 14:35:28.883 - error: zigbee.0 (10268) Failed to start Zigbee
                                            2020-05-02 14:35:28.884 - error: zigbee.0 (10268) Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
                                            at ZStackAdapter. (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:71:23)
                                            at Generator.throw ()
                                            at rejected (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:6:65)
                                            2020-05-02 14:35:38.886 - info: zigbee.0 (10268) Try to reconnect. 1 attempts left
                                            2020-05-02 14:35:38.888 - info: zigbee.0 (10268) Starting Zigbee...
                                            2020-05-02 14:35:39.112 - error: zigbee.0 (10268) Failed to start Zigbee
                                            2020-05-02 14:35:39.113 - error: zigbee.0 (10268) Error: Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'
                                            at Znp. (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:113:32)
                                            at Generator.next ()
                                            at /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:8:71
                                            at new Promise ()
                                            at __awaiter (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:4:12)
                                            at SerialPort. (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:111:49)
                                            at SerialPort._error (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:198:14)
                                            at /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:242:12
                                            

                                            Und die Versionen:

                                            pi@raspberrypi:~ $ npm -v
                                            6.14.4
                                            pi@raspberrypi:~ $ node -v
                                            v12.16.3
                                            pi@raspberrypi:~ $ nodejs -v
                                            v12.16.3
                                            pi@raspberrypi:~ $ iobroker version
                                            3.0.20
                                            

                                            Übersehe ich etwas? Mache ich was falsch? Hab ich was nicht richtig gemacht? Bin ich hier überhaupt richtig mit meinem Anliegen.

                                            Ich danke schonmal im Voraus 😉
                                            Liebe Grüße

                                            ? apollon77 2 Replies 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

                                            1.1k
                                            Online

                                            31.6k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            js-controller
                                            127
                                            1340
                                            376443
                                            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