Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Installation
    5. Backup IOBroker but cannot find admin.js

    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

    Backup IOBroker but cannot find admin.js

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @Guest last edited by

      @marvin thanks!

      don't use the iobroker commands with sudo! never!

      please try iob start admin.2 --debug

      but the full output of iob diag should reveal more infos

      ? 1 Reply Last reply Reply Quote 0
      • ?
        A Former User @Homoran last edited by

        @homoran said in Backup IOBroker but cannot find admin.js:

        this is my iob diag output:

        ======================= SUMMARY =======================
        			v.2023-10-10
        
        
         Static hostname: raspberrypi
               Icon name: computer
        Operating System: Debian GNU/Linux 12 (bookworm)
                  Kernel: Linux 6.1.0-rpi7-rpi-v8
            Architecture: arm64
        
        Installation: 		native
        Kernel: 		aarch64
        Userland: 		arm64
        Timezone: 		Europe/Berlin (CET, +0100)
        User-ID: 		1000
        X-Server: 		true
        Boot Target: 		graphical.target
        
        Pending OS-Updates: 	73
        Pending iob updates: 	28
        
        Nodejs-Installation: 	/usr/bin/nodejs 	v18.19.0
        			/usr/bin/node 		v18.19.0
        			/usr/bin/npm 		10.2.3
        			/usr/bin/npx 		10.2.3
        			/usr/bin/corepack 	0.22.0
        
        Recommended versions are nodejs  and npm 
        Your nodejs installation is correct
        
        MEMORY: 
                       total        used        free      shared  buff/cache   available
        Mem:            4.0G        2.2G        691M        161M        1.3G        1.8G
        Swap:           104M        4.2M        100M
        Total:          4.1G        2.2G        792M
        
        Active iob-Instances: 	19
        Active repo(s): stable
        
        ioBroker Core: 		js-controller 		5.0.17
        			admin 			6.2.20
        
        ioBroker Status: 	iobroker is running on this host.
        
        
        Objects type: jsonl
        States  type: jsonl
        
        Status admin and web instance:
          system.adapter.admin.2                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
          system.adapter.web.1                    : web                   : raspberrypi                              -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
        
        Objects: 		7891
        States: 		6317
        
        Size of iob-Database:
        
        16M	/opt/iobroker/iobroker-data/objects.jsonl
        8.8M	/opt/iobroker/iobroker-data/objects.json.migrated
        8.8M	/opt/iobroker/iobroker-data/objects.json.bak.migrated
        12M	/opt/iobroker/iobroker-data/states.jsonl
        5.1M	/opt/iobroker/iobroker-data/states.json.migrated
        5.1M	/opt/iobroker/iobroker-data/states.json.bak.migrated
        
        
        
        =================== END OF SUMMARY ====================
        
        
        Homoran DJMarc75 3 Replies Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators @Guest last edited by

          @marvin sagte in Backup IOBroker but cannot find admin.js:

          this is my iob diag output:

          unfortunately just the summary

          ? 1 Reply Last reply Reply Quote 0
          • ?
            A Former User @Homoran last edited by A Former User

            
            Skript v.2023-10-10
            
            *** BASE SYSTEM ***
             Static hostname: raspberrypi
                   Icon name: computer
            Operating System: Debian GNU/Linux 12 (bookworm)
                      Kernel: Linux 6.1.0-rpi7-rpi-v8
                Architecture: arm64
            
            1 Reply Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators @Guest last edited by

              @marvin sagte in Backup IOBroker but cannot find admin.js:

              Pending iob updates: 28

              in combination with

              @marvin sagte in Backup IOBroker but cannot find admin.js:

              js-controller 5.0.17

              leads me to me guess that you restored an old version with controller v4.

              did you?

              ? 1 Reply Last reply Reply Quote 0
              • ?
                A Former User @Homoran last edited by

                @homoran i dont know the exact version but not the newest for sure...

                Homoran 1 Reply Last reply Reply Quote 0
                • DJMarc75
                  DJMarc75 last edited by

                  @Homoran please postpone to english category 😉

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

                    @djmarc75 sagte in Backup IOBroker but cannot find admin.js:

                    @Homoran please postpone to english category 😉

                    there is no beginners forum

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

                      @marvin sagte in Backup IOBroker but cannot find admin.js:

                      @homoran i dont know the exact version but not the newest for sure...

                      you cannot restore a backup of v4 in a new installation with controller v5.

                      @thomas-braun tried this at another user

                      cd /opt/iobroker
                      
                      sudo -H -u iobroker npm install iobroker.js-controller
                      
                      iob update
                      
                      iob upgrade all -y
                      

                      I recommend to stop iob first iob stop

                      Good luck!

                      ? 1 Reply Last reply Reply Quote 0
                      • DJMarc75
                        DJMarc75 @Guest last edited by

                        @marvin sagte in Backup IOBroker but cannot find admin.js:

                        Timezone: Europe/Berlin (CET, +0100)

                        Really ?

                        @marvin sagte in Backup IOBroker but cannot find admin.js:

                        X-Server: true
                        Desktop: LXDE-pi
                        Terminal: x11
                        Boot Target: graphical.target

                        @marvin sagte in Backup IOBroker but cannot find admin.js:

                        Pending Updates: 73

                        1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User @Homoran last edited by

                          @homoran thank you so much for your help and time. fixed it 🙂

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

                            @marvin sagte in Backup IOBroker but cannot find admin.js:

                            @homoran thank you so much for your help and time. fixed it 🙂

                            glad to hear!
                            but fix also all old stuff!

                            And what already was said by @DJMarc75 :
                            a Server will not have an graphical interface!

                            and do you really live in German time-zone?

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

                              @Marvin
                              Deutscher Forumsteil, deutsche IP (bei mir um die Ecke im Norden), warum dann nicht auf Deutsch?

                              EDIT
                              So kann man es natürlich auch machen. Anstatt zu reagieren einfach abmelden und wieder verschwinden.

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

                              Support us

                              ioBroker
                              Community Adapters
                              Donate

                              479
                              Online

                              31.8k
                              Users

                              80.0k
                              Topics

                              1.3m
                              Posts

                              4
                              18
                              245
                              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