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

      @thomas-braun
      I'm trying to fix with your guide, but to complicate for me.
      AS I'm a newbee and so I don't understand what I'm doing, so it's difficult.

      I've a backup of my Sd Card.
      If I use this backup and retry to upgrade my system,
      do you have a guide with all steps to do?

      When try to update Iobroker.Admin, tells me that Node.JS 10 is not goof and I've to upgrade to V16, when made, I try to upgrade system, and another adapter has to be upgraded but the version of Node.JS V16 was not good for it and should be not more than V14...

      So if you've a guide, it should be more easy for a stupid guy like me

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

        @homoran I completely agree, that's why I'm trying to explain in English 🙂

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

          @tiger dou you have a backup of your iobroker installation?
          done by backitup or iobroker backup?

          then i would recommend to install all brandnew, best on a new SD card, so you'll still have the old one, and restore your backup to the new installation.
          All will be built anew

          T crunchip 2 Replies Last reply Reply Quote 0
          • T
            Tiger @Homoran last edited by

            @homoran
            Yes I've two backup in fact

            • 1 made thanks to win32 image disc, so I've my image of yestarday
              -1 made thanks to iobroker backup

            My idea was to copy the imagedisc of yestarday and retry to upgrade thanks to a guide, and with the correct order of different upgrade

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

              @homoran and install vis before backup if vis is used

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

                @tiger sagte in Update System iobroker failed:

                win32 image disc,

                this contains all the broken stuff.
                not recommended!

                what adapters did you install?
                iobroker update -i

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

                  @tiger

                  First action:

                  iobroker stop
                  sudo apt update
                  sudo apt full-upgrade
                  sudo reboot
                  

                  Please post the output of

                  sudo apt update
                  
                  1 Reply Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @crunchip last edited by

                    @crunchip sagte in Update System iobroker failed:

                    and install vis before backup if vis is used

                    Restore

                    ??

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

                      @homoran
                      to be honest yestarday I tried to upgrade and was in same situation as now, so I took the imagedisc and works as before.

                      Adapters installed and needed was :

                      • Siemens S7 adapter
                      • Zigbee
                      • Rfxcom
                      • History

                      iobroker update -i gives error too

                      internal/modules/cjs/loader.js:905
                      throw err;
                      ^

                      Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                      at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
                      at Function.Module._load (internal/modules/cjs/loader.js:746:27)
                      at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12)
                      at internal/main/run_main_module.js:17:47 {
                      code: 'MODULE_NOT_FOUND',
                      requireStack: []
                      }

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

                        @tiger

                        Will you try to setup nodejs the proper way or trying around with your backups (which are most propably based on a wrong installation)

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

                          @tiger sagte in Update System iobroker failed:

                          History

                          in the regular iobroker backup the history won't be included.
                          You have to save the directory /opt/iobroker/iobroker-data/history by yourself

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

                            @thomas-braun
                            actually I'm trying your command, it's in progress.
                            It should be better to re install everything... to have a proper installation up to date...

                            But as you have notice, installation part is not my favorite things, I'm afroid to lost all my domotics and all i've already done with Alexa, Node red etc...

                            Moreover, as I used the commande : iobroker backup, and I don't see the backup in /opt/iobroker... not sure I've the backup...

                            regards

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

                              @tiger

                              So what is the output to

                              sudo apt update
                              

                              then?

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

                                @thomas-braun
                                command : sudo apt full-upgrade took time
                                progress is 13% since some minutes

                                Unpacking wolfram-engine (12.2.0+2021041101) over (12.0.1+2019062401) ...

                                Progress: [ 13%] [#######...................................................]

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

                                  @tiger

                                  Then you never did update your system before.
                                  And you are running the Desktop-Variant. Both is a no-go.

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

                                    @thomas-braun
                                    Once everything was working.. i Didn't made any update...
                                    Now It's because I would like to add some functionnality as Smappee on my Vis...
                                    I need it.
                                    or I will continue like that with old version and will continue to work as before 🙂

                                    Whatever, thanks to all for your help.

                                    progress is 48%

                                    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:

                                      or I will continue like that with old version and will continue to work as before

                                      don't even think about this.
                                      the day will come and you have to update an adapter you need.

                                      due to the 'never change a running system' approach, now you are in trouble.
                                      And then you'll be in big trouble for sure.

                                      Please keep your system up to date always. for security and convenience

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

                                        @thomas-braun
                                        so, here the result
                                        pi@raspberrypi:~ $ sudo apt update
                                        Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
                                        Hit:2 https://deb.nodesource.com/node_10.x buster InRelease
                                        Hit:3 http://archive.raspberrypi.org/debian buster InRelease
                                        Reading package lists... Done
                                        Building dependency tree
                                        Reading state information... Done
                                        All packages are up to date.

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

                                          @tiger sagte in Update System iobroker failed:

                                          Once everything was working.. i Didn't made any update...

                                          I'm not sure if it makes any sense to help you with that attitude...

                                          Once again:

                                          uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                          
                                          T 1 Reply Last reply Reply Quote 0
                                          • T
                                            Tiger @Thomas Braun last edited by Tiger

                                            @thomas-braun
                                            I understand you, but I would like to be up to date and continue, it's just because i dont like to not understand everything and take time of other poeple 😉
                                            That's why I thank you for all.

                                            
                                            pi@raspberrypi:~ $ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                            armv7l
                                            /usr/bin/nodejs
                                            /usr/local/bin/node
                                            /usr/local/bin/npm
                                            v10.24.1
                                            v14.20.0
                                            6.14.17
                                            pi
                                            /home/pi
                                            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_10.x buster InRelease                    
                                            Reading package lists... Done                                     
                                            Building dependency tree       
                                            Reading state information... Done
                                            All packages are up to date.
                                            nodejs:
                                              Installed: 10.24.1-1nodesource1
                                              Candidate: 10.24.1-1nodesource1
                                              Version table:
                                             *** 10.24.1-1nodesource1 500
                                                    500 https://deb.nodesource.com/node_10.x buster/main armhf Packages
                                                    100 /var/lib/dpkg/status
                                                 10.24.0~dfsg-1~deb10u1 500
                                                    500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                            
                                            
                                            
                                            Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            796
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

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