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

オープン
#466 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
38/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
docker, php

調査の方向性

再現手順で説明されている Daemon の設定とテストデプロイから始め、STT Whisper 2 モデルを含む external-app のデータがコンテナ内のどこに書き込まれるかを追跡します。ホストストレージのマッピングがすでにサポートされているかを確認し、関連するコンテナパスを特定します。external-app のインストールによって Docker イメージが枯渇しなくなり、ストレージのマッピングが文書化されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
PHP
スター
202
フォーク
30
平均マージ
3日 20時間
マージ済み PR(30日)
24

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nextcloud/app_api のほかの issue

nextcloud/app_api の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。