Thanks for this fantastic write-up, Jasmine, I had a Wordpress installation running in Dokku within 10 minutes flat 🙌🏼
One tiny correction, for the benefit of future readers, the final command where we're enabling letsencrypt for the blogger application should include the word "enable"
I get this error when trying to push to the dokku host:
-----> Unable to select a buildpack
remote: 2022/01/03 10:53:44 exit status 1
remote: 2022/01/03 10:53:44 exit status 1
To myhost.com:app
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'myhost.com:app'
I am Jasmine Tracey, a frontend and backend developer. I have been in programming for almost five years. I have been mostly focused with web development, mobile development and UI designing
I am Jasmine Tracey, a frontend and backend developer. I have been in programming for almost five years. I have been mostly focused with web development, mobile development and UI designing
I'm getting this error: "The theme directory "twentytwentythree" does not exist.
Error: The themes directory is either empty or does not exist. Please check your installation." and unable to install any theme and plugins
I am Jasmine Tracey, a frontend and backend developer. I have been in programming for almost five years. I have been mostly focused with web development, mobile development and UI designing
I am Jasmine Tracey, a frontend and backend developer. I have been in programming for almost five years. I have been mostly focused with web development, mobile development and UI designing
Thanks for this fantastic write-up, Jasmine, I had a Wordpress installation running in Dokku within 10 minutes flat 🙌🏼
One tiny correction, for the benefit of future readers, the final command where we're enabling
letsencryptfor thebloggerapplication should include the word "enable"I get this error when trying to push to the dokku host:
How can I fix this?
Amazing guide thank you! It seems that after applying Letsencrypt all CSS will be broken and so will all js etc. Any good solution @jasminetracey
From your admin panel under settings you can change your WordPress Address (URL) and your Site Address (URL) to the https version.
Hey, doing that makes the website inaccessible, browser says too many redirects.
This article should help
wpbeginner.com/wp-tutorials/how-to...
I'm getting this error: "The theme directory "twentytwentythree" does not exist.
Error: The themes directory is either empty or does not exist. Please check your installation." and unable to install any theme and plugins
Can you use wordpress docker image on dokku?
yes
I am getting 404's for all pages except the main page. wp-admin works.
Is there something I need to do for URL rewrites instead of .htaccess ?
You can try adding
options +FollowSymLinksto your .htaccess fileI changerd my Procfile to use apache rather than nginx, and it picked up my standard wordpress .htaccess file and it works without 404s
Procfile
web: vendor/heroku/heroku-buildpack-php/bin/heroku-php-apache2
I found this voodoo here: github.com/dokku/dokku/issues/824
It looks like it may be related to a newer or older version of buildstep.