Closed lgnap closed 4 years ago
I succeed to import my backup in /data
folder/mountpoint and can modify pages without any error.
But can't upgrade/make change in plugins
folder due to right issues but into /data
all is fine.
Seems that using /var/www
to tell that :disappointed:
@lgnap
As Dockerfile (and documentation) tells there is a /data where to store data. But the nginx seems configured to use /var/www as root. ... in /var/www it's an other uid/gid and nginx reads data into this folder.
Like the README says, data are stored in /data
, that's all you need to know. /var/www/
is the location of the application and don't need to have the same perms as your /data
. Nginx can read them.
As nginx is started through 1007:1007 it fails to write into these folder as /install.php tells us
I cannot reproduce your issue. Everything works fine with your compose file. Also you don't give me the following information:
Configuration
- Docker version (type
docker --version
) :- Docker compose version if applicable (type
docker-compose --version
) :- Platform (Debian 9, Ubuntu 18.04, ...) :
- System info (type
uname -a
) :- Include all necessary configuration files :
docker-compose.yml
,.env
, ...Docker info
> Output of command `docker info`
The plugin manager notifies that it doesn't have write access on plugins
folder to update/delete these due to this architecture.
Another way to do that is to have a cli (like wp-cli for wordpress) to make update at hand, but can't find it.
To reproduce, you can download extension
(extension manager) and install a outdated version of a plugin and you'll have something similar to this screenshot ;-)
@lgnap Ok I was able to reproduce your issue
@lgnap Should be ok now.
Indeed, works well, thanks !
Behaviour
It's difficult to understand how this image plays with data. As Dockerfile (and documentation) tells there is a
/data
where to store data. But the nginx seems configured to use/var/www
as root. And the data seems be copied at the both place but with different owners.Steps to reproduce this issue
/data
Expected behaviour
Actual behaviour
Configuration
docker-compose.yml
,.env
, ...services: dokuwiki: image: crazymax/dokuwiki:latest volumes:
networks: web: external: true
Maybe I just don't understand where is my mistake, but don't see where is it