出了什么问题?(必填,附截图)
PS C:\Users\endpca\Desktop\mateclaw> docker compose ps NAME IMAGE COMMAND SERVICE STATUS mateclaw-postgres postgres:16 "docker-entrypoint.s…" postgres Restarting (1) 2 seconds ago mateclaw-server mateclaw-mateclaw-server "java -jar app.jar" mateclaw-server Restarting (1) 1 second ago mateclaw-searxng mateclaw-searxng "/usr/local/searxng/…" searxng Running
postgres日志
mateclaw-postgres | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/10-app-role.sh mateclaw-postgres | /usr/local/bin/docker-entrypoint.sh: line 185: /docker-entrypoint-initdb.d/10-app-role.sh: cannot execute: required file not found mateclaw-postgres | mateclaw-postgres | PostgreSQL Database directory appears to contain a database; Skipping initialization mateclaw-postgres | 2026-07-19 05:47:40.226 CST [1] LOG: database system is ready to accept connections
怎么复现?(必填,编号步骤)
在 Windows 10/11 系统上安装 Docker Desktop
Clone 项目到本地:git clone https://github.com/mateaix/mateclaw.git
复制环境变量:cp .env.example .env,填写 DB_PASSWORD 和 DB_ADMIN_PASSWORD
执行 docker compose up -d
观察到 PostgreSQL 容器不断重启
执行 docker compose logs postgres 显示 cannot execute: required file not found
影响模块(选填,多选)
No response
环境(必填,一行)
Windows 11, version 25H2
出了什么问题?(必填,附截图)
PS C:\Users\endpca\Desktop\mateclaw> docker compose ps NAME IMAGE COMMAND SERVICE STATUS mateclaw-postgres postgres:16 "docker-entrypoint.s…" postgres Restarting (1) 2 seconds ago mateclaw-server mateclaw-mateclaw-server "java -jar app.jar" mateclaw-server Restarting (1) 1 second ago mateclaw-searxng mateclaw-searxng "/usr/local/searxng/…" searxng Runningpostgres日志
mateclaw-postgres | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/10-app-role.sh mateclaw-postgres | /usr/local/bin/docker-entrypoint.sh: line 185: /docker-entrypoint-initdb.d/10-app-role.sh: cannot execute: required file not found mateclaw-postgres | mateclaw-postgres | PostgreSQL Database directory appears to contain a database; Skipping initialization mateclaw-postgres | 2026-07-19 05:47:40.226 CST [1] LOG: database system is ready to accept connections怎么复现?(必填,编号步骤)
在 Windows 10/11 系统上安装 Docker Desktop
Clone 项目到本地:git clone https://github.com/mateaix/mateclaw.git
复制环境变量:cp .env.example .env,填写 DB_PASSWORD 和 DB_ADMIN_PASSWORD
执行 docker compose up -d
观察到 PostgreSQL 容器不断重启
执行 docker compose logs postgres 显示 cannot execute: required file not found
影响模块(选填,多选)
No response
环境(必填,一行)
Windows 11, version 25H2