Skip to content

OpenCloud - Docker Compose local

Verschoben OpenCloud
3 1 609
  • Docker Compose entspricht den Nextcloud AIO Images. In dieser Umgebung ist alles drin, was wir haben möchten 😉 Collabora usw.

    Installation

    Laut Anleitung -> https://docs.opencloud.eu/docs/admin/getting-started/container/docker-compose-local

    git clone https://github.com/opencloud-eu/opencloud.git
    cd opencloud/deployments/examples/opencloud_full
    docker compose up -d
    

    Etwas warten und fertig. Da ich das auf einer Proxmox VM laufen habe, muss ich auf meinem Hauptrechner noch die /etc/hosts anpassen.

    192.168.3.22    cloud.opencloud.test
    192.168.3.22    collabora.opencloud.test
    192.168.3.22    wopiserver.opencloud.test
    

    Damit weiß dann der Haupt-PC wo er suchen muss. Das klappt auch einwandfrei.

    Aktualisieren

    Da kam direkt heute ein neues Release raus, also stand ich vor dem Problem "Wie aktualisiere ich das?"

    Ist gar nicht so schwer 🙂

    In das Verzeichnis wechseln, bei mir

    cd /home/frank/opencloud
    

    Wir holen mal alles Neue

    root@debian:/home/frank/opencloud# git fetch
    remote: Enumerating objects: 297, done.
    remote: Counting objects: 100% (224/224), done.
    remote: Compressing objects: 100% (104/104), done.
    remote: Total 297 (delta 140), reused 152 (delta 119), pack-reused 73 (from 1)
    Empfange Objekte: 100% (297/297), 691.77 KiB | 7.13 MiB/s, fertig.
    Löse Unterschiede auf: 100% (141/141), abgeschlossen mit 85 lokalen Objekten.
    Von https://github.com/opencloud-eu/opencloud
       d2da6a6b2..58354ff23  main                                          -> origin/main
     * [neuer Branch]        add-claude-github-actions-1747683201110       -> origin/add-claude-github-actions-1747683201110
     * [neuer Branch]        dependabot/go_modules/github.com/olekukonko/tablewriter-1.0.6 -> origin/dependabot/go_modules/github.com/olekukonko/tablewriter-1.0.6
     * [neuer Branch]        dependabot/go_modules/golang.org/x/net-0.40.0 -> origin/dependabot/go_modules/golang.org/x/net-0.40.0
     * [neuer Branch]        dependabot/npm_and_yarn/services/idp/i18next-conv-15.1.1 -> origin/dependabot/npm_and_yarn/services/idp/i18next-conv-15.1.1
     * [neuer Branch]        dependabot/npm_and_yarn/services/idp/types/node-22.15.19 -> origin/dependabot/npm_and_yarn/services/idp/types/node-22.15.19
     * [neues Tag]           v2.3.0                                        -> v2.3.0
    

    Das git Tag 2.3.0 ist neu.

    root@debian:/home/frank/opencloud# git tag -l
    public_avail
    v1.0.0
    v1.1.0
    v1.1.0-alpha.1
    v1.1.0-alpha.2
    v1.1.0-alpha.3
    v1.1.0-alpha.4
    v2.0.0
    v2.0.0-beta.1
    v2.0.1
    v2.0.2
    v2.1.0
    v2.2.0
    v2.3.0
    

    Wir aktualisieren den main Zweig

    root@debian:/home/frank/opencloud# git pull origin main
    Von https://github.com/opencloud-eu/opencloud
     * branch                main       -> FETCH_HEAD
    Aktualisiere d2da6a6b2..58354ff23
    Fast-forward
     .woodpecker.env                                                                        |   2 +-
     .woodpecker.star                                                                       | 104 +++++++++++++++++--------
     CHANGELOG.md                                                                           |  58 ++++++++++++++
     go.mod                                                                                 |   6 +-
     go.sum                                                                                 |  12 +--
     pkg/version/version.go                                                                 |   2 +-
     services/web/Makefile                                                                  |   2 +-
     vendor/github.com/segmentio/kafka-go/Makefile                                          |   2 +-
     vendor/github.com/segmentio/kafka-go/README.md                                         |   7 +-
     vendor/github.com/segmentio/kafka-go/batch.go                                          |   2 +-
     vendor/github.com/segmentio/kafka-go/conn.go                                           |  19 +++--
     vendor/github.com/segmentio/kafka-go/consumergroup.go                                  |  20 ++---
     vendor/github.com/segmentio/kafka-go/createtopics.go                                   | 102 +++++++++++++++++++------
     vendor/github.com/segmentio/kafka-go/deletetopics.go                                   |  54 +++++++++----
     vendor/github.com/segmentio/kafka-go/describeclientquotas.go                           |   2 +-
     vendor/github.com/segmentio/kafka-go/docker-compose-241.yml                            |  32 --------
     vendor/github.com/segmentio/kafka-go/docker-compose.010.yml                            |  29 -------
     vendor/github.com/segmentio/kafka-go/docker-compose.yml                                |  61 ++++++++-------
     vendor/github.com/segmentio/kafka-go/error.go                                          |   9 +++
     vendor/github.com/segmentio/kafka-go/joingroup.go                                      |  47 ++++++++----
     vendor/github.com/segmentio/kafka-go/listgroups.go                                     |   2 +-
     vendor/github.com/segmentio/kafka-go/listoffset.go                                     |   2 +-
     vendor/github.com/segmentio/kafka-go/metadata.go                                       |   2 +-
     vendor/github.com/segmentio/kafka-go/offsetfetch.go                                    |   2 +-
     vendor/github.com/segmentio/kafka-go/protocol/record.go                                |   4 +-
     vendor/github.com/segmentio/kafka-go/reader.go                                         |   6 +-
     vendor/github.com/segmentio/kafka-go/record.go                                         |   2 +-
     vendor/github.com/segmentio/kafka-go/writer.go                                         |   2 +-
     .../google.golang.org/grpc/internal/resolver/delegatingresolver/delegatingresolver.go  | 173 ++++++++++++++++++++++++++++--------------
     vendor/google.golang.org/grpc/internal/transport/http2_client.go                       |   5 +-
     vendor/google.golang.org/grpc/internal/transport/http_util.go                          |   4 +-
     vendor/google.golang.org/grpc/version.go                                               |   2 +-
     vendor/modules.txt                                                                     |   6 +-
     33 files changed, 501 insertions(+), 283 deletions(-)
     delete mode 100644 vendor/github.com/segmentio/kafka-go/docker-compose-241.yml
     delete mode 100644 vendor/github.com/segmentio/kafka-go/docker-compose.010.yml
    

    Wir wechseln nach

    cd deployments/examples/opencloud_full
    

    Wir holen mal alle neuen Container usw.

    root@debian:/home/frank/opencloud/deployments/examples/opencloud_full# docker compose pull
        [+] Pulling 15/15
         ✔ collaboration Skipped - Image is already being pulled by opencloud                                                               0.0s 
         ✔ collabora Pulled                                                                                                                 1.3s 
         ✔ traefik Pulled                                                                                                                   1.3s 
         ✔ progressbars-init Pulled                                                                                                         1.3s 
         ✔ opencloud Pulled                                                                                                                 4.5s 
           ✔ 0a9a5dfd008f Already exists                                                                                                    0.0s 
           ✔ c9b09d489a24 Pull complete                                                                                                     1.6s 
           ✔ c963d7215d91 Pull complete                                                                                                     1.6s 
           ✔ afc20667da18 Pull complete                                                                                                     1.7s 
           ✔ 4f4fb700ef54 Pull complete                                                                                                     1.7s 
           ✔ 75dc51477ecf Pull complete                                                                                                     2.5s 
         ✔ externalsites-init Pulled                                                                                                        1.3s 
         ✔ drawio-init Pulled                                                                                                               1.3s 
         ✔ jsonviewer-init Pulled                                                                                                           1.3s 
         ✔ unzip-init Pulled                                                                                                                1.3s     
    

    Und den compose komplett aktualisieren

    root@debian:/home/frank/opencloud/deployments/examples/opencloud_full# docker compose up -d
    [+] Running 9/9
     ✔ Container opencloud_full-externalsites-init-1  Exited                                                                           15.0s 
     ✔ Container opencloud_full-unzip-init-1          Exited                                                                           15.0s 
     ✔ Container opencloud_full-traefik-1             Running                                                                           0.0s 
     ✔ Container opencloud_full-jsonviewer-init-1     Exited                                                                           15.0s 
     ✔ Container opencloud_full-collabora-1           Healthy                                                                          15.8s 
     ✔ Container opencloud_full-drawio-init-1         Exited                                                                           15.0s 
     ✔ Container opencloud_full-progressbars-init-1   Exited                                                                           15.0s 
     ✔ Container opencloud_full-opencloud-1           Started                                                                          15.3s 
     ✔ Container opencloud_full-collaboration-1       Started                                                                          12.7s 
    

    Danach war die Installation auf dem neuesten Stand.

    c0c78cca-c7ad-4288-a342-273d7ccc6acd-image.png

    An die Docker Profis, was falsch? Bitte kommentieren. Danke!

  • Personal Folder

    d8ef4a9d-9f2a-4781-983c-8e4e36751e24-image.png

    draw.io

    070a49a8-dd23-4412-939c-cd57f1f686bc-image.png

    Collabora

    bdf8f2d7-ee6f-452e-9775-2f10f90cbf3b-image.png

    ce4464f5-6c07-4da1-b0b7-c03467077026-image.png

    Spaces

    c861f04f-63ca-430a-95db-89be53556bf7-image.png

    App Store

    c80b66b8-03c6-4d05-bb1f-a10c68463a6b-image.png

    Admin Settings

    e4595575-b5d3-49da-9b20-3dd69f1b4fcf-image.png

  • Noch was Wichtiges. Die Docker Installation nutzt folgende config. In meinem Beispiel findet man sie unter

    /home/frank/opencloud/deployments/examples/opencloud_full
    

    Darin liegt ein .env

    ## Basic Settings ##
    # Define the docker compose log driver used.
    # Defaults to local
    LOG_DRIVER=
    # If you're on an internet facing server, comment out following line.
    # It skips certificate validation for various parts of OpenCloud and is
    # needed when self signed certificates are used.
    INSECURE=true
    
    
    ## Traefik Settings ##
    # Note: Traefik is always enabled and can't be disabled.
    # Serve Traefik dashboard.
    # Defaults to "false".
    TRAEFIK_DASHBOARD=
    # Domain of Traefik, where you can find the dashboard.
    # Defaults to "traefik.opencloud.test"
    TRAEFIK_DOMAIN=
    # Basic authentication for the traefik dashboard.
    # Defaults to user "admin" and password "admin" (written as: "admin:$2y$05$KDHu3xq92SPaO3G8Ybkc7edd51pPLJcG1nWk3lmlrIdANQ/B6r5pq").
    # To create user:password pair, it's possible to use this command:
    # echo $(htpasswd -nB user) | sed -e s/\\$/\\$\\$/g
    TRAEFIK_BASIC_AUTH_USERS=
    # Email address for obtaining LetsEncrypt certificates.
    # Needs only be changed if this is a public facing server.
    TRAEFIK_ACME_MAIL=
    # Set to the following for testing to check the certificate process:
    # "https://acme-staging-v02.api.letsencrypt.org/directory"
    # With staging configured, there will be an SSL error in the browser.
    # When certificates are displayed and are emitted by # "Fake LE Intermediate X1",
    # the process went well and the envvar can be reset to empty to get valid certificates.
    TRAEFIK_ACME_CASERVER=
    [....gekürzt....]
    

    Man kann dort etwas ändern und mittels

    docker compose up -d
    

    alles aktualisieren.

    Radicale

    OpenCloud nutzt im Moment folgendes

    als Backend Server für Kalender & Kontakte. Jemand hat mir dann erklärt, wie das so funktioniert. Danach hatte es dann klick gemacht.

    In der config findet man zum Beispiel die Konfiguration für radicale (Kalender- und Kontakte-App) Das ist nur eine rudimentäre Ablage, wird gesteuert über Clienten, z.B. die Thunderbird Kalender Funktion.

    ### Radicale Setting ###
    # Radicale is a small open-source CalDAV (calendars, to-do lists) and CardDAV (contacts) server.
    # When enabled OpenCloud is configured as a reverse proxy for Radicale, providing all authenticated
    # OpenCloud users access to a Personal Calendar and Addressbook
    RADICALE=:radicale.yml
    # Docker image to use for the Radicale Container
    #RADICALE_DOCKER_IMAGE=opencloudeu/radicale
    # Docker tag to pull for the Radicale Container
    #RADICALE_DOCKER_TAG=latest
    # Define the storage location for the Radicale data. Set the path to a local path.
    # Ensure that the configuration and data directories are owned by the user and group with ID 1000:1000.
    # This matches the default user inside the container and avoids permission issues when accessing files.
    # Leaving it default stores data in docker internal volumes.
    #RADICALE_DATA_DIR=/your/local/radicale/data
    

    In einer Standard Installation ist das auskommentiert.

    RADICALE=:radicale.yml
    

    Danach ein

    docker compose up -d
    

    und Eure Kalendereinträge (extern auf einem Clienten verwaltet) werden in der OpenCloud gesichert.

  • FrankMF FrankM hat am auf dieses Thema verwiesen
  • FrankMF FrankM verschob dieses Thema von Linux am
  • Ich könnte es vielleicht doch noch zu Lebzeiten erleben.

    Uncategorized kipppunkte linux
    1
    0 Stimmen
    1 Beiträge
    33 Aufrufe
    Niemand hat geantwortet
  • OpenSource - Donations 2024

    Allgemeine Diskussionen opensource linux donations
    1
    0 Stimmen
    1 Beiträge
    400 Aufrufe
    Niemand hat geantwortet
  • Redis ändert das Lizenz Modell

    Redis redis linux
    2
    0 Stimmen
    2 Beiträge
    235 Aufrufe
    FrankMF
    Ein Artikel von Heise zum Thema https://www.heise.de/news/Datenbankanbieter-Redis-aendert-sein-Lizenzmodell-erneut-9661949.html?wt_mc=sm.red.ho.mastodon.mastodon.md_beitraege.md_beitraege&utm_source=mastodon
  • Plasma 6

    Linux kde plasma6 linux manjaro
    1
    1
    0 Stimmen
    1 Beiträge
    168 Aufrufe
    Niemand hat geantwortet
  • Debian 12 Bookworm - Release 12.1

    Linux debian linux
    1
    0 Stimmen
    1 Beiträge
    167 Aufrufe
    Niemand hat geantwortet
  • Kopia 0.7.x released

    Kopia kopia linux
    1
    0 Stimmen
    1 Beiträge
    252 Aufrufe
    Niemand hat geantwortet
  • Kopia - HTTP/S Server

    Verschoben Kopia kopia linux
    3
    2
    0 Stimmen
    3 Beiträge
    2k Aufrufe
    FrankMF
    Ich hatte ein paar Probleme, die ich mir teilweise nicht erklären kann Ich möchte den Kopia Server gerne über systemd steuern. SystemD [Unit] Description=Kopia Server After=syslog.target After=network.target [Service] Type=simple User=kopia Group=kopia ExecStart=/usr/bin/kopia server --tls-cert-file /home/kopia-server/fullchain.pem --tls-key-file /home/kopia-server/privkey.pem --htpasswd-file /home/kopia-server/.htpasswd --address <IPv4>:51515 Restart=always RestartSec=5 [Install] WantedBy=multi-user.target Danach systemctl daemon-reload systemctl start kopia-server Mit systemctl status kopia-server kann man sich den Status anzeigen lassen. Client Rechner Auf dem Client, der das Backup zum Server schicken soll, machen wir dann folgendes. USER@HOSTNAME:~$ kopia repo connect server --url=https://<DOMAIN>:51515 --override-username=USER --override-hostname=HOSTNAME Enter password to open repository: Connected to repository API Server. NOTICE: Kopia will check for updates on GitHub every 7 days, starting 24 hours after first use. To disable this behavior, set environment variable KOPIA_CHECK_FOR_UPDATES=false Alternatively you can remove the file "/home/frank/.config/kopia/repository.config.update-info.json". Danach steht die Verbindung und wir können Backups hochschieben. kopia snapshot create $HOME Damit wird das Homeverzeichnis gesichert. Das initiale Backup, hat 30 Minuten gebraucht. created snapshot with root kb9e50ff5xxxxxxxxxx265d40a5d0861 and ID cda5c0ffxxxxxxxxxxxxxxa4cb4a367b in 30m28s Ein späteres Backup, sieht so aus. USER@HOSTNAME:~$ kopia snapshot create $HOME Snapshotting USER@HOSTNAME:/home/frank ... * 0 hashing, 51 hashed (324.8 MB), 8524 cached (6.6 GB), 0 uploaded (0 B), 0 errors 100.0% Created snapshot with root kc20a4xxxxxxxxxxxx745c6c7b37c and ID d7a96eaxxxxxxxxxxx0961018eacffa in 3m12s Nach 3 Minuten durch. Zu diesem Zeitpunkt hat sich aber auch nicht wirklich was geändert! Fazit Das Tool macht immer noch einen sehr guten Eindruck. Die Geschwindigkeit ist sehr gut. Die Anleitung ist leider unzureichend. Da gibt es so viele Möglichkeiten, da braucht es sehr lange, bis man da mal durchsteigt. Zum Glück, ist das was man normalerweise braucht, recht überschaubar. Bis zum produktiven Einsatz braucht das aber bei mir noch eine Menge mehr Tests. Was ich noch testen möchte Verzeichnis mounten Backup testweise wieder herstellen (zumindestens teilweise) Der Test läuft mit Standard Einstellungen, also z.B. ohne Kompression. Das sollte man dann auch mal testen.. Bitte achtet auf gleiche Versionen auf dem Clienten, wie auf dem Server. Ich meine da ein paar Probleme festgestellt zu haben...
  • NVMe Firmware - Daten werden benötigt

    Linux linux
    1
    0 Stimmen
    1 Beiträge
    757 Aufrufe
    Niemand hat geantwortet