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 last edited by erwinberlin

      I just upgraded to javascript 5.7 and now I lost all my scripts. I read the warning about javascript mirror, I have never any of those settings. mirror script to file path is JS

      I tried to restore a back up and got this error:
      {"errno":-1,"code":"EPERM","syscall":"utime","path":"/opt/iobroker/backups/tmpScripts/"}

      Any one any clue on what is going on here?
      I am searching the forum for solutions, but have not found anything yet

      thanks,
      Erwin

      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...?:

        I tried to restore a back up

        Ich vermute mit einem Erwin aus Berlin kann man auch Deutsch schreiben.

        Wie wurde das Backup angelegt und wie wieder zurückgespielt?
        Und wie ist das 'Spiegelverzeichnis' im javascript-Adapter angelegt?

        E 1 Reply Last reply Reply Quote 0
        • 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

                                  886
                                  Online

                                  31.8k
                                  Users

                                  79.9k
                                  Topics

                                  1.3m
                                  Posts

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