I’m running a Wordpress website on Docker but for some reason it can not auto update core / plugin / theme.
It asked for FTP, but maybe it lost permission. Default USER
is www-data
, Alpine image UID is 82
and Debian image is 33
.
So I change owner to www-data
:
$ sudo chown -R 33:33 /opt/stack/wordpress/html
Now it works.
Ref: