Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test ioBroker unter Windows installieren - 2023 Edition

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Test ioBroker unter Windows installieren - 2023 Edition

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

      @jb_sullivan said in Test ioBroker unter Windows installieren - 2023 Edition:

      Zum globalen deinstallieren muss ioB gestoppt sein, oder ist diese falsche NPM Version unabhängig von der NPM Version des ioBroker zu betrachten?

      NPM ist ja nur der Paket Manager, der nach meinem Verständnis nur während Installationen bzw Aktualisierungen von Node.js Modulen läuft. Also Nein. ioBroker muss dafür nicht gestoppt werden.

      JB_Sullivan 1 Reply Last reply Reply Quote 0
      • JB_Sullivan
        JB_Sullivan @Gaspode last edited by

        @gaspode

        Ich habe jetzt die "falsche/alte" npm global Version deinstallieren lassen, iob.bat umbenannt und dann nochmal den Windows Installer gestartet.

        Nun wurde auch der Fixer über den Installer erfolgreich ausgeführt, ohne das es zu einem Windows Skript Error gekommen ist.

        Nach dem Fixer ist die ioB.bat Datei ein paar Kilobyt größer geworden.

        Gaspode 1 Reply Last reply Reply Quote 0
        • Gaspode
          Gaspode @JB_Sullivan last edited by

          @jb_sullivan said in Test ioBroker unter Windows installieren - 2023 Edition:

          Ich habe jetzt die "falsche/alte" npm global Version deinstallieren lassen, iob.bat umbenannt und dann nochmal den Windows Installer gestartet.

          Bei Verwendung vom Installer musst du nix umbenennen, der macht das selbst. Und iob.bat schon gar nicht, sondern iobroker.bat.

          @jb_sullivan said in Test ioBroker unter Windows installieren - 2023 Edition:

          Nach dem Fixer ist die ioB.bat Datei ein paar Kilobyt größer geworden.

          Öhm, iob.bat ist eine Batch Datei mit einer Größe von 921 Byte. Wie groß ist die denn bei dir!?

          JB_Sullivan 1 Reply Last reply Reply Quote 0
          • JB_Sullivan
            JB_Sullivan @Gaspode last edited by

            @gaspode

            Ja, jetzt ist sie921 byte groß, vorher war sie 819 byte groß.

            Hier nur mal so zum Vergleich der Inhalt der beiden "Versionen". Ich kann aber ehrlich gesagt keinen Unterschied entdecken.

            Alt (819byte)

            @echo off
            if %1==fix (
                npx @iobroker/fix
            ) else (
                if exist serviceIoBroker.bat (
                    if %1==start (
                        if [%2]==[] (
                            call serviceIoBroker.bat start
                        ) else (
                            node node_modules/iobroker.js-controller/iobroker.js %1 %2 %3 %4 %5 %6 %7 %8
                        )
                    ) else (
                        if %1==stop (
                            if [%2]==[] (
                                call serviceIoBroker.bat stop
                            ) else (
                                node node_modules/iobroker.js-controller/iobroker.js %1 %2 %3 %4 %5 %6 %7 %8
                            )
                        ) else (
                            node node_modules/iobroker.js-controller/iobroker.js %1 %2 %3 %4 %5 %6 %7 %8
                        )
                    )
                ) else (
                    node node_modules/iobroker.js-controller/iobroker.js %1 %2 %3 %4 %5 %6 %7 %8
                )
            )
            

            Nach dem Fixer Durchlauf

            @echo off
            if [%1]==[fix] (
                npx @iobroker/fix
            ) else (
                if exist serviceIoBroker.bat (
                    if [%1]==[start] (
                        if [%2]==[] (
                            call serviceIoBroker.bat start
                        ) else (
                            node node_modules/iobroker.js-controller/iobroker.js %*
                        )
                    ) else (
                        if [%1]==[stop] (
                            if [%2]==[] (
                                call serviceIoBroker.bat stop
                            ) else (
                                node node_modules/iobroker.js-controller/iobroker.js %*
                            )
                        ) else (
            				if [%1]==[restart] (
            					if [%2]==[] (
            						call serviceIoBroker.bat restart
            					) else (
            						node node_modules/iobroker.js-controller/iobroker.js %*
            					)
            				) else (
            					node node_modules/iobroker.js-controller/iobroker.js %*
            				)
                        )
                    )
                ) else (
                    node node_modules/iobroker.js-controller/iobroker.js %*
                )
            )
            
            Gaspode 1 Reply Last reply Reply Quote 0
            • Gaspode
              Gaspode @JB_Sullivan last edited by Gaspode

              @jb_sullivan said in Test ioBroker unter Windows installieren - 2023 Edition:

              Ich kann aber ehrlich gesagt keinen Unterschied entdecken.

              Es gibt ihn aber 😉

              Die alte Variante ist tatsächlich vor einiger Zeit durch die neue ersetzt werden und wurde jetzt vom Fixer aktualisiert.

              Schön, dass jetzt alles läuft, wie es soll. 👍

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

                @Gaspode Vielen Dank nochmals für den prima Installer.
                Habe heute nodejs auf 18 upgedatet und das lief smooth durch. War früher immer eine schwierige Sache.
                ioBroker lief wieder hoch und selbst rflink, den ich bei der Erstinstallation händisch bauen mußte läuft immer noch.

                Der Fixer hat zwar Fehler gemeldet, aber das ist nicht wirklich schlimm solange alles läuft

                npm@6.14.17 C:\ioBroker\node_modules\npm
                
                node:child_process:965
                    throw err;
                    ^
                
                Error: Command failed: npm x --yes @iobroker/jsonltool@latest
                    at checkExecSyncError (node:child_process:890:11)
                    at execSync (node:child_process:962:15)
                    at Object.<anonymous> (C:\Users\JS\AppData\Local\npm-cache\_npx\41f6637076e42190\node_modules\@iobroker\fix\lib-npx\install.js:71:17)
                    at Module._compile (node:internal/modules/cjs/loader:1356:14)
                    at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
                    at Module.load (node:internal/modules/cjs/loader:1197:32)
                    at Module._load (node:internal/modules/cjs/loader:1013:12)
                    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
                    at node:internal/main/run_main_module:28:49 {
                  status: 1,
                  signal: null,
                  output: [ null, null, null ],
                  pid: 10804,
                  stdout: null,
                  stderr: null
                }
                
                Node.js v18.19.0
                npm notice 
                npm notice New patch version of npm available! 10.2.3 -> 10.2.5
                npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.5>
                npm notice Run `npm install -g npm@10.2.5` to update!
                npm notice
                
                Gaspode 1 Reply Last reply Reply Quote 0
                • Gaspode
                  Gaspode @klassisch last edited by

                  @klassisch
                  Danke für die Rückmeldung. Hmm, das mit dem Fixer ist seltsam. Ich hab ihn hier gerade mal durchlaufen lassen und keine Fehler gehabt. Der Installer ruft den ja auch nur auf ...

                  Hast du mal das vollständige Log?

                  K 1 Reply Last reply Reply Quote 0
                  • K
                    klassisch Most Active @Gaspode last edited by

                    @gaspode
                    Meine Installation hat halt eine lange Vorgeschichte. Auf einem Linux SBC gestartet, dann per @Stabilostick Installer auf Win, mehrfach upgedatet dann mit @Gaspode Installer installiert und mittlerweile damit auch upgedatet. Kann schon sein, daß da etwas Unebenes enthalten ist. Aber bisher scheint alles zu laufen.
                    InstallIoBrokerFix:

                    Npm prefix path does NOT exist: C:\Users\JS\AppData\Roaming\npm Try to create it.
                    Success!
                    ----------------------------------------------------------------------------------------------------
                    Windows installation starting... (fixing = true)
                    NPM version: 10.2.3
                    
                    Usage: npm <command>
                    
                    where <command> is one of:
                        access, adduser, audit, bin, bugs, c, cache, ci, cit,
                        clean-install, clean-install-test, completion, config,
                        create, ddp, dedupe, deprecate, dist-tag, docs, doctor,
                        edit, explore, fund, get, help, help-search, hook, i, init,
                        install, install-ci-test, install-test, it, link, list, ln,
                        login, logout, ls, org, outdated, owner, pack, ping, prefix,
                        profile, prune, publish, rb, rebuild, repo, restart, root,
                        run, run-script, s, se, search, set, shrinkwrap, star,
                        stars, start, stop, t, team, test, token, tst, un,
                        uninstall, unpublish, unstar, up, update, v, version, view,
                        whoami
                    
                    npm <command> -h  quick help on <command>
                    npm -l            display full usage info
                    npm help <term>   search for help on <term>
                    npm help npm      involved overview
                    
                    Specify configs in the ini-formatted file:
                        C:\Users\JS\.npmrc
                    or on the command line via: npm <command> --key value
                    Config info can be viewed via: npm help config
                    
                    npm@6.14.17 C:\ioBroker\node_modules\npm
                    
                    node:child_process:965
                        throw err;
                        ^
                    
                    Error: Command failed: npm x --yes @iobroker/jsonltool@latest
                        at checkExecSyncError (node:child_process:890:11)
                        at execSync (node:child_process:962:15)
                        at Object.<anonymous> (C:\Users\JS\AppData\Local\npm-cache\_npx\41f6637076e42190\node_modules\@iobroker\fix\lib-npx\install.js:71:17)
                        at Module._compile (node:internal/modules/cjs/loader:1356:14)
                        at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
                        at Module.load (node:internal/modules/cjs/loader:1197:32)
                        at Module._load (node:internal/modules/cjs/loader:1013:12)
                        at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
                        at node:internal/main/run_main_module:28:49 {
                      status: 1,
                      signal: null,
                      output: [ null, null, null ],
                      pid: 10804,
                      stdout: null,
                      stderr: null
                    }
                    
                    Node.js v18.19.0
                    npm notice 
                    npm notice New patch version of npm available! 10.2.3 -> 10.2.5
                    npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.5>
                    npm notice Run `npm install -g npm@10.2.5` to update!
                    npm notice 
                    
                    
                    Gaspode 1 Reply Last reply Reply Quote 0
                    • Gaspode
                      Gaspode @klassisch last edited by

                      @klassisch
                      Danke. Hmm, komisch. Zunächst will der Fixer die DB komprimieren, das macht er mit

                      npm x --yes @iobroker/jsonltool@latest
                      

                      Und das geht bei dir anscheinend in die Hose. Ich hab aber keine Ahnung, warum.

                      Wenn du Lust hast, kannst du ja mal ein ioBroker Command Window auf machen und gucken, was

                      npm ls
                      

                      und

                      npm -g ls
                      

                      ausspucken.

                      Du könntest das Komprimieren auch mal manuell testen mit

                      iob stop
                      cd iobroker-data
                      npm x --yes @iobroker/jsonltool@latest
                      cd ..
                      iob start
                      

                      Evtl. mit dem manuellen Komprimieren mal warten, was die beiden ersten Befehle ausspucken, evtl. sieht man da was auffälliges. Vielleicht kann @apollon77 auch seinen Senf dazu geben, ob das manuelle Komprimieren schaden kann ...

                      apollon77 K 2 Replies Last reply Reply Quote 0
                      • apollon77
                        apollon77 @Gaspode last edited by

                        @gaspode sagte in Test ioBroker unter Windows installieren - 2023 Edition:

                        Evtl. mit dem manuellen Komprimieren mal warten, was die beiden ersten Befehle ausspucken, evtl. sieht man da was auffälliges. Vielleicht kann @apollon77 auch seinen Senf dazu geben, ob das manuelle Komprimieren schaden kann ...

                        An sich nicht...

                        1 Reply Last reply Reply Quote 1
                        • K
                          klassisch Most Active @Gaspode last edited by klassisch

                          @gaspode
                          Vielen Dank für Deine Mühe!

                          Microsoft Windows [Version 10.0.19045.3803]
                          (c) Microsoft Corporation. Alle Rechte vorbehalten.
                          
                          C:\Windows\system32>npm ls
                          C:\Windows\system32
                          `-- (empty)
                          
                          
                          C:\Windows\system32>cd\iobroker
                          
                          C:\ioBroker>npm ls
                          iobroker.inst@4.1.11 C:\ioBroker
                          +-- fs-extra@10.1.0
                          +-- iobroker.admin@6.12.0
                          +-- iobroker.alias-manager@1.2.6
                          +-- iobroker.backitup@2.9.8
                          +-- iobroker.bydbatt@1.1.0
                          +-- iobroker.bydhvs@1.5.0
                          +-- iobroker.coronavirus-statistics@0.9.0
                          +-- iobroker.daswetter@3.0.4
                          +-- iobroker.discovery@3.0.3
                          +-- iobroker.dwd@2.8.5
                          +-- iobroker.echarts@1.0.12
                          +-- iobroker.email@1.2.1
                          +-- iobroker.energiefluss@3.3.1 (git+ssh://git@github.com/SKB-CGN/ioBroker.energiefluss.git#d56d6644148f54ad23e17c1b1af19e5f83306c72)
                          +-- iobroker.envertech-pv@0.0.8 (git+ssh://git@github.com/adcrafter27/ioBroker.envertech-pv.git#46284699d12834e862402428e0153f1150a2b307)
                          +-- iobroker.flot@1.12.0
                          +-- iobroker.fritzdect@2.2.6
                          +-- iobroker.fronius-solarweb@0.1.0 (git+ssh://git@github.com/TA2k/ioBroker.fronius-solarweb.git#ca2f1a4972992cbd0d14bb25f5f7546219dd5b9e)
                          +-- iobroker.fronius-wattpilot@4.6.2
                          +-- iobroker.fronius@2.0.2
                          +-- iobroker.fullybrowser@2.0.1
                          +-- iobroker.habpanel@0.4.3
                          +-- iobroker.heatingcontrol@2.7.2
                          +-- iobroker.heizoel@1.0.3
                          +-- iobroker.history@2.2.4
                          +-- iobroker.hm-rega@4.0.0
                          +-- iobroker.hm-rpc@1.15.19
                          +-- iobroker.ical@1.7.0
                          +-- iobroker.icons-mfd-png@1.0.2
                          +-- iobroker.icons-mfd-svg@1.0.2
                          +-- iobroker.influxdb@3.2.0
                          +-- iobroker.info@2.0.0
                          +-- iobroker.iqontrol@2.1.0
                          +-- iobroker.javascript@5.2.13
                          +-- iobroker.js-controller@5.0.16
                          +-- iobroker.lowpass-filter@2.2.3
                          +-- iobroker.material@0.13.8
                          +-- iobroker.mercedesme@0.1.6 (git+ssh://git@github.com/TA2k/ioBroker.mercedesme.git#b58e9673d5c28e358830fd45d231dd97ab425219)
                          +-- iobroker.mihome-vacuum@2.1.1
                          +-- iobroker.mobile@1.0.1
                          +-- iobroker.modbus@6.0.1
                          +-- iobroker.mqtt@5.1.0
                          +-- iobroker.node-red@4.0.3
                          +-- iobroker.nut@1.6.0
                          +-- iobroker.odl@3.0.1
                          +-- iobroker.opendtu@1.0.1
                          +-- iobroker.parser@2.0.7
                          +-- iobroker.paw@0.3.2
                          +-- iobroker.pid@0.0.8 (git+ssh://git@github.com/iobroker-community-adapters/ioBroker.pid.git#bf251adf86f5816a530d73b83939bad2272f4d2b)
                          +-- iobroker.ping@1.6.2
                          +-- iobroker.pvforecast@2.3.0
                          +-- iobroker.rflink@2.1.6 (git+ssh://git@github.com/ioBroker/ioBroker.rflink.git#361e6e65f4bf3aede6e53a754571b24cb73b5ebe)
                          +-- iobroker.rickshaw@1.0.0
                          +-- iobroker.robonect@0.1.3
                          +-- iobroker.shelly@4.0.7
                          +-- iobroker.shuttercontrol@1.2.0
                          +-- iobroker.simple-api@2.7.2
                          +-- iobroker.smartcontrol@1.2.1
                          +-- iobroker.smartmeter@3.4.0
                          +-- iobroker.socketio@6.6.0
                          +-- iobroker.sonoff@2.4.0
                          +-- iobroker.sourceanalytix@0.4.8-alpha.2 (git+ssh://git@github.com/iobroker-community-adapters/ioBroker.sourceanalytix.git#488f8c151b7049a1e6579b27cb02686ea0cc5f72)
                          +-- iobroker.sql@2.2.0
                          +-- iobroker.statistics@2.2.0
                          +-- iobroker.telegram@3.0.0
                          +-- iobroker.tr-064@4.2.12
                          +-- iobroker.tradfri@2.6.5
                          +-- iobroker.vis-hqwidgets@1.1.4
                          +-- iobroker.vis-jqui-mfd@1.0.12
                          +-- iobroker.vis-timeandweather@1.1.7
                          +-- iobroker.vis@1.4.16
                          +-- iobroker.weatherunderground@3.2.1
                          +-- iobroker.web@6.1.10
                          +-- iobroker.whatsapp-cmb@0.2.2
                          +-- iobroker.wifilight@1.1.0
                          +-- iobroker.zigbee@1.9.5
                          +-- iobroker.zwave2@1.8.11
                          +-- node-windows@1.0.0-beta.6
                          +-- semver@7.5.4
                          `-- yargs@17.6.2
                          
                          
                          C:\ioBroker>npm -g ls
                          C:\Users\JS\AppData\Roaming\npm
                          `-- (empty)
                          
                          
                          

                          Komprimiert habe ich jetzt mal noch nichts

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

                            Nix zu danken. Ich bin allerdings etwas ratlos, sieht für mich unverdächtig aus.

                            Ich will ja nix unnötig bei dir kaputt machen, auf der anderen Seite bin ich etwas verunsichert, warum der Fixer bei dir nicht laufen will.

                            Wenn du dich traust und eine Datensicherung hast, könntest du ja mal die Komprimierung starten, wie oben beschrieben. Evtl. gibt das einen Hinweis auf das Problem. Kaputt sollte man so eigentlich nix machen können...

                            K 1 Reply Last reply Reply Quote 0
                            • K
                              klassisch Most Active @Gaspode last edited by

                              @gaspode
                              Manuelles Komprimieren funktioniert

                              C:\ioBroker>cd iobroker-data
                              
                              C:\ioBroker\iobroker-data>npm x --yes @iobroker/jsonltool@latest
                              No path given, using C:\ioBroker\iobroker-data
                              Compressing C:\ioBroker\iobroker-data\states.jsonl
                              Compressing C:\ioBroker\iobroker-data\objects.jsonl
                              Compressed 2 JSONL files. Done
                              
                              Gaspode 1 Reply Last reply Reply Quote 0
                              • Gaspode
                                Gaspode @klassisch last edited by Gaspode

                                @klassisch said in Test ioBroker unter Windows installieren - 2023 Edition:

                                Manuelles Komprimieren funktioniert

                                Wenigstens etwas. Allerdings bin ich jetzt noch etwas ratloser als vorher 🙂

                                Mal ne Nacht drüber schlafen ...
                                Evtl. hat ja noch jemand anders eine Idee, warum es so klappt, aber nicht per Installer/Fixer.

                                Wenn du noch ganz viel Zeit hast, könntest du noch versuchen, im ioBroker Cmd Fenster den Fixer manuell auszuführen:

                                iob stop
                                del iobroker.bat
                                iob fix
                                

                                Hat aber keine Eile und ich bin mir auch nicht sicher, was es bedeutet, wenn es klappt bzw. nicht klappt ... 😄

                                Ich bin heute wahrscheinlich nicht mehr online.

                                K 1 Reply Last reply Reply Quote 0
                                • K
                                  klassisch Most Active @Gaspode last edited by

                                  @gaspode
                                  iobroker.bat war nicht da

                                  Fixer läuft nicht durch

                                  
                                  C:\ioBroker>dir iobroker.bat
                                   Volume in Laufwerk C: hat keine Bezeichnung.
                                   Volumeseriennummer: B41E-9983
                                  
                                   Verzeichnis von C:\ioBroker
                                  
                                  Datei nicht gefunden
                                  
                                  C:\ioBroker>iob fix
                                  Need to install the following packages:
                                  @iobroker/fix@5.0.0
                                  Ok to proceed? (y) y
                                  Windows installation starting... (fixing = true)
                                  NPM version: 10.2.3
                                  
                                  Usage: npm <command>
                                  
                                  where <command> is one of:
                                      access, adduser, audit, bin, bugs, c, cache, ci, cit,
                                      clean-install, clean-install-test, completion, config,
                                      create, ddp, dedupe, deprecate, dist-tag, docs, doctor,
                                      edit, explore, fund, get, help, help-search, hook, i, init,
                                      install, install-ci-test, install-test, it, link, list, ln,
                                      login, logout, ls, org, outdated, owner, pack, ping, prefix,
                                      profile, prune, publish, rb, rebuild, repo, restart, root,
                                      run, run-script, s, se, search, set, shrinkwrap, star,
                                      stars, start, stop, t, team, test, token, tst, un,
                                      uninstall, unpublish, unstar, up, update, v, version, view,
                                      whoami
                                  
                                  npm <command> -h  quick help on <command>
                                  npm -l            display full usage info
                                  npm help <term>   search for help on <term>
                                  npm help npm      involved overview
                                  
                                  Specify configs in the ini-formatted file:
                                      C:\Users\JS\.npmrc
                                  or on the command line via: npm <command> --key value
                                  Config info can be viewed via: npm help config
                                  
                                  npm@6.14.17 C:\ioBroker\node_modules\npm
                                  
                                  node:child_process:965
                                      throw err;
                                      ^
                                  
                                  Error: Command failed: npm x --yes @iobroker/jsonltool@latest
                                      at checkExecSyncError (node:child_process:890:11)
                                      at execSync (node:child_process:962:15)
                                      at Object.<anonymous> (C:\Users\JS\AppData\Local\npm-cache\_npx\19d197aa1f8fa98c\node_modules\@iobroker\fix\lib-npx\install.js:71:17)
                                      at Module._compile (node:internal/modules/cjs/loader:1356:14)
                                      at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
                                      at Module.load (node:internal/modules/cjs/loader:1197:32)
                                      at Module._load (node:internal/modules/cjs/loader:1013:12)
                                      at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
                                      at node:internal/main/run_main_module:28:49 {
                                    status: 1,
                                    signal: null,
                                    output: [ null, null, null ],
                                    pid: 10736,
                                    stdout: null,
                                    stderr: null
                                  }
                                  
                                  Node.js v18.19.0
                                  
                                  C:\ioBroker>
                                  

                                  Irgendwie sehe ich da zwei verschiedene npm Versionen

                                  Homoran Gaspode 2 Replies Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators @klassisch last edited by

                                    @klassisch ähm, könnte das hier

                                    https://forum.iobroker.net/topic/71478/plötzliche-probleme-durch-nodejs-dfsg-version-npm-fehlt

                                    zutreffen?

                                    K Thomas Braun 2 Replies Last reply Reply Quote 0
                                    • Gaspode
                                      Gaspode @klassisch last edited by

                                      Ui, das ging ja fix.

                                      @klassisch said in Test ioBroker unter Windows installieren - 2023 Edition:

                                      Irgendwie sehe ich da zwei verschiedene npm Versionen

                                      Ja, so was hab ich vermutet, allerdings hätte ich erwartet, dass man das mit

                                      npm -g ls
                                      

                                      sieht, dass da noch was krumm ist.

                                      Was sagt eigentlich

                                      npm -v
                                      

                                      und

                                      node -v
                                      

                                      @homoran said in Test ioBroker unter Windows installieren - 2023 Edition:

                                      @klassisch ähm, könnte das hier

                                      https://forum.iobroker.net/topic/71478/plötzliche-probleme-durch-nodejs-dfsg-version-npm-fehlt

                                      zutreffen?

                                      Nee, eher nicht. Auf Windows funktioniert die npm/node Installation ja anders.

                                      1 Reply Last reply Reply Quote 0
                                      • K
                                        klassisch Most Active @Homoran last edited by

                                        @homoran Vielen Dank!

                                        Aber eigentlich habe ich keine Probleme mit ioBroker an sich. Lediglich der Fixer, welcher durch den Installer/Updater automatisch ausgeführt wid, läuft auf ein Problem. Ist für mich eher ein Luxusproblem solange alles läuft .....

                                        Ansonsten:

                                        
                                        C:\ioBroker>iob diag
                                        iobroker [command]
                                        
                                        Commands:
                                          iobroker setup                                               Setup ioBroker
                                          iobroker start [all|<adapter>.<instance>|<adapter>]          Starts the js-controller or a specified adapter instance or all instances of an adapter
                                          iobroker stop [<adapter>.<instance>|<adapter>]               stops the js-controller or a specified adapter instance or all instances of an adapter
                                          iobroker restart [<adapter>.<instance>|<adapter>]            Restarts js-controller or a specified adapter instance or all instances of an adapter  [aliases: r]
                                          iobroker debug <adapter>[.<instance>]                        Starts a Node.js debugging session for the adapter instance
                                          iobroker info                                                Shows the host info
                                          iobroker logs [<adapter>]                                    Monitor log
                                          iobroker add <adapter> [desiredNumber]                       Add instance of adapter  [aliases: a]
                                          iobroker install <adapter>                                   Installs a specified adapter  [aliases: i]
                                          iobroker rebuild [<module>]                                  Rebuild all native modules or path
                                          iobroker url <url> [<name>]                                  Install adapter from specified url, e.g. GitHub
                                          iobroker del <adapter>                                       Remove adapter and all instances from this host  [aliases: delete]
                                          iobroker del <adapter>.<instance>                            Remove adapter instance  [aliases: delete]
                                          iobroker update [<repositoryUrl>]                            Update repository and list adapters
                                          iobroker upgrade                                             Upgrade management
                                          iobroker upload [all|<adapter>]                              Upload management  [aliases: u]
                                          iobroker object                                              Object management  [aliases: o]
                                          iobroker state                                               State management  [aliases: s]
                                          iobroker message <adapter>[.instance] <command> [<message>]  Send message to adapter instance/s
                                          iobroker list <type> [<filter>]                              List all entries, like objects
                                          iobroker chmod <mode> <file>                                 Change file rights
                                          iobroker chown <user> <group> <file>                         Change file ownership
                                          iobroker touch <file>                                        Touch file
                                          iobroker rm <file>                                           Remove file
                                          iobroker file                                                File management
                                          iobroker user                                                User commands
                                          iobroker group                                               group management
                                          iobroker host <hostname>                                     Set host to given hostname
                                          iobroker set <adapter>.<instance>                            Change settings of adapter config
                                          iobroker license <license.file or license.text>              Update license by given file
                                          iobroker cert                                                Certificate management
                                          iobroker clean <yes>                                         Clears all objects and states
                                          iobroker backup                                              Create backup
                                          iobroker restore <backup name or path>                       Restore a specified backup
                                          iobroker validate <backup name or path>                      Validate a specified backup
                                          iobroker status [all|<adapter>.<instance>]                   Status of ioBroker or adapter instance  [aliases: isrun]
                                          iobroker repo [<name>]                                       Show repo information
                                          iobroker uuid                                                Show uuid of the installation  [aliases: id]
                                          iobroker unsetup                                             Reset license, installation secret and language
                                          iobroker fix                                                 Execute the installation fixer script, this updates your ioBroker installation
                                          iobroker nodejs-update [<major-version>]                     Upgrade the Node.JS installation to the current LTS
                                          iobroker multihost                                           Multihost management
                                          iobroker compact                                             compact group management
                                          iobroker plugin                                              Plugin management
                                          iobroker vendor <passphrase> [<vendor.json>]                 Update the vendor information using given passphrase
                                          iobroker version [<adapter>]                                 Show version of js-controller or specified adapter  [aliases: v]
                                        
                                        Options:
                                          --help  Show help  [boolean]
                                        
                                        C:\ioBroker>npm -v
                                        10.2.3
                                        
                                        C:\ioBroker>node -v
                                        v18.19.0
                                        
                                        C:\ioBroker>
                                        

                                        npm ist da und die node-Version sieht auch gut aus. Kein +dfsg-6~deb12u1 sichtbar. Kam ja mit dem Installer mit. Und ich bin ja zurückhaltend und update nicht gleich auf jede neu aufblitzende Version 🙂

                                        Info sagt das auch:

                                        System-Betriebszeit
                                        02:40:09
                                        Node.js
                                        v18.19.0
                                        time
                                        1704219201213
                                        timeOffset
                                        -60
                                        NPM
                                        10.2.3
                                        

                                        Die Adapter, die ich brauche laufen - Ausser RFLink. Das könnte aber andere Gründe haben.

                                        Homoran Gaspode 2 Replies Last reply Reply Quote 0
                                        • Homoran
                                          Homoran Global Moderator Administrators @klassisch last edited by Homoran

                                          @klassisch sagte in Test ioBroker unter Windows installieren - 2023 Edition:

                                          :\ioBroker>iob diag

                                          gibbet nicht für Windows.

                                          @klassisch sagte in Test ioBroker unter Windows installieren - 2023 Edition:

                                          npm ist da und die node-Version sieht auch gut aus. Kein +dfsg-6~deb12u1 sichtbar

                                          dann ist gut!
                                          Ich war nur durch diese npm Meldungen verunsichert!

                                          ist RF Link überhaupt WIN fähig?

                                          PS natürlich noch ein gutes neues Jahr!

                                          K 1 Reply Last reply Reply Quote 0
                                          • Gaspode
                                            Gaspode @klassisch last edited by

                                            @klassisch

                                            iob diag
                                            

                                            Gibt es unter Windows leider nicht.

                                            Irgendwo wird unter bestimmten Umständen ein npm Aufruf zu einer alten Version verbogen, was zu dem Fehler führt. Die Kunst ist jetzt, raus zu bekommen, wo das krumm ist.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            563
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            installation iobroker windows windows installation
                                            25
                                            399
                                            54725
                                            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