Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Yahka Adapter in iobroker im Docker Container

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Yahka Adapter in iobroker im Docker Container

    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      Tomme @Glasfaser last edited by

      @glasfaser

      so ich habe noch eine weile rumgefummelt aber ohne erfolg ...

      im moment kann ich nicht einmal ein backup wieder einspielen ... er zeigt einfach keine an im lokalen ordner ... ich kann zwar eins machen und das steht auch in der backitup übersicht und wird auch unter backups abgelegt aber ein restore ist nicht möglich da es nicht angezeigt wird ... läuft also ... ich habe wenn ich den container neu gemacht habe auch den ordner /opt/iobroker gelöscht sonst ließ sich kein neuer Container anlegen wenn der Ordner nicht leer ist ... aber trotzdem kann ich die backups nicht finden die ich kurz zuvor gemacht habe und auch die nicht wo alle einstellungen drin sind ...
      bei yahka hat sich auch nichts getan und in der console bekomme ich fehler bei egal welchen befehl ich ausführen will ... selbst restore über die kommandozeile schlägt fehl da ich iobroker stopen soll was aber nicht geht da endet ein daemon mit pid xyz aber wenn ich dann iob status eingebe steht da gestartet und restore geht nicht weil iob noch läuft ...
      aber schön schnell neu aufsetzen geht dank deiner hilfe ja jetzt mit 2 klicks ... habe mir ein template von dem stack gemacht ... das ist total cool!
      und logs kann ich jetzt auch sehen wie auch die konsole aber da ist bestimmt auch was faul egal was ich mache meckert der rum:

      sudo mount -t cifs -o user=Tomme,password=8005,vers=2.1,rw,file_mode=0777,dir_mode=0777 //192.168.7.1/ioBrokerPi /mnt/LaptopIoBrokerPi
      sudo: /etc/sudo.conf is world writable
      sudo: /etc/sudo.conf is world writable
      sudo: error in /etc/sudo.conf, line 0 while loading plugin "sudoers_policy"
      sudo: /usr/lib/sudo/sudoers.so must be only be writable by owner
      sudo: fatal error, unable to load plugins
      

      oder

      root@iobroker:/opt/iobroker# sudo iobroker stop
      sudo: /etc/sudo.conf is world writable
      sudo: /etc/sudo.conf is world writable
      sudo: error in /etc/sudo.conf, line 0 while loading plugin "sudoers_policy"
      sudo: /usr/lib/sudo/sudoers.so must be only be writable by owner
      sudo: fatal error, unable to load plugins
      

      oder

      root@iobroker:/opt/iobroker# iob start
      Starting iobroker controller daemon...
      iobroker controller daemon started. PID: 3086
      root@iobroker:/opt/iobroker# iob stop
      iobroker controller daemon is not running
      root@iobroker:/opt/iobroker# iob restore 0
      Stop iobroker first!
      root@iobroker:/opt/iobroker# iob status
      iobroker is running on this host.
      
      
      Objects type: jsonl
      States  type: jsonl
      root@iobroker:/opt/iobroker
      

      im log kann ich auch nichts finden:

       --------------------------------------------------------------------------------
      -------------------------     2023-05-07 02:01:56      -------------------------
      --------------------------------------------------------------------------------
      -----                                                                      -----
      ----- ██╗  ██████╗  ██████╗  ██████╗   ██████╗  ██╗  ██╗ ███████╗ ██████╗  -----
      ----- ██║ ██╔═══██╗ ██╔══██╗ ██╔══██╗ ██╔═══██╗ ██║ ██╔╝ ██╔════╝ ██╔══██╗ -----
      ----- ██║ ██║   ██║ ██████╔╝ ██████╔╝ ██║   ██║ █████╔╝  █████╗   ██████╔╝ -----
      ----- ██║ ██║   ██║ ██╔══██╗ ██╔══██╗ ██║   ██║ ██╔═██╗  ██╔══╝   ██╔══██╗ -----
      ----- ██║ ╚██████╔╝ ██████╔╝ ██║  ██║ ╚██████╔╝ ██║  ██╗ ███████╗ ██║  ██║ -----
      ----- ╚═╝  ╚═════╝  ╚═════╝  ╚═╝  ╚═╝  ╚═════╝  ╚═╝  ╚═╝ ╚══════╝ ╚═╝  ╚═╝ -----
      -----                                                                      -----
      -----              Welcome to your ioBroker Docker container!              -----
      -----                    Startupscript is now running!                     -----
      -----                          Please be patient!                          -----
      --------------------------------------------------------------------------------
       
      --------------------------------------------------------------------------------
      -----                          System Information                          -----
      -----                    arch:                aarch64                      -----
      -----                    hostname:            iobroker                     -----
      -----                                                                      -----
      -----                          Version Information                         -----
      -----                    image:               v8.0.1                       -----
      -----                    build:               2023-04-26T23:45:40+00:00    -----
      -----                    node:                v18.16.0                     -----
      -----                    npm:                 9.5.1                        -----
      -----                                                                      -----
      -----                        Environment Variables                         -----
      -----                    SETGID:              1000                         -----
      -----                    SETUID:              1000                         -----
      --------------------------------------------------------------------------------
       
      --------------------------------------------------------------------------------
      -----                   Step 1 of 5: Preparing container                   -----
      --------------------------------------------------------------------------------
       
      Updating Linux packages on first run... Done.
       
      Registering maintenance script as command... Done.
       
      --------------------------------------------------------------------------------
      -----             Step 2 of 5: Detecting ioBroker installation             -----
      --------------------------------------------------------------------------------
       
      There is no data detected in /opt/iobroker.
      Restoring initial ioBroker installation... Done.
       
      --------------------------------------------------------------------------------
      -----             Step 3 of 5: Checking ioBroker installation              -----
      --------------------------------------------------------------------------------
       
      (Re)setting permissions (This might take a while! Please be patient!)... Done.
       
      Fixing "sudo-bug" by replacing sudo with gosu... Done.
       
      Initializing a fresh installation of ioBroker... Done.
       
      Hostname in ioBroker does not match the hostname of this container.
      Updating hostname to "iobroker"... The host for instance "system.adapter.admin.0" was changed from "buildkitsandbox" to "iobroker".
      The host for instance "system.adapter.discovery.0" was changed from "buildkitsandbox" to "iobroker".
      The host for instance "system.adapter.backitup.0" was changed from "buildkitsandbox" to "iobroker".
      Done.
       
      --------------------------------------------------------------------------------
      -----                Step 4 of 5: Applying special settings                -----
      --------------------------------------------------------------------------------
       
      Some adapters have special requirements/ settings which can be activated by the use of environment variables.
      For more information see ioBroker Docker Image Docs (https://docs.buanet.de/iobroker-docker-image/docs/).
       
       
      --------------------------------------------------------------------------------
      -----                    Step 5 of 5: ioBroker startup                     -----
      --------------------------------------------------------------------------------
       
      Starting ioBroker... 
       
      ##### #### ### ## # iobroker.js-controller log output # ## ### #### #####
      host.iobroker check instance "system.adapter.admin.0" for host "iobroker"
      host.iobroker check instance "system.adapter.discovery.0" for host "iobroker"
      host.iobroker check instance "system.adapter.backitup.0" for host "iobroker"
      ================================== > LOG REDIRECT system.adapter.admin.0 => true [system.adapter.admin.0.logging]
      Send diag info: {"uuid":"31948c05-a528-4702-bc62-fcf8ffbbd5aa","language":"de","country":"","hosts":[{"version":"4.0.24","platform":"Javascript/Node.js","type":"linux"}],"node":"v18.16.0","arch":"arm64","docker":true,"adapters":{"admin":{"version":"6.3.5","platform":"Javascript/Node.js"},"discovery":{"version":"3.1.0","platform":"Javascript/Node.js"},"backitup":{"version":"2.6.19","platform":"Javascript/Node.js"}},"statesType":"jsonl","objectsType":"jsonl","noInstances":3,"compactMode":false,"noCompactInstances":0,"model":"Cortex-A72","cpus":4,"mem":8190754816,"ostype":"Linux","city":""}
      ================================== > LOG REDIRECT system.adapter.admin.0 => false [Process stopped]
      ================================== > LOG REDIRECT system.adapter.admin.0 => false [system.adapter.admin.0.logging]
      Send diag info: {"uuid":"31948c05-a528-4702-bc62-fcf8ffbbd5aa","language":"de","country":"","hosts":[{"version":"4.0.24","platform":"Javascript/Node.js","type":"linux"}],"node":"v18.16.0","arch":"arm64","docker":true,"adapters":{"admin":{"version":"6.3.5","platform":"Javascript/Node.js"},"discovery":{"version":"3.1.0","platform":"Javascript/Node.js"},"backitup":{"version":"2.6.19","platform":"Javascript/Node.js"}},"statesType":"jsonl","objectsType":"jsonl","noInstances":3,"compactMode":false,"noCompactInstances":0,"model":"Cortex-A72","cpus":4,"mem":8190754816,"ostype":"Linux","city":""}
      ================================== > LOG REDIRECT system.adapter.admin.0 => true [system.adapter.admin.0.logging]
      

      ich mache für "heute" erstmal schluss ... bis später ...

      T Glasfaser 2 Replies Last reply Reply Quote 0
      • T
        Tomme @Tomme last edited by

        @tomme sagte in Yahka Adapter in iobroker im Docker Container:

        https://docs.buanet.de/iobroker-docker-image/docs/

        b6948012-abfd-4d61-b9f0-4761b873575f-image.png

        T 1 Reply Last reply Reply Quote 0
        • T
          Tomme @Tomme last edited by

          @tomme 0eedd489-6985-454b-9ebb-46ee2876a147-image.png

          T 1 Reply Last reply Reply Quote 0
          • T
            Tomme @Tomme last edited by

            @tomme 1aad817d-6a1b-407a-afb0-a5be1aafc7c9-image.png

            T 1 Reply Last reply Reply Quote 0
            • T
              Tomme @Tomme last edited by

              @tomme 678b22ea-3b60-4f86-8898-fec553c1c34b-image.png

              T 1 Reply Last reply Reply Quote 0
              • T
                Tomme @Tomme last edited by

                @tomme

                	iobroker npm ERR! engine Unsupported enginenpm ERR! engine Not compatible with your version of node/npm: @homebridge/ciao@1.1.6npm ERR! notsup Not compatible with your version of node/npm: @homebridge/ciao@1.1.6npm ERR! notsup Required: {"node":"^14"}npm ERR! notsup Actual: {"npm":"9.5.1","node":"v18.16.0"}
                

                wie ich das weg kriegen soll weiß ich auch nicht ... auch bei npm kommt:

                root@iobroker:/opt/iobroker/backups# npm install ciao@1.1.5
                sudo: /etc/sudo.conf is world writable
                sudo: /etc/sudo.conf is world writable
                sudo: error in /etc/sudo.conf, line 0 while loading plugin "sudoers_policy"
                sudo: /usr/lib/sudo/sudoers.so must be only be writable by owner
                sudo: fatal error, unable to load plugins
                root@iobroker:/opt/iobroker/backups# 
                
                T 1 Reply Last reply Reply Quote 0
                • T
                  ThomasK1966 @Tomme last edited by

                  @tomme
                  Moin Tomme,
                  zunächst: das eigentliche Problem mit dem Yahka-Adpater liegt hier begründet:
                  npm update issues unsupported engine warning.
                  Es gibt schon einen PullRequest zur Behebung des Fehlers. Der muss jetzt nur noch in eine neue Version einfließen.
                  Dein anderes Problem mit der "sudo.conf" müsste daran liegen, dass Du die Befehle mit sudo aufrufst. Das brauchst Du nicht, Du bist schon root.

                  Ich würde aber empfehlen zu warten, bis das eigentliche Problem gelöst ist.

                  Zu Deinem Problem, dass Du keine Backups einspielen kannst fällt mir aktuell auch nicht viel ein.
                  Eigentlich nur folgende Fragen:

                  1. Hast Du etwas an der Volumes-Konfiguration im Stack geändert?
                  2. Wie sieht Deine Konfiguration des Backitup-Adapters aus?
                    2a. Speicherort ist "NAS/Kopieren"?
                    2b. Dann unter "NAS/Kopieren" Verbindungstyp = "Copy"; den Pfad unten kannst Du leer lassen

                  Gruß Thomas

                  1 Reply Last reply Reply Quote 0
                  • T
                    Tomme last edited by

                    Guten Morgähn Thomas,
                    Backitup ist in seiner Grundeinstellung weil ich mit mount mit oder ohne sudo keine Verknüpfung zu meinem Windows Rechner hin bekomme. cifs-utils ist standardmäßig installiert und aktuell aber smbclient lässt sich auch nicht installieren wegen fehlender quellen

                    root@iobroker:/opt/iobroker# apt install smbclient -y
                    Reading package lists... Done
                    Building dependency tree... Done
                    Reading state information... Done
                    Package smbclient is not available, but is referred to by another package.
                    This may mean that the package is missing, has been obsoleted, or
                    is only available from another source
                    
                    E: Package 'smbclient' has no installation candidate
                    root@iobroker:/opt/iobroker# apt install cifs-utils -y
                    Reading package lists... Done
                    Building dependency tree... Done
                    Reading state information... Done
                    cifs-utils is already the newest version (2:6.11-3.1+deb11u1).
                    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                    root@iobroker:/opt/iobroker# mount -t cifs -o user=Tomme,password=8005,rw,file_mode=0777,dir_mode=0777,vers=2.0 //192.168.7.1/BackItUp/ /opt/iobroker/backups
                    Unable to apply new capability set.
                    root@iobroker:/opt/iobroker# 
                    

                    ich habe mir dann die Backups in /opt/iobroker/backups per sftp kopiert kann sie aber nicht sehen wenn ich auf restore gehe ... er zeigt nicht einmal das ganz frisch selbst erstellte ab ...

                    6b997886-0802-4b9a-855f-f33322b970cb-image.png

                    f329106b-c337-46fc-a7d5-11e79173b18a-image.png

                    Das mit Yahka war zwar Auslöser aber ich kann erstmal gut ohne überleben das stört mich jetzt nicht so sehr.

                    an dem stack den wir gestern erstellt haben habe ich nichts verändert siehe:

                    f72bd7c3-8790-4cca-81f1-f5877f59e33f-image.png

                    594f455e-b283-47fe-aac7-1373f7c84695-image.png

                    T Glasfaser 2 Replies Last reply Reply Quote 0
                    • T
                      ThomasK1966 @Tomme last edited by

                      @tomme
                      Wenn Du die im Ordner /opt/iobroker/backups im backitup-Adapter nicht sehen kannst, muss das an den Einstellungen im backitup-Adapter liegen.
                      Im Grunde habe ich ja schon beschrieben wie der eingestellt sein muss, damit er auf die Backups in dem Verzeichnis zugreifen kann.

                      Wie man den smbclient nachinstalliert kann ich jetzt auch nicht sagen.

                      Gruß Thomas

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        Tomme @ThomasK1966 last edited by

                        @thomask1966 sagte in Yahka Adapter in iobroker im Docker Container:

                        schon beschrieben wie der eingestellt sein muss, d

                        da sind die standardeinstellungen drin ... das würde sich ja nach dem restore erst verändern mit den gespeicherten daten
                        das Backup macht er ja auch im richtigen Pfad ... er zeigt nur beim wiederherstellen nichts an

                        0345f23f-d420-4ae0-861f-b38fdf1e3613-image.png
                        f8c38901-5a18-43ae-8bde-107d3782ed25-image.png
                        0bc21d4b-ac84-439e-9b3b-3f35429e8068-image.png
                        1556d18e-e924-4d74-a791-80353da63a91-image.png
                        b6de2aba-7d5f-4612-b2de-da6212a3875a-image.png

                        1 Reply Last reply Reply Quote 0
                        • Glasfaser
                          Glasfaser @Tomme last edited by

                          @tomme

                          zu deinem ersten Versuch zu Restore :

                          root@iobroker:/opt/iobroker# sudo iobroker stop
                          

                          lass die Finger von sudo vor ioBroker Befehle ,
                          dann

                          iobroker stop

                          gibt es nicht im Container , dafür :

                          pkill -u iobroker
                          

                          dann

                          root@iobroker:/opt/iobroker# iob start
                          

                          macht man nicht ,
                          Starte den Container über Portainer neu .

                          und :

                          root@iobroker:/opt/iobroker# iob status
                          
                          iobroker is running on this host.
                          

                          bekommst du keine Restore eingespielt , da kein

                          pkill -u iobroker
                          

                          gemacht wurde .

                          Und ... warum du so mit deine sudo Probleme hast , kann ich leider nicht erkennen !

                          T 3 Replies Last reply Reply Quote 0
                          • Glasfaser
                            Glasfaser @Tomme last edited by

                            @tomme sagte in Yahka Adapter in iobroker im Docker Container:

                            ich habe mir dann die Backups in /opt/iobroker/backups per sftp kopiert kann sie aber nicht sehen wenn ich auf restore gehe ... er zeigt nicht einmal das ganz frisch selbst erstellte ab ...

                            dann stimmt etwas nicht mit deinem Mount .

                            Schau mal auf der PI wer Besitzer deines Ordners

                            opt/iobroker

                            ist und ob dort etwas vorhanden ist .

                            T 1 Reply Last reply Reply Quote 0
                            • T
                              Tomme last edited by

                              @glasfaser sagte in Yahka Adapter in iobroker im Docker Container:

                              ass die Finger von sudo vor ioBroker Befehle ,

                              hab ich nur probiert weil ohne sudo iob an geblieben ist

                              1 Reply Last reply Reply Quote 0
                              • T
                                Tomme @Glasfaser last edited by

                                @glasfaser sagte in Yahka Adapter in iobroker im Docker Container:

                                pkill -u iobroker

                                hat funktioniert nachdem ich die datei entsprechend umbenannt habe ... suuuuuper!

                                root@iobroker:/opt/iobroker# pkill -u iobroker
                                root@iobroker:/opt/iobroker# iob status
                                iobroker is not running on this host.
                                
                                
                                Objects type: jsonl
                                States  type: jsonl
                                root@iobroker:/opt/iobroker# iob restore iobroker.tar.gz
                                host.iobroker Cannot find /opt/iobroker/backups/iobroker.tar.gz_backupiobroker.tar.gz
                                root@iobroker:/opt/iobroker# iob restore iobroker.tar.gz
                                iobroker controller daemon is not running
                                host.iobroker OK.
                                Removing current installation of iobroker.admin
                                
                                removed 24 packages in 4s
                                
                                44 packages are looking for funding
                                  run `npm fund` for details
                                Removing current installation of iobroker.backitup
                                
                                removed 147 packages in 3s
                                
                                25 packages are looking for funding
                                  run `npm fund` for details
                                Removing current installation of iobroker.discovery
                                
                                removed 43 packages in 2s
                                
                                13 packages are looking for funding
                                  run `npm fund` for details
                                host.iobroker Clear all objects and states...
                                clean 144 objects...
                                clean 103 states...
                                host.iobroker done.
                                host.iobroker Processed 0/13349 objects
                                host.iobroker Processed 200/13349 objects
                                host.iobroker Processed 400/13349 objects
                                host.iobroker Processed 600/13349 objects
                                host.iobroker Processed 800/13349 objects
                                host.iobroker Processed 1000/13349 objects
                                host.iobroker Processed 1200/13349 objects
                                host.iobroker Processed 1400/13349 objects
                                host.iobroker Processed 1600/13349 objects
                                host.iobroker Processed 1800/13349 objects
                                host.iobroker Processed 2000/13349 objects
                                host.iobroker Processed 2200/13349 objects
                                host.iobroker Processed 2400/13349 objects
                                host.iobroker Processed 2600/13349 objects
                                host.iobroker Processed 2800/13349 objects
                                host.iobroker Processed 3000/13349 objects
                                host.iobroker Processed 3200/13349 objects
                                host.iobroker Processed 3400/13349 objects
                                host.iobroker Processed 3600/13349 objects
                                host.iobroker Processed 3800/13349 objects
                                host.iobroker Processed 4000/13349 objects
                                host.iobroker Processed 4200/13349 objects
                                host.iobroker Processed 4400/13349 objects
                                host.iobroker Processed 4600/13349 objects
                                host.iobroker Processed 4800/13349 objects
                                host.iobroker Processed 5000/13349 objects
                                host.iobroker Processed 5200/13349 objects
                                host.iobroker Processed 5400/13349 objects
                                host.iobroker Processed 5600/13349 objects
                                host.iobroker Processed 5800/13349 objects
                                host.iobroker Processed 6000/13349 objects
                                host.iobroker Processed 6200/13349 objects
                                host.iobroker Processed 6400/13349 objects
                                host.iobroker Processed 6600/13349 objects
                                host.iobroker Processed 6800/13349 objects
                                host.iobroker Processed 7000/13349 objects
                                host.iobroker Processed 7200/13349 objects
                                host.iobroker Processed 7400/13349 objects
                                host.iobroker Processed 7600/13349 objects
                                host.iobroker Processed 7800/13349 objects
                                host.iobroker Processed 8000/13349 objects
                                host.iobroker Processed 8200/13349 objects
                                host.iobroker Processed 8400/13349 objects
                                host.iobroker Processed 8600/13349 objects
                                host.iobroker Processed 8800/13349 objects
                                host.iobroker Processed 9000/13349 objects
                                host.iobroker Processed 9200/13349 objects
                                host.iobroker Processed 9400/13349 objects
                                host.iobroker Processed 9600/13349 objects
                                host.iobroker Processed 9800/13349 objects
                                host.iobroker Processed 10000/13349 objects
                                host.iobroker Processed 10200/13349 objects
                                host.iobroker Processed 10400/13349 objects
                                host.iobroker Processed 10600/13349 objects
                                host.iobroker Processed 10800/13349 objects
                                host.iobroker Processed 11000/13349 objects
                                host.iobroker Processed 11200/13349 objects
                                host.iobroker Processed 11400/13349 objects
                                host.iobroker Processed 11600/13349 objects
                                host.iobroker Processed 11800/13349 objects
                                host.iobroker Processed 12000/13349 objects
                                host.iobroker Processed 12200/13349 objects
                                host.iobroker Processed 12400/13349 objects
                                host.iobroker Processed 12600/13349 objects
                                host.iobroker Processed 12800/13349 objects
                                host.iobroker Processed 13000/13349 objects
                                host.iobroker Processed 13200/13349 objects
                                13349 objects restored.
                                host.iobroker Processed 0/10804 states
                                host.iobroker Processed 200/10804 states
                                host.iobroker Processed 400/10804 states
                                host.iobroker Processed 600/10804 states
                                host.iobroker Processed 800/10804 states
                                host.iobroker Processed 1000/10804 states
                                host.iobroker Processed 1200/10804 states
                                host.iobroker Processed 1400/10804 states
                                host.iobroker Processed 1600/10804 states
                                host.iobroker Processed 1800/10804 states
                                host.iobroker Processed 2000/10804 states
                                host.iobroker Processed 2200/10804 states
                                host.iobroker Processed 2400/10804 states
                                host.iobroker Processed 2600/10804 states
                                host.iobroker Processed 2800/10804 states
                                host.iobroker Processed 3000/10804 states
                                host.iobroker Processed 3200/10804 states
                                host.iobroker Processed 3400/10804 states
                                host.iobroker Processed 3600/10804 states
                                host.iobroker Processed 3800/10804 states
                                host.iobroker Processed 4000/10804 states
                                host.iobroker Processed 4200/10804 states
                                host.iobroker Processed 4400/10804 states
                                host.iobroker Processed 4600/10804 states
                                host.iobroker Processed 4800/10804 states
                                host.iobroker Processed 5000/10804 states
                                host.iobroker Processed 5200/10804 states
                                host.iobroker Processed 5400/10804 states
                                host.iobroker Processed 5600/10804 states
                                host.iobroker Processed 5800/10804 states
                                host.iobroker Processed 6000/10804 states
                                host.iobroker Processed 6200/10804 states
                                host.iobroker Processed 6400/10804 states
                                host.iobroker Processed 6600/10804 states
                                host.iobroker Processed 6800/10804 states
                                host.iobroker Processed 7000/10804 states
                                host.iobroker Processed 7200/10804 states
                                host.iobroker Processed 7400/10804 states
                                host.iobroker Processed 7600/10804 states
                                host.iobroker Processed 7800/10804 states
                                host.iobroker Processed 8000/10804 states
                                host.iobroker Processed 8200/10804 states
                                host.iobroker Processed 8400/10804 states
                                host.iobroker Processed 8600/10804 states
                                host.iobroker Processed 8800/10804 states
                                host.iobroker Processed 9000/10804 states
                                host.iobroker Processed 9200/10804 states
                                host.iobroker Processed 9400/10804 states
                                host.iobroker Processed 9600/10804 states
                                host.iobroker Processed 9800/10804 states
                                host.iobroker Processed 10000/10804 states
                                host.iobroker Processed 10200/10804 states
                                host.iobroker Processed 10400/10804 states
                                host.iobroker Processed 10600/10804 states
                                host.iobroker Processed 10800/10804 states
                                10804 states restored.
                                Reinstalling adapter "admin" from "iobroker.admin@6.3.5"
                                
                                added 80 packages in 23s
                                
                                20 packages are looking for funding
                                  run `npm fund` for details
                                Reinstalling adapter "backitup" from "iobroker.backitup@2.6.19"
                                
                                added 94 packages in 15s
                                
                                33 packages are looking for funding
                                  run `npm fund` for details
                                System successfully restored!
                                root@iobroker:/opt/iobroker# 
                                
                                Glasfaser 1 Reply Last reply Reply Quote 0
                                • T
                                  Tomme @Glasfaser last edited by

                                  @glasfaser sagte in Yahka Adapter in iobroker im Docker Container:

                                  Starte den Container über Portainer neu

                                  danach:

                                  root@iobroker:/opt/iobroker# iob status
                                  iobroker is not running on this host.
                                  
                                  
                                  Objects type: jsonl
                                  States  type: jsonl
                                  root@iobroker:/opt/iobroker#
                                  

                                  haut also auch hin suuuuuper!!!!!

                                  1 Reply Last reply Reply Quote 0
                                  • Glasfaser
                                    Glasfaser @Tomme last edited by Glasfaser

                                    @tomme sagte in Yahka Adapter in iobroker im Docker Container:

                                    hat funktioniert nachdem ich die datei entsprechend umbenannt habe

                                    Klar funktioniert das ..

                                    hätte auch der Kollege @ThomasK1966 sehen soll.

                                    @ThomasK1966
                                    wollst du das nicht in deiner Wiki aufnehmen 😉

                                    T T 3 Replies Last reply Reply Quote 0
                                    • T
                                      Tomme @Glasfaser last edited by

                                      @glasfaser sagte in Yahka Adapter in iobroker im Docker Container:

                                      pkill -u iobroker

                                      geht das auch im Portainer mit Kill? da wo restart stop und so mit ist?

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        Tomme @Glasfaser last edited by

                                        @glasfaser

                                        das ist meine schuld ... das hatte ich schon iwo gelesen ... sorry

                                        1 Reply Last reply Reply Quote 0
                                        • T
                                          Tomme @Glasfaser last edited by

                                          @glasfaser

                                          mache ich was falsch wenn ich mir das so weg speichere?

                                          # ioBroker
                                          docker pull buanet/iobroker
                                          docker run -p 8081:8081 --name iobroker --restart always -h iobroker buanet/iobroker -v iobrokerdata:/opt/iobroker # einfacher Start ohne Compose und Portainer
                                          
                                          # für Compose
                                          mkdir /home/pi/iobroker
                                          cd /home/pi/iobroker
                                          nano docker-compose.yml
                                          
                                          # Docker Compose oder besser als Stack im Portainer eintragen
                                          
                                          version: '3'
                                          
                                          services:
                                            iobroker:
                                              container_name: iobroker
                                              image: buanet/iobroker:latest
                                              hostname: iobroker
                                              network_mode: "host"
                                              restart: always
                                              environment:
                                                 AVHAI: true
                                              volumes:
                                                 - /opt/iobroker:/opt/iobroker
                                          
                                          # entweder mit Compose oder gleich als stack im portainer (einfacher)
                                          docker compose up -d
                                          docker compose logs -f
                                          
                                          http://192.168.7.39:8081/
                                          
                                          pkill -u iobroker # stoppt iobroker im Container (iob stop geht nicht!)
                                          
                                          Glasfaser 1 Reply Last reply Reply Quote 1
                                          • T
                                            ThomasK1966 @Glasfaser last edited by

                                            Klar funktioniert das ..

                                            hätte auch der Kollege @ThomasK1966 sehen soll.

                                            @ThomasK1966
                                            wollst du das nicht in deiner Wiki aufnehmen 😉

                                            Ich arbeite eher selten mit Konsolenommandos. Daher kannte ich diesen Weg nicht.
                                            Ich konnte die Backups direkt über die ioBroker-Oberfläche einspielen.

                                            Das Wiki ist quasi meine persönliche Wissenssammlung, damit ich nicht immer wieder googeln muss und dann häufig nur Seiten auf Englisch finde (nicht ioBroker, aber andere Themen).
                                            Aufnehmen werde ich den Befehl nicht, da ich den ja nicht benutzt habe und daher auch keinem Thema zuordnen kann.

                                            Gruß Thomas

                                            Glasfaser T 2 Replies Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            433
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            255
                                            21899
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo