Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. ERROR: Process exited with code 25

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    ERROR: Process exited with code 25

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

      Hallo,
      am Wochenende hatte ich einige Adapter zum updaten angezeigt bekommen.
      Ich glaube die Admin Instanz konnte ich noch Updaten, alle anderen Updates brechen mit dieser Meldung ab:

      $ iobroker upgrade simple-api@2.6.4
      Update simple-api from @2.6.3 to @2.6.4
      NPM version: 7.5.2
      Installing iobroker.simple-api@2.6.4... (System call)
      host.iobroker Cannot install iobroker.simple-api@2.6.4: 217
      ERROR: Process exited with code 25
      

      VIS ist seit dem auch nicht mehr zu erreichen.

      Was könnte das sein?

      Thomas Braun P 2 Replies Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @joeysch last edited by

        @joeysch

        Ist nodeJS senkrecht installiert?
        Schau in meiner Signatur. Bei npm@7 höchstwahrscheinlich nicht. Fix das.

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

          @thomas-braun sagte in ERROR: Process exited with code 25:

          @joeysch

          Ist nodeJS senkrecht installiert?
          Schau in meiner Signatur. Bei npm@7 höchstwahrscheinlich nicht. Fix das.

          root@iobroker:~# ln -s /usr/bin/node /usr/bin/nodejs
          which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
          ln: failed to create symbolic link '/usr/bin/nodejs': File exists
          /usr/bin/nodejs
          /usr/bin/node
          /usr/bin/npm
          v12.22.5
          v12.22.5
          7.5.2
          root
          /root
          Hit:1 http://archive.ubuntu.com/ubuntu impish InRelease
          Hit:2 http://archive.ubuntu.com/ubuntu impish-updates InRelease
          Hit:3 http://archive.ubuntu.com/ubuntu impish-security InRelease
          Reading package lists... Done
          Building dependency tree... Done
          Reading state information... Done
          All packages are up to date.
          nodejs:
            Installed: 12.22.5~dfsg-5ubuntu1
            Candidate: 12.22.5~dfsg-5ubuntu1
            Version table:
           *** 12.22.5~dfsg-5ubuntu1 500
                  500 http://archive.ubuntu.com/ubuntu impish/universe amd64 Packages
                  100 /var/lib/dpkg/status
          

          Ist das so OK?

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

            @joeysch

            Nein, komplett falsch.
            Du hampelst als root herum, du hast eine unpassende npm-Version und du ziehst nodejs nicht aus dem nodesource-Repository.

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

              @thomas-braun sagte in ERROR: Process exited with code 25:

              @joeysch

              Nein, komplett falsch.
              Du hampelst als root herum, du hast eine unpassende npm-Version und du ziehst nodejs nicht aus dem nodesource-Repository.

              Sorry, aber ich bin da nicht so ganz im Thema. Habe vor kurzem von Raspi (mir ist 3x die SD-Karte kaputt gegangen) auf ein Proxmoxsystem gewechselt, dort einen lxc erstellt in dem Ubuntu installiert wurde. Dann Iobroker drauf und eine Datensicherung rein.
              Wie bekomme ich das denn jetzt glatt gezogen? (Bis jetzt hat alles einwandfrei funktioniert. Auch die Updates)

              Thomas Braun crunchip 2 Replies Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @joeysch last edited by

                @joeysch
                In meiner Signatur steht drin, wie man nodejs richtig installiert.
                Und leg dir einen user mit sudo-Rechten an, damit da nicht als root rumgeeiert werden muss.

                J 1 Reply Last reply Reply Quote 0
                • crunchip
                  crunchip Forum Testing Most Active @joeysch last edited by

                  @joeysch sagte in ERROR: Process exited with code 25:

                  auf ein Proxmoxsystem gewechselt, dort einen lxc erstellt

                  So nebenbei, schau da mal rein
                  https://www.iobroker.net/#de/documentation/install/proxmox.md

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

                    @thomas-braun
                    Anhand der Anleitung habe ich es nicht hingekriegt. Liegt's an Ubuntu? Habe es dann mit einer anderen Anleitung von Ubuntu probiert und dieses Ergebnis:

                    Welcome to Ubuntu 21.10 (GNU/Linux 5.13.19-2-pve x86_64)
                    
                     * Documentation:  https://help.ubuntu.com
                     * Management:     https://landscape.canonical.com
                     * Support:        https://ubuntu.com/advantage
                    Last login: Tue Apr 19 07:12:47 UTC 2022 on tty1
                    guido@iobroker:~$ npm
                    
                    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:
                        /home/guido/.npmrc
                    or on the command line via: npm <command> --key value
                    Config info can be viewed via: npm help config
                    
                    npm@6.14.16 /usr/lib/node_modules/npm
                    guido@iobroker:~$ sudo ln -s /usr/bin/node /usr/bin/nodejs
                    which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                    [sudo] password for guido: 
                    /usr/bin/nodejs
                    /usr/bin/node
                    /usr/bin/npm
                    v14.19.1
                    v14.19.1
                    6.14.16
                    guido
                    /home/guido
                    Hit:1 http://archive.ubuntu.com/ubuntu impish InRelease
                    Hit:2 http://archive.ubuntu.com/ubuntu impish-updates InRelease
                    Hit:3 https://deb.nodesource.com/node_14.x impish InRelease
                    Hit:4 http://archive.ubuntu.com/ubuntu impish-security InRelease
                    Reading package lists... Done
                    Building dependency tree... Done
                    Reading state information... Done
                    All packages are up to date.
                    nodejs:
                      Installed: 14.19.1-deb-1nodesource1
                      Candidate: 14.19.1-deb-1nodesource1
                      Version table:
                     *** 14.19.1-deb-1nodesource1 500
                            500 https://deb.nodesource.com/node_14.x impish/main amd64 Packages
                            100 /var/lib/dpkg/status
                         12.22.5~dfsg-5ubuntu1 500
                            500 http://archive.ubuntu.com/ubuntu impish/universe amd64 Packages
                    

                    Die Updates laufen jetzt durch, werden aber nicht aktualisiert.
                    Beim Aufruf von VIS kommt diese Meldung:

                    URIError: Failed to decode param '%web_protocol%://192.168.0.17:%web_port%/vis/edit.html'
                        at decodeURIComponent (<anonymous>)
                        at decode_param (/opt/iobroker/node_modules/express/lib/router/layer.js:172:12)
                        at Layer.match (/opt/iobroker/node_modules/express/lib/router/layer.js:148:15)
                        at matchLayer (/opt/iobroker/node_modules/express/lib/router/index.js:580:18)
                        at next (/opt/iobroker/node_modules/express/lib/router/index.js:220:15)
                        at compression (/opt/iobroker/node_modules/compression/index.js:220:5)
                        at Layer.handle [as handle_request] (/opt/iobroker/node_modules/express/lib/router/layer.js:95:5)
                        at trim_prefix (/opt/iobroker/node_modules/express/lib/router/index.js:323:13)
                        at /opt/iobroker/node_modules/express/lib/router/index.js:284:7
                        at Function.process_params (/opt/iobroker/node_modules/express/lib/router/index.js:341:12)
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @joeysch last edited by

                      @joeysch

                      Zumindest nodejs und das 'Drumherum' ist jetzt richtig.
                      Die Meldung zu vis ist ein anderes Problem.

                      Wobei mich jetzt interessieren würde, welche andere Anleitung das war und warum die erste nicht funktioniert haben soll.

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

                        @thomas-braun
                        Ich sehe gerade das Zigbee jetzt nicht mehr läuft.

                        1
                        Zeit
                        error
                        Nachricht
                        host.iobroker
                        2022-04-19 08:00:25.148	error	instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                        host.iobroker
                        2022-04-19 08:00:25.148	error	Caught by controller[0]: }
                        host.iobroker
                        2022-04-19 08:00:25.148	error	Caught by controller[0]: code: 'ERR_DLOPEN_FAILED'
                        host.iobroker
                        2022-04-19 08:00:25.148	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:950:32) {
                        host.iobroker
                        2022-04-19 08:00:25.148	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
                        host.iobroker
                        2022-04-19 08:00:25.148	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1085:14)
                        host.iobroker
                        2022-04-19 08:00:25.148	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/lib/linux.js:2:36)
                        host.iobroker
                        2022-04-19 08:00:25.148	error	Caught by controller[0]: at bindings (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:112:48)
                        host.iobroker
                        2022-04-19 08:00:25.148	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:101:18)
                        host.iobroker
                        2022-04-19 08:00:25.148	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:974:19)
                        host.iobroker
                        2022-04-19 08:00:25.148	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:790:12)
                        host.iobroker
                        2022-04-19 08:00:25.148	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:950:32)
                        host.iobroker
                        2022-04-19 08:00:25.148	error	Caught by controller[0]: at Object.Module._extensions..node (internal/modules/cjs/loader.js:1144:18)
                        host.iobroker
                        2022-04-19 08:00:25.148	error	Caught by controller[0]: Error: libnode.so.72: cannot open shared object file: No such file or directory
                        host.iobroker
                        2022-04-19 08:00:25.148	error	Caught by controller[0]: ^
                        host.iobroker
                        2022-04-19 08:00:25.148	error	Caught by controller[0]: throw e;
                        host.iobroker
                        2022-04-19 08:00:25.148	error	Caught by controller[0]: /opt/iobroker/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:121
                        host.iobroker
                        2022-04-19 07:59:54.866	error	instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                        host.iobroker
                        2022-04-19 07:59:54.866	error	Caught by controller[0]: }
                        host.iobroker
                        2022-04-19 07:59:54.865	error	Caught by controller[0]: code: 'ERR_DLOPEN_FAILED'
                        host.iobroker
                        2022-04-19 07:59:54.865	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:950:32) {
                        host.iobroker
                        2022-04-19 07:59:54.865	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
                        host.iobroker
                        2022-04-19 07:59:54.865	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1085:14)
                        host.iobroker
                        2022-04-19 07:59:54.865	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/lib/linux.js:2:36)
                        host.iobroker
                        2022-04-19 07:59:54.865	error	Caught by controller[0]: at bindings (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:112:48)
                        host.iobroker
                        2022-04-19 07:59:54.865	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:101:18)
                        host.iobroker
                        2022-04-19 07:59:54.865	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:974:19)
                        host.iobroker
                        2022-04-19 07:59:54.865	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:790:12)
                        host.iobroker
                        2022-04-19 07:59:54.865	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:950:32)
                        host.iobroker
                        2022-04-19 07:59:54.865	error	Caught by controller[0]: at Object.Module._extensions..node (internal/modules/cjs/loader.js:1144:18)
                        host.iobroker
                        2022-04-19 07:59:54.865	error	Caught by controller[0]: Error: libnode.so.72: cannot open shared object file: No such file or directory
                        host.iobroker
                        2022-04-19 07:59:54.865	error	Caught by controller[0]: ^
                        
                        1 Reply Last reply Reply Quote 0
                        • J
                          joeysch last edited by

                          @thomas-braun sagte in ERROR: Process exited with code 25:

                          Wobei mich jetzt interessieren würde, welche andere Anleitung das war und warum die erste nicht funktioniert haben soll.

                          Ich glaube es liegt an den Einträgen. Ich hatte sie einfach kopiert und eingefügt. Kann es sein das Ubuntu auf ein anderes Repo zugreift?

                          #node 12
                          deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_12.x bullseye main
                          deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_12.x bullseye main
                           
                          #node 14
                          deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_14.x bullseye main
                          deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_14.x bullseye main
                          

                          Ich habe es jetzt nach dieser Anleitung Option 2 gemacht.
                          [https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-20-04-de]

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

                            @joeysch sagte in ERROR: Process exited with code 25:

                            Ich glaube es liegt an den Einträgen. Ich hatte sie einfach kopiert und eingefügt. Kann es sein das Ubuntu auf ein anderes Repo zugreift?

                            Natürlich. Bullseye ist DEBIAN, nicht ubuntu. Da gehört der entsprechende ubuntu-Releasename rein. Das kannst du nicht einfach 1:1 so rüber kopieren.
                            Das macht aber das Installationsskript von nodesource richtig, wenn du es denn benutzt hättest.

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

                              @thomas-braun

                              Sorry aber ich sagt bereits, dass ich von Linux nicht viel verstehe.

                              Kannst du zu den anderen Fehler was sagen? Warum geht der Zigbee Adapter nicht mehr und warum komme ich nicht mehr
                              ins VIS?

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

                                @joeysch

                                Keine Ahnung. Hat aber mit dem ursprünglichen Thema nix mehr zu tun.
                                Mach pro Problem einen neuen Thread auf.

                                1 Reply Last reply Reply Quote 0
                                • J
                                  joeysch last edited by

                                  @thomas-braun

                                  Ich habe jetzt mal einen npm rebuild gemacht. Da wirft er mir überall Errors raus. Ist das so richtig?

                                  guido@iobroker:/opt/iobroker$ npm rebuild
                                  
                                  > protobufjs@6.11.2 postinstall /opt/iobroker/node_modules/protobufjs
                                  > node scripts/postinstall
                                  
                                  
                                  > iobroker.javascript@5.2.21 postinstall /opt/iobroker/node_modules/iobroker.javascript
                                  > node ./install/installTypings.js
                                  
                                  Installing NodeJS typings...
                                  latest @types: 17, installed node: 14
                                  Could not install NodeJS typings. This is not critical.
                                  Reason: 
                                  npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.javascript/node_modules/@types/node
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.javascript/node_modules/@babel
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.javascript/node_modules/@humanwhocodes
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.javascript/node_modules/@nodelib
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.javascript/node_modules/@types
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.javascript/node_modules/@ungap
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.javascript/node_modules
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.javascript/node_modules/@eslint
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.javascript/node_modules/@alcalzone
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.javascript/node_modules/@iobroker
                                  npm ERR! code EACCES
                                  npm ERR! syscall access
                                  npm ERR! path /opt/iobroker/node_modules/iobroker.javascript/node_modules/@types/node
                                  npm ERR! errno -13
                                  npm ERR! Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker.javascript/node_modules/@types/node'
                                  npm ERR!  [Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker.javascript/node_modules/@types/node'] {
                                  npm ERR!   errno: -13,
                                  npm ERR!   code: 'EACCES',
                                  npm ERR!   syscall: 'access',
                                  npm ERR!   path: '/opt/iobroker/node_modules/iobroker.javascript/node_modules/@types/node'
                                  npm ERR! }
                                  npm ERR! 
                                  npm ERR! The operation was rejected by your operating system.
                                  npm ERR! It is likely you do not have the permissions to access this file as the current user
                                  npm ERR! 
                                  npm ERR! If you believe this might be a permissions issue, please double-check the
                                  npm ERR! permissions of the file and its containing directories, or try running
                                  npm ERR! the command again as root/Administrator.
                                  
                                  npm ERR! A complete log of this run can be found in:
                                  npm ERR!     /home/guido/.npm/_logs/2022-04-19T08_47_03_625Z-debug.log
                                  
                                  
                                  > iobroker.js-controller@4.0.21 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                                  > node lib/preinstallCheck.js
                                  
                                  NPM version: 6.14.16
                                  
                                  > iobroker.js-controller@4.0.21 install /opt/iobroker/node_modules/iobroker.js-controller
                                  > node iobroker.js setup first
                                  
                                  Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
                                  npm ERR! code ELIFECYCLE
                                  npm ERR! errno 24
                                  npm ERR! iobroker.js-controller@4.0.21 install: `node iobroker.js setup first`
                                  npm ERR! Exit status 24
                                  npm ERR! 
                                  npm ERR! Failed at the iobroker.js-controller@4.0.21 install script.
                                  npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                  
                                  npm ERR! A complete log of this run can be found in:
                                  npm ERR!     /home/guido/.npm/_logs/2022-04-19T08_47_16_273Z-debug.log
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @joeysch last edited by

                                    @joeysch

                                    Ist der User in der Gruppe 'iobroker' drin?

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

                                      @thomas-braun
                                      Könntest du das mal erklären.

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

                                        @joeysch

                                        checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.javascript/node_modules
                                        

                                        Deutet auf fehlende Rechte des ausführenden users 'guido' hin.

                                        ls -la /opt/iobroker/node_modules/iobroker.javascript/node_modules/
                                        total 136
                                        drwxrwxr-x+ 13 iobroker iobroker 20480 Apr 15 14:39 .
                                        drwxrwxr-x+  8 iobroker iobroker  4096 Apr  7 17:23 ..
                                        drwxrwxr-x+  2 iobroker iobroker  4096 Apr 15 12:43 @alcalzone
                                        drwxrwxr-x+  2 iobroker iobroker  4096 Apr 15 12:43 @babel
                                        drwxrwxr-x+  2 iobroker iobroker  4096 Apr 15 14:39 .bin
                                        drwxrwxr-x+  2 iobroker iobroker  4096 Apr 15 12:43 @eslint
                                        drwxrwxr-x+  2 iobroker iobroker  4096 Apr 15 12:43 @humanwhocodes
                                        drwxrwxr-x+  2 iobroker iobroker  4096 Apr 15 14:39 @iobroker
                                        drwxrwxr-x+  2 iobroker iobroker  4096 Apr 15 12:43 @nodelib
                                        -rw-rw-r--+  1 iobroker iobroker 67004 Apr 15 12:43 .package-lock.json
                                        drwxrwxr-x+  2 iobroker iobroker  4096 Apr 15 14:39 @sindresorhus
                                        drwxrwxr-x+  2 iobroker iobroker  4096 Apr 15 14:39 @szmarczak
                                        drwxrwxr-x+  3 iobroker iobroker  4096 Apr 15 14:39 @types
                                        drwxrwxr-x+  2 iobroker iobroker  4096 Apr 15 12:43 @ungap
                                        

                                        zeigt, dass die Dateien (in erster Linie) dem user 'iobroker' und der Gruppe 'iobroker' gehören, der user bzw. ein Mitglied der Gruppe dürfte da aber rummachen. Ergo: Es fehlt dem guido das Recht.

                                        groups
                                        

                                        als guido ausgeführt liefert?

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

                                          @thomas-braun

                                          So, ich habe jetzt mal den user guido eingerichtet.
                                          Bei der Abfrage kommt jetzt das raus:

                                          guido@iobroker:~$ checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.javascript/node_modules
                                          checkPermissions: command not found
                                          guido@iobroker:~$ users
                                          guido
                                          guido@iobroker:~$ groups
                                          guido sudo
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @joeysch last edited by

                                            @joeysch

                                            Wie schon vermutet.
                                            Der 'guido' darf da nix, weil der nicht bei der Gruppe 'iobroker' mitspielen darf.

                                            sudo usermod -aG iobroker guido
                                            exit
                                            

                                            Dann nochmal anmelden und es sollte funktionieren.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            994
                                            Online

                                            31.7k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            error update
                                            11
                                            147
                                            31391
                                            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