New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用docker部署时提示内存不足 #2069
Comments
1
卷参数按照下面的参数,没有改动, 启动容器时,中间的两个文件,会被创建成一个同名的文件夹,导致容器运行出错。 |
Same issue as the original poster. Problem cause:
will create two folders Solution steps are as follows: step 1. Use the default docker-compose file to start, the image on port 5212 will keep restarting, and you can see the error log inside the container.
step 2. Use step 3. Delete the ./cloudreve/conf.ini folder and create a new conf.ini file using step 4. Delete the /cloudreve/cloudreve.db folder and create a new cloudreve.db file using step 5. Restart using If you only execute step 3 and not step 4, you will encounter an out-of-memory error:
和楼主一样的问题 问题原因:
解决方式如下: step 1. 使用默认的docker-compose文件启动,5212端口镜像会一直重启,进入容器内可以看到报错日志
step2.使用 step3.删除./cloudreve/conf.ini文件夹,新建conf.ini文件 step4.删除/cloudreve/cloudreve.db文件夹,新建cloudreve.db文件 step5.重新启动 如果只执行step3,不执行step4,会出现内存不足报错:
|
部署遇到的问题
尝试解决
1./cloudreve/conf.ini 是一个路径而不是文件
Failed to connect to database
To Reproduce
Steps to reproduce the behavior:
docker-compose.yaml
The text was updated successfully, but these errors were encountered: