Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

stable30 does not work: Could not find a valid Nextcloud source in /var/www/html

未關閉
#371 5 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
35/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
docker-compose, php
領域
devops, tooling

研究方向

從 bootstrap.sh 和由 docker compose 呼叫的 stable30 服務開始,然後檢查錯誤中所參照的 .env 裡的 REPO_PATH_SERVER 和 STABLE_ROOT_PATH 值。重現全新安裝,並將其與 nextcloud stack 進行比較;當 stable30 找到有效的 Nextcloud 來源,且一般 stack 不再回傳 503 時,即表示完成。

由索引模型根據 Issue 內容生成。

描述

Steps to reproduce:

rm -rf nextcloud-docker-dev # It's a clean installation
git clone https://github.com/juliusknorr/nextcloud-docker-dev
cd nextcloud-docker-dev
./bootstrap.sh
docker compose up stable30

Logs:

Attaching to stable30-1
stable30-1  | <Directory "/var/www/html">
stable30-1  | AllowOverride None
stable30-1  | RewriteEngine On
stable30-1  | RewriteBase /
stable30-1  | RewriteCond %{REQUEST_URI} !/installing.html$
stable30-1  | RewriteRule .* /installing.html [L]
stable30-1  | </Directory>
stable30-1  | =======================================================================================
stable30-1  |  🚨 Could not find a valid Nextcloud source in /var/www/html
stable30-1  |  Double check your REPO_PATH_SERVER and STABLE_ROOT_PATH environment variables in .env
stable30-1  | =======================================================================================
stable30-1  | 📰 Watching log file
stable30-1  | ⌚ Starting cron
stable30-1  | 🚀 Starting apache
stable30-1  | ==> /var/www/html/data/nextcloud.log <==
stable30-1  |
stable30-1  | ==> /var/log/cron/nextcloud.log <==
stable30-1  |
stable30-1  | ==> /var/log/xdebug.log <==
stable30-1  | [Fri Jan 17 21:46:56.787264 2025] [mpm_prefork:notice] [pid 1:tid 1] AH00163: Apache/2.4.62 (Debian) PHP/8.1.31 configured -- resuming normal operations
stable30-1  | [Fri Jan 17 21:46:56.787288 2025] [core:notice] [pid 1:tid 1] AH00094: Command line: 'apache2 -D FOREGROUND'

The normal nextcloud stack (docker compose up nextcloud) does not print this, but it gives me 503 service unavailable

Version: efff3c474b846640b0e0f55b90be8e0242ded768

主要語言
PHP
星號
190
分支
103
PR 合併指標
30 天內沒有已合併 PR

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

nextcloud/nextcloud-docker-dev 的其他 Issue

查看 nextcloud/nextcloud-docker-dev 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。