External Apps download data directly to the docker image, not host storage (Docker on Unraid)

Offen
#466 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
38/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
docker, php

Rechercherichtung

Beginnen Sie mit der in den Reproduktionsschritten beschriebenen Daemon-Konfiguration und Testbereitstellung und verfolgen Sie anschließend, wo Daten von external-app, einschließlich STT Whisper 2-Modellen, innerhalb des Containers geschrieben werden. Prüfen Sie, ob die Zuordnung von Host-Speicher bereits unterstützt wird, und ermitteln Sie den relevanten Containerpfad. Erledigt ist die Aufgabe, wenn die Installation von external-app das Docker image nicht mehr vollständig auslastet und die Speicherzuordnung dokumentiert ist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

docker enhancement priority: medium
Describe the bug

I originally posted this to docker-socket-proxy, but think app_api might be the more appropriate repo?
https://github.com/nextcloud/docker-socket-proxy/issues/40

Docker image size limit is exceeded during external app installation, causing install to fail.

Steps/Code to Reproduce
  1. Configure and test the Daemon
  2. Run the test deployment
  3. Install an external App (STT Whisper 2)
  4. Data for both the test deployment as well as the installed app is saved to the docker image /volumes dir. As the STT Whisper app has a significant amount of AI model data, the docker image size limit is exceeded causing the install to fail.

Image

Expected Results

I am not a dev, so this could be a misunderstanding on my part, but I thought the docker image held executable binaries, whereas application data (such as AI models in this specific case) should be stored elsewhere on the host storage.

Assuming I'm not wrong, there should be a host path env variable for downloaded data to be saved to the host storage outside the docker image (since my nextcloud instance is installed via docker as well, presumably this path can be read/imported from the main nextcloud installation).

If this already exists, could the docs be updated to include the container path where downloaded external app data will be saved so that we can map it appropriately on the host system?

Actual Results

Docker image size limit exceeded, causing exapp install to fail.

Setup configuration

Web server: Nginx

Database: Maria 10.11

PHP version: 8.3

Nextcloud version: 29.0.4

Operating system: Docker / Unraid 6.12.13

Vorherrschende Sprache
PHP
Sterne
202
Forks
30
Ø Merge
3 T. 20 Std.
Gemergte PRs (30 T.)
24

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus nextcloud/app_api

Alle Issues in nextcloud/app_api

Ähnliche Issues

Weitere Issues zu PHP

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.