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.
    • 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
            • Thomas Braun
              Thomas Braun Most Active @Tiger last edited by

              @tiger

              The user 'pi' has a password.

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

                @tiger sagte in Update System iobroker failed:

                As the raspberry was only for iobroker

                security issue if you didn't change it raspberry

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

                  @thomas-braun

                  pi@raspberrypi:/opt/iobroker $ curl -sLf https://iobroker.net/install.sh | bash -
                  library: loaded
                  Library version=2022-06-15
                  
                  ==========================================================================
                  
                      Welcome to the ioBroker installer!
                      Installer version: 2022-06-03
                      
                      You might need to enter your password a couple of times.
                  
                  ==========================================================================
                  
                  
                  ==========================================================================
                      Installing prerequisites (1/4)
                  ==========================================================================
                  
                  Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
                  Hit:2 http://archive.raspberrypi.org/debian buster InRelease                                                  
                  Hit:3 https://deb.nodesource.com/node_16.x buster InRelease                                                   
                  Reading package lists... Done                                   
                  Changing npm registry to https://registry.npmjs.org
                  Installed gcc-c++
                  
                  ==========================================================================
                      Creating ioBroker user and directory (2/4)
                  ==========================================================================
                  
                  Created /etc/sudoers.d/iobroker
                  Directory /opt/iobroker created
                  
                  ==========================================================================
                      Installing ioBroker (3/4)
                  ==========================================================================
                  
                  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 2308 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/pi/.npm/_logs/2022-08-15T15_38_44_496Z-debug-0.log
                  
                  ==========================================================================
                      Finalizing installation (4/4)
                  ==========================================================================
                  
                  Enabling autostart...
                  Autostart enabled!
                  Fixing directory permissions...
                  
                  ==========================================================================
                  
                      ioBroker was installed successfully
                      Open http://192.168.0.100 192.168.1.16:8081 in a browser and start configuring!
                  
                  ==========================================================================
                  
                  
                  You need to re-login before doing anything else on the console!
                  
                  

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

                  how to re-login?

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

                    @tiger sagte in Update System iobroker failed:

                    Open http://192.168.0.100 192.168.1.16:8081 in a browser and start configuring!

                    two different Subnets for LAN and WLAN?

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

                      @homoran

                      yes, both was connected, I tryed but

                      This site can’t be reached
                      localhost refused to connect.

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

                        @tiger sagte in Update System iobroker failed:

                        ocalhost refused to connect.

                        try with IP

                        otherwise we have to proceed with the console

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

                          @homoran

                          already tryied
                          same issue

                          This site can’t be reached
                          192.168.1.16 refused to connect.

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

                            @Thomas-Braun

                            npm ERR! code 32
                            npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
                            npm ERR! command failed
                            

                            Did you see?

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

                              @tiger sagte in Update System iobroker failed:

                              192.168.1.16 refused to connect.

                              did you call ip:8081?

                              if yes, does iobroker list instances work this time?

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

                                @homoran
                                Of course I did...this is what I written : http://192.168.1.16:8081/

                                but iobroker list instances has same result as before... (I tryied in directory /opt/iobroker and in the directory show here after)

                                pi@raspberrypi:~ $ iobroker list instances
                                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: []
                                }
                                
                                
                                Homoran 1 Reply Last reply Reply Quote 0
                                • Homoran
                                  Homoran Global Moderator Administrators @Tiger last edited by

                                  @tiger Sorry, I don't have any clue. we have to wait for @Thomas-Braun

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

                                    @homoran
                                    for information, I found in directory the backup of this morning 😉 if it can help to restart from there...

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

                                      @tiger sagte in Update System iobroker failed:

                                      @homoran
                                      for information, I found in directory the backup of this morning 😉 if it can help to restart from there...

                                      if you want listen to my advice from earlier this day:
                                      take a new SD card, install the latest RaspberryOS lite and iobroker by curl -sLf https://iobroker.net/install.sh | bash - and restore it there.
                                      and don"t vorget to save your history folder

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

                                        @homoran sagte in Update System iobroker failed:

                                        I don't have any clue.

                                        Me neither.

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

                                          @homoran

                                          to be honest as I installed everything some years ago... I don't remember everyting to reinstalled.
                                          But I can buy new one and try.

                                          am I right

                                          • Reinstall OS on the new one
                                          • install iobroker with yout command

                                          And after? restore from the backup made?

                                          history is just for temperature... not big issue even if I lost it.

                                          In waiting for that, I suppose that I can use my imagedisk to have my domotic runs?

                                          I'd already try to search to reinstall raspberry, to flash the new SdCard with the raspberry OS lite, Can I do it from my PC windows?
                                          Which version you recommended? (32bit or 64 bit as i've the raspberry pi4) I suppose for me the version lite with desktop?
                                          Why not with desktop and recommended software?

                                          Stupid question... how can I save my backup file from iobroker ? as the file is on the actual sdcard...
                                          thanks

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

                                            @tiger

                                            Use the Raspberry OS Imager, go for the 64bit (lite) Version.

                                            No Desktop for added security, speed and convenience.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            845
                                            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