Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Beta Test js-controller 3.2.x auf GitHub

    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

    Beta Test js-controller 3.2.x auf GitHub

    This topic has been deleted. Only users with topic management privileges can see it.
    • Feuersturm
      Feuersturm @MalleRalle last edited by

      @MalleRalle sagte in Beta Test js-controller 3.2.x auf GitHub:

      Update auf hm-rpc@1.14.27 behebt den PONG Fehler

      Hast du den Adapter normal über ioBroker installiert oder hast du die Version 1.14.29 über die Git-Katze installiert. Laut Changelog ist der Fix in der 1.14.29 enthalten, im latest / Beta wird mir aber nur die 1.14.27 angeboten.

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

        Mal andere Frage: Schaut mal ob jemand hier einejn Eintrag hat (unter "Objekte", Expertenmodus, "system.host.NAME.notifications" ... Falls das bei jemandem nicht leer ist bitte iobroker mal stoppen und in iobroker-data nach der notifications.json schauen und den Inhalt mal posten ... Danke 🙂

        Bildschirmfoto 2021-01-09 um 23.27.14.png

        SBorg Neuschwansteini lobomau Thomas Braun 4 Replies Last reply Reply Quote 0
        • SBorg
          SBorg Forum Testing Most Active @apollon77 last edited by

          @apollon77 Bidda sche:

          {"system":{"restartLoop":{"system.adapter.backitup.0":[{"message":"Restart loop detected","ts":1610188753329}],"system.adapter.enigma2.0":[{"message":"Restart loop detected","ts":1610189429633}]}}}
          
          apollon77 1 Reply Last reply Reply Quote 0
          • apollon77
            apollon77 @SBorg last edited by

            @SBorg Cool :-)) Danke ... Das system tut mal generell ... Du hattest also zwei Fälle das Adapter zu schnell gecrasht sind 🙂 Später mal wird das im Admin angezeigt

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

              @apollon77 Hat das Update auch Einfluss auf den VIS Dateimanager?
              js-controller 3.2.4:
              2f9d285a-6873-4c2d-9b98-e0416d3197ef-grafik.png

              Wenn ich jetzt eine Ebene höher gehe dann verschwindet der Ordnername und ich komme in vis.0/main auch nicht mehr rein. Ebenfalls fehlen sämtliche anderen Inhalte im vis.0 Ordner.
              dfb40bef-52b2-4b94-979b-a06b497a9635-grafik.png

              Gleiches gilt, wenn ich auf der obersten Wurzelebene bin und dann in die einzelnen Ordner navigiere.

              So sieht der vis.0 Ordner im meinem Produktivsystem (js-controller 3.1.6) aus:
              8c1ac6b1-2b6d-49cd-9dcb-caa4e685411e-grafik.png

              sigi234 apollon77 4 Replies Last reply Reply Quote 0
              • sigi234
                sigi234 Forum Testing Most Active @Feuersturm last edited by sigi234

                @Feuersturm

                Das kann ich bestätigen!

                Siehe:

                https://discord.com/channels/743167951875604501/743227673379209389/797497699368697888

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

                  @Feuersturm wenn du den doppelten slash weg machst ist der Inhalt dann wieder da?

                  Aber ja das kann durchaus sein. Checke ich.

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

                    @Feuersturm noch frage: dB ist file oder redis?

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

                      @apollon77 sagte in Beta Test js-controller 3.2.x auf GitHub:

                      @Feuersturm noch frage: dB ist file oder redis?

                      Ich verstehe die Frage leider nicht. Worauf bezieht sich deine Frage?

                      lobomau apollon77 2 Replies Last reply Reply Quote 0
                      • lobomau
                        lobomau @Feuersturm last edited by

                        @apollon77 ich habe mal auf einem slave ausprobiert einem Pi3 mit node 12.20.1 und npm 6.14.10.
                        Scheint nicht geklappt zu haben:

                        
                        pi@Pi3:~ $ cd /opt/iobroker
                        pi@Pi3:/opt/iobroker $ sudo iobroker stop
                        pi@Pi3:/opt/iobroker $ sudo npm install ioBroker/ioBroker.js-controller
                        
                        > iobroker.js-controller@3.2.4 preinstall /opt/iobroker/node_modules/iobroker.js                                           -controller
                        > node lib/preinstallCheck.js
                        
                        NPM version: 6.14.10
                        
                        > iobroker.js-controller@3.2.4 install /opt/iobroker/node_modules/iobroker.js-co                                           ntroller
                        > node iobroker.js setup first
                        
                        Cannot write file. Not critical: Error: EACCES: permission denied, open '/opt/io                                           broker/node_modules/iobroker.js-controller/lib/setup/../../../../reinstall.js'
                        Cannot delete file. Not critical: Error: EACCES: permission denied, unlink '/opt                                           /iobroker/node_modules/iobroker.js-controller/lib/setup/../../_service_iobroker.                                           bat'
                        Cannot delete file. Not critical: Error: EACCES: permission denied, unlink '/opt                                           /iobroker/node_modules/iobroker.js-controller/lib/setup/../../iobroker.bat'
                        Cannot delete file. Not critical: Error: EACCES: permission denied, unlink '/opt                                           /iobroker/node_modules/iobroker.js-controller/lib/setup/../../iob.bat'
                        internal/fs/utils.js:269
                            throw err;
                            ^
                        
                        Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/iobroker.js-                                           controller/lib/setup/../../tmp'
                            at Object.mkdirSync (fs.js:921:3)
                            at Setup.setup (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/                                           setupSetup.js:835:16)
                            at processCommand (/opt/iobroker/node_modules/iobroker.js-controller/lib/set                                           up.js:272:23)
                            at Object.module.exports.execute (/opt/iobroker/node_modules/iobroker.js-con                                           troller/lib/setup.js:2643:5)
                            at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/iob                                           roker.js:1:24)
                            at Module._compile (internal/modules/cjs/loader.js:999:30)
                            at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                            at Module.load (internal/modules/cjs/loader.js:863:32)
                            at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                            at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js                                           :60:12) {
                          errno: -13,
                          syscall: 'mkdir',
                          code: 'EACCES',
                          path: '/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/../../tmp'
                        }
                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.1 (node_modules/ch                                           okidar/node_modules/fsevents):
                        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@                                           2.3.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}                                           )
                        
                        npm ERR! code ELIFECYCLE
                        npm ERR! errno 1
                        npm ERR! iobroker.js-controller@3.2.4 install: `node iobroker.js setup first`
                        npm ERR! Exit status 1
                        npm ERR!
                        npm ERR! Failed at the iobroker.js-controller@3.2.4 install script.
                        npm ERR! This is probably not a problem with npm. There is likely additional log                                           ging output above.
                        
                        npm ERR! A complete log of this run can be found in:
                        npm ERR!     /root/.npm/_logs/2021-01-10T08_01_16_275Z-debug.log
                        pi@Pi3:/opt/iobroker $
                        
                        
                        apollon77 1 Reply Last reply Reply Quote 0
                        • apollon77
                          apollon77 @lobomau last edited by

                          @lobomau iobroker fix bitte, dann nochmal versuchen. Danke

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

                            @Feuersturm was sagt „iobroker setup custom“ bei der objects databank für einen Typ? File oder redis?

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

                              @apollon77 hab ich kein ioBroker mehr!?
                              43140403-c137-489b-b521-c7893247b529-image.png

                              der zweite Befehl mit fix.sh hatte auch nicht geklappt.
                              Nun läuft gerade durch:

                              sudo -H -u iobroker npm install ioBroker/ioBroker.js-controller
                              
                              lobomau 1 Reply Last reply Reply Quote 0
                              • lobomau
                                lobomau @lobomau last edited by lobomau

                                @apollon77 ich glaube es hat geklappt:

                                2a17a7be-d514-42e4-88df-aa945d40beb6-image.png

                                pi@Pi3:/opt/iobroker $ curl -sL https://iobroker.net/fix.sh | bash -
                                library: loaded
                                Library version=2020-12-07
                                ioBroker is not installed in /opt/iobroker! Cannot fix anything...
                                pi@Pi3:/opt/iobroker $ sudo -H -u iobroker npm install ioBroker/ioBroker.js-cont                                                        roller
                                
                                > iobroker.js-controller@3.2.4 preinstall /opt/iobroker/node_modules/iobroker.js                                                        -controller
                                > node lib/preinstallCheck.js
                                
                                NPM version: 6.14.10
                                
                                > iobroker.js-controller@3.2.4 install /opt/iobroker/node_modules/iobroker.js-co                                                        ntroller
                                > node iobroker.js setup first
                                
                                object 0_userdata.0.example_state created
                                object _design/system updated
                                ioBroker configuration updated
                                
                                > @root/acme@3.1.0 postinstall /opt/iobroker/node_modules/@root/acme
                                > node scripts/postinstall
                                
                                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.1 (node_modules/ch                                                        okidar/node_modules/fsevents):
                                npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@                                                        2.3.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}                                                        )
                                
                                + iobroker.js-controller@3.2.4
                                added 87 packages from 45 contributors, removed 3 packages and moved 1 package i                                                        n 178.757s
                                
                                11 packages are looking for funding
                                  run `npm fund` for details
                                
                                pi@Pi3:/opt/iobroker $ sudo npm fund
                                iobroker.inst@2.0.3
                                ├─┬ https://github.com/sponsors/isaacs
                                │ └── glob@7.1.6
                                ├─┬ https://github.com/sponsors/epoberezkin
                                │ └── ajv@6.12.3
                                ├─┬ https://github.com/sponsors/RubenVerborgh
                                │ └── follow-redirects@1.13.0
                                ├─┬ https://github.com/sponsors/ljharb
                                │ └── is-nan@1.3.0, resolve@1.17.0, has-symbols@1.0.1
                                ├─┬ https://opencollective.com/ioredis
                                │ └── ioredis@4.19.4
                                ├─┬ https://github.com/sponsors/jonschlinkert
                                │ └── picomatch@2.2.2
                                ├─┬ https://github.com/chalk/wrap-ansi?sponsor=1
                                │ └── wrap-ansi@7.0.0
                                ├─┬ https://github.com/chalk/ansi-styles?sponsor=1
                                │ └── ansi-styles@4.3.0
                                ├─┬ https://github.com/sponsors/feross
                                │ └── safe-buffer@5.2.1, simple-concat@1.0.1
                                ├─┬ https://www.patreon.com/feross
                                │ └── safe-buffer@5.2.1, simple-concat@1.0.1
                                ├─┬ https://feross.org/support
                                │ └── safe-buffer@5.2.1, simple-concat@1.0.1
                                └─┬ https://github.com/sponsors/sindresorhus
                                  └── mimic-response@2.1.0
                                
                                pi@Pi3:/opt/iobroker $ sudo iobroker start
                                pi@Pi3:/opt/iobroker $
                                
                                
                                apollon77 1 Reply Last reply Reply Quote 0
                                • apollon77
                                  apollon77 @lobomau last edited by

                                  @lobomau passt.

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

                                    @apollon77 hab mir den nächsten slave einen Pi1 vorgenommen. Diesmal zuerst den fix gestartet, aber fürhrt zum gleichen Fehler (?) wie beim Pi3. Ich mache dann gleich wieder den Schritt wie beim Pi3.

                                    pi@raspberrypi:~ $ cd /opt/iobroker
                                    pi@raspberrypi:/opt/iobroker $ sudo iobroker stop
                                    pi@raspberrypi:/opt/iobroker $ sudo iobroker fix
                                    library: loaded
                                    Library version=2020-12-07
                                    
                                    ==========================================================================
                                    
                                        Welcome to the ioBroker installation fixer!
                                        Script version: 2020-12-07
                                    
                                    ==========================================================================
                                    
                                    
                                    ==========================================================================
                                        Installing prerequisites (1/3)
                                    ==========================================================================
                                    
                                    Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
                                    Hit:2 http://archive.raspberrypi.org/debian buster InRelease
                                    Reading package lists... Done
                                    Installed gcc-c++
                                    
                                    ==========================================================================
                                        Checking ioBroker user and directory permissions (2/3)
                                    ==========================================================================
                                    
                                    Created /etc/sudoers.d/iobroker
                                    Fixing directory permissions...
                                    
                                    ==========================================================================
                                        Checking autostart (3/3)
                                    ==========================================================================
                                    
                                    Enabling autostart...
                                    Autostart enabled!
                                    
                                    ==========================================================================
                                    
                                        Your installation was fixed successfully
                                        Run iobroker start to start ioBroker again!
                                    
                                    ==========================================================================
                                    
                                    pi@raspberrypi:/opt/iobroker $ sudo npm install ioBroker/ioBroker.js-controller
                                    
                                    > iobroker.js-controller@3.2.4 preinstall /opt/iobroker/node_modules/iobroker.js                             -controller
                                    > node lib/preinstallCheck.js
                                    
                                    Could not check npm version: Error: Timeout
                                    Assuming that correct version is installed.
                                    
                                    > iobroker.js-controller@3.2.4 install /opt/iobroker/node_modules/iobroker.js-co                             ntroller
                                    > node iobroker.js setup first
                                    
                                    Cannot write file. Not critical: Error: EACCES: permission denied, open '/opt/io                             broker/node_modules/iobroker.js-controller/lib/setup/../../../../reinstall.js'
                                    Cannot delete file. Not critical: Error: EACCES: permission denied, unlink '/opt                             /iobroker/node_modules/iobroker.js-controller/lib/setup/../../_service_iobroker.                             bat'
                                    Cannot delete file. Not critical: Error: EACCES: permission denied, unlink '/opt                             /iobroker/node_modules/iobroker.js-controller/lib/setup/../../iobroker.bat'
                                    Cannot delete file. Not critical: Error: EACCES: permission denied, unlink '/opt                             /iobroker/node_modules/iobroker.js-controller/lib/setup/../../iob.bat'
                                    fs.js:114
                                        throw err;
                                        ^
                                    
                                    Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/iobroker.js-                             controller/lib/setup/../../tmp'
                                        at Object.mkdirSync (fs.js:757:3)
                                        at Setup.setup (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/                             setupSetup.js:835:16)
                                        at processCommand (/opt/iobroker/node_modules/iobroker.js-controller/lib/set                             up.js:272:23)
                                        at Object.module.exports.execute (/opt/iobroker/node_modules/iobroker.js-con                             troller/lib/setup.js:2643:5)
                                        at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/iob                             roker.js:1:24)
                                        at Module._compile (internal/modules/cjs/loader.js:778:30)
                                        at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
                                        at Module.load (internal/modules/cjs/loader.js:653:32)
                                        at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
                                        at Function.Module._load (internal/modules/cjs/loader.js:585:3)
                                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.1 (node_modules/ch                             okidar/node_modules/fsevents):
                                    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@                             2.3.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}                             )
                                    
                                    npm ERR! code ELIFECYCLE
                                    npm ERR! errno 1
                                    npm ERR! iobroker.js-controller@3.2.4 install: `node iobroker.js setup first`
                                    npm ERR! Exit status 1
                                    npm ERR!
                                    npm ERR! Failed at the iobroker.js-controller@3.2.4 install script.
                                    npm ERR! This is probably not a problem with npm. There is likely additional log                             ging output above.
                                    
                                    npm ERR! A complete log of this run can be found in:
                                    npm ERR!     /root/.npm/_logs/2021-01-10T08_43_13_360Z-debug.log
                                    pi@raspberrypi:/opt/iobroker $
                                    
                                    
                                    lobomau 1 Reply Last reply Reply Quote 0
                                    • lobomau
                                      lobomau @lobomau last edited by

                                      @apollon77 ich habe alle Geräte auf 3.2.4 angehoben und alle Adapter sind grün.
                                      ABER: es klappte immer nur mit

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

                                      Und der Fix brachte auch nichts.

                                      0854d0fe-3509-4232-9987-fe2cb92be178-image.png

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

                                        @apollon77 Moin Ingo, den VIS-Dateimanager kann ich unter file-DB bestätigen. Er "bastelt" da pro Klick auf den /vis.0/ - Ordner jedes mal einen neuen Slash mit an 😉

                                        apollon77 sigi234 2 Replies Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @lobomau last edited by Thomas Braun

                                          @lobomau
                                          Man macht das auch ja nicht mit

                                          sudo npm
                                          

                                          oder

                                          sudo iobroker
                                          

                                          Damit haust du das ganze als root ins System! Das ist falsch.

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

                                            @Thomas-Braun da hast du recht hab ich gar nicht gesehen gehabt ;-))

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            647
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            js-controller
                                            25
                                            287
                                            32857
                                            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