You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cannot import my SQL dump. Neither during the installation nor manually afterwards.
When I try to import the SQL file manually with: docker-compose exec wordpress /bin/bash "wp db import $(find /data/*.sql | head -n 1) --allow-ro ot" I get the following error:
find: ‘/data/*.sql’: No such file or directory OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused "exec: \"C:/Program Files/Git/usr/bin/bash\": stat C:/Program Files/Git/usr/bin/bash: no such file or directory": unknown
With this command: npm run wp db import /data/database.sql
I get the following: `
What's your problem about?
I cannot import my SQL dump. Neither during the installation nor manually afterwards.
When I try to import the SQL file manually with:
docker-compose exec wordpress /bin/bash "wp db import $(find /data/*.sql | head -n 1) --allow-ro ot"
I get the following error:find: ‘/data/*.sql’: No such file or directory OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused "exec: \"C:/Program Files/Git/usr/bin/bash\": stat C:/Program Files/Git/usr/bin/bash: no such file or directory": unknown
With this command:
npm run wp db import /data/database.sql
I get the following: `
Server structure
I can see the server structure and verify that the database.sql is found in the data directory:
$ docker exec -it raumbegruener_wordpress_1 bash
$ cd ..
$ ls
Following directories are found one level above /app directory:
$ cd data && ls
What is your operating system?
Windows
What is your docker version?
docker version
docker-compose.yml
Project structure
docker-compose up
outputThe text was updated successfully, but these errors were encountered: