Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [HowTo] ioBroker unter Docker auf Synology DiskStation

    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

    [HowTo] ioBroker unter Docker auf Synology DiskStation

    This topic has been deleted. Only users with topic management privileges can see it.
    • haselchen
      haselchen Most Active @mcBirne last edited by

      @mcBirne

      Welche Version des Containers hast du denn momentan?
      V3, V4, V5?
      Wenn alles läuft, warum das Risiko eingehen?

      mcBirne 1 Reply Last reply Reply Quote 0
      • H
        Hohenbostler last edited by

        Hey zusammen. Welches Docker Image könnt ihr denn aktuell empfehlen ? Ich bin bei der Version 4.2.0

        haselchen 1 Reply Last reply Reply Quote 0
        • haselchen
          haselchen Most Active @Hohenbostler last edited by

          @Hohenbostler

          Auch hier die Frage, wieso wechseln wenn alles läuft?

          H 1 Reply Last reply Reply Quote 0
          • mcBirne
            mcBirne @haselchen last edited by

            @haselchen
            wo kann ich die Version sehen?

            F 1 Reply Last reply Reply Quote 0
            • H
              Hohenbostler @haselchen last edited by

              @haselchen Weil meines wiisens auch neue Features in neue Versionen eingebaut wurden. Expliziet weiß ich aber auch nicht welche

              haselchen 1 Reply Last reply Reply Quote 0
              • haselchen
                haselchen Most Active @Hohenbostler last edited by haselchen

                @Hohenbostler sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

                @haselchen Weil meines wiisens auch neue Features in neue Versionen eingebaut wurden. Expliziet weiß ich aber auch nicht welche

                Dann sollte man auch nicht updaten 😉

                Changelog:
                https://github.com/buanet/docker-iobroker

                1 Reply Last reply Reply Quote 0
                • F
                  fastfoot @mcBirne last edited by

                  @mcBirne sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

                  @haselchen
                  wo kann ich die Version sehen?

                  auf der Konsole:

                  root@myiobroker2:/opt/iobroker# cat ../scripts/iobr*sh|grep image                                                                                                                                                                    
                  echo -n "-----               " && echo -n "$(printf "%-10s %-23s" image: v5.0.2beta)" && echo " -----"  
                  
                  mcBirne 1 Reply Last reply Reply Quote 0
                  • mcBirne
                    mcBirne @fastfoot last edited by

                    @fastfoot
                    Ich kann in der konsole twar etwas eingeben, aber ich erhalte keine Rückmeldung.

                    F 1 Reply Last reply Reply Quote 0
                    • F
                      fastfoot @mcBirne last edited by

                      @mcBirne sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

                      @fastfoot
                      Ich kann in der konsole twar etwas eingeben, aber ich erhalte keine Rückmeldung.

                      siehst du denn so etwas überhaupt?

                      root@myiobroker2:/opt/iobroker
                      

                      sonst mal in der GUI vom Docker/Portainer schauen wie du da hinkommst

                      mcBirne 1 Reply Last reply Reply Quote 0
                      • mcBirne
                        mcBirne @fastfoot last edited by

                        @fastfoot
                        nein, ist nur schwarz mit dem Promt

                        mcBirne 1 Reply Last reply Reply Quote 0
                        • mcBirne
                          mcBirne @mcBirne last edited by

                          Ich habe Version 5.0 installiert

                          mcBirne 1 Reply Last reply Reply Quote 0
                          • mcBirne
                            mcBirne @mcBirne last edited by

                            also reicht das Update vom NodeJs.

                            F 1 Reply Last reply Reply Quote 0
                            • F
                              fastfoot @mcBirne last edited by

                              @mcBirne sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

                              also reicht das Update vom NodeJs.

                              die 5.0 ist doch recht aktuell, was node betrifft, da sollte node12.18.3 drauf sein, die neueste ist 12.18.4, also nicht unbedingt nötig.

                              mcBirne 1 Reply Last reply Reply Quote 0
                              • mcBirne
                                mcBirne @fastfoot last edited by

                                @fastfoot
                                ok, aber so kann ich es mal ausprobieren. Es ist die 12.18.3 drauf. Wie kann man es auf die 12.18.4 updaten?

                                mcBirne 1 Reply Last reply Reply Quote 0
                                • mcBirne
                                  mcBirne @mcBirne last edited by

                                  @mcBirne
                                  Die Lösung:
                                  sudo npm cache clean -f
                                  sudo npm install -g n
                                  sudo n stable
                                  Möchte man eine bestimmte Version installieren, so geht das so:

                                  Die Version installieren
                                  sudo n 12.18.4

                                  Prüfen ob es die aktuelle Version ist
                                  node -v

                                  Dann einen Neustart vom IO Broker und es läuft.

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

                                    @mcBirne sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

                                    sudo

                                    du bist root im Docker !

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

                                      @Glasfaser
                                      Ist das nicht nötig für das Update?

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

                                        @mcBirne sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

                                        Ist das nicht nötig für das Update?

                                        Im Docker spielt man nicht rum mit sudo.

                                        Update Node/NPM

                                        apt update
                                        apt upgrade
                                        
                                        F 1 Reply Last reply Reply Quote 0
                                        • Glasfaser
                                          Glasfaser @mcBirne last edited by

                                          @mcBirne sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

                                          Prüfen ob es die aktuelle Version ist
                                          node -v

                                          Was soll das bringen mit einem Befehl prüfen ... wenn du es schief installiert hast bekommt du nur die node und was ist mit nodejs .... und mit dem Verzeichnis Prüfen ob es das richtige ist .

                                          schau mal hier ... dort ist es sehr gut von Thomas-Braun erklärt :
                                          [HowTo] Nodejs-Installation und Upgrades unter Debian

                                          Unter dem Punkt Check erklärt :

                                          which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs 
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • F
                                            fastfoot @Glasfaser last edited by

                                            @Glasfaser sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

                                            Im Docker spielt man nicht rum mit sudo.

                                            hier braucht es sudo um die neueste npm zu installieren, ist jedenfalls bei jedem image von buanet so, gefühlt schon 'immer'

                                            root@iobstable:/opt/iobroker# npm install -g npm                                                                                                                                                                                     
                                            npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/cliui/node_modules/ansi-regex                                                                                                               
                                            npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/cliui/node_modules/strip-ansi                                                                                                               
                                            npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/dot-prop                                                                                                                                    
                                            npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/configstore                                                                                                                                 
                                            usw.
                                            

                                            die Rechte

                                            root@iobstable:/opt/iobroker# ls -la /usr/lib/node_modules/npm/node_modules                                                                                                                                                          
                                            insgesamt 1484                                                                                                                                                                                                                       
                                            drwxr-xr-x 1 root root 4096 Sep 28 14:12 .                                                                                                                                                                                           
                                            drwxr-xr-x 1 root root 4096 Sep 28 14:12 ..                                                                                                                                                                                          
                                            drwxr-xr-x 2 root root 4096 Sep 28 14:12 abbrev                                                                                                                                                                                      
                                            drwxr-xr-x 2 root root 4096 Sep 28 14:12 agent-base                                                                                                                                                                                  
                                            drwxr-xr-x 3 root root 4096 Sep 28 14:12 agentkeepalive         
                                            
                                            Glasfaser 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

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

                                            456
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            buanet diskstation docker iobroker synology
                                            248
                                            2854
                                            1420859
                                            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