-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
DOCS: Upgrade gudiance? #689
Comments
for reference, my full stack
|
I would suggest updating both the image and the software, but the official recommendation is definitely to use the built-in updater, especially for (automatically) applying security updates. If you're updating a major version, you'll likely want the newer base image just to make sure you catch newer required/recommended PHP modules, such as #688, but it's not usually strictly required. Another good reason to be updating your base image, however, is to make sure you're getting security updates at that layer as well, such as updates to PHP itself or packages from the underlying distribution. (Yes, I agree this should be better documented 😅) |
With a mounted volume on |
docker-library/docs#2057 (and docs on Docker Hub):
Related discussions & comments: #246 (comment), #520, #567 (comment) |
Is there an answer for this? The updater doesnt work because then it asks for FTP information. It seems really weird that i've been looking online for an answer for this for about 4hrs. Why doesnt Wordpress give a clear answer? "How do we update docker containers without the need for the FTP functionality" |
If WordPress is prompting you for FTP credentials, you need to fix your local permissions such that the user inside the container has permission to write to the files in your volume/mount. |
thank you very much. i would have never considered to search in this direction. from 5.2 to 5.9 the application could update by it self, (excpt to 5.7 wich complete screwed it self to garbage) or by updating the image. but from 5.9 to 6.0.2 it showed me that weird ftp promt. |
i will try this thanks! |
Closing, since I think docker-library/docs#2057 is probably the best we're going to get here 😅 (it points out that the image has automatic updates enabled and explains how to not use that) |
I am new to wordpress, very familiar with docker containers / compose / stacks etc.
I got my WordPress network-multisite install running on docker, its served by an nginx reverse proxy.
Got all that working (though docs could be better because as there too many contradictory, invalid or just outdated blog posts on docker-wordpress+nginx)
My www, plugins and themes are all mounted as a bind mount from my host via the volume directive in compose
When I choose to update to from 5.8.x to 5.9 is the right way to run the upgrade inside the container or pull the 5.9 image and do docker-compose down then up?
The text was updated successfully, but these errors were encountered: