In general yes. Software updates bring security fixes and new function.Should I always keep monitoring and updating every software I see in my custom build
Always It was created by man. Something can go wrong. I have upgraded almost weekly since July of 2019 without issue.In a production server can any thing go wrong and break things?
YesJust wonder ! Should I always keep monitoring and updating every software I see in my custom build ( update software ) section?
In a production server can any thing go wrong and break things?
you meanWell, just do './update build' beforehand!
In general yes. Software updates bring security fixes and new function.
Always It was created by man. Something can go wrong. I have upgraded almost weekly since July of 2019 without issue.
You also need to update the server with yum or apt as well depending on your OS. After you do OS updates I like to run ./build all as well.
I assume most have some kind of scheduled process for this monthly, quarterly and yearly.
my opinion. others may vary.
In general yes.OK thanks so I must
1. Do yum update ( I use centos)
2. Go to directadmin custom build - update software and update them
3.
cd /usr/local/directadmin/custombuild
./build update
./build all d
./build rewrite_confs
? Is this order correct?
yum update
or
yum update -y
cd /usr/local/directadmin/custombuild
./build set_fastest
./build clean
./build update
./build all
./build rewrite_confs
you dont really seem to need nagging...`nagging` in this forum
I agree dont get me wrong here. However, I have done auto updates for almost 2 years with no issue. Not on all of my servers but I just like to see how good a Application/Server is on a few test boxes. Most of the issues seen here on the forum related to updating is doing it to early(adopting New PHP within a few weeks), Strange/Old customizations not templated or documented, and not keeping up in general (still having php5X). Which really has nothing to do with DA it all to do with the Server Owner.Never do auto update.
Every Day. when in doubt backup. when you say lets try this backup. when you say this wont hurt anything backup....I would do backup before updating, and after update
In general yes.
Code:yum update or yum update -y
-y is considered dangerous because it just does the update.
if you do the first one without -y you get a chance to say no dont do the OS updates.
I would add few more but yes you go it. Set Fastest picks the best mirror. Clean cleans up old tarbals an old build junk. On any of the commands you dont need d or n anymore they are legacy options not used. Won't hurt just do really do anything.
Code:cd /usr/local/directadmin/custombuild ./build set_fastest ./build clean ./build update ./build all ./build rewrite_confs
Depending on the horsepower of your server it could take 5 min to an hour.
only updates the Custombuild system../build update
ot any of the Applicati
I can see there is also a " Build software " Option in there. What is that ? Do I need to run them?only updates the Custombuild system.
Not any of the Applications.
if you want to do it through the GUI and not SSH.
it's the Update Software tab. Click the one that says update all
This is same as ./build update_versions in ssh.
in gui go to tab Update Software Configuration
Click all the ones that apply
to do rewrite_confs. it's the one labeled Rewrite WEB server configuration files
True, I did recently notice that in the documentation some where. It automatic though right? Also is it a full upgrade or just what is needed for DA?The option full in the below code updates your OS files as well.
Code:cd /usr/local/directadmin/custombuild ./build update ./build update_versions full
I am weird. I read alot.I hardly keep up to date reading documentation........ Maybe I should start for 2021!!!!!!!!!!
Never knew myself.
True, I did recently notice that in the documentation some where. It automatic though right? Also is it a full upgrade or just what is needed for DA?
doVersions() {
cd ${CWD}
if [ "$2" = "full" ]; then
if [ ${OS} = "FreeBSD" ]; then
pkg upgrade -y
elif [ -e ${DEBIAN_VERSION} ]; then
apt-get update
apt-get -y upgrade
else
yum -y update
fi
doUpdate
fi