Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Javascript Adapter 8.9.0 - neue Fehler?

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Test Javascript Adapter 8.9.0 - neue Fehler?

    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Shadowhunter23 @haselchen last edited by

      @haselchen

      Machst du dazu ein Issue? Kann den Fehler bestätigen.

      1 Reply Last reply Reply Quote 1
      • haus-automatisierung
        haus-automatisierung Developer Most Active @haselchen last edited by

        @haselchen Könnte noch mehr Fehler geben, weil es ein riesen Update war und die komplette Oberfläche neu geschrieben wurde

        mcm1957 1 Reply Last reply Reply Quote 0
        • mcm1957
          mcm1957 @haus-automatisierung last edited by mcm1957

          @haus-automatisierung

          Wär es da nicht sinnvoll einen TESTER Thread im TESTER Sub-Forum anzulegen ?
          Ansonsten kommt ggF für jeden Fehler ein eigener Topic ...

          haus-automatisierung 1 Reply Last reply Reply Quote 0
          • haus-automatisierung
            haus-automatisierung Developer Most Active @mcm1957 last edited by

            @mcm1957 sagte in Javascript Adapter 8.9.0 , keine Ordnererstellung möglich:

            Ansonsten kommt ggF für jeden Fehler ein eigener Topic ...

            Solchen Threads zu folgen finde ich immer schwierig. Aber kannst Du gern machen. GitHub Issues sind natürlich immer schöner. Alleine für die Übersicht.

            Homoran 1 Reply Last reply Reply Quote 1
            • Homoran
              Homoran Global Moderator Administrators @haus-automatisierung last edited by

              @haus-automatisierung ich hab das mal nach Tester verschoben und suche gerade noch nach einem sinnvollen Titel

              1 Reply Last reply Reply Quote 1
              • Negalein
                Negalein Global Moderator last edited by Negalein

                @haus-automatisierung

                • Adaptername: javascript
                • Adapterversion: 8.9.0
                • js-controller Version: 7.0.3
                • Admin Version: 7.4.17
                • Nodejs-Version: 20.18.1
                • NPM-Version: 10.8.2

                Hallo

                Nach dem heutigen Update vom JS-Adapter kann er lt. Log die Zusatzmodule nicht installieren.

                Issue hab ich erstellt

                javascript.0 2025-01-25 15:33:25.217	warn	Cannot install custom npm package "simple-ssh@latest"
                javascript.0 2025-01-25 15:33:21.875	warn	Cannot install custom npm package "node-fetch@2"
                javascript.0 2025-01-25 15:33:18.239	warn	Cannot install custom npm package "xml2js@latest"
                javascript.0 2025-01-25 15:33:14.914	warn	Cannot install custom npm package "axios-cookiejar-support@latest"
                javascript.0 2025-01-25 15:33:11.279	warn	Cannot install custom npm package "tough-cookie@latest"
                javascript.0 2025-01-25 15:33:08.057	warn	Cannot install custom npm package "axios@latest"
                javascript.0 2025-01-25 15:33:04.643	warn	Cannot install custom npm package "cheerio@latest"
                javascript.0 2025-01-25 15:33:01.151	warn	Cannot install custom npm package "request-promise-native@latest"
                javascript.0 2025-01-25 15:32:57.680	warn	Cannot install custom npm package "request@latest"
                javascript.0 2025-01-25 15:32:54.450	warn	Cannot install custom npm package "fs@latest"
                javascript.0 2025-01-25 15:32:50.940	warn	Cannot install custom npm package "hue-push-client@latest"
                javascript.0 2025-01-25 15:32:47.470	warn	Cannot install custom npm package "rss-parser@latest"
                javascript.0 2025-01-25 15:32:44.099	warn	Cannot install custom npm package "chroma-js@latest"
                javascript.0 2025-01-25 15:32:40.540	warn	Cannot install custom npm package "qr-image@latest"
                javascript.0 2025-01-25 15:32:36.970	warn	Cannot install custom npm package "mathjs@latest"
                javascript.0 2025-01-25 15:32:33.537	warn	Cannot install custom npm package "moment-duration-format@latest"
                javascript.0 2025-01-25 15:32:29.987	warn	Cannot install custom npm package "moment-timezone@latest"
                javascript.0 2025-01-25 15:32:25.870	warn	Cannot install custom npm package "moment@latest"
                javascript.0 2025-01-25 15:32:21.631	warn	Cannot install custom npm package "node-hue-api@latest"
                

                will ich zurück auf 8.8.3, bricht er ab

                $ iobroker upgrade javascript@8.8.3 --debug
                Update javascript from @8.9.0 to @8.8.3
                NPM version: 10.8.2
                Installing iobroker.javascript@8.8.3... (System call)
                npm error code ENOTEMPTYnpm error syscall renamenpm error path /opt/iobroker/node_modules/iobroker.adminnpm error dest /opt/iobroker/node_modules/.iobroker.admin-TtUA2igknpm error errno -39npm error ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.admin' -> '/opt/iobroker/node_modules/.iobroker.admin-TtUA2igk'
                npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-01-25T15_06_18_638Z-debug-0.log
                Try to solve ENOTEMPTY error automatically
                Could not handle ENOTEMPTY, because no deletable files were foundnpm error code ENOTEMPTYnpm error syscall renamenpm error path /opt/iobroker/node_modules/iobroker.adminnpm error dest /opt/iobroker/node_modules/.iobroker.admin-TtUA2igknpm error errno -39npm error ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.admin' -> '/opt/iobroker/node_modules/.iobroker.admin-TtUA2igk'npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-01-25T15_06_18_638Z-debug-0.loghost.ioBroker Cannot install iobroker.javascript@8.8.3: 217
                ERROR: Process exited with code 25
                
                0 verbose cli /usr/bin/node /usr/bin/npm
                1 info using npm@10.8.2
                2 info using node@v20.18.1
                3 silly config load:file:/usr/lib/node_modules/npm/npmrc
                4 silly config load:file:/opt/iobroker/.npmrc
                5 silly config load:file:/home/iobroker/.npmrc
                6 silly config load:file:/usr/etc/npmrc
                7 verbose title npm install iobroker.javascript@8.8.3
                8 verbose argv "install" "--save-exact" "iobroker.javascript@8.8.3" "--foreground-scripts"
                9 verbose logfile logs-max:10 dir:/home/iobroker/.npm/_logs/2025-01-25T15_06_18_638Z-
                10 verbose logfile /home/iobroker/.npm/_logs/2025-01-25T15_06_18_638Z-debug-0.log
                11 silly packumentCache heap:2197815296 maxSize:549453824 maxEntrySize:274726912
                12 silly logfile start cleaning logs, removing 1 files
                13 silly logfile done cleaning log files
                14 silly idealTree buildDeps
                15 silly fetch manifest iobroker.javascript@8.8.3
                16 silly packumentCache full:https://registry.npmjs.org/iobroker.javascript cache-miss
                17 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules/@iobroker-javascript.0
                18 http fetch GET 200 https://registry.npmjs.org/iobroker.javascript 1664ms (cache updated)
                19 silly packumentCache full:https://registry.npmjs.org/iobroker.javascript set size:undefined disposed:false
                20 silly placeDep ROOT iobroker.javascript@8.8.3 REPLACE for: iobroker.inst@3.0.0 want: 8.8.3
                21 silly fetch manifest typescript@~5.5.4
                22 silly packumentCache full:https://registry.npmjs.org/typescript cache-miss
                23 http fetch GET 200 https://registry.npmjs.org/typescript 210ms (cache updated)
                24 silly packumentCache full:https://registry.npmjs.org/typescript set size:undefined disposed:false
                25 silly placeDep node_modules/iobroker.javascript typescript@5.5.4 OK for: iobroker.javascript@8.8.3 want: ~5.5.4
                26 silly reify mark retired [ '/opt/iobroker/node_modules/iobroker.admin' ]
                27 silly reify mark retired [ '/opt/iobroker/node_modules/iobroker.javascript' ]
                28 silly reify moves {
                28 silly reify   '/opt/iobroker/node_modules/iobroker.admin': '/opt/iobroker/node_modules/.iobroker.admin-TtUA2igk',
                28 silly reify   '/opt/iobroker/node_modules/iobroker.javascript': '/opt/iobroker/node_modules/.iobroker.javascript-5NZ432mn'
                28 silly reify }
                29 verbose stack Error: ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.admin' -> '/opt/iobroker/node_modules/.iobroker.admin-TtUA2igk'
                29 verbose stack     at async Object.rename (node:internal/fs/promises:782:10)
                29 verbose stack     at async moveFile (/usr/lib/node_modules/npm/node_modules/@npmcli/fs/lib/move-file.js:30:5)
                29 verbose stack     at async Promise.allSettled (index 0)
                29 verbose stack     at async [reifyPackages] (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:325:11)
                29 verbose stack     at async Arborist.reify (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:142:5)
                29 verbose stack     at async Install.exec (/usr/lib/node_modules/npm/lib/commands/install.js:150:5)
                29 verbose stack     at async Npm.exec (/usr/lib/node_modules/npm/lib/npm.js:207:9)
                29 verbose stack     at async module.exports (/usr/lib/node_modules/npm/lib/cli/entry.js:74:5)
                30 error code ENOTEMPTY
                31 error syscall rename
                32 error path /opt/iobroker/node_modules/iobroker.admin
                33 error dest /opt/iobroker/node_modules/.iobroker.admin-TtUA2igk
                34 error errno -39
                35 error ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.admin' -> '/opt/iobroker/node_modules/.iobroker.admin-TtUA2igk'
                36 silly unfinished npm timer reify 1737817578880
                37 silly unfinished npm timer reify:retireShallow 1737817582582
                38 verbose cwd /opt/iobroker
                39 verbose os Linux 5.15.30-2-pve
                40 verbose node v20.18.1
                41 verbose npm  v10.8.2
                42 verbose exit -39
                43 verbose code -39
                44 error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-01-25T15_06_18_638Z-debug-0.log
                
                haus-automatisierung 1 Reply Last reply Reply Quote 0
                • haus-automatisierung
                  haus-automatisierung Developer Most Active @Negalein last edited by haus-automatisierung

                  @negalein sagte in Test Javascript Adapter 8.9.0 - neue Fehler?:

                  js-controller Version: 7.0.3

                  Geh da erstmal auf die aktuelle Stable-Version.

                  @negalein sagte in Test Javascript Adapter 8.9.0 - neue Fehler?:

                  will ich zurück auf 8.8.3, bricht er ab

                  Code 25 und temporäre Verzeichnisse. Einmal den Fixer laufen lassen, dann klappt auch das Downgrade.

                  Negalein 1 Reply Last reply Reply Quote 0
                  • Negalein
                    Negalein Global Moderator @haus-automatisierung last edited by Negalein

                    @haus-automatisierung

                    Danke

                    mit Controller 7.0.6 & Admin 7.4.18 läuft wieder alles!

                    Script lass ich auf 8.9.0, muss derzeit eh keine Ordner anlegen. 😉

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

                      Hallo,

                      bin mir nicht sicher, ob ich das im Admin Adapter oder sonst wo melden soll.

                      Mir ist aufgefallen, dass unter "Scripte" keine Unterverzeichnisse bzw. Ordner mehr angelegt werden können. Es kommt immer das Dialogfeld "neues Script hinzufügen", egal ob ich den Button "neues Script erstellen" oder "neuen Ordner erstellen" anklicke.

                      Danke fürs fixen....

                      ioBroker unter debian Linux

                      Plattform: linux
                      RAM: 7.7 GB
                      Node.js: v20.18.2
                      NPM: 10.8.2
                      

                      JS Controller 7.0.6
                      Admin 7.4.14
                      Scriptausführung 8.9.0

                      ofri2607 Homoran mcm1957 3 Replies Last reply Reply Quote 0
                      • ofri2607
                        ofri2607 @tminimax last edited by

                        @tminimax

                        siehe hier

                        Homoran 1 Reply Last reply Reply Quote 1
                        • Homoran
                          Homoran Global Moderator Administrators @tminimax last edited by Homoran

                          @tminimax sagte in Ordner anlegen unter Scripte funktioniert nicht mehr:

                          dass unter "Scripte" keine Unterverzeichnisse bzw. Ordner mehr angelegt werden können. Es kommt immer das Dialogfeld "neues Script hinzufügen",

                          zeigen!

                          redest du von Objekten unter javascript.0, oder Verzeichnissen im Skriptexplorer des js-Adapters.
                          Wenn letzteres, in welchem Verzeichnis?

                          und natürlich:
                          Welche Versionen von Adapter, Admin, Controller, nodejs.....

                          edit: habs übersehen, sorry

                          1 Reply Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators @ofri2607 last edited by

                            @ofri2607 Danke!

                            @tminimax
                            hab deinen Thread hier angehängt

                            1 Reply Last reply Reply Quote 0
                            • mcm1957
                              mcm1957 @tminimax last edited by

                              @tminimax said in Test Javascript Adapter 8.9.0 - neue Fehler?:

                              JS Controller 7.0.6
                              Admin 7.4.14
                              Scriptausführung 8.9.0

                              veraltete Version:
                              https://github.com/ioBroker/ioBroker.javascript?tab=readme-ov-file#891-2025-01-26

                              T 1 Reply Last reply Reply Quote 0
                              • T
                                tminimax @mcm1957 last edited by

                                @mcm1957 danke

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

                                Support us

                                ioBroker
                                Community Adapters
                                Donate

                                678
                                Online

                                31.7k
                                Users

                                79.8k
                                Topics

                                1.3m
                                Posts

                                8
                                15
                                802
                                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