Skip to content
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

"This does not seem to be a WordPress installation" error #252

Open
jkhaui opened this issue Dec 20, 2019 · 2 comments
Open

"This does not seem to be a WordPress installation" error #252

jkhaui opened this issue Dec 20, 2019 · 2 comments

Comments

@jkhaui
Copy link

jkhaui commented Dec 20, 2019

I know this issue has been posted before, but I am posting it again as I'm not sure it has been rectified even after the PR merge which ostensibly fixed the problem.

I am running Ubuntu 18.04. Followed the instructions exactly, using docker-compose up -d. Everything else works fine until the final step:

Step 10/10 : EXPOSE 8080
 ---> Using cache
 ---> a654d45233cc
Successfully built a654d45233cc
Successfully tagged headless-wp-starter_wp-headless:latest
Recreating db-headless ... done
Recreating wp-headless ... done
Attaching to wp-headless
wp-headless         | Error: This does not seem to be a WordPress installation.
wp-headless         | Pass --path=`path/to/wordpress` or run `wp core download`.
wp-headless         | Error: '/var/www/html/' is not writable by current user.
wp-headless exited with code 1

Even tried the temporary workaround offered by another user docker-compose up --build --force-recreate wp-headless. Still nothing. Please help, thanks.

@Linguisto
Copy link

Same issue for me. Tried some other WP docker images, didn't help. Still waiting for a solution.

@jkhaui
Copy link
Author

jkhaui commented Dec 30, 2019

@Linguisto which WP docker images did you try? In the end, I just ended up using Bitnami's Docker image which has an up-to-date version of WP and works fine for me for local development: https://github.com/bitnami/bitnami-docker-wordpress

Then you can just take the frontend app you want from headless-wp-starter (e.g. I only use the GraphQL frontend) and use that with the Docker image. The only downside is there's slightly more setup involved

g000m pushed a commit to g000m/headless-wp-starter that referenced this issue May 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants