Closed malopez00 closed 3 years ago
Hey thanks for reporting, I will do some investigation on this.
If it is of any help, it also fails when trying to update the admin package:
Unable to create temporary file, Check permissions in temporary files directory.
I think it may have something to do with the php user and permissions
I kind of solved it. Entered the container command line and executed:
chmod 777 /tmp
Now everything works like a charm
The problem is I need to do this everytime I restart the container, any ideas?
Fix incoming on #32 PR,
Bassically php has not been configured to upload to a tmp directory owned by GRAV itself, upload_tmp_dir=/var/www/grav/tmp will now be set once PR and new image has been uploaded.
I have created the containe following your instructions. Everything seems to be working except for uploading files. For example, when trying to change the avatar the following error arises:
Unable to upload file photo.jpg: Missing a temporary folder
My docker_compose.yml file is: