Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. [Gelöst] nach Admin upgrade 3.3.4 keine Webseite mehr

    NEWS

    • [erledigt] 15. 05. Wartungsarbeiten am ioBroker Forum

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [Gelöst] nach Admin upgrade 3.3.4 keine Webseite mehr

    This topic has been deleted. Only users with topic management privileges can see it.
    • AlCalzone
      AlCalzone Developer last edited by

      Was ist mit Schritt 5? Also "gulp" ausführen?

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

        root@openmediavault /opt/iobroker/node_modules/iobroker.admin > gulp
        -bash: gulp: Kommando nicht gefunden.
        root@openmediavault /opt/iobroker/node_modules/iobroker.admin >
        
        

        Sorry… war bei markieren scheinbar nicht dabei beim ersten mal.

        1 Reply Last reply Reply Quote 0
        • AlCalzone
          AlCalzone Developer last edited by

          @wendy2702:

          Kommando nicht gefunden. `
          Dann hat er wohl den letzten Befehl nicht ausgeführt. Klappt es mit

          node_modules/.bin/gulp
          

          ?

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

            Sorry,

            habe gerade downgrade auf 3.3.3 gemacht.

            Muss ich gleich nochmal versuchen.

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

              Kurzer test:

              root@openmediavault /opt/iobroker/node_modules/iobroker.admin > node_modules/.bin/gulp
              [13:09:15] No gulpfile found
              root@openmediavault /opt/iobroker/node_modules/iobroker.admin >
              
              

              Sollten wir das Thema besser auftrennen?

              Hat ja nichts mit "NPM Error" zu tun und ist auch nicht "Gelöst".

              Kannst du das machen?

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

                Habs getrennt, danke für den Link! ich war eben zu faul zum suchen

                Gruß

                Rainer

                1 Reply Last reply Reply Quote 0
                • AlCalzone
                  AlCalzone Developer last edited by

                  @wendy2702:

                  root@openmediavault /opt/iobroker/node_modules/iobroker.admin > node_modules/.bin/gulp
                  [13:09:15] No gulpfile found
                  root@openmediavault /opt/iobroker/node_modules/iobroker.admin >
                  
                  ```` `  
                  

                  Öhh, auf Github sehe ich definitiv ein gulpfile.js im Hauptordner. Ist die Datei bei dir in /opt/iobroker/node_modules/iobroker.admin vorhanden?

                  Alternativ könntest du folgenden Befehl probieren, der sollte das gleiche tun:

                  npm run prepublish
                  
                  1 Reply Last reply Reply Quote 0
                  • wendy2702
                    wendy2702 last edited by

                    @AlCalzone:

                    npm run prepublish
                    ```` `  
                    

                    Wofür kann/soll ich diesen Befehl nehmen?

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

                      Also ich weiß nicht was oder wohin er mit :

                      npm i https://github.com/ioBroker/ioBroker.admin
                      

                      Installiert:

                      root@openmediavault /opt/iobroker > ls -la node_modules/iobroker.admin/
                      insgesamt 168
                      drwxrwxrwx   6 root root  4096 Mär 22 13:19 .
                      drwxrwxrwx 784 root root 36864 Mär 22 14:49 ..
                      drwxrwxrwx   2 root root  4096 Mär 22 13:19 admin
                      -rw-rw-rw-   1 root root 15039 Mär 22 13:19 CHANGELOG_OLD.md
                      -rw-rw-rw-   1 root root  9425 Mär 22 13:19 io-package.json
                      drwxrwxrwx   2 root root  4096 Mär 22 13:19 lib
                      -rw-rw-rw-   1 root root  1120 Mär 22 13:19 LICENSE
                      -rw-rw-rw-   1 root root 12397 Mär 22 13:19 main.js
                      drwxrwxrwx 160 root root  4096 Mär 22 13:19 node_modules
                      -rw-rw-rw-   1 root root  2971 Mär 22 13:19 package.json
                      -rw-rw-rw-   1 root root 44898 Mär 22 13:19 package-lock.json
                      -rw-rw-rw-   1 root root  8576 Mär 22 13:19 README.md
                      drwxrwxrwx   8 root root  4096 Mär 22 13:19 www
                      root@openmediavault /opt/iobroker > npm i https://github.com/ioBroker/ioBroker.admin
                      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.vis-mywidgets/package.json'
                      
                      + iobroker.admin@3.3.4
                      removed 175 packages and updated 1 package in 19.825s
                      root@openmediavault /opt/iobroker > ls -la node_modules/iobroker.admin/
                      insgesamt 116
                      drwxr-xr-x   4 root root  4096 Mär 22 17:56 .
                      drwxrwxrwx 784 root root 36864 Mär 22 17:56 ..
                      drwxr-xr-x   2 root root  4096 Mär 22 17:56 admin
                      -rw-r--r--   1 root root 14519 Mär 22 17:56 CHANGELOG_OLD.md
                      -rw-r--r--   1 root root  9740 Mär 22 17:56 io-package.json
                      drwxr-xr-x   2 root root  4096 Mär 22 17:56 lib
                      -rw-r--r--   1 root root  1099 Mär 22 17:56 LICENSE
                      -rw-r--r--   1 root root 12397 Mär 22 17:56 main.js
                      -rw-r--r--   1 root root  2976 Mär 22 17:56 package.json
                      -rw-r--r--   1 root root  8421 Mär 22 17:56 README.md
                      root@openmediavault /opt/iobroker >
                      
                      

                      Aber die Files aus dem Github Package die man erhält wenn man das ZIP lädt sind nicht zu sehen.

                      1 Reply Last reply Reply Quote 0
                      • AlCalzone
                        AlCalzone Developer last edited by

                        @wendy2702:

                        Wofür kann/soll ich diesen Befehl nehmen? `
                        Der wäre anstatt "gulp" oder "node_modules/.bin/gulp".

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

                          OK.

                          Aber ohne die Files muss ich das garnicht weiter testen.

                          1 Reply Last reply Reply Quote 0
                          • AlCalzone
                            AlCalzone Developer last edited by

                            @wendy2702:

                            OK.

                            Aber ohne die Files muss ich das garnicht weiter testen. `
                            Probier mal als Installationsbefehl

                            npm i https://github.com/ioBroker/ioBroker.admin/tarball/master
                            

                            also explizit auf den Tarball verweisen.

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

                              Kann ich erst morgen.

                              Bin heute nicht mehr lokal am Rechner und remote über Ipad will ich das nicht probieren.

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

                                Bin ja gerne Versuchskaninchen 🙂

                                root@openmediavault /opt/iobroker > npm i https://github.com/ioBroker/ioBroker.admin/tarball/master
                                npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.vis-mywidgets/package                       .json'
                                
                                + iobroker.admin@3.3.4
                                removed 175 packages and updated 1 package in 15.442s
                                root@openmediavault /opt/iobroker > ls -la node_modules/iobroker.admin/
                                insgesamt 168
                                drwxr-xr-x   7 root root  4096 Mär 23 09:51 .
                                drwxrwxrwx 784 root root 36864 Mär 23 09:51 ..
                                drwxr-xr-x   3 root root  4096 Mär 23 09:51 admin
                                -rw-r--r--   1 root root   713 Mär 21 18:41 appveyor.yml
                                -rw-r--r--   1 root root 14519 Mär 21 18:41 CHANGELOG_OLD.md
                                -rw-r--r--   1 root root  1844 Mär 21 18:41 DEVELOPER.md
                                drwxr-xr-x   6 root root  4096 Mär 23 09:51 docs
                                -rw-r--r--   1 root root 23081 Mär 21 18:41 gulpfile.js
                                -rw-r--r--   1 root root  9740 Mär 21 18:41 io-package.json
                                drwxr-xr-x   2 root root  4096 Mär 23 09:51 lib
                                -rw-r--r--   1 root root  1099 Mär 21 18:41 LICENSE
                                -rw-r--r--   1 root root 12397 Mär 21 18:41 main.js
                                -rw-r--r--   1 root root   128 Mär 21 18:41 .npmignore
                                -rw-r--r--   1 root root  3083 Mär 23 09:51 package.json
                                -rw-r--r--   1 root root  8421 Mär 21 18:41 README.md
                                drwxr-xr-x  11 root root  4096 Mär 23 09:51 src
                                drwxr-xr-x   3 root root  4096 Mär 23 09:51 test
                                -rw-r--r--   1 root root   447 Mär 21 18:41 .travis.yml
                                root@openmediavault /opt/iobroker > cd node_modules/iobroker.admin
                                root@openmediavault /opt/iobroker/node_modules/iobroker.admin > npm i gulp
                                npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://med                       ium.com/gulpjs/gulp-util-ca3b1f9f9ac5
                                npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future                        versions of Node.js
                                npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
                                npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
                                npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future v                       ersions of Node.js
                                npm notice created a lockfile as package-lock.json. You should commit this file.
                                + gulp@3.9.1
                                added 272 packages from 163 contributors in 5.581s
                                root@openmediavault /opt/iobroker/node_modules/iobroker.admin > node_modules/.bin/gulp
                                module.js:478
                                    throw err;
                                    ^
                                
                                Error: Cannot find module 'gulp-less'
                                    at Function.Module._resolveFilename (module.js:476:15)
                                    at Function.Module._load (module.js:424:25)
                                    at Module.require (module.js:504:17)
                                    at require (internal/module.js:20:19)
                                    at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.admin/gulpfile.js:3:21)
                                    at Module._compile (module.js:577:32)
                                    at Object.Module._extensions..js (module.js:586:10)
                                    at Module.load (module.js:494:32)
                                    at tryModuleLoad (module.js:453:12)
                                    at Function.Module._load (module.js:445:3)
                                root@openmediavault /opt/iobroker/node_modules/iobroker.admin ></anonymous> 
                                

                                Wenigstens sind die Dateien jetzt vorhanden.

                                Aber "gulp" lässt sich nicht ausführen.

                                Und wenn ich den Admin startet steht im Browser wieder das:

                                This adapter cannot be installed directly from github.
                                You must install it from npm.
                                Write for that "npm install iobroker.admin" in according directory.
                                
                                1 Reply Last reply Reply Quote 0
                                • wendy2702
                                  wendy2702 last edited by

                                  Habe mal das "gulp-less" nach installiert.

                                  Dann vermisst er das nächste:

                                  root@openmediavault /opt/iobroker/node_modules/iobroker.admin > node_modules/.bin/gulp
                                  module.js:478
                                      throw err;
                                      ^
                                  
                                  Error: Cannot find module 'gulp-sass'
                                      at Function.Module._resolveFilename (module.js:476:15)
                                      at Function.Module._load (module.js:424:25)
                                      at Module.require (module.js:504:17)
                                      at require (internal/module.js:20:19)
                                      at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.admin/gulpfile.js:4:21)
                                      at Module._compile (module.js:577:32)
                                      at Object.Module._extensions..js (module.js:586:10)
                                      at Module.load (module.js:494:32)
                                      at tryModuleLoad (module.js:453:12)
                                      at Function.Module._load (module.js:445:3)
                                  root@openmediavault /opt/iobroker/node_modules/iobroker.admin ></anonymous> 
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • wendy2702
                                    wendy2702 last edited by

                                    Mal alle fehlenden und nicht automatisch installierten Pakete Manuel hinzugefügt und dann "gulp" gestartet:

                                    root@openmediavault /opt/iobroker/node_modules/iobroker.admin > node_modules/.bin/gulp
                                    [10:14:23] Using gulpfile /opt/iobroker/node_modules/iobroker.admin/gulpfile.js
                                    [10:14:23] Starting 'wwwLanguages2words'...
                                    [10:14:23] Finished 'wwwLanguages2words' after 55 ms
                                    [10:14:23] Starting 'adminLanguages2words'...
                                    [10:14:23] Finished 'adminLanguages2words' after 2.93 ms
                                    [10:14:23] Starting '1_words'...
                                    [10:14:23] Finished '1_words' after 18 μs
                                    [10:14:23] Starting 'iobCSS'...
                                    [10:14:23] Starting 'adminCSS'...
                                    [10:14:23] Starting 'appCSS'...
                                    [10:14:23] Finished 'appCSS' after 2.99 ms
                                    [10:14:23] Starting 'treeTableCSS'...
                                    [10:14:23] Starting 'configCSS'...
                                    [10:14:23] Finished 'configCSS' after 1.69 ms
                                    [10:14:23] Starting 'materializeCSS'...
                                    [10:14:23] Finished 'materializeCSS' after 1.65 ms
                                    [10:14:23] Starting 'vendorJS'...
                                    [10:14:23] Starting 'materializeJS'...
                                    [10:14:23] Starting 'appJS'...
                                    [10:14:23] Starting 'fancyTreeJS'...
                                    [10:14:23] Starting 'appHTML'...
                                    [10:14:23] Starting 'aceCopy'...
                                    [10:14:23] Starting 'colorpickerCopy'...
                                    [10:14:23] Starting 'colorpick.min'...
                                    [10:14:27] Finished 'colorpick.min' after 3.67 s
                                    [10:14:27] Starting 'appCopy'...
                                    [10:14:27] Finished 'aceCopy' after 3.68 s
                                    [10:14:27] Finished 'treeTableCSS' after 3.7 s
                                    [10:14:27] Finished 'fancyTreeJS' after 3.69 s
                                    [10:14:27] Finished 'iobCSS' after 3.83 s
                                    [10:14:27] Finished 'adminCSS' after 3.82 s
                                    [10:14:27] Starting '2_css'...
                                    [10:14:27] Finished '2_css' after 2.3 μs
                                    [10:14:27] Finished 'colorpickerCopy' after 4 s
                                    
                                    events.js:160
                                          throw er; // Unhandled 'error' event
                                          ^
                                    ReferenceError: Unknown plugin "transform-es2015-arrow-functions" specified in "base" at 0, attempted to resolve relative to "/opt/iobroker/node_modules/iobroker.admin/src/materialize-css/js"
                                        at /opt/iobroker/node_modules/iobroker.admin/node_modules/babel-core/lib/transformation/file/options/option-manager.js:180:17
                                        at Array.map (native)
                                        at Function.normalisePlugins (/opt/iobroker/node_modules/iobroker.admin/node_modules/babel-core/lib/transformation/file/options/option-manager.js:158:20)
                                        at OptionManager.mergeOptions (/opt/iobroker/node_modules/iobroker.admin/node_modules/babel-core/lib/transformation/file/options/option-manager.js:234:36)
                                        at OptionManager.init (/opt/iobroker/node_modules/iobroker.admin/node_modules/babel-core/lib/transformation/file/options/option-manager.js:368:12)
                                        at File.initOptions (/opt/iobroker/node_modules/iobroker.admin/node_modules/babel-core/lib/transformation/file/index.js:212:65)
                                        at new File (/opt/iobroker/node_modules/iobroker.admin/node_modules/babel-core/lib/transformation/file/index.js:135:24)
                                        at Pipeline.transform (/opt/iobroker/node_modules/iobroker.admin/node_modules/babel-core/lib/transformation/pipeline.js:46:16)
                                        at DestroyableTransform._transform (/opt/iobroker/node_modules/iobroker.admin/node_modules/gulp-babel/index.js:36:22)
                                        at DestroyableTransform.Transform._read (/opt/iobroker/node_modules/iobroker.admin/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:184:10)
                                        at DestroyableTransform.Transform._write (/opt/iobroker/node_modules/iobroker.admin/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:172:83)
                                        at doWrite (/opt/iobroker/node_modules/iobroker.admin/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:418:64)
                                    root@openmediavault /opt/iobroker/node_modules/iobroker.admin >
                                    
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • AlCalzone
                                      AlCalzone Developer last edited by

                                      @wendy2702:

                                      Mal alle fehlenden und nicht automatisch installierten Pakete Manuel hinzugefügt `
                                      Ahhh, das macht Sinn. "npm install paketname" installiert nur die dependencies, nicht die devDependencies, ganz vergessen.

                                      npm install
                                      

                                      im Ordner des Admin-Adapters sollte eigentlich alle devDependencies installieren. Das Transform-Plugin scheint er nämlich nicht installiert zu haben.

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

                                        @AlCalzone:

                                        npm install
                                        ```` `  
                                        

                                        :oops: Hätte ich auch drauf kommen können aber wenn man davor sitzt …. wie war das mit dem Wald und den Bäumen

                                        root@openmediavault /opt/iobroker/node_modules/iobroker.admin > npm install
                                        npm WARN prepublish-on-install As of npm@5, `prepublish` scripts are deprecated.
                                        npm WARN prepublish-on-install Use `prepare` for build steps and `prepublishOnly` for upload-only.
                                        npm WARN prepublish-on-install See the deprecation note in `npm help scripts` for more information.
                                        npm WARN lifecycle iobroker.admin@3.3.4~prepublish: cannot run in wd %s %s (wd=%s) iobroker.admin@3.3.4 node node_modules/gulp/bin/gulp default /opt/iobroker/node_modules/iobroker.admin
                                        added 161 packages from 395 contributors in 7.49s
                                        root@openmediavault /opt/iobroker/node_modules/iobroker.admin > node_modules/.bin/gulp
                                        [10:34:22] Using gulpfile /opt/iobroker/node_modules/iobroker.admin/gulpfile.js
                                        [10:34:22] Starting 'wwwLanguages2words'...
                                        [10:34:22] Finished 'wwwLanguages2words' after 70 ms
                                        [10:34:22] Starting 'adminLanguages2words'...
                                        [10:34:22] Finished 'adminLanguages2words' after 2.69 ms
                                        [10:34:22] Starting '1_words'...
                                        [10:34:22] Finished '1_words' after 21 μs
                                        [10:34:22] Starting 'iobCSS'...
                                        [10:34:22] Starting 'adminCSS'...
                                        [10:34:22] Starting 'appCSS'...
                                        [10:34:22] Finished 'appCSS' after 3.22 ms
                                        [10:34:22] Starting 'treeTableCSS'...
                                        [10:34:22] Starting 'configCSS'...
                                        [10:34:22] Finished 'configCSS' after 1.89 ms
                                        [10:34:22] Starting 'materializeCSS'...
                                        [10:34:22] Finished 'materializeCSS' after 1.75 ms
                                        [10:34:22] Starting 'vendorJS'...
                                        [10:34:22] Starting 'materializeJS'...
                                        [10:34:22] Starting 'appJS'...
                                        [10:34:22] Starting 'fancyTreeJS'...
                                        [10:34:22] Starting 'appHTML'...
                                        [10:34:22] Starting 'aceCopy'...
                                        [10:34:22] Starting 'colorpickerCopy'...
                                        [10:34:22] Starting 'colorpick.min'...
                                        [10:34:26] Finished 'colorpick.min' after 3.91 s
                                        [10:34:26] Starting 'appCopy'...
                                        [10:34:26] Finished 'fancyTreeJS' after 3.91 s
                                        [10:34:26] Finished 'aceCopy' after 3.92 s
                                        [10:34:26] Finished 'treeTableCSS' after 4.02 s
                                        [10:34:26] Finished 'iobCSS' after 4.08 s
                                        [10:34:26] Finished 'adminCSS' after 4.07 s
                                        [10:34:26] Starting '2_css'...
                                        [10:34:26] Finished '2_css' after 2.56 μs
                                        [10:34:26] Finished 'colorpickerCopy' after 4.25 s
                                        [10:34:50] Finished 'vendorJS' after 27 s
                                        [10:34:50] Finished 'materializeJS' after 28 s
                                        [10:34:50] Finished 'appHTML' after 27 s
                                        [10:34:56] Finished 'appJS' after 33 s
                                        [10:34:56] Starting '3_js'...
                                        [10:34:56] Finished '3_js' after 13 μs
                                        [10:34:56] Finished 'appCopy' after 30 s
                                        [10:34:56] Starting '4_static'...
                                        [10:34:56] Finished '4_static' after 10 μs
                                        [10:34:56] Starting 'default'...
                                        [10:34:56] Finished 'default' after 1.45 μs
                                        root@openmediavault /opt/iobroker/node_modules/iobroker.admin >
                                        
                                        

                                        Admin Webseite erreichbar.

                                        1 Reply Last reply Reply Quote 0
                                        • AlCalzone
                                          AlCalzone Developer last edited by

                                          Super!

                                          Zur Vollständigkeit: folgendes hat bei mir funktioniert

                                          /opt/iobroker $ npm i https://github.com/ioBroker/ioBroker.admin/tarball/master
                                          /opt/iobroker $ cd node_modules/iobroker.admin
                                          /opt/iobroker/node_modules/iobroker.admin $ npm install
                                          /opt/iobroker/node_modules/iobroker.admin $ npm run prepublish
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • wendy2702
                                            wendy2702 last edited by

                                            Habe das gerade mal auf meinem Standalone PI3 probiert. Da legt der "gulp" Befehl den PI nach einiger Zeit lahm.

                                              PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
                                              977 pi        20   0  530176 444596  21028 R 109,3 47,0   3:34.32 gulp
                                            
                                            

                                            Der kleine PI hat ganz schön was zu tun mit dem "gulp"

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            289
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            36
                                            4751
                                            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