Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. English
    3. ioBroker general
    4. Update System iobroker failed

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Update System iobroker failed

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

      @tiger

      iobroker list adapters
      iobroker list instances
      
      T 1 Reply Last reply Reply Quote 0
      • T
        Tiger @Thomas Braun last edited by

        @thomas-braun

        pi@raspberrypi:~ $ iobroker list adapters
        node:internal/modules/cjs/loader:936
          throw err;
          ^
        
        Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
            at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
            at Function.Module._load (node:internal/modules/cjs/loader:778:27)
            at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
            at node:internal/main/run_main_module:17:47 {
          code: 'MODULE_NOT_FOUND',
          requireStack: []
        }
        
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Tiger last edited by

          @tiger

          cd /opt/iobroker
          sudo -H -u iobroker npm install ioBroker.admin@5.3.8
          sudo -H -u iobroker npm install iobroker.js-controller
          
          T 1 Reply Last reply Reply Quote 0
          • T
            Tiger @Thomas Braun last edited by

            @thomas-braun

            pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install ioBroker.admin@5.3.8
            npm ERR! code E404
            npm ERR! 404 Not Found - GET https://registry.npmjs.org/ioBroker.admin - Not found
            npm ERR! 404 
            npm ERR! 404  'ioBroker.admin@5.3.8' is not in this registry.
            npm ERR! 404 This package name is not valid, because 
            npm ERR! 404  1. name can no longer contain capital letters
            npm ERR! 404 
            npm ERR! 404 Note that you can also install from a
            npm ERR! 404 tarball, folder, http url, or git url.
            
            npm ERR! A complete log of this run can be found in:
            npm ERR!     [2022-08-15T15_04_08_107Z-debug-0.log
            

            log file2022-08-15T15_04_08_107Z-debug-0.log

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

              @tiger

              cd /opt/iobroker
              sudo -H -u iobroker npm install admin@5.3.8
              sudo -H -u iobroker npm install js-controller
              
              Homoran 1 Reply Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators @Thomas Braun last edited by Homoran

                @thomas-braun sagte in Update System iobroker failed:

                @tiger

                cd /opt/iobroker
                sudo -H -u iobroker npm install admin@5.3.8
                sudo -H -u iobroker npm install .js-controller
                

                no

                why 404?

                iobroker.admin 5.3.8 is stable

                T 1 Reply Last reply Reply Quote 0
                • T
                  Tiger @Homoran last edited by Tiger

                  @homoran
                  @thomas-braun

                  pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install admin@5.3.8
                  npm ERR! code ETARGET
                  npm ERR! notarget No matching version found for admin@5.3.8.
                  npm ERR! notarget In most cases you or one of your dependencies are requesting
                  npm ERR! notarget a package version that doesn't exist.
                  
                  npm ERR! A complete log of this run can be found in:
                  npm ERR!     /home/iobroker/.npm/_logs/2022-08-15T15_11_04_483Z-debug-0.log
                  
                  

                  log 2022-08-15T15_11_04_483Z-debug-0.log

                  Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @Tiger last edited by Homoran

                    @tiger sagte in Update System iobroker failed:

                    @homoran

                    pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install admin@5.3.8
                    npm ERR! code ETARGET
                    npm ERR! notarget No matching version found for admin@5.3.8.
                    npm ERR! notarget In most cases you or one of your dependencies are requesting
                    npm ERR! notarget a package version that doesn't exist.
                    
                    npm ERR! A complete log of this run can be found in:
                    npm ERR!     /home/iobroker/.npm/_logs/2022-08-15T15_11_04_483Z-debug-0.log
                    
                    

                    log 2022-08-15T15_11_04_483Z-debug-0.log

                    expected it

                    there seems to be a typo.
                    i just saw!

                    iobroker.admin not ioBroker.admin

                    messing around on my mobile. didn't see at once. sorry!

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

                      @tiger

                      cd /opt/iobroker
                      sudo -H -u iobroker npm install iobroker.admin@5.3.8
                      sudo -H -u iobroker npm install iobroker.js-controller
                      
                      T 1 Reply Last reply Reply Quote 0
                      • T
                        Tiger @Thomas Braun last edited by

                        @thomas-braun

                        pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.admin@5.3.8
                        npm WARN deprecated har-validator@5.1.5: this library is no longer supported
                        npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
                        npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                        npm ERR! code ENOENT
                        npm ERR! syscall chmod
                        npm ERR! path /opt/iobroker/node_modules/request/node_modules/uuid/bin/uuid
                        npm ERR! errno -2
                        npm ERR! enoent ENOENT: no such file or directory, chmod '/opt/iobroker/node_modules/request/node_modules/uuid/bin/uuid'
                        npm ERR! enoent This is related to npm not being able to find a file.
                        npm ERR! enoent 
                        
                        npm ERR! A complete log of this run can be found in:
                        npm ERR!     /home/iobroker/.npm/_logs/2022-08-15T15_15_37_253Z-debug-0.log
                        
                        

                        log 2022-08-15T15_15_37_253Z-debug-0.log

                        mikeal created this issue in request/request

                        open Request’s Past, Present and Future #3142

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

                          @tiger

                          cd /opt/iobroker
                          sudo -H -u iobroker npm install iobroker.js-controller
                          
                          T 1 Reply Last reply Reply Quote 0
                          • T
                            Tiger @Thomas Braun last edited by

                            @thomas-braun said in Update System iobroker failed:

                            sudo -H -u iobroker npm install iobroker.js-controller

                            Sorry I made step by step, and if I see some errors I prefer to wait

                            here the result

                            pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller
                            npm WARN deprecated har-validator@5.1.5: this library is no longer supported
                            npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
                            npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                            npm ERR! code 32
                            npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
                            npm ERR! command failed
                            npm ERR! command sh -c node iobroker.js setup first
                            npm ERR! Successfully migrated 2282 objects to Redis Sets
                            npm ERR! object _design/system updated
                            npm ERR! host.raspberrypi install adapter backitup
                            npm ERR! These apt-get packages were already installed: cifs-utils, nfs-common
                            npm ERR! upload [10] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/adapter-settings.js adapter-settings.js application/javascript
                            npm ERR! upload [9] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/backitup.png backitup.png image/png
                            npm ERR! upload [8] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/backitup.svg backitup.svg image/svg+xml
                            npm ERR! upload [7] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index.html index.html text/html
                            npm ERR! upload [6] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index_m.html index_m.html text/html
                            npm ERR! upload [5] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index_m.js index_m.js application/javascript
                            npm ERR! upload [4] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/style.css style.css text/css
                            npm ERR! upload [3] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/tab_m.css tab_m.css text/css
                            npm ERR! upload [2] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/tab_m.html tab_m.html text/html
                            npm ERR! upload [1] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/tab_m.js tab_m.js application/javascript
                            npm ERR! upload [0] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/words.js words.js application/javascript
                            npm ERR! host.raspberrypi Invalid version of "admin". Installed "4.0.10", required ">=5.2.0"
                            
                            npm ERR! A complete log of this run can be found in:
                            npm ERR!     /home/iobroker/.npm/_logs/2022-08-15T15_27_12_327Z-debug-0.log
                            
                            

                            log2022-08-15T15_27_12_327Z-debug-0.log

                            mikeal created this issue in request/request

                            open Request’s Past, Present and Future #3142

                            Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                            • Homoran
                              Homoran Global Moderator Administrators @Tiger last edited by

                              @tiger sagte in Update System iobroker failed:

                              Sorry I made step by step, and if I see some errors I prefer to wait

                              thats ok!

                              but I'm confused.
                              you twice installed 5.3.8 but it seems still not to be installed

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

                                @tiger

                                curl -fsL https://iobroker.net/fix.sh | bash -
                                

                                if that fails:

                                curl -sLf https://iobroker.net/install.sh | bash -
                                
                                T Homoran 3 Replies Last reply Reply Quote 0
                                • T
                                  Tiger @Thomas Braun last edited by

                                  @thomas-braun said in Update System iobroker failed:

                                  curl -fsL https://iobroker.net/fix.sh | bash -

                                  already in /opt/iobriker?

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

                                    @thomas-braun may there be another installation in an unappropriate directory?

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

                                      @tiger sagte in Update System iobroker failed:

                                      @thomas-braun said in Update System iobroker failed:

                                      curl -fsL https://iobroker.net/fix.sh | bash -

                                      already in /opt/iobriker?

                                      yes, but broker 😄

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        Tiger @Thomas Braun last edited by

                                        @thomas-braun

                                        first failed... and strange, as you said... seems not to be installed

                                        pi@raspberrypi:/opt/iobroker $ curl -fsL https://iobroker.net/fix.sh | bash -
                                        library: loaded
                                        Library version=2022-06-15
                                        ioBroker is not installed in /opt/iobroker! Cannot fix anything...
                                        

                                        Second is on the road... but tell me that password will be asked few time... don't remember that I'had a password .. hum hum

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

                                          @tiger sagte in Update System iobroker failed:

                                          don't remember that I'had a password

                                          The password is for your linux user, more specific for the root (or root entiteled) user.

                                          T 2 Replies Last reply Reply Quote 0
                                          • T
                                            Tiger @Thomas Braun last edited by

                                            @thomas-braun that what I said.. I don't remember I'd one...
                                            As the raspberry was only for iobroker

                                            Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            824
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            update iobroker
                                            7
                                            164
                                            15701
                                            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