App Store ExApp 'Deploy and enable' fails with one deploy daemon (Nextcloud 35.0.2)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 75/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- javascript, php, typescript
- 領域
- frontend
調査の方向性
フロントエンドファイル exApps.ts で、single-daemon ブランチが exAppApi.enableExApp を await せずに呼び出している箇所から始める。dockerDaemons が Vue ref かどうかを確認し、dockerDaemons.value[0] に修正し、その後 rejection を await/handle する。Deploy と enable をクリックして ExApp が登録され、ステータスエンドポイントが 404 を返さなくなったら完了。
索引モデルが issue の本文から書いたものです。
説明
Summary
With a single configured AppAPI deploy daemon, clicking Deploy and enable for an ExApp briefly flashes the gear icon but does not deploy/register the app. The Apps UI then repeatedly polls the ExApp status endpoint and displays 404 errors.
Environment
- Nextcloud Server 35.0.2.2 (LinuxServer.io Docker image on Unraid)
- AppAPI 35.0.0; one default deployment daemon: HaRP Proxy (Docker) (
harp_proxy_docker) - Reproduced in Firefox
- Example ExApp:
stt_whisper2; also affectedtranslate2installation through GUI - Existing ExApps, including Context Agent and Local Machine Translation, work once installed via CLI
Steps to reproduce
- Configure one working AppAPI Docker deploy daemon.
- Navigate to Apps and select an ExApp not yet installed.
- Click Deploy and enable.
- Observe gear icon briefly flash; no successful installation; repeated
GET /apps/app_api/apps/status/stt_whisper2with 404 and browser consoleUncaught (in promise) AxiosError: Request failed with status code 404fromexAppApi.ts:26/exApps.tspolling.
Expected
The GUI invokes the deployment endpoint with the configured daemon, awaits/handles the deployment result and displays an appropriate success/error state.
Actual
No installation occurs, UI repeatedly polls status for the unregistered ExApp. Server log repeatedly reports ExApp "stt_whisper2" not found.
Workaround confirming backend works
Command-line registration succeeds:
docker exec -u abc nextcloud php /app/www/public/occ app_api:app:register translate2 --wait-finish
Result: ExApp translate2 deployed successfully. ExApp translate2 successfully registered.
Suspected frontend cause (please verify)
In the single-daemon branch of the Nextcloud Apps frontend's exApps.ts, code appears to use dockerDaemons[0] instead of dockerDaemons.value[0] and invokes exAppApi.enableExApp(...) without awaiting/handling rejection:
if (dockerDaemons.value.length === 1 && app.needsDownload) {
exAppApi.enableExApp(app, dockerDaemons[0])
app.daemon = dockerDaemons[0]
}
If dockerDaemons is a Vue ref, the indexing is incorrect and could prevent deployment; the omitted await may leave a rejected promise unhandled. Suggested investigation: use dockerDaemons.value[0] and await/handle enableExApp.
- 主要言語
- PHP
- スター
- 37.4k
- フォーク
- 5.3k
- 平均マージ
- 2日 7時間
- マージ済み PR(30日)
- 744
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nextcloud/server のほかの issue
-
34-feedback
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信
-
[Bug]: Detection::detectString() / detectContent() never use finfo – missing use finfo; (regression from #54077)対応中かも @lazerg が 1 日前に担当しました。 オープン0. Needs triage 35-feedback bug
難易度 1/5 1時間未満 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
[Bug]: DAV Forbidden/InvalidPath responses break on "&" in the message (DOMDocument::createElementNS(): unterminated entity reference)対応中かも @th-joerger が 3 日前に担当しました。 オープン0. Needs triage 35-feedback bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
[Bug]: Files folder-tree API eagerly lists the children of every subfolder at the last requested depth, then discards them (N extra directory listings per request)対応中かも @lazerg が 5 日前に担当しました。 オープン0. Needs triage 34-feedback bug
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
nextcloud/server#65904 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: Contradictory notifications when cancelling welcome email confirmation対応中かも @Jashan32 が 6 日前に担当しました。 オープン0. Needs triage 36-feedback bug
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
メンテナーはふだん 1 日以内に返信
nextcloud/server の issue をすべて見る
似ている issue
-
jira-created
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
-
No Code Attached Yet
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
joomla/joomla-cms#48786 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Icinga/icingaweb2-module-director#3188 ·
メンテナーはふだん 4 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
mollie/WooCommerce#1327 ·
-
bug ui
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
hashtopolis/server#2614 ·
メンテナーはふだん 1 日以内に返信