-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: The directory specified for uploaded files does not exist or is not writable. #343
Comments
Sorry for the delay in my answer. This is a side project and I don't have much time. Did you manage to make it work? This usually happens when you don't have the right permissions in the volume folder in host. Normally something like this will work: If this fails, as a temporary solution till you discover how to set the permisions to the apache user, you can try with a "chmod 666 volumes/private" to make the folder pubically accessible. Cheers, |
Just to say that I had this exact problem and had to exec into the container and set ownership of apache:apache on several dirs that were set only to root:root. |
Thanks for your freeback @MartinPaulEve If yes, I will close it as is not an issue, it's the way docker works and probably highlight the |
Hmm, I cannot confirm that setting 100:101 on volumes/private fixes this as I haven't looked. Indeed, my fix was to change permissions inside the container, which seemed to work. If the external host volume prohibited writing, I assume this would not have worked. So I am unsure that the fix is the external change. |
If all works as expected, there is no difference between changing ownership inside the container (with apache:apache) or outside it (with 101:101)... but I usually suggest the second because login inside the container requires more explanations/knowledge. Do you mind to confirm your private folder is with user 100 and group 101 from outside the container running:
Thanks for your help Martin. |
` ` |
Wired. In my debian is 100:101. :-( Let's keep it open just in case somebody else can offer us more information... and modify the README to ensure permisions are set even in the TL;DR; verison. |
I am encountering an issue while trying to install OJS (Open Journal Systems) using Docker. I have followed the installation instructions and made no changes to the .env file (except
PROJECT_DOMAIN=localhost
). However, I am getting an error message that says, "The directory specified for uploaded files does not exist or is not writable."I have reviewed the docker-compose.yml file and noticed that there is a volume named volumes/private bind to /var/www/files which exists in volumes by default. Despite this, I am still experiencing this error.
I would appreciate any assistance or guidance on how to resolve this issue and successfully install OJS using Docker. Thank you!
The text was updated successfully, but these errors were encountered: