Skip to content
  • 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
  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. Test Adapter ioBroker.backitup v3.1.x

NEWS

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

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

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

Test Adapter ioBroker.backitup v3.1.x

Geplant Angeheftet Gesperrt Verschoben Tester
backitupbackitup backupccuhistorymysqlredisrestorerestore backup
2.8k Beiträge 170 Kommentatoren 2.4m Aufrufe 113 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

    @qqolli

    Was ist denn das für ein NAS auf der anderen Seite?

    Mein (Doppel)-Backup sieht jedenfalls so aus:
    Da ist deutlich mehr los.

    Started iobroker ...
    [DEBUG] [mount] - noserverino option: true
    [DEBUG] [mount] - cifs-mount command: "sudo mount -t cifs -o username=iobroker,password=****,noserverino,rw,file_mode=0777,dir_mode=0777,vers=3.1.1 //192.168.178.1/fritz.nas/Hitachi-HTS545012B9SA00-01/iobbackups/chet /opt/iobroker/backups"
    [DEBUG] [mount] - mount successfully completed
    [DEBUG] [mount] - done
    [DEBUG] [iobroker] - host.chet 4572 states saved
    
    [DEBUG] [iobroker] - host.chet 5802 objects saved
    
    [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2022_04_18-18_51_34_backupiobroker.tar.gz
    
    [DEBUG] [iobroker] - done
    [DEBUG] [historyDB] - compress from historyDB started ...
    [DEBUG] [historyDB] - Backup created: /opt/iobroker/backups/historyDB_2022_04_18-18_51_49_backupiobroker.tar.gz
    [DEBUG] [historyDB] - done
    [DEBUG] [zigbee] - found zigbee database: zigbee.0
    [DEBUG] [zigbee] - done
    [DEBUG] [javascripts] - Created javascript_tmp directory: "/opt/iobroker/backups/tmpScripts"
    [DEBUG] [javascripts] - found Script: dwd_uwz_nina_warnungen
    [DEBUG] [javascripts] - found Script: nodemihome
    [DEBUG] [javascripts] - found Script: pakettruhe_offen
    [DEBUG] [javascripts] - found Script: ps4_waker
    [DEBUG] [javascripts] - found Script: sonnenaufgang
    [DEBUG] [javascripts] - found Script: sonnenuntergang
    [DEBUG] [javascripts] - found Script: speedtest
    [DEBUG] [javascripts] - found Script: telefon_klingelt
    [DEBUG] [javascripts] - found Script: tuerklingel_laeutet
    [DEBUG] [javascripts] - found Script: vorhaenge-sonnenschutz
    [DEBUG] [javascripts] - found Script: wohnung_verlassen
    [DEBUG] [javascripts] - found Script: wohnungstuer_entriegelt
    [DEBUG] [javascripts] - found Script: paketlieferungen
    [DEBUG] [javascripts] - found Script: treppenhaus_licht_hub
    [DEBUG] [javascripts] - found Script: treppenhaus_licht_ble
    [DEBUG] [javascripts] - Try deleting the Javascript tmp directory: "/opt/iobroker/backups/tmpScripts"
    [DEBUG] [javascripts] - Javascript tmp directory "/opt/iobroker/backups/tmpScripts" successfully deleted
    [DEBUG] [javascripts] - Backup created: /opt/iobroker/backups/javascripts_2022_04_18-18_51_50_backupiobroker.tar.gz
    [DEBUG] [javascripts] - done
    [DEBUG] [cifs] - done
    [DEBUG] [googledrive] - Google Drive: Copy iobroker_2022_04_18-18_51_34_backupiobroker.tar.gz...
    [DEBUG] [googledrive] - Google Drive: Copy historyDB_2022_04_18-18_51_49_backupiobroker.tar.gz...
    [DEBUG] [googledrive] - Google Drive: Copy zigbee.0_2022_04_18-18_51_49_backupiobroker.tar.gz...
    [DEBUG] [googledrive] - Google Drive: Copy javascripts_2022_04_18-18_51_50_backupiobroker.tar.gz...
    [DEBUG] [googledrive] - done
    [DEBUG] [clean] - done
    [DEBUG] [whatsapp] - done
    [DEBUG] [historyHTML] - new history html values created
    [DEBUG] [historyHTML] - done
    [DEBUG] [historyJSON] - new history json values created
    [DEBUG] [historyJSON] - done
    [DEBUG] [umount] - mount activ, umount is started ...
    [DEBUG] [umount] - umount successfully completed
    [DEBUG] [umount] - done
    [EXIT] 0
    
    qqolliQ Offline
    qqolliQ Offline
    qqolli
    schrieb am zuletzt editiert von
    #1899

    @thomas-braun

    Ja, ich habe alle anderen deaktiviert um mich auf das iobroker Backup zu konzentrieren.

    Thomas BraunT 1 Antwort Letzte Antwort
    0
    • qqolliQ qqolli

      @thomas-braun

      Ja, ich habe alle anderen deaktiviert um mich auf das iobroker Backup zu konzentrieren.

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

      @qqolli sagte in Test Adapter Backitup v2.4.x:

      Ja, ich habe alle anderen deaktiviert um mich auf das iobroker Backup zu konzentrieren.

      Gut, da haste 'nen Punkt.

      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
      • qqolliQ qqolli

        @thomas-braun

        Auch mit aktiviertem "'noserverino'" wieder nichts:

        Started iobroker ...
        [DEBUG] [mount] - noserverino option: true
        [DEBUG] [mount] - cifs-mount command: "sudo mount -t cifs -o username=backup,password=****,noserverino,rw,file_mode=0777,dir_mode=0777,vers=3.1.1 //192.168.178.23/backup/ioBroker/ /opt/iobroker/backups"
        [DEBUG] [mount] - mount successfully completed
        [DEBUG] [mount] - done
        [DEBUG] [iobroker] - host.ioBroker 66335 states saved
        
        [DEBUG] [iobroker] - host.ioBroker 86194 objects saved
        
        [DEBUG] [iobroker] - done
        [DEBUG] [cifs] - done
        [DEBUG] [clean] - done
        [DEBUG] [pushover] - done
        [DEBUG] [historyHTML] - new history html values created
        [DEBUG] [historyHTML] - done
        [DEBUG] [historyJSON] - new history json values created
        [DEBUG] [historyJSON] - done
        [DEBUG] [umount] - mount activ, umount is started ...
        [DEBUG] [umount] - umount successfully completed
        [DEBUG] [umount] - done
        [EXIT] 0
        

        Verzeichnis nach unmount leer.

        Ich frag mich echt, wo der das hinschreibt, es aber nie auf der NAS auftaucht.

        PS: Vor nicht allzu langer Zeit wurde mir hier im Forum geraten, die "noserverino" abzuschalten 🙂 Wobei, wenn ich ehrlich bin, noch nicht mal weiss wozu die gut ist.

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

        @qqolli sagte in Test Adapter Backitup v2.4.x:

        Wobei, wenn ich ehrlich bin, noch nicht mal weiss wozu die gut ist.

        Damit kann man steuern, ob die 'inodes' serverseitig gesetzt werden oder lokal. Beim 'FritzNAS' muss man die Option setzen, bei anderen NAS ist mir das bislang noch nicht untergekommen.

        Wie sehen denn die Einstellungen auf dem NAS und im Backitup-Adapter bzgl. CIFS aus?

        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

        qqolliQ 2 Antworten Letzte Antwort
        0
        • Thomas BraunT Thomas Braun

          @qqolli sagte in Test Adapter Backitup v2.4.x:

          Wobei, wenn ich ehrlich bin, noch nicht mal weiss wozu die gut ist.

          Damit kann man steuern, ob die 'inodes' serverseitig gesetzt werden oder lokal. Beim 'FritzNAS' muss man die Option setzen, bei anderen NAS ist mir das bislang noch nicht untergekommen.

          Wie sehen denn die Einstellungen auf dem NAS und im Backitup-Adapter bzgl. CIFS aus?

          qqolliQ Offline
          qqolliQ Offline
          qqolli
          schrieb am zuletzt editiert von
          #1902

          @thomas-braun

          Ah, ok. Dann könnte ich die ja deaktivieren, da ich eine Synology NAS unter DSM7.1 benutzte.

          1 Antwort Letzte Antwort
          0
          • Thomas BraunT Thomas Braun

            @qqolli sagte in Test Adapter Backitup v2.4.x:

            Wobei, wenn ich ehrlich bin, noch nicht mal weiss wozu die gut ist.

            Damit kann man steuern, ob die 'inodes' serverseitig gesetzt werden oder lokal. Beim 'FritzNAS' muss man die Option setzen, bei anderen NAS ist mir das bislang noch nicht untergekommen.

            Wie sehen denn die Einstellungen auf dem NAS und im Backitup-Adapter bzgl. CIFS aus?

            qqolliQ Offline
            qqolliQ Offline
            qqolli
            schrieb am zuletzt editiert von
            #1903

            @thomas-braun

            Ich habe es mal mit Dropbox versucht, aber hier hat er auch Probleme auf dem Pi:

            Started iobroker ...
            [DEBUG] [iobroker] - host.ioBroker 66359 states saved
            
            [DEBUG] [iobroker] - host.ioBroker 86226 objects saved
            
            [DEBUG] [iobroker] - done
            [ERROR] [dropbox] - Dropbox: File "/opt/iobroker/backups/iobroker_2022_04_18-20_14_29_backupiobroker.tar.gz" not found
            [DEBUG] [dropbox] - done
            [DEBUG] [clean] - done
            [DEBUG] [pushover] - done
            [DEBUG] [historyHTML] - new history html values created
            [DEBUG] [historyHTML] - done
            [DEBUG] [historyJSON] - new history json values created
            [DEBUG] [historyJSON] - done
            [EXIT] 0
            

            Bei cifs geht es, aber keine Daten auf der NAS.

            Ich weiß echt nicht, was man da noch machen kann (bin aber auch kein Experte).

            Thomas BraunT 1 Antwort Letzte Antwort
            0
            • qqolliQ qqolli

              @thomas-braun

              Ich habe es mal mit Dropbox versucht, aber hier hat er auch Probleme auf dem Pi:

              Started iobroker ...
              [DEBUG] [iobroker] - host.ioBroker 66359 states saved
              
              [DEBUG] [iobroker] - host.ioBroker 86226 objects saved
              
              [DEBUG] [iobroker] - done
              [ERROR] [dropbox] - Dropbox: File "/opt/iobroker/backups/iobroker_2022_04_18-20_14_29_backupiobroker.tar.gz" not found
              [DEBUG] [dropbox] - done
              [DEBUG] [clean] - done
              [DEBUG] [pushover] - done
              [DEBUG] [historyHTML] - new history html values created
              [DEBUG] [historyHTML] - done
              [DEBUG] [historyJSON] - new history json values created
              [DEBUG] [historyJSON] - done
              [EXIT] 0
              

              Bei cifs geht es, aber keine Daten auf der NAS.

              Ich weiß echt nicht, was man da noch machen kann (bin aber auch kein Experte).

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

              @qqolli sagte in Test Adapter Backitup v2.4.x:

              File "/opt/iobroker/backups/iobroker_2022_04_18-20_14_29_backupiobroker.tar.gz" not found

              Warum wird denn das File nicht 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

              qqolliQ 1 Antwort Letzte Antwort
              0
              • Thomas BraunT Thomas Braun

                @qqolli sagte in Test Adapter Backitup v2.4.x:

                File "/opt/iobroker/backups/iobroker_2022_04_18-20_14_29_backupiobroker.tar.gz" not found

                Warum wird denn das File nicht angelegt?

                qqolliQ Offline
                qqolliQ Offline
                qqolli
                schrieb am zuletzt editiert von
                #1905

                @thomas-braun
                Bei Dropbox weiss ich es nicht. Bei cifs sieht man, wenn man auf dem Raspi schnell genug nachschaut, wie das NAS-Verzeichnis tatsächlich gespiegelt wird. Nutzt aber am Ende leider auch nichts, da die Daten nicht auf der NAS landen, obwohl es vom Adapter behauptet wird.

                Thomas BraunT 1 Antwort Letzte Antwort
                0
                • qqolliQ qqolli

                  @thomas-braun
                  Bei Dropbox weiss ich es nicht. Bei cifs sieht man, wenn man auf dem Raspi schnell genug nachschaut, wie das NAS-Verzeichnis tatsächlich gespiegelt wird. Nutzt aber am Ende leider auch nichts, da die Daten nicht auf der NAS landen, obwohl es vom Adapter behauptet wird.

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

                  @qqolli sagte in Test Adapter Backitup v2.4.x:

                  gespiegelt wird

                  Nicht gespiegelt, das ist wirklich das entfernte Dateisystem, das da am mountpunkt eingehängt wird. Das ist ja der Vorteil zum 'dummem FTP'.

                  Funktioniert denn ein simples

                  iobroker backup
                  

                  Ganz losgelöst von Dateiübertragungen auf ein NAS.

                  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

                  simatecS qqolliQ 2 Antworten Letzte Antwort
                  0
                  • Thomas BraunT Thomas Braun

                    @qqolli sagte in Test Adapter Backitup v2.4.x:

                    gespiegelt wird

                    Nicht gespiegelt, das ist wirklich das entfernte Dateisystem, das da am mountpunkt eingehängt wird. Das ist ja der Vorteil zum 'dummem FTP'.

                    Funktioniert denn ein simples

                    iobroker backup
                    

                    Ganz losgelöst von Dateiübertragungen auf ein NAS.

                    simatecS Offline
                    simatecS Offline
                    simatec
                    Developer Most Active
                    schrieb am zuletzt editiert von
                    #1907

                    @thomas-braun Hier wäre auch interessant, ob denn ein lokales Backup funktioniert.

                    • Besuche meine Github Seite
                    • Beitrag hat geholfen oder willst du mich unterstützen
                    • HowTo Restore ioBroker
                    simatecS 1 Antwort Letzte Antwort
                    0
                    • simatecS simatec

                      @thomas-braun Hier wäre auch interessant, ob denn ein lokales Backup funktioniert.

                      simatecS Offline
                      simatecS Offline
                      simatec
                      Developer Most Active
                      schrieb am zuletzt editiert von simatec
                      #1908

                      @qqolli Ein FTP und CIFS zusammen ist keine gute Idee

                      • Besuche meine Github Seite
                      • Beitrag hat geholfen oder willst du mich unterstützen
                      • HowTo Restore ioBroker
                      1 Antwort Letzte Antwort
                      0
                      • Thomas BraunT Thomas Braun

                        @qqolli sagte in Test Adapter Backitup v2.4.x:

                        gespiegelt wird

                        Nicht gespiegelt, das ist wirklich das entfernte Dateisystem, das da am mountpunkt eingehängt wird. Das ist ja der Vorteil zum 'dummem FTP'.

                        Funktioniert denn ein simples

                        iobroker backup
                        

                        Ganz losgelöst von Dateiübertragungen auf ein NAS.

                        qqolliQ Offline
                        qqolliQ Offline
                        qqolli
                        schrieb am zuletzt editiert von
                        #1909

                        @thomas-braun

                        pi@ioBroker:~ $ iobroker backup
                        host.ioBroker 66695 states saved
                        host.ioBroker 86674 objects saved
                        /usr/bin/iobroker: Zeile 8: 23540 Getötet                sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@"
                        pi@ioBroker:~ $ 
                        

                        Kling nicht so gut, oder? Das iobroker-Verzeichnis ist leer (sollte das so sein bei einem lokalen Backup?)

                        pi@ioBroker:~ $ ls -al /opt/iobroker/backups/
                        insgesamt 16
                        drwxrwxr-x+  2 iobroker iobroker 12288 Apr 18 18:38 .
                        drwxrwxr-x+ 10 iobroker iobroker  4096 Apr 18 12:15 ..
                        pi@ioBroker:~ $ 
                        
                        Thomas BraunT 1 Antwort Letzte Antwort
                        0
                        • qqolliQ qqolli

                          @thomas-braun

                          pi@ioBroker:~ $ iobroker backup
                          host.ioBroker 66695 states saved
                          host.ioBroker 86674 objects saved
                          /usr/bin/iobroker: Zeile 8: 23540 Getötet                sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@"
                          pi@ioBroker:~ $ 
                          

                          Kling nicht so gut, oder? Das iobroker-Verzeichnis ist leer (sollte das so sein bei einem lokalen Backup?)

                          pi@ioBroker:~ $ ls -al /opt/iobroker/backups/
                          insgesamt 16
                          drwxrwxr-x+  2 iobroker iobroker 12288 Apr 18 18:38 .
                          drwxrwxr-x+ 10 iobroker iobroker  4096 Apr 18 12:15 ..
                          pi@ioBroker:~ $ 
                          
                          Thomas BraunT Online
                          Thomas BraunT Online
                          Thomas Braun
                          Most Active
                          schrieb am zuletzt editiert von
                          #1910

                          @qqolli

                          Da springt das Backup selber wohl aus dem Gleis, das hat mit CIFS oder FTP nix zu tun.

                          sudo -H -u iobroker whoami
                          

                          liefert?

                          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

                          qqolliQ 1 Antwort Letzte Antwort
                          0
                          • Thomas BraunT Thomas Braun

                            @qqolli

                            Da springt das Backup selber wohl aus dem Gleis, das hat mit CIFS oder FTP nix zu tun.

                            sudo -H -u iobroker whoami
                            

                            liefert?

                            qqolliQ Offline
                            qqolliQ Offline
                            qqolli
                            schrieb am zuletzt editiert von
                            #1911

                            @thomas-braun

                            Liefert:

                            pi@ioBroker:~ $ sudo -H -u iobroker whoami
                            iobroker
                            
                            Thomas BraunT 1 Antwort Letzte Antwort
                            0
                            • qqolliQ qqolli

                              @thomas-braun

                              Liefert:

                              pi@ioBroker:~ $ sudo -H -u iobroker whoami
                              iobroker
                              
                              Thomas BraunT Online
                              Thomas BraunT Online
                              Thomas Braun
                              Most Active
                              schrieb am zuletzt editiert von Thomas Braun
                              #1912

                              @qqolli

                              Gut, dann ist zumindest sudo richtig.
                              Was an der Stelle dann im Code steht und bei dir zu einem nicht erledigten Backup führt muss sich dann wer anders anschauen, da hab ich keine Aktien drin.

                              /usr/bin/iobroker: Zeile 8: 23540 Getötet                sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@"
                              

                              scheint mir aber auch nicht vollständig zu sein.

                              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

                              qqolliQ 2 Antworten Letzte Antwort
                              0
                              • Thomas BraunT Thomas Braun

                                @qqolli

                                Gut, dann ist zumindest sudo richtig.
                                Was an der Stelle dann im Code steht und bei dir zu einem nicht erledigten Backup führt muss sich dann wer anders anschauen, da hab ich keine Aktien drin.

                                /usr/bin/iobroker: Zeile 8: 23540 Getötet                sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@"
                                

                                scheint mir aber auch nicht vollständig zu sein.

                                qqolliQ Offline
                                qqolliQ Offline
                                qqolli
                                schrieb am zuletzt editiert von
                                #1913

                                @thomas-braun

                                Hab nochmal geschaut, das war alles was er angezeigt hat.

                                Thomas BraunT 1 Antwort Letzte Antwort
                                0
                                • qqolliQ qqolli

                                  @thomas-braun

                                  Hab nochmal geschaut, das war alles was er angezeigt hat.

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

                                  @qqolli

                                  iobroker stop
                                  iobroker fix
                                  iobroker update -i
                                  iobroker list instances
                                  

                                  und das immer beliebte nodeJS

                                  sudo ln -s /usr/bin/node /usr/bin/nodejs
                                  which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                  

                                  ist aber sauber?

                                  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

                                  qqolliQ 1 Antwort Letzte Antwort
                                  0
                                  • Thomas BraunT Thomas Braun

                                    @qqolli

                                    iobroker stop
                                    iobroker fix
                                    iobroker update -i
                                    iobroker list instances
                                    

                                    und das immer beliebte nodeJS

                                    sudo ln -s /usr/bin/node /usr/bin/nodejs
                                    which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                    

                                    ist aber sauber?

                                    qqolliQ Offline
                                    qqolliQ Offline
                                    qqolli
                                    schrieb am zuletzt editiert von
                                    #1915

                                    @thomas-braun

                                    pi@ioBroker:~ $ iobroker stop
                                    pi@ioBroker:~ $ iobroker fix
                                    library: loaded
                                    Library version=2022-02-10
                                    
                                    ==========================================================================
                                    
                                        Welcome to the ioBroker installation fixer!
                                        Script version: 2022-02-13
                                        
                                        You might need to enter your password a couple of times.
                                    
                                    ==========================================================================
                                    
                                    
                                    ==========================================================================
                                        Installing prerequisites (1/3)
                                    ==========================================================================
                                    
                                    OK:1 http://phoscon.de/apt/deconz buster InRelease
                                    OK:2 http://archive.raspberrypi.org/debian buster InRelease                                                                                            
                                    OK:3 https://repos.influxdata.com/debian buster InRelease                                                                                              
                                    OK:4 https://packages.grafana.com/oss/deb stable InRelease                                                                                             
                                    OK:5 https://deb.nodesource.com/node_14.x buster InRelease                                                                                             
                                    Holen:6 http://raspbian.raspberrypi.org/raspbian buster InRelease [15,0 kB]                                                                            
                                    Holen:7 https://archive.raspbian.org/raspbian buster InRelease [15,0 kB]                              
                                    Holen:8 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13,0 MB]
                                    Holen:9 https://archive.raspbian.org/raspbian buster/main Sources [11,4 MB]
                                    45% [8 Packages 5.715 kB/13,0 MB 44%] [9 Sources 6.144 kB/11,4 MB 54%]                                                                                  Holen:10 https://archive.raspbian.org/raspbian buster/main armhf Packages [13,0 MB]                                                                    
                                    Es wurden 37,4 MB in 2 min 40 s geholt (233 kB/s).                                                                                                     
                                    Paketlisten werden gelesen... Fertig
                                    Installed gcc-c++
                                    
                                    ==========================================================================
                                        Checking ioBroker user and directory permissions (2/3)
                                    ==========================================================================
                                    
                                    Created /etc/sudoers.d/iobroker
                                    Fixing directory permissions...
                                    
                                    ==========================================================================
                                        Checking autostart (3/3)
                                    ==========================================================================
                                    
                                    Enabling autostart...
                                    Autostart enabled!
                                    
                                    ==========================================================================
                                    
                                        Your installation was fixed successfully
                                        Run iobroker start to start ioBroker again!
                                    
                                    ==========================================================================
                                    
                                    pi@ioBroker:~ $ iobroker update -i
                                    Used repository: Stable (default)
                                    Adapter    "admin"        : 5.3.8    , installed 5.3.8
                                    Adapter    "alarm"        : 3.0.5    , installed 3.0.5
                                    Adapter    "alexa2"       : 3.11.2   , installed 3.11.2
                                    Adapter    "backitup"     : 2.4.6    , installed 2.4.6
                                    Adapter    "bring"        : 1.7.13   , installed 1.7.13
                                    Adapter    "bydhvs"       : 1.3.0    , installed 1.3.0
                                    Adapter    "cloud"        : 4.1.1    , installed 4.1.1
                                    Adapter    "countdown"    : 1.2.5    , installed 1.2.5
                                    Adapter    "deconz"       : 1.3.20   , installed 1.3.20
                                    Adapter    "device-reminder": 1.2.9  , installed 1.2.9
                                    Adapter    "devices"      : 1.0.10   , installed 1.0.10
                                    Adapter    "discovery"    : 3.0.3    , installed 2.8.0  [Updatable]
                                    Adapter    "dwd"          : 2.8.3    , installed 2.8.3
                                    Adapter    "echarts"      : 1.0.3    , installed 1.0.3
                                    Adapter    "eusec"        : 0.8.4    , installed 0.8.5
                                    Adapter    "fb-checkpresence": 1.1.14, installed 1.1.13 [Updatable]
                                    Adapter    "feiertage"    : 1.1.0    , installed 1.1.0
                                    Adapter    "flot"         : 1.10.7   , installed 1.10.7
                                    Adapter    "fritzdect"    : 2.2.3    , installed 2.2.3
                                    Adapter    "fronius"      : 1.1.3    , installed 1.1.3
                                    Adapter    "fullybrowser" : 2.1.1    , installed 2.1.1
                                    Adapter    "heizoel"      : 1.0.3    , installed 1.0.3
                                    Adapter    "history"      : 1.11.1   , installed 1.11.1
                                    Adapter    "hm-rega"      : 3.0.39   , installed 3.0.39
                                    Adapter    "hm-rpc"       : 1.15.12  , installed 1.15.11 [Updatable]
                                    Adapter    "ical"         : 1.12.1   , installed 1.12.1
                                    Adapter    "icons-mfd-png": 1.0.2    , installed 1.0.2
                                    Adapter    "icons-mfd-svg": 1.0.2    , installed 1.0.2
                                    Adapter    "icons-open-icon-library-png": 0.1.2, installed 0.1.2
                                    Adapter    "influxdb"     : 2.6.3    , installed 2.6.3
                                    Adapter    "info"         : 1.9.18   , installed 1.9.18
                                    Adapter    "iot"          : 1.11.4   , installed 1.11.4
                                    Adapter    "javascript"   : 5.2.21   , installed 5.2.21
                                    Controller "js-controller": 4.0.21   , installed 4.0.21
                                    Adapter    "mihome-vacuum": 3.3.1    , installed 3.3.5
                                    Adapter    "mobile"       : 1.0.1    , installed 1.0.1
                                    Adapter    "modbus"       : 4.0.4    , installed 4.0.4
                                    Adapter    "mqtt"         : 2.7.4    , installed 2.7.4
                                    Adapter    "nut"          : 1.5.1    , installed 1.5.1
                                    Adapter    "ping"         : 1.5.3    , installed 1.5.3
                                    Adapter    "pollenflug"   : 1.0.6    , installed 1.0.6
                                    Adapter    "pushover"     : 2.1.0    , installed 2.1.0
                                    Adapter    "rpi2"         : 1.3.2    , installed 1.3.2
                                    Adapter    "sayit"        : 1.12.3   , installed 1.12.3
                                    Adapter    "shelly"       : 5.3.2    , installed 5.3.2
                                    Adapter    "simple-api"   : 2.6.4    , installed 2.6.4
                                    Adapter    "socketio"     : 4.2.0    , installed 4.2.0
                                    Adapter    "sonoff"       : 2.5.0    , installed 2.5.0
                                    Adapter    "sonos"        : 2.1.7    , installed 2.1.7
                                    Adapter    "synology"     : 2.1.6    , installed 2.1.6
                                    Adapter    "tankerkoenig" : 2.1.1    , installed 2.1.1
                                    Adapter    "telegram"     : 1.12.2   , installed 1.11.1 [Updatable]
                                    Adapter    "text2command" : 2.2.1    , installed 2.2.1
                                    Adapter    "tr-064"       : 4.2.16   , installed 4.2.16
                                    Adapter    "trashschedule": 1.4.5    , installed 1.4.5
                                    Adapter    "unifi"        : 0.5.10   , installed 0.5.10
                                    Adapter    "vis"          : 1.4.5    , installed 1.4.5
                                    Adapter    "vis-bars"     : 0.1.4    , installed 0.1.4
                                    Adapter    "vis-canvas-gauges": 0.1.5, installed 0.1.5
                                    Adapter    "vis-colorpicker": 1.2.0  , installed 1.2.0
                                    Adapter    "vis-google-fonts": 1.0.3 , installed 1.0.3
                                    Adapter    "vis-hqwidgets": 1.1.9    , installed 1.1.9
                                    Adapter    "vis-icontwo"  : 0.87.0   , installed 0.87.0
                                    Adapter    "vis-inventwo" : 3.3.1    , installed 3.3.1
                                    Adapter    "vis-jqui-mfd" : 1.0.12   , installed 1.0.12
                                    Adapter    "vis-justgage" : 1.0.2    , installed 1.0.2
                                    Adapter    "vis-keyboard" : 0.0.2    , installed 0.0.2
                                    Adapter    "vis-map"      : 1.0.4    , installed 1.0.4
                                    Adapter    "vis-material-advanced": 1.7.2, installed 1.7.2
                                    Adapter    "vis-plumb"    : 1.0.2    , installed 1.0.2
                                    Adapter    "vis-timeandweather": 1.1.7, installed 1.1.7
                                    Adapter    "vis-weather"  : 2.5.5    , installed 2.5.5
                                    Adapter    "weatherunderground": 3.4.1, installed 3.4.1
                                    Adapter    "web"          : 4.2.3    , installed 4.2.3
                                    Adapter    "windows-control": 0.1.5  , installed 0.1.5
                                    Adapter    "ws"           : 1.2.0    , installed 1.3.0
                                    Adapter    "yahka"        : 0.13.1   , installed 0.13.1
                                    Adapter    "yeelight-2"   : 1.1.2    , installed 1.1.2
                                    pi@ioBroker:~ $ iobroker list instances
                                      system.adapter.admin.0                  : admin                 : ioBroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                      system.adapter.alarm.0                  : alarm                 : ioBroker                                 - disabled
                                      system.adapter.alexa2.0                 : alexa2                : ioBroker                                 -  enabled
                                      system.adapter.backitup.0               : backitup              : ioBroker                                 -  enabled
                                      system.adapter.bring.0                  : bring                 : ioBroker                                 -  enabled
                                      system.adapter.bydhvs.0                 : bydhvs                : ioBroker                                 -  enabled
                                      system.adapter.cloud.0                  : cloud                 : ioBroker                                 -  enabled
                                      system.adapter.countdown.0              : countdown             : ioBroker                                 -  enabled
                                      system.adapter.deconz.0                 : deconz                : ioBroker                                 -  enabled
                                      system.adapter.device-reminder.0        : device-reminder       : ioBroker                                 -  enabled
                                      system.adapter.devices.0                : devices               : ioBroker                                 - disabled
                                      system.adapter.discovery.0              : discovery             : ioBroker                                 -  enabled
                                      system.adapter.dwd.0                    : dwd                   : ioBroker                                 -  enabled
                                      system.adapter.echarts.0                : echarts               : ioBroker                                 -  enabled
                                      system.adapter.eusec.0                  : eusec                 : ioBroker                                 -  enabled
                                      system.adapter.feiertage.0              : feiertage             : ioBroker                                 -  enabled
                                      system.adapter.flot.0                   : flot                  : ioBroker                                 - disabled
                                      system.adapter.fritzdect.0              : fritzdect             : ioBroker                                 -  enabled
                                      system.adapter.fronius-solarweb.0       : fronius-solarweb      : ioBroker                                 -  enabled
                                      system.adapter.fronius.0                : fronius               : ioBroker                                 -  enabled
                                      system.adapter.fully-tablet-control.0   : fully-tablet-control  : ioBroker                                 - disabled
                                      system.adapter.fullybrowser.0           : fullybrowser          : ioBroker                                 - disabled
                                      system.adapter.heizoel.0                : heizoel               : ioBroker                                 -  enabled
                                      system.adapter.history.0                : history               : ioBroker                                 -  enabled
                                      system.adapter.hm-rega.0                : hm-rega               : ioBroker                                 -  enabled
                                      system.adapter.hm-rpc.0                 : hm-rpc                : ioBroker                                 -  enabled, port: 18701
                                      system.adapter.hm-rpc.1                 : hm-rpc                : ioBroker                                 -  enabled, port: 12001
                                      system.adapter.hm-rpc.2                 : hm-rpc                : ioBroker                                 -  enabled, port: 12010
                                      system.adapter.ical.0                   : ical                  : ioBroker                                 -  enabled
                                      system.adapter.icons-mfd-png.0          : icons-mfd-png         : ioBroker                                 - disabled
                                      system.adapter.icons-mfd-svg.0          : icons-mfd-svg         : ioBroker                                 - disabled
                                      system.adapter.icons-open-icon-library-png.0: icons-open-icon-library-png: ioBroker                                 - disabled
                                      system.adapter.influxdb.0               : influxdb              : ioBroker                                 -  enabled, port: 8086
                                      system.adapter.info.0                   : info                  : ioBroker                                 -  enabled
                                      system.adapter.iot.0                    : iot                   : ioBroker                                 -  enabled
                                      system.adapter.javascript.0             : javascript            : ioBroker                                 -  enabled
                                      system.adapter.mihome-vacuum.0          : mihome-vacuum         : ioBroker                                 -  enabled, port: 54321
                                      system.adapter.mobile.0                 : mobile                : ioBroker                                 - disabled
                                      system.adapter.mqtt.0                   : mqtt                  : ioBroker                                 -  enabled, port: 1886, bind: 0.0.0.0
                                      system.adapter.nut.0                    : nut                   : ioBroker                                 -  enabled
                                      system.adapter.ping.0                   : ping                  : ioBroker                                 -  enabled
                                      system.adapter.pollenflug.0             : pollenflug            : ioBroker                                 -  enabled
                                      system.adapter.pushover.0               : pushover              : ioBroker                                 -  enabled
                                      system.adapter.rpi2.0                   : rpi2                  : ioBroker                                 -  enabled
                                      system.adapter.shelly.0                 : shelly                : ioBroker                                 -  enabled, port: 1882, bind: 0.0.0.0
                                      system.adapter.simple-api.0             : simple-api            : ioBroker                                 -  enabled, port: 8087, bind: 0.0.0.0, run as: admin
                                      system.adapter.sonoff.0                 : sonoff                : ioBroker                                 -  enabled, port: 1883, bind: 192.168.178.21
                                      system.adapter.sonos.0                  : sonos                 : ioBroker                                 -  enabled
                                      system.adapter.sourceanalytix.0         : sourceanalytix        : ioBroker                                 -  enabled
                                      system.adapter.synology.0               : synology              : ioBroker                                 -  enabled, port: 5001
                                      system.adapter.tankerkoenig.0           : tankerkoenig          : ioBroker                                 -  enabled
                                      system.adapter.telegram.0               : telegram              : ioBroker                                 -  enabled, port: 8443, bind: 0.0.0.0
                                      system.adapter.text2command.0           : text2command          : ioBroker                                 -  enabled
                                      system.adapter.time-switch.0            : time-switch           : ioBroker                                 -  enabled
                                      system.adapter.tr-064.0                 : tr-064                : ioBroker                                 -  enabled
                                      system.adapter.trashschedule.0          : trashschedule         : ioBroker                                 -  enabled
                                      system.adapter.unifi.0                  : unifi                 : ioBroker                                 - disabled
                                      system.adapter.vis-bars.0               : vis-bars              : ioBroker                                 - disabled
                                      system.adapter.vis-canvas-gauges.0      : vis-canvas-gauges     : ioBroker                                 - disabled
                                      system.adapter.vis-colorpicker.0        : vis-colorpicker       : ioBroker                                 - disabled
                                      system.adapter.vis-google-fonts.0       : vis-google-fonts      : ioBroker                                 -  enabled
                                      system.adapter.vis-hqwidgets.0          : vis-hqwidgets         : ioBroker                                 - disabled
                                      system.adapter.vis-icontwo.0            : vis-icontwo           : ioBroker                                 - disabled
                                      system.adapter.vis-jqui-mfd.0           : vis-jqui-mfd          : ioBroker                                 - disabled
                                      system.adapter.vis-justgage.0           : vis-justgage          : ioBroker                                 - disabled
                                      system.adapter.vis-keyboard.0           : vis-keyboard          : ioBroker                                 - disabled
                                      system.adapter.vis-map.0                : vis-map               : ioBroker                                 - disabled
                                      system.adapter.vis-material-advanced.0  : vis-material-advanced : ioBroker                                 - disabled
                                      system.adapter.vis-materialdesign.0     : vis-materialdesign    : ioBroker                                 - disabled
                                      system.adapter.vis-plumb.0              : vis-plumb             : ioBroker                                 - disabled
                                      system.adapter.vis-timeandweather.0     : vis-timeandweather    : ioBroker                                 - disabled
                                      system.adapter.vis-weather.0            : vis-weather           : ioBroker                                 - disabled
                                      system.adapter.vis.0                    : vis                   : ioBroker                                 -  enabled
                                      system.adapter.wallpanel.0              : wallpanel             : ioBroker                                 -  enabled
                                      system.adapter.weatherunderground.0     : weatherunderground    : ioBroker                                 -  enabled
                                      system.adapter.web.0                    : web                   : ioBroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                                      system.adapter.yahka.0                  : yahka                 : ioBroker                                 -  enabled
                                      system.adapter.yeelight-2.0             : yeelight-2            : ioBroker                                 -  enabled
                                    
                                    + instance is alive
                                    pi@ioBroker:~ $ 
                                    

                                    NodeJS:

                                    pi@ioBroker:~ $ sudo ln -s /usr/bin/node /usr/bin/nodejs
                                    ln: die symbolische Verknüpfung '/usr/bin/nodejs' konnte nicht angelegt werden: Die Datei existiert bereits
                                    
                                    pi@ioBroker:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                    /usr/bin/nodejs
                                    /usr/bin/node
                                    /usr/bin/npm
                                    v14.19.1
                                    v14.19.1
                                    6.14.16
                                    pi
                                    /home/pi
                                    OK:1 http://phoscon.de/apt/deconz buster InRelease
                                    OK:2 http://archive.raspberrypi.org/debian buster InRelease                                                                                            
                                    OK:3 https://packages.grafana.com/oss/deb stable InRelease                                                                                             
                                    OK:4 https://deb.nodesource.com/node_14.x buster InRelease                                                                                             
                                    OK:5 https://repos.influxdata.com/debian buster InRelease                                                                                              
                                    OK:6 http://raspbian.raspberrypi.org/raspbian buster InRelease                                                      
                                    OK:7 https://archive.raspbian.org/raspbian buster InRelease                                 
                                    Paketlisten werden gelesen... Fertig                                
                                    Abhängigkeitsbaum wird aufgebaut.       
                                    Statusinformationen werden eingelesen.... Fertig
                                    Aktualisierung für 3 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
                                    nodejs:
                                      Installiert:           14.19.1-deb-1nodesource1
                                      Installationskandidat: 14.19.1-deb-1nodesource1
                                      Versionstabelle:
                                     *** 14.19.1-deb-1nodesource1 500
                                            500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
                                            100 /var/lib/dpkg/status
                                         10.24.0~dfsg-1~deb10u1 500
                                            500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                            500 https://archive.raspbian.org/raspbian buster/main armhf Packages
                                    pi@ioBroker:~ $ 
                                    
                                    Thomas BraunT 1 Antwort Letzte Antwort
                                    0
                                    • qqolliQ qqolli

                                      @thomas-braun

                                      pi@ioBroker:~ $ iobroker stop
                                      pi@ioBroker:~ $ iobroker fix
                                      library: loaded
                                      Library version=2022-02-10
                                      
                                      ==========================================================================
                                      
                                          Welcome to the ioBroker installation fixer!
                                          Script version: 2022-02-13
                                          
                                          You might need to enter your password a couple of times.
                                      
                                      ==========================================================================
                                      
                                      
                                      ==========================================================================
                                          Installing prerequisites (1/3)
                                      ==========================================================================
                                      
                                      OK:1 http://phoscon.de/apt/deconz buster InRelease
                                      OK:2 http://archive.raspberrypi.org/debian buster InRelease                                                                                            
                                      OK:3 https://repos.influxdata.com/debian buster InRelease                                                                                              
                                      OK:4 https://packages.grafana.com/oss/deb stable InRelease                                                                                             
                                      OK:5 https://deb.nodesource.com/node_14.x buster InRelease                                                                                             
                                      Holen:6 http://raspbian.raspberrypi.org/raspbian buster InRelease [15,0 kB]                                                                            
                                      Holen:7 https://archive.raspbian.org/raspbian buster InRelease [15,0 kB]                              
                                      Holen:8 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13,0 MB]
                                      Holen:9 https://archive.raspbian.org/raspbian buster/main Sources [11,4 MB]
                                      45% [8 Packages 5.715 kB/13,0 MB 44%] [9 Sources 6.144 kB/11,4 MB 54%]                                                                                  Holen:10 https://archive.raspbian.org/raspbian buster/main armhf Packages [13,0 MB]                                                                    
                                      Es wurden 37,4 MB in 2 min 40 s geholt (233 kB/s).                                                                                                     
                                      Paketlisten werden gelesen... Fertig
                                      Installed gcc-c++
                                      
                                      ==========================================================================
                                          Checking ioBroker user and directory permissions (2/3)
                                      ==========================================================================
                                      
                                      Created /etc/sudoers.d/iobroker
                                      Fixing directory permissions...
                                      
                                      ==========================================================================
                                          Checking autostart (3/3)
                                      ==========================================================================
                                      
                                      Enabling autostart...
                                      Autostart enabled!
                                      
                                      ==========================================================================
                                      
                                          Your installation was fixed successfully
                                          Run iobroker start to start ioBroker again!
                                      
                                      ==========================================================================
                                      
                                      pi@ioBroker:~ $ iobroker update -i
                                      Used repository: Stable (default)
                                      Adapter    "admin"        : 5.3.8    , installed 5.3.8
                                      Adapter    "alarm"        : 3.0.5    , installed 3.0.5
                                      Adapter    "alexa2"       : 3.11.2   , installed 3.11.2
                                      Adapter    "backitup"     : 2.4.6    , installed 2.4.6
                                      Adapter    "bring"        : 1.7.13   , installed 1.7.13
                                      Adapter    "bydhvs"       : 1.3.0    , installed 1.3.0
                                      Adapter    "cloud"        : 4.1.1    , installed 4.1.1
                                      Adapter    "countdown"    : 1.2.5    , installed 1.2.5
                                      Adapter    "deconz"       : 1.3.20   , installed 1.3.20
                                      Adapter    "device-reminder": 1.2.9  , installed 1.2.9
                                      Adapter    "devices"      : 1.0.10   , installed 1.0.10
                                      Adapter    "discovery"    : 3.0.3    , installed 2.8.0  [Updatable]
                                      Adapter    "dwd"          : 2.8.3    , installed 2.8.3
                                      Adapter    "echarts"      : 1.0.3    , installed 1.0.3
                                      Adapter    "eusec"        : 0.8.4    , installed 0.8.5
                                      Adapter    "fb-checkpresence": 1.1.14, installed 1.1.13 [Updatable]
                                      Adapter    "feiertage"    : 1.1.0    , installed 1.1.0
                                      Adapter    "flot"         : 1.10.7   , installed 1.10.7
                                      Adapter    "fritzdect"    : 2.2.3    , installed 2.2.3
                                      Adapter    "fronius"      : 1.1.3    , installed 1.1.3
                                      Adapter    "fullybrowser" : 2.1.1    , installed 2.1.1
                                      Adapter    "heizoel"      : 1.0.3    , installed 1.0.3
                                      Adapter    "history"      : 1.11.1   , installed 1.11.1
                                      Adapter    "hm-rega"      : 3.0.39   , installed 3.0.39
                                      Adapter    "hm-rpc"       : 1.15.12  , installed 1.15.11 [Updatable]
                                      Adapter    "ical"         : 1.12.1   , installed 1.12.1
                                      Adapter    "icons-mfd-png": 1.0.2    , installed 1.0.2
                                      Adapter    "icons-mfd-svg": 1.0.2    , installed 1.0.2
                                      Adapter    "icons-open-icon-library-png": 0.1.2, installed 0.1.2
                                      Adapter    "influxdb"     : 2.6.3    , installed 2.6.3
                                      Adapter    "info"         : 1.9.18   , installed 1.9.18
                                      Adapter    "iot"          : 1.11.4   , installed 1.11.4
                                      Adapter    "javascript"   : 5.2.21   , installed 5.2.21
                                      Controller "js-controller": 4.0.21   , installed 4.0.21
                                      Adapter    "mihome-vacuum": 3.3.1    , installed 3.3.5
                                      Adapter    "mobile"       : 1.0.1    , installed 1.0.1
                                      Adapter    "modbus"       : 4.0.4    , installed 4.0.4
                                      Adapter    "mqtt"         : 2.7.4    , installed 2.7.4
                                      Adapter    "nut"          : 1.5.1    , installed 1.5.1
                                      Adapter    "ping"         : 1.5.3    , installed 1.5.3
                                      Adapter    "pollenflug"   : 1.0.6    , installed 1.0.6
                                      Adapter    "pushover"     : 2.1.0    , installed 2.1.0
                                      Adapter    "rpi2"         : 1.3.2    , installed 1.3.2
                                      Adapter    "sayit"        : 1.12.3   , installed 1.12.3
                                      Adapter    "shelly"       : 5.3.2    , installed 5.3.2
                                      Adapter    "simple-api"   : 2.6.4    , installed 2.6.4
                                      Adapter    "socketio"     : 4.2.0    , installed 4.2.0
                                      Adapter    "sonoff"       : 2.5.0    , installed 2.5.0
                                      Adapter    "sonos"        : 2.1.7    , installed 2.1.7
                                      Adapter    "synology"     : 2.1.6    , installed 2.1.6
                                      Adapter    "tankerkoenig" : 2.1.1    , installed 2.1.1
                                      Adapter    "telegram"     : 1.12.2   , installed 1.11.1 [Updatable]
                                      Adapter    "text2command" : 2.2.1    , installed 2.2.1
                                      Adapter    "tr-064"       : 4.2.16   , installed 4.2.16
                                      Adapter    "trashschedule": 1.4.5    , installed 1.4.5
                                      Adapter    "unifi"        : 0.5.10   , installed 0.5.10
                                      Adapter    "vis"          : 1.4.5    , installed 1.4.5
                                      Adapter    "vis-bars"     : 0.1.4    , installed 0.1.4
                                      Adapter    "vis-canvas-gauges": 0.1.5, installed 0.1.5
                                      Adapter    "vis-colorpicker": 1.2.0  , installed 1.2.0
                                      Adapter    "vis-google-fonts": 1.0.3 , installed 1.0.3
                                      Adapter    "vis-hqwidgets": 1.1.9    , installed 1.1.9
                                      Adapter    "vis-icontwo"  : 0.87.0   , installed 0.87.0
                                      Adapter    "vis-inventwo" : 3.3.1    , installed 3.3.1
                                      Adapter    "vis-jqui-mfd" : 1.0.12   , installed 1.0.12
                                      Adapter    "vis-justgage" : 1.0.2    , installed 1.0.2
                                      Adapter    "vis-keyboard" : 0.0.2    , installed 0.0.2
                                      Adapter    "vis-map"      : 1.0.4    , installed 1.0.4
                                      Adapter    "vis-material-advanced": 1.7.2, installed 1.7.2
                                      Adapter    "vis-plumb"    : 1.0.2    , installed 1.0.2
                                      Adapter    "vis-timeandweather": 1.1.7, installed 1.1.7
                                      Adapter    "vis-weather"  : 2.5.5    , installed 2.5.5
                                      Adapter    "weatherunderground": 3.4.1, installed 3.4.1
                                      Adapter    "web"          : 4.2.3    , installed 4.2.3
                                      Adapter    "windows-control": 0.1.5  , installed 0.1.5
                                      Adapter    "ws"           : 1.2.0    , installed 1.3.0
                                      Adapter    "yahka"        : 0.13.1   , installed 0.13.1
                                      Adapter    "yeelight-2"   : 1.1.2    , installed 1.1.2
                                      pi@ioBroker:~ $ iobroker list instances
                                        system.adapter.admin.0                  : admin                 : ioBroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                        system.adapter.alarm.0                  : alarm                 : ioBroker                                 - disabled
                                        system.adapter.alexa2.0                 : alexa2                : ioBroker                                 -  enabled
                                        system.adapter.backitup.0               : backitup              : ioBroker                                 -  enabled
                                        system.adapter.bring.0                  : bring                 : ioBroker                                 -  enabled
                                        system.adapter.bydhvs.0                 : bydhvs                : ioBroker                                 -  enabled
                                        system.adapter.cloud.0                  : cloud                 : ioBroker                                 -  enabled
                                        system.adapter.countdown.0              : countdown             : ioBroker                                 -  enabled
                                        system.adapter.deconz.0                 : deconz                : ioBroker                                 -  enabled
                                        system.adapter.device-reminder.0        : device-reminder       : ioBroker                                 -  enabled
                                        system.adapter.devices.0                : devices               : ioBroker                                 - disabled
                                        system.adapter.discovery.0              : discovery             : ioBroker                                 -  enabled
                                        system.adapter.dwd.0                    : dwd                   : ioBroker                                 -  enabled
                                        system.adapter.echarts.0                : echarts               : ioBroker                                 -  enabled
                                        system.adapter.eusec.0                  : eusec                 : ioBroker                                 -  enabled
                                        system.adapter.feiertage.0              : feiertage             : ioBroker                                 -  enabled
                                        system.adapter.flot.0                   : flot                  : ioBroker                                 - disabled
                                        system.adapter.fritzdect.0              : fritzdect             : ioBroker                                 -  enabled
                                        system.adapter.fronius-solarweb.0       : fronius-solarweb      : ioBroker                                 -  enabled
                                        system.adapter.fronius.0                : fronius               : ioBroker                                 -  enabled
                                        system.adapter.fully-tablet-control.0   : fully-tablet-control  : ioBroker                                 - disabled
                                        system.adapter.fullybrowser.0           : fullybrowser          : ioBroker                                 - disabled
                                        system.adapter.heizoel.0                : heizoel               : ioBroker                                 -  enabled
                                        system.adapter.history.0                : history               : ioBroker                                 -  enabled
                                        system.adapter.hm-rega.0                : hm-rega               : ioBroker                                 -  enabled
                                        system.adapter.hm-rpc.0                 : hm-rpc                : ioBroker                                 -  enabled, port: 18701
                                        system.adapter.hm-rpc.1                 : hm-rpc                : ioBroker                                 -  enabled, port: 12001
                                        system.adapter.hm-rpc.2                 : hm-rpc                : ioBroker                                 -  enabled, port: 12010
                                        system.adapter.ical.0                   : ical                  : ioBroker                                 -  enabled
                                        system.adapter.icons-mfd-png.0          : icons-mfd-png         : ioBroker                                 - disabled
                                        system.adapter.icons-mfd-svg.0          : icons-mfd-svg         : ioBroker                                 - disabled
                                        system.adapter.icons-open-icon-library-png.0: icons-open-icon-library-png: ioBroker                                 - disabled
                                        system.adapter.influxdb.0               : influxdb              : ioBroker                                 -  enabled, port: 8086
                                        system.adapter.info.0                   : info                  : ioBroker                                 -  enabled
                                        system.adapter.iot.0                    : iot                   : ioBroker                                 -  enabled
                                        system.adapter.javascript.0             : javascript            : ioBroker                                 -  enabled
                                        system.adapter.mihome-vacuum.0          : mihome-vacuum         : ioBroker                                 -  enabled, port: 54321
                                        system.adapter.mobile.0                 : mobile                : ioBroker                                 - disabled
                                        system.adapter.mqtt.0                   : mqtt                  : ioBroker                                 -  enabled, port: 1886, bind: 0.0.0.0
                                        system.adapter.nut.0                    : nut                   : ioBroker                                 -  enabled
                                        system.adapter.ping.0                   : ping                  : ioBroker                                 -  enabled
                                        system.adapter.pollenflug.0             : pollenflug            : ioBroker                                 -  enabled
                                        system.adapter.pushover.0               : pushover              : ioBroker                                 -  enabled
                                        system.adapter.rpi2.0                   : rpi2                  : ioBroker                                 -  enabled
                                        system.adapter.shelly.0                 : shelly                : ioBroker                                 -  enabled, port: 1882, bind: 0.0.0.0
                                        system.adapter.simple-api.0             : simple-api            : ioBroker                                 -  enabled, port: 8087, bind: 0.0.0.0, run as: admin
                                        system.adapter.sonoff.0                 : sonoff                : ioBroker                                 -  enabled, port: 1883, bind: 192.168.178.21
                                        system.adapter.sonos.0                  : sonos                 : ioBroker                                 -  enabled
                                        system.adapter.sourceanalytix.0         : sourceanalytix        : ioBroker                                 -  enabled
                                        system.adapter.synology.0               : synology              : ioBroker                                 -  enabled, port: 5001
                                        system.adapter.tankerkoenig.0           : tankerkoenig          : ioBroker                                 -  enabled
                                        system.adapter.telegram.0               : telegram              : ioBroker                                 -  enabled, port: 8443, bind: 0.0.0.0
                                        system.adapter.text2command.0           : text2command          : ioBroker                                 -  enabled
                                        system.adapter.time-switch.0            : time-switch           : ioBroker                                 -  enabled
                                        system.adapter.tr-064.0                 : tr-064                : ioBroker                                 -  enabled
                                        system.adapter.trashschedule.0          : trashschedule         : ioBroker                                 -  enabled
                                        system.adapter.unifi.0                  : unifi                 : ioBroker                                 - disabled
                                        system.adapter.vis-bars.0               : vis-bars              : ioBroker                                 - disabled
                                        system.adapter.vis-canvas-gauges.0      : vis-canvas-gauges     : ioBroker                                 - disabled
                                        system.adapter.vis-colorpicker.0        : vis-colorpicker       : ioBroker                                 - disabled
                                        system.adapter.vis-google-fonts.0       : vis-google-fonts      : ioBroker                                 -  enabled
                                        system.adapter.vis-hqwidgets.0          : vis-hqwidgets         : ioBroker                                 - disabled
                                        system.adapter.vis-icontwo.0            : vis-icontwo           : ioBroker                                 - disabled
                                        system.adapter.vis-jqui-mfd.0           : vis-jqui-mfd          : ioBroker                                 - disabled
                                        system.adapter.vis-justgage.0           : vis-justgage          : ioBroker                                 - disabled
                                        system.adapter.vis-keyboard.0           : vis-keyboard          : ioBroker                                 - disabled
                                        system.adapter.vis-map.0                : vis-map               : ioBroker                                 - disabled
                                        system.adapter.vis-material-advanced.0  : vis-material-advanced : ioBroker                                 - disabled
                                        system.adapter.vis-materialdesign.0     : vis-materialdesign    : ioBroker                                 - disabled
                                        system.adapter.vis-plumb.0              : vis-plumb             : ioBroker                                 - disabled
                                        system.adapter.vis-timeandweather.0     : vis-timeandweather    : ioBroker                                 - disabled
                                        system.adapter.vis-weather.0            : vis-weather           : ioBroker                                 - disabled
                                        system.adapter.vis.0                    : vis                   : ioBroker                                 -  enabled
                                        system.adapter.wallpanel.0              : wallpanel             : ioBroker                                 -  enabled
                                        system.adapter.weatherunderground.0     : weatherunderground    : ioBroker                                 -  enabled
                                        system.adapter.web.0                    : web                   : ioBroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                                        system.adapter.yahka.0                  : yahka                 : ioBroker                                 -  enabled
                                        system.adapter.yeelight-2.0             : yeelight-2            : ioBroker                                 -  enabled
                                      
                                      + instance is alive
                                      pi@ioBroker:~ $ 
                                      

                                      NodeJS:

                                      pi@ioBroker:~ $ sudo ln -s /usr/bin/node /usr/bin/nodejs
                                      ln: die symbolische Verknüpfung '/usr/bin/nodejs' konnte nicht angelegt werden: Die Datei existiert bereits
                                      
                                      pi@ioBroker:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                      /usr/bin/nodejs
                                      /usr/bin/node
                                      /usr/bin/npm
                                      v14.19.1
                                      v14.19.1
                                      6.14.16
                                      pi
                                      /home/pi
                                      OK:1 http://phoscon.de/apt/deconz buster InRelease
                                      OK:2 http://archive.raspberrypi.org/debian buster InRelease                                                                                            
                                      OK:3 https://packages.grafana.com/oss/deb stable InRelease                                                                                             
                                      OK:4 https://deb.nodesource.com/node_14.x buster InRelease                                                                                             
                                      OK:5 https://repos.influxdata.com/debian buster InRelease                                                                                              
                                      OK:6 http://raspbian.raspberrypi.org/raspbian buster InRelease                                                      
                                      OK:7 https://archive.raspbian.org/raspbian buster InRelease                                 
                                      Paketlisten werden gelesen... Fertig                                
                                      Abhängigkeitsbaum wird aufgebaut.       
                                      Statusinformationen werden eingelesen.... Fertig
                                      Aktualisierung für 3 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
                                      nodejs:
                                        Installiert:           14.19.1-deb-1nodesource1
                                        Installationskandidat: 14.19.1-deb-1nodesource1
                                        Versionstabelle:
                                       *** 14.19.1-deb-1nodesource1 500
                                              500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
                                              100 /var/lib/dpkg/status
                                           10.24.0~dfsg-1~deb10u1 500
                                              500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                              500 https://archive.raspbian.org/raspbian buster/main armhf Packages
                                      pi@ioBroker:~ $ 
                                      
                                      Thomas BraunT Online
                                      Thomas BraunT Online
                                      Thomas Braun
                                      Most Active
                                      schrieb am zuletzt editiert von
                                      #1916

                                      @qqolli

                                      Passt soweit.

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

                                        @qqolli

                                        Gut, dann ist zumindest sudo richtig.
                                        Was an der Stelle dann im Code steht und bei dir zu einem nicht erledigten Backup führt muss sich dann wer anders anschauen, da hab ich keine Aktien drin.

                                        /usr/bin/iobroker: Zeile 8: 23540 Getötet                sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@"
                                        

                                        scheint mir aber auch nicht vollständig zu sein.

                                        qqolliQ Offline
                                        qqolliQ Offline
                                        qqolli
                                        schrieb am zuletzt editiert von
                                        #1917

                                        @simatec

                                        Hättest Du eine Idee oder die Möglichkeit in den Code zu schauen (wie Thomas vorgeschlagen hat)?

                                        simatecS 1 Antwort Letzte Antwort
                                        0
                                        • qqolliQ qqolli

                                          @simatec

                                          Hättest Du eine Idee oder die Möglichkeit in den Code zu schauen (wie Thomas vorgeschlagen hat)?

                                          simatecS Offline
                                          simatecS Offline
                                          simatec
                                          Developer Most Active
                                          schrieb am zuletzt editiert von
                                          #1918

                                          @qqolli Das wäre der Code vom Controller und nicht von Backitup.
                                          Ich konnte da im Code nix wirklich feststellen.

                                          Versuche nach dem iob fix und einem kompletten Neustart deines System nochmal ein iob backup auf der CLI

                                          • Besuche meine Github Seite
                                          • Beitrag hat geholfen oder willst du mich unterstützen
                                          • HowTo Restore ioBroker
                                          qqolliQ 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

                                          674

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

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

                                          • Du hast noch kein Konto? Registrieren

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