Skip to content

OpenCloud - Minio Integration

Verschoben OpenCloud
2 1 71
  • Die Konfiguration zeigt einem aber auch immer schöne neue Sachen, die man unbedingt ausprobieren muss 🙂 Eines, wo ich beim Lesen der Konfiguration gestolpert bin, ist die Minio / S3 Integration. Wie praktisch, wenn man einen Minio-Server schon laufen hat.

    # S3 Storage configuration - optional
    # OpenCloud supports S3 storage as primary storage.
    # Per default, S3 storage is disabled and the decomposed storage driver is used.
    # To enable S3 storage, uncomment the following line and configure the S3 storage.
    # For more details see:
    # https://docs.opencloud.eu/docs/admin/configuration/storage-decomposeds3
    # Note: the leading colon is required to enable the service.
    DECOMPOSEDS3=:decomposeds3.yml
    # Configure the S3 storage endpoint. Defaults to "http://minio:9000" for testing purposes.
    DECOMPOSEDS3_ENDPOINT=https://minio.example.org
    # S3 region. Defaults to "default".
    DECOMPOSEDS3_REGION=default
    # S3 access key. Defaults to "opencloud"
    DECOMPOSEDS3_ACCESS_KEY=<ACCESS KEY>
    # S3 secret. Defaults to "opencloud-secret-key"
    DECOMPOSEDS3_SECRET_KEY=<SECRET KEY>
    # S3 bucket. Defaults to "opencloud"
    DECOMPOSEDS3_BUCKET=opencloud-bucket
    #
    # For testing purposes, add local minio S3 storage to the docker-compose file.
    # The leading colon is required to enable the service.
    #DECOMPOSEDS3_MINIO=:minio.yml
    # Minio domain. Defaults to "minio.opencloud.test".
    MINIO_DOMAIN=https://minio.example.org
    

    So, das ist die funktionierende Konfiguration. Bitte drauf achten, wie ihr Eure Minio Installation erreicht, meine Installation ist so aufgebaut das ich keine Ports brauche. Hatte am Anfang aber mit :9000 getestet. Das führte aber zu kaputten Files.

    069d1bf8-da52-4237-9c47-92f8168dfd42-image.png

    Rechts unten, bei der Eieruhr stand dann This item is in processing Das ging auch durch einen kompletter Neustart nicht weg.

    Also heute morgen mal bei den Entwicklern im Matrix Channel nachgefragt. Wenige Minuten später die Antwort. Danke schön dafür!

    Ab in die Bash des Containers.

    docker exec -it opencloud_full-opencloud-1 bash
    

    Dann hatte ich das hier eingegeben.

    ccca410bf52a:~$ opencloud storage-users uploads sessions
    Sessions:
    +--------------------------------------+--------------------------------------+--------------------------------+---------+---------+--------------------------------------+--------------------------------------+----------------------+------------+----------------------+-------------+
    |                Space                 |              Upload Id               |              Name              | Offset  |  Size   |              Executant               |                Owner                 |       Expires        | Processing |      Scan Date       | Scan Result |
    +--------------------------------------+--------------------------------------+--------------------------------+---------+---------+--------------------------------------+--------------------------------------+----------------------+------------+----------------------+-------------+
    | 2b5892f1-6110-4a8c-a86c-b743d85db6da | 008e8ab1-6841-4e2a-8cf4-178c7220aefb | Delta Force   20.12.2024       |  848052 |  848052 | 2b5892f1-6110-4a8c-a86c-b743d85db6da | 2b5892f1-6110-4a8c-a86c-b743d85db6da | 2025-05-31T07:01:03Z | true       | 0001-01-01T00:00:00Z |             |
    |                                      |                                      | 16_59_27.png                   |         |         |                                      |                                      |                      |            |                      |             |
    | 2b5892f1-6110-4a8c-a86c-b743d85db6da | 2c96a3f3-10f3-4490-a3d1-05c2c013c030 | New file.txt                   |       9 |       9 | 2b5892f1-6110-4a8c-a86c-b743d85db6da | 2b5892f1-6110-4a8c-a86c-b743d85db6da | 2025-05-31T07:01:49Z | true       | 0001-01-01T00:00:00Z |             |
    | 2b5892f1-6110-4a8c-a86c-b743d85db6da | c3a75ec3-610b-4601-b839-fe109eeea53f | Delta Force   20.12.2024       | 1771546 | 1771546 | 2b5892f1-6110-4a8c-a86c-b743d85db6da | 2b5892f1-6110-4a8c-a86c-b743d85db6da | 2025-05-31T07:06:48Z | true       | 0001-01-01T00:00:00Z |             |
    |                                      |                                      | 17_25_21.png                   |         |         |                                      |                                      |                      |            |                      |             |
    +--------------------------------------+--------------------------------------+--------------------------------+---------+---------+--------------------------------------+--------------------------------------+----------------------+------------+----------------------+-------------+
    ccca410bf52a:~$ opencloud storage-users uploads sessions --resume
    Sessions:
    +--------------------------------------+--------------------------------------+--------------------------------+---------+---------+--------------------------------------+--------------------------------------+----------------------+------------+----------------------+-------------+
    |                Space                 |              Upload Id               |              Name              | Offset  |  Size   |              Executant               |                Owner                 |       Expires        | Processing |      Scan Date       | Scan Result |
    +--------------------------------------+--------------------------------------+--------------------------------+---------+---------+--------------------------------------+--------------------------------------+----------------------+------------+----------------------+-------------+
    | 2b5892f1-6110-4a8c-a86c-b743d85db6da | 008e8ab1-6841-4e2a-8cf4-178c7220aefb | Delta Force   20.12.2024       |  848052 |  848052 | 2b5892f1-6110-4a8c-a86c-b743d85db6da | 2b5892f1-6110-4a8c-a86c-b743d85db6da | 2025-05-31T07:01:03Z | true       | 0001-01-01T00:00:00Z |             |
    |                                      |                                      | 16_59_27.png                   |         |         |                                      |                                      |                      |            |                      |             |
    | 2b5892f1-6110-4a8c-a86c-b743d85db6da | 2c96a3f3-10f3-4490-a3d1-05c2c013c030 | New file.txt                   |       9 |       9 | 2b5892f1-6110-4a8c-a86c-b743d85db6da | 2b5892f1-6110-4a8c-a86c-b743d85db6da | 2025-05-31T07:01:49Z | true       | 0001-01-01T00:00:00Z |             |
    | 2b5892f1-6110-4a8c-a86c-b743d85db6da | c3a75ec3-610b-4601-b839-fe109eeea53f | Delta Force   20.12.2024       | 1771546 | 1771546 | 2b5892f1-6110-4a8c-a86c-b743d85db6da | 2b5892f1-6110-4a8c-a86c-b743d85db6da | 2025-05-31T07:06:48Z | true       | 0001-01-01T00:00:00Z |             |
    |                                      |                                      | 17_25_21.png                   |         |         |                                      |                                      |                      |            |                      |             |
    +--------------------------------------+--------------------------------------+--------------------------------+---------+---------+--------------------------------------+--------------------------------------+----------------------+------------+----------------------+-------------+
    ccca410bf52a:~$ opencloud storage-users uploads sessions --resume
    Sessions:
    +--------------------------------------+--------------------------------------+--------------------------------+--------+--------+--------------------------------------+--------------------------------------+----------------------+------------+----------------------+-------------+
    |                Space                 |              Upload Id               |              Name              | Offset |  Size  |              Executant               |                Owner                 |       Expires        | Processing |      Scan Date       | Scan Result |
    +--------------------------------------+--------------------------------------+--------------------------------+--------+--------+--------------------------------------+--------------------------------------+----------------------+------------+----------------------+-------------+
    | 2b5892f1-6110-4a8c-a86c-b743d85db6da | 008e8ab1-6841-4e2a-8cf4-178c7220aefb | Delta Force   20.12.2024       | 848052 | 848052 | 2b5892f1-6110-4a8c-a86c-b743d85db6da | 2b5892f1-6110-4a8c-a86c-b743d85db6da | 2025-05-31T07:01:03Z | true       | 0001-01-01T00:00:00Z |             |
    |                                      |                                      | 16_59_27.png                   |        |        |                                      |                                      |                      |            |                      |             |
    +--------------------------------------+--------------------------------------+--------------------------------+--------+--------+--------------------------------------+--------------------------------------+----------------------+------------+----------------------+-------------+
    ccca410bf52a:~$ opencloud storage-users uploads sessions
    Sessions:
    +--------------------------------------+--------------------------------------+--------------------------------+--------+--------+--------------------------------------+--------------------------------------+----------------------+------------+----------------------+-------------+
    |                Space                 |              Upload Id               |              Name              | Offset |  Size  |              Executant               |                Owner                 |       Expires        | Processing |      Scan Date       | Scan Result |
    +--------------------------------------+--------------------------------------+--------------------------------+--------+--------+--------------------------------------+--------------------------------------+----------------------+------------+----------------------+-------------+
    | 2b5892f1-6110-4a8c-a86c-b743d85db6da | 008e8ab1-6841-4e2a-8cf4-178c7220aefb | Delta Force   20.12.2024       | 848052 | 848052 | 2b5892f1-6110-4a8c-a86c-b743d85db6da | 2b5892f1-6110-4a8c-a86c-b743d85db6da | 2025-05-31T07:01:03Z | true       | 0001-01-01T00:00:00Z |             |
    |                                      |                                      | 16_59_27.png                   |        |        |                                      |                                      |                      |            |                      |             |
    +--------------------------------------+--------------------------------------+--------------------------------+--------+--------+--------------------------------------+--------------------------------------+----------------------+------------+----------------------+-------------+
    ccca410bf52a:~$ opencloud storage-users uploads sessions --restart
    Sessions:
    +--------------------------------------+--------------------------------------+--------------------------------+--------+--------+--------------------------------------+--------------------------------------+----------------------+------------+----------------------+-------------+
    |                Space                 |              Upload Id               |              Name              | Offset |  Size  |              Executant               |                Owner                 |       Expires        | Processing |      Scan Date       | Scan Result |
    +--------------------------------------+--------------------------------------+--------------------------------+--------+--------+--------------------------------------+--------------------------------------+----------------------+------------+----------------------+-------------+
    | 2b5892f1-6110-4a8c-a86c-b743d85db6da | 008e8ab1-6841-4e2a-8cf4-178c7220aefb | Delta Force   20.12.2024       | 848052 | 848052 | 2b5892f1-6110-4a8c-a86c-b743d85db6da | 2b5892f1-6110-4a8c-a86c-b743d85db6da | 2025-05-31T07:01:03Z | true       | 0001-01-01T00:00:00Z |             |
    |                                      |                                      | 16_59_27.png                   |        |        |                                      |                                      |                      |            |                      |             |
    +--------------------------------------+--------------------------------------+--------------------------------+--------+--------+--------------------------------------+--------------------------------------+----------------------+------------+----------------------+-------------+
    

    Das war die Antwort

    You can run opencloud storage-users uploads sessions to see the queue
    opencloud storage-users uploads sessions --resume repeats the previous step
    opencloud storage-users uploads sessions --restart restarts the whole process
    But please make sure that your S3 config is working
    Another issue can occur, when you have clamav and the virusscanner is not responding

    opencloud storage-users uploads sessions # see the queue
    opencloud storage-users uploads sessions --resume # repeats the previous step
    opencloud storage-users uploads sessions --restart # restarts the whole process
    

    Danach hatte ich die drei hängenden Files wieder ordentlich.

    Tipp, schön drauf achten, dass man die richtigen Zugangsdaten anwendet 🙂

    Und jetzt werde ich das mal die nächsten Tage testen.

  • FrankMF FrankM verschob dieses Thema von Linux
  • Ich habe das wieder abgeschaltet, da es in meinem Setup zu viel der schnellen Oberfläche kaputt macht. Beide Installationen als VMs bei Hetzner. Da bleibe ich für meinen Fall, soll sowieso nur für mich und evtl. ein paar Familienmitglieder sein, bei der lokalen Speicherung. Das ist schneller und fühlt sich einfach besser an 😉

  • Nextcloud - Update 31.0.5

    Nextcloud nextcloud linux
    1
    0 Stimmen
    1 Beiträge
    180 Aufrufe
    Niemand hat geantwortet
  • Podman - Forgejo Server aufsetzen

    Angeheftet Podman podman linux forgejo
    5
    0 Stimmen
    5 Beiträge
    658 Aufrufe
    FrankMF
    Und noch was sehr wichtiges! The Forgejo configuration is stored in the app.ini file as described in the Configuration Cheat Sheet. When using the Forgejo container image, this file is automatically created if it does not exist already. In addition it is possible to add settings using configuration variables. For instance: FORGEJO__repository__ENABLE_PUSH_CREATE_USER=true is the equivalent of adding the following to app.ini: [repository] ENABLE_PUSH_CREATE_USER = true NOTE: it is not possible to use environment variables to remove an existing value, it must be done by editing the app.ini file. NOTE: in case you are in a SELinux environment check the audit logs if you are having issues with containers. Quelle: https://forgejo.org/docs/latest/admin/installation-docker/
  • Nextcloud Hub8 Keine Previews

    Nextcloud nextcloud linux
    2
    0 Stimmen
    2 Beiträge
    421 Aufrufe
    FrankMF
    Noch als Ergänzung, der Server läuft mit Debian 12 # uname -a Linux webserver1-4gb-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux
  • NodeBB - v3.6.0

    NodeBB nodebb linux
    1
    0 Stimmen
    1 Beiträge
    123 Aufrufe
    Niemand hat geantwortet
  • Raspberry Pi5 - First Boot

    RaspberryPi raspberrypi linux debian
    1
    2
    0 Stimmen
    1 Beiträge
    283 Aufrufe
    Niemand hat geantwortet
  • 0 Stimmen
    1 Beiträge
    3k Aufrufe
    Niemand hat geantwortet
  • Wenn dir der Redis-Server flöten geht....

    Verschoben Redis linux redis
    3
    0 Stimmen
    3 Beiträge
    665 Aufrufe
    FrankMF
    So, nach einer kleinen Pause und ein wenig nachdenken ist mir doch noch was eingefallen Backports! Man so einfach! nano /etc/apt/sources.list Das folgende eintragen. # backports deb http://deb.debian.org/debian stretch-backports main Danach ein apt update Und dann schauen wir uns mal die Version an.... apt -t stretch-backports search redis-server Sorting... Done Full Text Search... Done golang-github-stvp-tempredis-dev/stretch-backports 0.0~git20160122.0.83f7aae-1~bpo9+1 all Go package to start and stop temporary redis-server processes libtest-redisserver-perl/oldstable,oldstable 0.20-1 all redis-server runner for tests python-hiredis/oldstable,oldstable 0.2.0-1+b2 amd64 redis protocol reader for Python 2.X using hiredis python3-hiredis/oldstable,oldstable 0.2.0-1+b2 amd64 redis protocol reader for Python using hiredis redis/stretch-backports 5:5.0.3-3~bpo9+2 all Persistent key-value database with network interface (metapackage) redis-server/stretch-backports 5:5.0.3-3~bpo9+2 amd64 [residual-config] Persistent key-value database with network interface Und die habe ich gestern Abend gebaut. 127.0.0.1:6379> INFO # Server redis_version:5.0.5 Ok, das schmerzt jetzt
  • nginx konfigurieren

    NodeBB nodebb nginx linux
    1
    0 Stimmen
    1 Beiträge
    660 Aufrufe
    Niemand hat geantwortet