Closed Potomac closed 5 years ago
I can confirm that the "file" package is not included over the 7.3-alpine, going to fix this.
Already commited @Potomac , please test the new version as soon as possible.
thanks, I will test soon
Ok I did the test, the file utility is now present in the ojs container,
in fact I made a mistake : the bug for the upload image is not during the submission process, but when we try to send an email from an OJS form, the "upload image" button doesn't work, I created a new issue which explains better the problem : https://github.com/lucasdiedrich/ojs/issues/25
OK, we can make everything from there so i'll close this issue. Thanks POTO*
Hello,
@lucasdiedrich @marcbria
I need a confirmation : can you tell me if the "file" utility is present in the php:7.3-alpine image used by OJS docker image ?
My colleague notices a problem when he wants to upload an image file (as a submission) in OJS 3.1.2 docker image, he told me that he saw these messages in the console :
I am not at work and I don't have a docker installation, so I can not reproduce the problem, can you confirm me that the file utility is not present in the alpine image used by ojs docker ?
"sh:file:not found" error message means that the system doesn't find "file" software in /usr/bin,
one solution is to install the package which provides file utility : https://pkgs.alpinelinux.org/package/edge/main/x86_64/file