Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] iobroker fix meldet Warnung (directory permissions)

    NEWS

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    [gelöst] iobroker fix meldet Warnung (directory permissions)

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @reutli last edited by

      @reutli

      Ja

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

        @thomas-braun

        Du Fuchs :

        admin@macmini-iobroker:~$ iob stop
        admin@macmini-iobroker:~$ iob fix
        library: loaded
        Library version=2022-06-15
        
        ==========================================================================
        
            Welcome to the ioBroker installation fixer!
            Script version: 2022-06-03
            
            You might need to enter your password a couple of times.
        
        ==========================================================================
        
        
        ==========================================================================
            Installing prerequisites (1/3)
        ==========================================================================
        
        [sudo] Passwort für admin: 
        Holen:1 http://security.debian.org/debian-security buster/updates InRelease [34,8 kB]
        OK:2 http://deb.debian.org/debian buster InRelease                                                                                                                                          
        Holen:3 http://deb.debian.org/debian buster-updates InRelease [56,6 kB]                                                                                                                     
        OK:4 https://repos.influxdata.com/debian buster InRelease                                                                                                                                   
        OK:5 https://packages.grafana.com/enterprise/deb stable InRelease                                                                                 
        OK:6 https://deb.nodesource.com/node_14.x buster InRelease                               
        OK:7 https://deb.nodesource.com/node_16.x buster InRelease       
        Es wurden 91,5 kB in 1 s geholt (68,7 kB/s).                     
        Paketlisten werden gelesen... Fertig
        Installed gcc-c++
        
        ==========================================================================
            Checking ioBroker user and directory permissions (2/3)
        ==========================================================================
        
        Created /etc/sudoers.d/iobroker
        Fixing directory permissions...
        
        ==========================================================================
            Checking autostart (3/3)
        ==========================================================================
        
        Enabling autostart...
        Autostart enabled!
        
        ==========================================================================
        
            Your installation was fixed successfully
            Run iobroker start to start ioBroker again!
        
        ==========================================================================
        

        Aber: Gerade versucht Adapter zu installieren:

        $ iobroker add feiertage --host macmini-iobroker
        
        Installing iobroker.feiertage@1.1.0... (System call)
        
        host.macmini-iobroker Cannot install iobroker.feiertage@1.1.0: 217
        
        ERROR: Process exited with code 25
        

        Scheint noch was nicht i.O.

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

          @reutli sagte in iobroker fix meldet Warnung (directory permissions):

          iobroker add feiertage --host macmini-iobroker

          Versuchs mit --debug

          iobroker add feiertage --host macmini-iobroker --debug
          

          Könnte aber das sein:
          https://forum.iobroker.net/topic/57337/fehler-25-bei-adapter-install-update-mit-npm8

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

            @thomas-braun

            admin@macmini-iobroker:~$ iob add feiertage --debug
            NPM version: 8.15.0
            Installing iobroker.feiertage@1.1.0... (System call)
            npm ERR! code ENOTEMPTY
            npm ERR! syscall rename
            npm ERR! path /opt/iobroker/node_modules/argparse
            npm ERR! dest /opt/iobroker/node_modules/.argparse-S5zfMSQi
            npm ERR! errno -39
            npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/argparse' -> '/opt/iobroker/node_modules/.argparse-S5zfMSQi'
            
            npm ERR! A complete log of this run can be found in:
            npm ERR!     /home/iobroker/.npm/_logs/2022-10-02T15_02_01_391Z-debug-0.log
            host.macmini-iobroker Cannot install iobroker.feiertage@1.1.0: 217
            

            kennen wir doch schon... wie war deine Schleife für's löschen nochmal?

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

              @reutli

              for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done 
              
              R 1 Reply Last reply Reply Quote 0
              • R
                reutli @Thomas Braun last edited by reutli

                @thomas-braun

                done, danke!

                admin@macmini-iobroker:~$ iob add feiertage --debug
                NPM version: 8.15.0
                Installing iobroker.feiertage@1.1.0... (System call)
                npm WARN deprecated multer@1.4.4: Multer 1.x is affected by CVE-2022-24434. This is fixed in v1.4.4-lts.1 which drops support for versions of Node.js before 6. Please upgrade to at least Node.js 6 and version 1.4.4-lts.1 of Multer. If you need support for older versions of Node.js, we are open to accepting patches that would fix the CVE on the main 1.x release line, whilst maintaining compatibility with Node.js 0.10.
                npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                npm WARN deprecated mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
                npm WARN deprecated axios@0.27.0: Formdata complete broken, incorrect build size
                
                added 143 packages, removed 24 packages, and changed 93 packages in 8s
                
                129 packages are looking for funding
                  run `npm fund` for details
                host.macmini-iobroker install adapter feiertage
                upload [4] feiertage.admin /opt/iobroker/node_modules/iobroker.feiertage/admin/feiertage.png feiertage.png image/png
                upload [3] feiertage.admin /opt/iobroker/node_modules/iobroker.feiertage/admin/holidays.js holidays.js application/javascript
                upload [2] feiertage.admin /opt/iobroker/node_modules/iobroker.feiertage/admin/index.html index.html text/html
                upload [1] feiertage.admin /opt/iobroker/node_modules/iobroker.feiertage/admin/index_m.html index_m.html text/html
                upload [0] feiertage.admin /opt/iobroker/node_modules/iobroker.feiertage/admin/words.js words.js application/javascript
                host.macmini-iobroker object system.adapter.feiertage created/updated
                host.macmini-iobroker create instance feiertage
                host.macmini-iobroker object system.adapter.feiertage.0.alive created
                host.macmini-iobroker object system.adapter.feiertage.0.connected created
                host.macmini-iobroker object system.adapter.feiertage.0.compactMode created
                host.macmini-iobroker object system.adapter.feiertage.0.cpu created
                host.macmini-iobroker object system.adapter.feiertage.0.cputime created
                host.macmini-iobroker object system.adapter.feiertage.0.memHeapUsed created
                host.macmini-iobroker object system.adapter.feiertage.0.memHeapTotal created
                host.macmini-iobroker object system.adapter.feiertage.0.memRss created
                host.macmini-iobroker object system.adapter.feiertage.0.uptime created
                host.macmini-iobroker object system.adapter.feiertage.0.inputCount created
                host.macmini-iobroker object system.adapter.feiertage.0.outputCount created
                host.macmini-iobroker object system.adapter.feiertage.0.eventLoopLag created
                host.macmini-iobroker object system.adapter.feiertage.0.sigKill created
                host.macmini-iobroker object system.adapter.feiertage.0.logLevel created
                host.macmini-iobroker object feiertage.0.heute created
                host.macmini-iobroker object feiertage.0.heute.Name created
                host.macmini-iobroker object feiertage.0.heute.boolean created
                host.macmini-iobroker object feiertage.0.morgen created
                host.macmini-iobroker object feiertage.0.morgen.Name created
                host.macmini-iobroker object feiertage.0.morgen.boolean created
                host.macmini-iobroker object feiertage.0.uebermorgen created
                host.macmini-iobroker object feiertage.0.uebermorgen.Name created
                host.macmini-iobroker object feiertage.0.uebermorgen.boolean created
                host.macmini-iobroker object feiertage.0.naechster created
                host.macmini-iobroker object feiertage.0.naechster.Name created
                host.macmini-iobroker object feiertage.0.naechster.Datum created
                host.macmini-iobroker object feiertage.0.naechster.Dauer created
                host.macmini-iobroker object feiertage.0.today created
                host.macmini-iobroker object feiertage.0.today.name created
                host.macmini-iobroker object feiertage.0.today.boolean created
                host.macmini-iobroker object feiertage.0.tomorrow created
                host.macmini-iobroker object feiertage.0.tomorrow.name created
                host.macmini-iobroker object feiertage.0.tomorrow.boolean created
                host.macmini-iobroker object feiertage.0.aftertomorrow created
                host.macmini-iobroker object feiertage.0.aftertomorrow.name created
                host.macmini-iobroker object feiertage.0.aftertomorrow.boolean created
                host.macmini-iobroker object feiertage.0.next created
                host.macmini-iobroker object feiertage.0.next.name created
                host.macmini-iobroker object feiertage.0.next.date created
                host.macmini-iobroker object feiertage.0.next.duration created
                host.macmini-iobroker object system.adapter.feiertage.0 created
                

                die npm warings kann ich ignorieren, oder?

                Qix- created this issue in visionmedia/debug

                closed ReDos Vulnerability Regression Visibility Notice #797

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

                  @reutli sagte in iobroker fix meldet Warnung (directory permissions):

                  die npm warings kann ich ignorieren, oder?

                  Ja, da muss der jeweilige Maintainer des Adapters mal schauen.

                  R 1 Reply Last reply Reply Quote 1
                  • R
                    reutli @Thomas Braun last edited by

                    @thomas-braun

                    Damit gelöst.

                    Ich zieh' wie immer den Hut vor Dir.

                    Danke!

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

                      @reutli sagte in [gelöst] iobroker fix meldet Warnung (directory permissions):

                      Du Fuchs :

                      Zwar nicht so schlau, aber riecht wie einer? 🙂

                      R 1 Reply Last reply Reply Quote 1
                      • R
                        reutli @Thomas Braun last edited by

                        @thomas-braun

                        😁 😁 😁

                        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

                        919
                        Online

                        32.0k
                        Users

                        80.5k
                        Topics

                        1.3m
                        Posts

                        2
                        20
                        995
                        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