seepine opened a new issue, #1461:
URL: https://github.com/apache/answer/issues/1461
## Describe the bug
got HTTP Error 50X page when rerun without volume
## To Reproduce
### 1. deploy with docker compose
```yaml
services:
answer:
image: apache/answer:1.7.0
environment:
AUTO_INSTALL: 'true'
DB_TYPE: postgres
DB_HOST: 172.17.0.1:5432
DB_USERNAME: answer
DB_PASSWORD: answer_pwd_pg
DB_NAME: answer
ADMIN_EMAIL: [email protected]
ADMIN_NAME: admin
ADMIN_PASSWORD: 123456
CONTACT_EMAIL: [email protected]
LANGUAGE: zh_CN
SITE_NAME: Answer
SITE_URL: https://answer.example.com
EXTERNAL_CONTENT_DISPLAY: 'always_display'
LOG_LEVEL: debug
#volumes:
# - /root/apps/answer/uploads:/data/uploads
```
### 2. rerun got 50x
stop docker compose and rerun docker compose, got HTTP Error 50X page
### 3. the log
I cannot found error log
```log
2025-12-15 16:36:26.421 DEBUG translator/provider.go:71 try to
read file: zh_TW.yaml
[auto-install] try to install by environment variable
[config-file] try to create at /data/conf/config.yaml
[config-file] create directory success, config file is /data/conf/config.yaml
[config-file] install success
2025-12-15 16:36:26.476 WARN install/install_controller.go:226
database is already initialized
[SUCCESS] answer installation service will run at:
http://localhost:80/install/
2025-12-15 16:36:52.497 DEBUG install/install_server.go:45 open
static path build/static/js/3926.ad240c86.chunk.js
2025-12-15 16:36:52.497 DEBUG install/install_server.go:45 open
static path build/static/js/3926.ad240c86.chunk.js
```
## Expected behavior
can use
## Screenshots
<img width="811" height="401" alt="Image"
src="https://github.com/user-attachments/assets/9c183c4f-31ce-43bc-a48e-9681574932b4"
/>
## Platform
- Device: Desktop
- OS: macOS
- Browser and version: Chrome
- Version: v1.7.0
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]