Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. English
    3. ioBroker general
    4. Javascripts update 5.7 - scripts lost...?

    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

    Javascripts update 5.7 - scripts lost...?

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

      @thomas-braun
      9a4556f8-5c66-4699-8535-ed5ab606ffc1-image.png

      I noticed that the javascript stops running after a restore attempt.

      Deutsch schreiben geht, und noch viel besser mit Google translate.

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

        @erwinberlin

        JS
        

        is not a valid entry. Either put the correct full path to your skripts or leave it empty.

        E 1 Reply Last reply Reply Quote 0
        • E
          erwinberlin @Thomas Braun last edited by

          @thomas-braun
          Leaving it empty does not result in my scripts appearing again.

          And the back up issue still exists. Backups are stored on the file server and can be read. However, when decompressing there seems to be an issue. Could be rights or location. Right now I am searching for the javascript folder.

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

            @erwinberlin

            How do you create backups and how do you put the backup files back into your system?

            E 1 Reply Last reply Reply Quote 0
            • E
              erwinberlin @Thomas Braun last edited by

              @thomas-braun
              backups to a synology (SMB3.0). Restoring on a clean install works fine.

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

                @erwinberlin sagte in Javascripts update 5.7 - scripts lost...?:

                Restoring on a clean install works fine.

                Why don't you do this then?

                E 1 Reply Last reply Reply Quote 0
                • E
                  erwinberlin @Thomas Braun last edited by

                  @thomas-braun
                  that is a last resort option. It is weird that the javascript update breaks the system.

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

                    @erwinberlin sagte in Javascripts update 5.7 - scripts lost...?:

                    It is weird that the javascript update breaks the system.

                    I think it's your faulty setup of the mirror directory.

                    1 Reply Last reply Reply Quote 0
                    • E
                      erwinberlin last edited by

                      @thomas-braun that may well be faulty. Now the question is how to fix it.

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

                        @erwinberlin

                        iobroker stop
                        iobroker fix
                        iobroker start
                        

                        Then pull back in your javaskript-Backup:

                        814ff1bd-776a-4179-8fea-84dc440ccd1f-image.png

                        E 1 Reply Last reply Reply Quote 0
                        • E
                          erwinberlin @Thomas Braun last edited by

                          @thomas-braun I did that already. Unfortunately, it does not help.

                          E 1 Reply Last reply Reply Quote 0
                          • E
                            erwinberlin @erwinberlin last edited by

                            So I ended up doing a full clean install RPI4 3Gb with Bullseye 64 bit. Restoring worked for adapters and javascript; zigbee and history both came with errors:
                            {"errno":-1,"code":"EPERM","syscall":"utime","path":"/opt/iobroker/backups/tmpScripts/"}
                            Still it all worked, so it is just a finding.

                            1 Reply Last reply Reply Quote 0
                            • E
                              erwinberlin last edited by

                              My solution (which I did tried 4x today) is to do a clean install. And then do the following in this order:

                              1. restore history, java scripts and zigbee data
                              2. install VIS via the adapters
                              3. do an ioBroker restore

                              And then the history data is still missing unfortunately. at least the system is up and running again in 10 mins. Did it 4x to get the Tuya devices to connect. unfortunately to no avail... (separate thread)

                              BTW I changed from RPI to docker on Ubuntu server running on a Fujitsu Futro s740 with 8Gb and 128Gb SSD. That is a bit more stable and flexible than the RPi system.

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

                              Support us

                              ioBroker
                              Community Adapters
                              Donate

                              518
                              Online

                              31.9k
                              Users

                              80.1k
                              Topics

                              1.3m
                              Posts

                              8
                              15
                              1636
                              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