Jump to content

WordPress: automatic Update-Management: How exactly does it work?

Good day dear friends🙂

 

 

first of all:  i really really hope that this question goes to the right subforum. If not, plz set me straight. Thanks alot. 

 

 

well  i have a wordpress-installation - but afaik - i am not able to do auto-updates:  The question to me is: How exactly do automatic updates work?

 

background:  well some Friends use WordPress and they receive automatic updates. 

Well they say -  that their "Wordpress site from time to time  had been automatically updated to the latest version."

 
I knew about the feature but I've always wondered exactly how it works. 

that said: PHP isn't a permanently-running process: it only runs when requested. So as far as I can tell, Wordpress can only update itself when someone loads a web page. 

But well how does it work?

Is there a different trick they use for automatic updates? 
 

Can you give me some hints!?

 

greetings...😉

interested in all things Linux - and Arduino / RaspBerryPi :: besides that in WordPress - and its development: - with the options to extend with more than 50 Tsd Pliugins: Thats so awesome 😉

Link to post
Share on other sites

  • 2 weeks later...

good day dear C2dan88

 

first of all many thanks for the heads up. 

 

Well : I am using WordPress on my server which only uses SFTP using an SSH key.

I did some more research and got aware that: WordPress will only prompts me for the FTP connection information, while trying to install plugins or a WordPress update. well i wonder why: it seems that it cannot write to /wp-content directly. At least it seems to be the point. I guess that this is the cause of the issue. Otherwise i guess that the web server would have write access to the necessary files, it will take care of the updates and installation automatically. This method does not require me to have FTP/SFTP or (even more) SSH access, but it does require me to have specific file permissions set up on your webserver.

the question is: how to do that: how to tell the Web-Server this - and how to set the specific file permissions set up on the webserver?

 

Which mehthods can be used here!?

in other words: how does the configuration file looks - if i add all the necessary directives to the file?


 

Look forward to any and all help.

 

cheers

 

 

update: i did some further research
 

Well I have a wordpress site up and running. Which steps are needed for the site updates...
   

A The plugin
B. The theme

C. The whole wordpress

 

 

   Automatically..( that is when I am trying to get the process started in the dashboard ).?
    Heard that I have to do some corrections in the configuration file?!

    Is that correct? Is that the line that should be corrected?

  

 define( ?WP_AUTO_UPDATE_CORE?, true  


note: the question is: is this the only correction i need to do in the config-file!?

 

update -- this did the trick - now i can install plugins etc. etx through the backend.. - now this thread can be marked as solved

define( 'FS_METHOD', 'direct' );

 

  
   

interested in all things Linux - and Arduino / RaspBerryPi :: besides that in WordPress - and its development: - with the options to extend with more than 50 Tsd Pliugins: Thats so awesome 😉

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×