Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. English
  3. ioBroker general
  4. Javascripts update 5.7 - scripts lost...?

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    22
    1
    1.2k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.2k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.5k

Javascripts update 5.7 - scripts lost...?

Geplant Angeheftet Gesperrt Verschoben ioBroker general
15 Beiträge 8 Kommentatoren 2.3k Aufrufe 8 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • E Offline
    E Offline
    erwinberlin
    schrieb am zuletzt editiert von erwinberlin
    #1

    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 BraunT 1 Antwort Letzte Antwort
    0
    • E 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 BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      schrieb am zuletzt editiert von
      #2

      @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?

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      E 1 Antwort Letzte Antwort
      0
      • Thomas BraunT Thomas Braun

        @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 Offline
        E Offline
        erwinberlin
        schrieb am zuletzt editiert von
        #3

        @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 BraunT 1 Antwort Letzte Antwort
        0
        • E erwinberlin

          @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 BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          schrieb am zuletzt editiert von
          #4

          @erwinberlin

          JS
          

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

          Linux-Werkzeugkasten:
          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
          NodeJS Fixer Skript:
          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

          E 1 Antwort Letzte Antwort
          0
          • Thomas BraunT Thomas Braun

            @erwinberlin

            JS
            

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

            E Offline
            E Offline
            erwinberlin
            schrieb am zuletzt editiert von
            #5

            @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 BraunT 1 Antwort Letzte Antwort
            0
            • E erwinberlin

              @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 BraunT Online
              Thomas BraunT Online
              Thomas Braun
              Most Active
              schrieb am zuletzt editiert von
              #6

              @erwinberlin

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

              Linux-Werkzeugkasten:
              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
              NodeJS Fixer Skript:
              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

              E 1 Antwort Letzte Antwort
              0
              • Thomas BraunT Thomas Braun

                @erwinberlin

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

                E Offline
                E Offline
                erwinberlin
                schrieb am zuletzt editiert von
                #7

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

                Thomas BraunT 1 Antwort Letzte Antwort
                0
                • E erwinberlin

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

                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  schrieb am zuletzt editiert von
                  #8

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

                  Restoring on a clean install works fine.

                  Why don't you do this then?

                  Linux-Werkzeugkasten:
                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                  NodeJS Fixer Skript:
                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                  E 1 Antwort Letzte Antwort
                  0
                  • Thomas BraunT Thomas Braun

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

                    Restoring on a clean install works fine.

                    Why don't you do this then?

                    E Offline
                    E Offline
                    erwinberlin
                    schrieb am zuletzt editiert von
                    #9

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

                    Thomas BraunT 1 Antwort Letzte Antwort
                    0
                    • E erwinberlin

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

                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      schrieb am zuletzt editiert von
                      #10

                      @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.

                      Linux-Werkzeugkasten:
                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                      NodeJS Fixer Skript:
                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                      1 Antwort Letzte Antwort
                      0
                      • E Offline
                        E Offline
                        erwinberlin
                        schrieb am zuletzt editiert von
                        #11

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

                        Thomas BraunT 1 Antwort Letzte Antwort
                        0
                        • E erwinberlin

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

                          Thomas BraunT Online
                          Thomas BraunT Online
                          Thomas Braun
                          Most Active
                          schrieb am zuletzt editiert von
                          #12

                          @erwinberlin

                          iobroker stop
                          iobroker fix
                          iobroker start
                          

                          Then pull back in your javaskript-Backup:

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

                          Linux-Werkzeugkasten:
                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                          NodeJS Fixer Skript:
                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                          E 1 Antwort Letzte Antwort
                          0
                          • Thomas BraunT Thomas Braun

                            @erwinberlin

                            iobroker stop
                            iobroker fix
                            iobroker start
                            

                            Then pull back in your javaskript-Backup:

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

                            E Offline
                            E Offline
                            erwinberlin
                            schrieb am zuletzt editiert von
                            #13

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

                            E 1 Antwort Letzte Antwort
                            0
                            • E erwinberlin

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

                              E Offline
                              E Offline
                              erwinberlin
                              schrieb am zuletzt editiert von
                              #14

                              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 Antwort Letzte Antwort
                              0
                              • E Offline
                                E Offline
                                erwinberlin
                                schrieb am zuletzt editiert von
                                #15

                                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 Antwort Letzte Antwort
                                0
                                Antworten
                                • In einem neuen Thema antworten
                                Anmelden zum Antworten
                                • Älteste zuerst
                                • Neuste zuerst
                                • Meiste Stimmen


                                Support us

                                ioBroker
                                Community Adapters
                                Donate

                                705

                                Online

                                32.5k

                                Benutzer

                                81.7k

                                Themen

                                1.3m

                                Beiträge
                                Community
                                Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                ioBroker Community 2014-2025
                                logo
                                • Anmelden

                                • Du hast noch kein Konto? Registrieren

                                • Anmelden oder registrieren, um zu suchen
                                • Erster Beitrag
                                  Letzter Beitrag
                                0
                                • Home
                                • Aktuell
                                • Tags
                                • Ungelesen 0
                                • Kategorien
                                • Unreplied
                                • Beliebt
                                • GitHub
                                • Docu
                                • Hilfe