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. Deutsch
  3. Tester
  4. TESTER gesucht / Backup auf Fritz.nas - node 18.18.0

NEWS

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

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.3k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.4k

TESTER gesucht / Backup auf Fritz.nas - node 18.18.0

Geplant Angeheftet Gesperrt Verschoben Tester
204 Beiträge 10 Kommentatoren 29.4k Aufrufe 13 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.
  • Thomas BraunT Thomas Braun

    @fastfoot

    Alle Backups von heute sind Murks:

    echad@chet:/opt/iobroker $ ls -lAh backups/ | grep 2023_10_14
    -rwxrwxrwx 1 root root  16K Oct 14 00:28 historyDB_2023_10_14-00_27_45_chet_backupiobroker.tar.gz
    -rwxrwxrwx 1 root root  16K Oct 14 00:53 historyDB_2023_10_14-00_53_15_chet_backupiobroker.tar.gz
    -rwxrwxrwx 1 root root  16K Oct 14 00:27 iobroker_2023_10_14-00_27_33_chet_backupiobroker.tar.gz
    -rwxrwxrwx 1 root root  16K Oct 14 00:53 iobroker_2023_10_14-00_53_04_chet_backupiobroker.tar.gz
    -rwxrwxrwx 1 root root  16K Oct 14 00:28 javascripts_2023_10_14-00_28_19_chet_backupiobroker.tar.gz
    -rwxrwxrwx 1 root root  14K Oct 14 00:53 javascripts_2023_10_14-00_53_48_chet_backupiobroker.tar.gz
    -rwxrwxrwx 1 root root  957 Oct 14 00:28 zigbee.0_2023_10_14-00_28_18_chet_backupiobroker.tar.gz
    -rwxrwxrwx 1 root root  968 Oct 14 00:53 zigbee.0_2023_10_14-00_53_47_chet_backupiobroker.tar.gz
    

    Skript:

    /opt/iobroker/backups unmounted
    //fritz.box/fritz.nas/Hitachi-HTS545012B9SA00-01/iobbackups/chet mounted into /opt/iobroker/backups
    
    file test_pipeline_compressed_tar.tar.gz created
    file test_pipeline_compressed_tar.tar.gz done
    number of files in test_pipeline_compressed_tar.tar.gz: 115
    
    file test_pipeline_compressed_zlib.tar.gz created
    file test_pipeline_compressed_zlib.tar.gz done
    number of files in test_pipeline_compressed_zlib.tar.gz: 115
    
    file test_pipeline_uncompressed.tar created
    file test_pipeline_uncompressed.tar done
    number of files in test_pipeline_uncompressed.tar: 115
    
    listing of created files in /opt/iobroker/backups
    -rwxrwxrwx 1 root root 821248 Oct 14 00:58 /opt/iobroker/backups/test_pipeline_uncompressed.tar
    -rwxrwxrwx 1 root root 154604 Oct 14 00:58 /opt/iobroker/backups/test_pipeline_compressed_zlib.tar.gz
    -rwxrwxrwx 1 root root 154604 Oct 14 00:58 /opt/iobroker/backups/test_pipeline_compressed_tar.tar.gz
    
    
    F Offline
    F Offline
    fastfoot
    schrieb am zuletzt editiert von
    #178

    @thomas-braun die Ausgabe vor 10Min. war doch negativ, auch beim Skript. Und jetzt ist sie ok. Beide Male sollte die env gesetzt sein. Jetzt bin ich verwirrt

    iobroker läuft unter Docker auf QNAP TS-451+
    SkriptRecovery: https://forum.iobroker.net/post/930558

    Thomas BraunT F 2 Antworten Letzte Antwort
    0
    • F fastfoot

      @thomas-braun die Ausgabe vor 10Min. war doch negativ, auch beim Skript. Und jetzt ist sie ok. Beide Male sollte die env gesetzt sein. Jetzt bin ich verwirrt

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

      @fastfoot :man-shrugging:
      Ich muss ins Bett. Keine Konzentration mehr.

      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
      • F fastfoot

        @thomas-braun die Ausgabe vor 10Min. war doch negativ, auch beim Skript. Und jetzt ist sie ok. Beide Male sollte die env gesetzt sein. Jetzt bin ich verwirrt

        F Offline
        F Offline
        fastfoot
        schrieb am zuletzt editiert von
        #180

        @fastfoot N8! geht mir auch so. Morgen knacken wir das

        iobroker läuft unter Docker auf QNAP TS-451+
        SkriptRecovery: https://forum.iobroker.net/post/930558

        Thomas BraunT 1 Antwort Letzte Antwort
        0
        • F fastfoot

          @fastfoot N8! geht mir auch so. Morgen knacken wir das

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

          @fastfoot

          Ich hab jetzt die Kiste komplett gebootet, damit /etc/environment definitiv gesourct wird.

          Backups kaputt.

          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

          F 1 Antwort Letzte Antwort
          0
          • Thomas BraunT Thomas Braun

            @fastfoot

            Ich hab jetzt die Kiste komplett gebootet, damit /etc/environment definitiv gesourct wird.

            Backups kaputt.

            F Offline
            F Offline
            fastfoot
            schrieb am zuletzt editiert von
            #182

            @thomas-braun sagte in TESTER gesucht / Backup auf Fritz.nas - node 18.18.0:

            @fastfoot

            Ich hab jetzt die Kiste komplett gebootet, damit /etc/environment definitiv gesourct wird.

            Backups kaputt.

            da hab ich noch was, aber nach dem Schlafen :-)

            iobroker läuft unter Docker auf QNAP TS-451+
            SkriptRecovery: https://forum.iobroker.net/post/930558

            Thomas BraunT 1 Antwort Letzte Antwort
            0
            • F fastfoot

              @thomas-braun sagte in TESTER gesucht / Backup auf Fritz.nas - node 18.18.0:

              @fastfoot

              Ich hab jetzt die Kiste komplett gebootet, damit /etc/environment definitiv gesourct wird.

              Backups kaputt.

              da hab ich noch was, aber nach dem Schlafen :-)

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

              @fastfoot

              Aber die ENV wird jetzt systemweit berücksichtigt:

              echad@chet:/opt/iobroker $ node cifs.js
              0
              Copy output from below
              
              
              /opt/iobroker/backups unmounted
              //fritz.box/fritz.nas/Hitachi-HTS545012B9SA00-01/iobbackups/chet mounted into /opt/iobroker/backups
              
              file test_pipeline_compressed_tar.tar.gz created
              file test_pipeline_compressed_tar.tar.gz done
              number of files in test_pipeline_compressed_tar.tar.gz: 115
              
              file test_pipeline_compressed_zlib.tar.gz created
              file test_pipeline_compressed_zlib.tar.gz done
              number of files in test_pipeline_compressed_zlib.tar.gz: 115
              
              file test_pipeline_uncompressed.tar created
              file test_pipeline_uncompressed.tar done
              number of files in test_pipeline_uncompressed.tar: 115
              
              listing of created files in /opt/iobroker/backups
              -rwxrwxrwx 1 root root 821248 Oct 14 01:15 /opt/iobroker/backups/test_pipeline_uncompressed.tar
              -rwxrwxrwx 1 root root 154609 Oct 14 01:15 /opt/iobroker/backups/test_pipeline_compressed_zlib.tar.gz
              -rwxrwxrwx 1 root root 154609 Oct 14 01:15 /opt/iobroker/backups/test_pipeline_compressed_tar.tar.gz
              
              

              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

              Thomas BraunT 1 Antwort Letzte Antwort
              0
              • Thomas BraunT Thomas Braun

                @fastfoot

                Aber die ENV wird jetzt systemweit berücksichtigt:

                echad@chet:/opt/iobroker $ node cifs.js
                0
                Copy output from below
                
                
                /opt/iobroker/backups unmounted
                //fritz.box/fritz.nas/Hitachi-HTS545012B9SA00-01/iobbackups/chet mounted into /opt/iobroker/backups
                
                file test_pipeline_compressed_tar.tar.gz created
                file test_pipeline_compressed_tar.tar.gz done
                number of files in test_pipeline_compressed_tar.tar.gz: 115
                
                file test_pipeline_compressed_zlib.tar.gz created
                file test_pipeline_compressed_zlib.tar.gz done
                number of files in test_pipeline_compressed_zlib.tar.gz: 115
                
                file test_pipeline_uncompressed.tar created
                file test_pipeline_uncompressed.tar done
                number of files in test_pipeline_uncompressed.tar: 115
                
                listing of created files in /opt/iobroker/backups
                -rwxrwxrwx 1 root root 821248 Oct 14 01:15 /opt/iobroker/backups/test_pipeline_uncompressed.tar
                -rwxrwxrwx 1 root root 154609 Oct 14 01:15 /opt/iobroker/backups/test_pipeline_compressed_zlib.tar.gz
                -rwxrwxrwx 1 root root 154609 Oct 14 01:15 /opt/iobroker/backups/test_pipeline_compressed_tar.tar.gz
                
                
                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von
                #184

                Fun fact:
                Den iobroker interessiert das aber nicht:

                echad@chet:/opt/iobroker $ sudo -u iobroker node cifs.js
                undefined
                Copy output from below
                
                /opt/iobroker/backups unmounted
                //fritz.box/fritz.nas/Hitachi-HTS545012B9SA00-01/iobbackups/chet mounted into /opt/iobroker/backups
                
                file test_pipeline_compressed_tar.tar.gz created
                file test_pipeline_compressed_tar.tar.gz done
                number of files in test_pipeline_compressed_tar.tar.gz: 0
                
                file test_pipeline_compressed_zlib.tar.gz created
                file test_pipeline_compressed_zlib.tar.gz done
                number of files in test_pipeline_compressed_zlib.tar.gz: 0
                
                file test_pipeline_uncompressed.tar created
                file test_pipeline_uncompressed.tar done
                number of files in test_pipeline_uncompressed.tar: 0
                
                listing of created files in /opt/iobroker/backups
                -rwxrwxrwx 1 root root 253952 Oct 14 01:17 /opt/iobroker/backups/test_pipeline_uncompressed.tar
                -rwxrwxrwx 1 root root  16384 Oct 14 01:17 /opt/iobroker/backups/test_pipeline_compressed_zlib.tar.gz
                -rwxrwxrwx 1 root root  16384 Oct 14 01:17 /opt/iobroker/backups/test_pipeline_compressed_tar.tar.gz
                
                

                End of output to copy

                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

                F 1 Antwort Letzte Antwort
                0
                • Thomas BraunT Thomas Braun

                  Fun fact:
                  Den iobroker interessiert das aber nicht:

                  echad@chet:/opt/iobroker $ sudo -u iobroker node cifs.js
                  undefined
                  Copy output from below
                  
                  /opt/iobroker/backups unmounted
                  //fritz.box/fritz.nas/Hitachi-HTS545012B9SA00-01/iobbackups/chet mounted into /opt/iobroker/backups
                  
                  file test_pipeline_compressed_tar.tar.gz created
                  file test_pipeline_compressed_tar.tar.gz done
                  number of files in test_pipeline_compressed_tar.tar.gz: 0
                  
                  file test_pipeline_compressed_zlib.tar.gz created
                  file test_pipeline_compressed_zlib.tar.gz done
                  number of files in test_pipeline_compressed_zlib.tar.gz: 0
                  
                  file test_pipeline_uncompressed.tar created
                  file test_pipeline_uncompressed.tar done
                  number of files in test_pipeline_uncompressed.tar: 0
                  
                  listing of created files in /opt/iobroker/backups
                  -rwxrwxrwx 1 root root 253952 Oct 14 01:17 /opt/iobroker/backups/test_pipeline_uncompressed.tar
                  -rwxrwxrwx 1 root root  16384 Oct 14 01:17 /opt/iobroker/backups/test_pipeline_compressed_zlib.tar.gz
                  -rwxrwxrwx 1 root root  16384 Oct 14 01:17 /opt/iobroker/backups/test_pipeline_compressed_tar.tar.gz
                  
                  

                  End of output to copy

                  F Offline
                  F Offline
                  fastfoot
                  schrieb am zuletzt editiert von
                  #185

                  @thomas-braun sagte in TESTER gesucht / Backup auf Fritz.nas - node 18.18.0:

                  Den iobroker interessiert das aber nicht:

                  na da haben wirs!
                  vi iob
                  sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@"

                  abändern mit UV_USE_IO_URING=0 davor setzen
                  stoppen und iob start. NICHT über den service

                  iobroker läuft unter Docker auf QNAP TS-451+
                  SkriptRecovery: https://forum.iobroker.net/post/930558

                  Thomas BraunT 1 Antwort Letzte Antwort
                  0
                  • F fastfoot

                    @thomas-braun sagte in TESTER gesucht / Backup auf Fritz.nas - node 18.18.0:

                    Den iobroker interessiert das aber nicht:

                    na da haben wirs!
                    vi iob
                    sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@"

                    abändern mit UV_USE_IO_URING=0 davor setzen
                    stoppen und iob start. NICHT über den service

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

                    @fastfoot

                    echad@chet:/opt/iobroker $ env | grep UV_USE
                    UV_USE_IO_URING=0
                    echad@chet:/opt/iobroker $ sudo -H -u iobroker env | grep UV_USE
                    echad@chet:/opt/iobroker $
                    

                    Der Schlingel!

                    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

                    F 2 Antworten Letzte Antwort
                    0
                    • Thomas BraunT Thomas Braun

                      @fastfoot

                      echad@chet:/opt/iobroker $ env | grep UV_USE
                      UV_USE_IO_URING=0
                      echad@chet:/opt/iobroker $ sudo -H -u iobroker env | grep UV_USE
                      echad@chet:/opt/iobroker $
                      

                      Der Schlingel!

                      F Offline
                      F Offline
                      fastfoot
                      schrieb am zuletzt editiert von
                      #187

                      @thomas-braun mach mal noch den iob edit, das geht noch

                      iobroker läuft unter Docker auf QNAP TS-451+
                      SkriptRecovery: https://forum.iobroker.net/post/930558

                      Thomas BraunT 1 Antwort Letzte Antwort
                      0
                      • F fastfoot

                        @thomas-braun mach mal noch den iob edit, das geht noch

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

                        @fastfoot

                        #!/usr/bin/bash
                        if (( $# == 1 )) && ([ "$1" = "start" ] || [ "$1" = "stop" ] || [ "$1" = "restart" ]); then
                        sudo systemctl $1 iobroker
                        elif [ "$1" = "fix" ]; then
                        curl -sL https://iobroker.net/fix.sh | bash -
                        elif [ "$1" = "nodejs-update" ]; then
                        sudo -u iobroker curl -sLf https://iobroker.net/node-update.sh --output /home/iobroker/.nodejs-update.sh && bash /home/iobroker/.nodejs-update.sh $2
                        elif [ "$1" = "diag" ]; then
                          sudo -u iobroker curl -sLf https://iobroker.net/diag.sh --output /home/iobroker/.diag.sh && bash /home/iobroker/.diag.sh | sudo -u iobroker tee /home/iobroke>
                        else
                        UV_USE_IO_URING=0
                        sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@"
                        fi
                        

                        Habs mit nano gemacht, auf vi hatte ich um die Uhrzeit keinen Bock mehr...

                        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

                        F 1 Antwort Letzte Antwort
                        0
                        • Thomas BraunT Thomas Braun

                          @fastfoot

                          echad@chet:/opt/iobroker $ env | grep UV_USE
                          UV_USE_IO_URING=0
                          echad@chet:/opt/iobroker $ sudo -H -u iobroker env | grep UV_USE
                          echad@chet:/opt/iobroker $
                          

                          Der Schlingel!

                          F Offline
                          F Offline
                          fastfoot
                          schrieb am zuletzt editiert von
                          #189

                          @thomas-braun Nee, davor, so wie beim script, sonst haben wir denselben Sch......

                          iobroker läuft unter Docker auf QNAP TS-451+
                          SkriptRecovery: https://forum.iobroker.net/post/930558

                          1 Antwort Letzte Antwort
                          0
                          • Thomas BraunT Thomas Braun

                            @fastfoot

                            #!/usr/bin/bash
                            if (( $# == 1 )) && ([ "$1" = "start" ] || [ "$1" = "stop" ] || [ "$1" = "restart" ]); then
                            sudo systemctl $1 iobroker
                            elif [ "$1" = "fix" ]; then
                            curl -sL https://iobroker.net/fix.sh | bash -
                            elif [ "$1" = "nodejs-update" ]; then
                            sudo -u iobroker curl -sLf https://iobroker.net/node-update.sh --output /home/iobroker/.nodejs-update.sh && bash /home/iobroker/.nodejs-update.sh $2
                            elif [ "$1" = "diag" ]; then
                              sudo -u iobroker curl -sLf https://iobroker.net/diag.sh --output /home/iobroker/.diag.sh && bash /home/iobroker/.diag.sh | sudo -u iobroker tee /home/iobroke>
                            else
                            UV_USE_IO_URING=0
                            sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@"
                            fi
                            

                            Habs mit nano gemacht, auf vi hatte ich um die Uhrzeit keinen Bock mehr...

                            F Offline
                            F Offline
                            fastfoot
                            schrieb am zuletzt editiert von
                            #190

                            @thomas-braun sagte in TESTER gesucht / Backup auf Fritz.nas - node 18.18.0:

                            iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@"

                            oder alternativ auf der Konsole

                            su iobroker
                            UV_USE_IO_URING=0 node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js start
                            

                            iobroker läuft unter Docker auf QNAP TS-451+
                            SkriptRecovery: https://forum.iobroker.net/post/930558

                            Thomas BraunT 1 Antwort Letzte Antwort
                            0
                            • F fastfoot

                              @thomas-braun sagte in TESTER gesucht / Backup auf Fritz.nas - node 18.18.0:

                              iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@"

                              oder alternativ auf der Konsole

                              su iobroker
                              UV_USE_IO_URING=0 node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js start
                              
                              Thomas BraunT Online
                              Thomas BraunT Online
                              Thomas Braun
                              Most Active
                              schrieb am zuletzt editiert von
                              #191

                              @fastfoot

                              Negativ, Backups sind Schrott.

                              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

                              F 2 Antworten Letzte Antwort
                              0
                              • Thomas BraunT Thomas Braun

                                @fastfoot

                                Negativ, Backups sind Schrott.

                                F Offline
                                F Offline
                                fastfoot
                                schrieb am zuletzt editiert von
                                #192

                                @thomas-braun dann morgen, kann nicht mehr :-)

                                iobroker läuft unter Docker auf QNAP TS-451+
                                SkriptRecovery: https://forum.iobroker.net/post/930558

                                1 Antwort Letzte Antwort
                                0
                                • Thomas BraunT Thomas Braun

                                  @fastfoot

                                  Negativ, Backups sind Schrott.

                                  F Offline
                                  F Offline
                                  fastfoot
                                  schrieb am zuletzt editiert von
                                  #193

                                  @thomas-braun sagte in TESTER gesucht / Backup auf Fritz.nas - node 18.18.0:

                                  Negativ, Backups sind Schrott.

                                  Bei mir im wsl kam dass ich keine environments setzen dürfe! im wsl darf ich nicht root sein, so wie es soll. Aber so gehts

                                  UV_USE_IO_URING=0
                                  sudo -H -u iobroker --preserve-env=UV_USE_IO_URING env | grep UV_
                                  

                                  und so den Aufruf von iobroker im iob gestalten

                                  iobroker läuft unter Docker auf QNAP TS-451+
                                  SkriptRecovery: https://forum.iobroker.net/post/930558

                                  Thomas BraunT 1 Antwort Letzte Antwort
                                  0
                                  • F fastfoot

                                    @thomas-braun sagte in TESTER gesucht / Backup auf Fritz.nas - node 18.18.0:

                                    Negativ, Backups sind Schrott.

                                    Bei mir im wsl kam dass ich keine environments setzen dürfe! im wsl darf ich nicht root sein, so wie es soll. Aber so gehts

                                    UV_USE_IO_URING=0
                                    sudo -H -u iobroker --preserve-env=UV_USE_IO_URING env | grep UV_
                                    

                                    und so den Aufruf von iobroker im iob gestalten

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

                                    @fastfoot

                                    #!/usr/bin/bash
                                    if (( $# == 1 )) && ([ "$1" = "start" ] || [ "$1" = "stop" ] || [ "$1" = "restart" ]); then
                                    sudo systemctl $1 iobroker
                                    elif [ "$1" = "fix" ]; then
                                    curl -sL https://iobroker.net/fix.sh | bash -
                                    elif [ "$1" = "nodejs-update" ]; then
                                    sudo -u iobroker curl -sLf https://iobroker.net/node-update.sh --output /home/iobroker/.nodejs-update.sh && bash /home/iobroker/.nodejs-update.sh $2
                                    elif [ "$1" = "diag" ]; then
                                      sudo -u iobroker curl -sLf https://iobroker.net/diag.sh --output /home/iobroker/.diag.sh && bash /home/iobroker/.diag.sh | sudo -u iobroker tee /home/iobroker
                                    else
                                    UV_USE_IO_URING=0 sudo -H -u iobroker --preserve-env=UV_USE_IO_URING node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@"
                                    fi
                                    

                                    Aber:

                                    echad@chet:/opt/iobroker $ iob nodejs-upgrade 20
                                    sudo: sorry, you are not allowed to set the following environment variables: UV_USE_IO_URING
                                    

                                    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

                                    F 1 Antwort Letzte Antwort
                                    0
                                    • Thomas BraunT Thomas Braun

                                      @fastfoot

                                      #!/usr/bin/bash
                                      if (( $# == 1 )) && ([ "$1" = "start" ] || [ "$1" = "stop" ] || [ "$1" = "restart" ]); then
                                      sudo systemctl $1 iobroker
                                      elif [ "$1" = "fix" ]; then
                                      curl -sL https://iobroker.net/fix.sh | bash -
                                      elif [ "$1" = "nodejs-update" ]; then
                                      sudo -u iobroker curl -sLf https://iobroker.net/node-update.sh --output /home/iobroker/.nodejs-update.sh && bash /home/iobroker/.nodejs-update.sh $2
                                      elif [ "$1" = "diag" ]; then
                                        sudo -u iobroker curl -sLf https://iobroker.net/diag.sh --output /home/iobroker/.diag.sh && bash /home/iobroker/.diag.sh | sudo -u iobroker tee /home/iobroker
                                      else
                                      UV_USE_IO_URING=0 sudo -H -u iobroker --preserve-env=UV_USE_IO_URING node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@"
                                      fi
                                      

                                      Aber:

                                      echad@chet:/opt/iobroker $ iob nodejs-upgrade 20
                                      sudo: sorry, you are not allowed to set the following environment variables: UV_USE_IO_URING
                                      
                                      F Offline
                                      F Offline
                                      fastfoot
                                      schrieb am zuletzt editiert von
                                      #195

                                      @thomas-braun es heisst nodejs-update, nicht upgrade!

                                      mit dem preserve muss das setzen der env wieder in eine eigene zeile, export davor wäre gut, also

                                      export UV_USE_IO_URING=0
                                      sudo -H -u iobroker --preserve-env=UV_USE_IO_URING node opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@"
                                      

                                      Morgen dann 1 Stunde nachsitzen im home office, Thema:
                                      Environments unter Linux Systemen richtig setzen(Selbststudium)

                                      hab mir auch ne Stunde verordnet :-)

                                      iobroker läuft unter Docker auf QNAP TS-451+
                                      SkriptRecovery: https://forum.iobroker.net/post/930558

                                      Thomas BraunT 1 Antwort Letzte Antwort
                                      0
                                      • F fastfoot

                                        @thomas-braun es heisst nodejs-update, nicht upgrade!

                                        mit dem preserve muss das setzen der env wieder in eine eigene zeile, export davor wäre gut, also

                                        export UV_USE_IO_URING=0
                                        sudo -H -u iobroker --preserve-env=UV_USE_IO_URING node opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@"
                                        

                                        Morgen dann 1 Stunde nachsitzen im home office, Thema:
                                        Environments unter Linux Systemen richtig setzen(Selbststudium)

                                        hab mir auch ne Stunde verordnet :-)

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

                                        @fastfoot sagte in TESTER gesucht / Backup auf Fritz.nas - node 18.18.0:

                                        es heisst nodejs-update, nicht upgrade!

                                        Bei mir schon. Hab mir einen Alias gesetzt! :-)
                                        Geht beides. Und nodejs-fix geht auch.

                                        Joh... export...
                                        Ich muss ins Bett...

                                        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

                                        F 1 Antwort Letzte Antwort
                                        0
                                        • Thomas BraunT Thomas Braun

                                          @fastfoot sagte in TESTER gesucht / Backup auf Fritz.nas - node 18.18.0:

                                          es heisst nodejs-update, nicht upgrade!

                                          Bei mir schon. Hab mir einen Alias gesetzt! :-)
                                          Geht beides. Und nodejs-fix geht auch.

                                          Joh... export...
                                          Ich muss ins Bett...

                                          F Offline
                                          F Offline
                                          fastfoot
                                          schrieb am zuletzt editiert von
                                          #197

                                          @thomas-braun nene, in zeile 6 steht
                                          elif [ "$1" = "nodejs-update" ]; then aber dort springt er nicht hin sondern in die modifizierte Zeile und dort meckert er dann :-)

                                          morgen gehts weiter, das bringt nix mehr :-)

                                          iobroker läuft unter Docker auf QNAP TS-451+
                                          SkriptRecovery: https://forum.iobroker.net/post/930558

                                          Thomas BraunT 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

                                          608

                                          Online

                                          32.4k

                                          Benutzer

                                          81.6k

                                          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