Update all versions except Mysql

rahman051

Verified User
Joined
Sep 19, 2019
Messages
11
Hello
We want to do all the available updates
By the following command:
Code:
/usr/local/directadmin/custombuild/build update_versions
Just service Mysql do not update
What is the solution?
 

Active8

Verified User
Joined
Jul 13, 2013
Messages
1,156
You can update each service by name separately like:
./build php
./build apache
......
 

jamgames2

Verified User
Joined
Aug 16, 2019
Messages
755
I don't know if it work or not, trying set to "no" and run ./build update_versions

Code:
./build set mysql_inst no
 

rahman051

Verified User
Joined
Sep 19, 2019
Messages
11
It would be great if custom construction was possible

Only the third method can be done

The number of our servers is +800
Each has different versions

We use a network with private keys on all servers
All servers are updated together

Because of this we can not set a separate version on each server

Do you have a solution?
@smtalk
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
8,997
Location
Maastricht
You could create a batchfile or script with all the services seperately except mysql/mariadb like:
Code:
./build update apache
./build update exim
./build update eximconf
etc..
That will be a list, but it would be working and you only have to start 1 script. If the service has no updates, it won't update it and start trying the next one.

Maybe smtalk has a better idea, but otherwise this might be something.
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
10,486
Location
LT, EU
Why isn't it okay to just do:
Code:
/usr/local/directadmin/custombuild/build set mysql_inst no
 
Top