Issues with Unzipping zip Moodle 3.7

Issues with Unzipping zip Moodle 3.7

by Selene Posada -
Number of replies: 1

Hey Everyone,

I am trying to upload multiple jpegs via a zip archive so I can properly make a book activity or similar type activity involving multiple images.

Whenever I try to unzip the archive only the first file will show up in directory structure, the rest seem to not exist.

Another thing I noticed is at first the folder will become "Undefined", and then Ill save and display to get the result of only one file showing up.

Folder labeled undefined

Showing result of unzip with only one file

My environment is bitnami docker latest moodle image which I manually upgraded to moodle 3.7
https://github.com/bitnami/bitnami-docker-moodle

If any additional information is needed please let me know.

Thanks for any help in advance.

Regards,

Tanner Posada

Average of ratings: -
In reply to Selene Posada

Re: Issues with Unzipping zip Moodle 3.7

by Selene Posada -
Hey Everyone,

After mucking about I can provide some additional info now. 

The trouble is figuring a solution that satisfies my needs. I am currently using a nfs to store moodledata files. Inside the container its mounted as an NFS then I symlink the filedir folder to the corresponding NFS directory. When I adjust the container to use a local directory for filedir I have no issues and unzipping works fine. 

Setting it back to how I have it now breaks the unzip function it seems. I tried setting the permissions recursively to see if it could solve my problem but to no avail.

As it turns out the production instance of our moodle container is not set up in the same way so there isnt any issues with unzipping. I guess this can be closed out if needed but if people

Any advice or further insight is welcomed.

Regards,

Tanner Posada
Average of ratings: Useful (1)