Open mcpeng opened 9 months ago
$PWD/data 目录下是否有之前的数据?
$PWD/data 目录下是否有之前的数据?
没有,新创建的目录
I got similar error. It is wired since I removed data folder
Error message:
17:01:02.71
17:01:02.71 Welcome to the Easysoft ZenTao 18.9 container
17:01:02.71 Subscribe to project updates by watching https://www.zentao.net
17:01:02.71 Submit issues and feature requests at https://www.zentao.net/ask.html
17:01:02.71
17:01:02.72 INFO ==> Prepare persistence directories.
mkdir: cannot create directory '/apps/zentao/config/license': File exists
Steps:
zentao:
volumes:
- '/share/Container/Zentao/data:/data'
zentao-mysql:
volumes:
- '/share/Container/Zentao/db:/var/lib/mysql'
rm -rf /share/Container/Zentao/data /share/Container/Zentao/db
With these steps, I am expecting having Zentao restarts freshly. However, according to log, there are some files persisted. Does the docker image mounts volumes besides /data?
Note: I end up deleting old container and then 'docker-compose up' again. Error does not appear this way.
Retry: