Dear all,
I am trying to deploy my updates in the production droplet in Digital Ocean and i am receiving error. Please advice
Bringing all services up …
WARN[0000] network proxy: network.external.name is deprecated in favor of network.name
Sending build context to Docker daemon 64.13MB
Step 1/5 : FROM wapplerio/php-7.3-apache
—> fc182f706b22
Step 2/5 : RUN mkdir /var/www/html/assets/img
—> Running in 820d4df3971c
mkdir: cannot create directory ‘/var/www/html/assets/img’: No such file or directory
Sending build context to Docker daemon 6.193kB
Step 1/2 : FROM mysql:8.0
—> a347a5928046
Step 2/2 : COPY db_init/ /docker-entrypoint-initdb.d/
—> Using cache
—> 9068c65f5e56
Successfully built 9068c65f5e56
Successfully tagged pleiades_latest_site_01_2022__digitaldockerprod_db:latest
1 error occurred:
* Status: The command ‘/bin/sh -c mkdir /var/www/html/assets/img’ returned a non-zero code: 1, Code: 1
Error Launching Services!
George
2
Have you selected as user upload folder assets/img but even the assets folder doesn’t exists?
Do you mean this . yes i have the folder?
George
4
Is it a new folder or you had it before and it is full with images?
I had it before and it is full with images
George
6
If you open the Dockerfile in:
.wappler/targets/your_remote/web
And change:
mkdir /var/www/html/assets/img
To
mkdir -p /var/www/html/assets/img
Then save and redeploy
Sorry George. Can you please assist me what’s the best simply method to get access to the docker file?
George
8
In the file manager in Wappler, right click and show the hidden files and you should be able to see it.
George
Split this topic
9
George
12
Will fix the missing -p option for nested user upload folders in the next update.
Teodor
Closed
16
This topic was automatically closed after 46 hours. New replies are no longer allowed.