Author Topic: How to enable CWP Panel packages auto update  (Read 11914 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
How to enable CWP Panel packages auto update
« on: April 13, 2019, 09:24:23 AM »
Hi, please how to enable packages autoupdate for CWP Panel?

Offline
*****
Re: How to enable CWP Panel packages auto update
« Reply #1 on: April 18, 2019, 05:45:46 AM »
Hi,

Hi, please how to enable packages autoupdate for CWP Panel?

what exactly packages would you like auto-updating?
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: How to enable CWP Panel packages auto update
« Reply #2 on: April 18, 2019, 07:00:45 PM »
The packages listed at CWP>yum manager>List of Available Packages for Update.

Is there a way to set them to update automatically once they are available or alternatively, once per day at a certain hour?

Offline
*****
Re: How to enable CWP Panel packages auto update
« Reply #3 on: April 19, 2019, 11:46:36 AM »
Hi, nope. I do not think so.
But you can add some cronjob (under root user) like the below one:
Code: [Select]
* * */1 * * yum -y -q update 2>/dev/null
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: How to enable CWP Panel packages auto update
« Reply #4 on: April 20, 2019, 08:45:05 AM »
But why would you want to enable the automated (and uncontrolled) update of packages? This goes against any good practice in Change Management, whose purpose is to safeguard the well-running state of a Production system. Any change brought into the Production system should have been thoroughly tested in a Quality Assurance or Test environment, which replicates the Production system, but whose failure would not be an issue. Only after you confirmed that an update will not interfere in any way with the OS and the applications running on it, only then should that update be applied in Prod. Otherwise you assume all risks for an update to crash your site or even the server completely. And to apply those automatically, so you don't even see which packages will be installed? I see that you like to live dangerously.

Offline
*
Re: How to enable CWP Panel packages auto update
« Reply #5 on: April 23, 2019, 07:20:14 AM »
Hi Igor, thank you! :-)

Hi, nope. I do not think so.
But you can add some cronjob (under root user) like the below one:
Code: [Select]
* * */1 * * yum -y -q update 2>/dev/null

Offline
*
Re: How to enable CWP Panel packages auto update
« Reply #6 on: April 24, 2019, 07:30:59 AM »
Please, what is the code I should add in the crontab to make the server reboot after it had done all the updates?

Hi, nope. I do not think so.
But you can add some cronjob (under root user) like the below one:
Code: [Select]
* * */1 * * yum -y -q update 2>/dev/null

Offline
*****
Re: How to enable CWP Panel packages auto update
« Reply #7 on: April 29, 2019, 05:46:43 AM »
Please, what is the code I should add in the crontab to make the server reboot after it had done all the updates?

Hi, nope. I do not think so.
But you can add some cronjob (under root user) like the below one:
Code: [Select]
* * */1 * * yum -y -q update 2>/dev/null

I do not think a reboot required. I would not reboot the server with no emergency reason.
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: How to enable CWP Panel packages auto update
« Reply #8 on: November 19, 2019, 09:21:47 AM »
Please, what is the code I should add in the crontab to make the server reboot after it had done all the updates?

Hi, nope. I do not think so.
But you can add some cronjob (under root user) like the below one:
Code: [Select]
* * */1 * * yum -y -q update 2>/dev/null

I do not think a reboot required. I would not reboot the server with no emergency reason.

This goes against any good practice in Change Management, whose purpose is to safeguard the well-running state of a Production system. Any change brought into the Production system should have been thoroughly tested in a Quality Assurance or Test environment, which replicates the Production system, but whose failure would not be an issue. Only after you confirmed that an update will not interfere in any way with the OS and the applications running on it, only then should that update be applied in Prod.