I am trying to setup a local test/development environment on ubuntu. I started out with the docker-compose.yml from the docker-hub page (for pydio/cells:latest image). I set a new uid/gid for the container.
First issue I ran into was that Cells complained not being able to create a directory /.config. So ok, I mounted a second local volume, such that both /.config/ and /root/.config/ would be permanent. Only the first seems to be written to, so far…
Next problem is setting up behind an http reverse proxy(nginx). Installation works, but I have to set the environment variables to CELLS_NO_SSL=1, set nginx to http to the container’s 8080. After installation and reloading, the page will complain about mixed content. Now I edited pydio.json to use https instead, and that gets rid of that error.
I got another error that pydio can’t resolve the hostname “dev-cells” by DNS. Since that is a host defined in my “global” /etc/hosts, that is no wonder. So I put another network IP for dev-cells into extra_hosts. Error gotten rid again.
Next problem: I can’t login, because the backend throws an error, showing this in the logs:
pydio.rest.frontend Ladon blocked POST request at /frontend/session. Ladon Response: DefaultDeny:true
Also, I was not yet able to make the configuration/installation permanent. I am guessing there are additional volumes I’m missing?
I was not able to find/confirm the source code for the Dockerfile used in pydio/cells, though that may be just me missing something obvious.
I would appreciate hints and any useful information regarding my troubles.