DA keeps updating itself

gate2vn

Verified User
Joined
Nov 9, 2004
Messages
507
Location
Oslo
I choose Yes for notifications, No for both updates and webapp_updates in Custombuild. With this setup, I expect DA not updating by cron. It's not happening immediately when a new DA version comes up, but after a few days, DA keeps updating itself, without any action from us.

In cron log, at the time of updating, I see this: Oct 18 21:09:01 server-name crond[2640]: (diradmin) RELOAD (/var/spool/cron/diradmin)
but in /var/spool/cron/diradmin there are only crons for backup.

Any idea why it happens?
 
Hello,

I guess you use either beta or alpha channel for DirectAdmin. They have releases much more often than both stable and current. If you want to disable auto updates of DIrectAdmin versions, then run as root in SSH:

Bash:
da c | grep ^autoupdate=

If you see autoupdate=1 it would mean you have DirectAdmin auto updates enabled. To disable them run the next command:

Bash:
da config-set autoupdate 0 --restart
 
Hi.

No, I am on the current channel. Autoupdate=1.

But then why does DA not update right when a new DA version comes up? Like the current version 1.669, the first release was on Wednesday, but this DA was just updated 2 hours ago, after 2 days+. I have cron checking everyday.
 
You might check https://docs.directadmin.com/directadmin/general-usage/updating-da.html for more details.

It says: DirectAdmin performs a NSLOOKUP operation to identify an available version number for a particular update channel.

If your DirectAdmin version is not updated immediately, it would mean either of the two:

1. DNS resolvers your server uses have too long caching period.
2. DirectAdmin uses a kind of a delay before retrieving updates in order to avoid DDOS-like peaks on their file servers.
 
Thanks for pointing to the link. I am using Google resolvers, so I guess the 2nd case is the reason.
 
Back
Top