I have a setup using docker compose. However, if I stop and restart the container, very often I find myself unable to do any file operations. If I log in as admin and I go into the Storage tab, I see that all the data services have a “Services Stopped” error.
The main way for me to solve this is to stop, delete and recreate the container 5-10 times until the error goes away. Is there a way to start and stop the services from within the interface? Also, can we find out what is causing the services to die?
Hi,
could you tell me your pydio version?
when you stay stop and restart the container do you mean that you stop it with docker-compose stop or just the container via the docker?
Uhm, previously, I was running Pydio on a 2 CPU, 8GB VPS together with other services. Today I moved Pydio Cells to his own 2 CPU, 8 GB machine where it can run alone, and I did not experience any problem with the services. Maybe they were just dying because they were resource-starved…
I believe I’ve found the problem here… I was facing the same issue and actually what happened was that after a server reboot, docker restarted the containers I have with different IP addresses. I was then seeing in the container logs some messages indicating a problem with the peer IP address for the storage.
What I did to fix it was create an isolated network for the pydio container and set a fixed IP address for it. Then I updated all references to the old IP address in the pydio.json config file to the new fixed IP, like this one:
Valmar, I’ve been using Portainer to create my containers, networks and other stuff, but I believe in a docker compose file things should be something like this:
This is not a solution. Eg. I use Kubernetes which is always use dynamic IPs.
We should count that containers are always have dynamic IPs nature. Pydio should counut on that and add some option to control this behavior.