licence restart message on licencing/updates page

alexjohn

Verified User
Joined
Sep 1, 2017
Messages
42
DirectAdmin has not been restarted since the last license.key update!

SInce my last DA update, I've been getting this message in the licencing page in the admin panel.

The licence is not past its expiry, do I need to manually restart DA each time or is it fine?
 
DirectAdmin has not been restarted since the last license.key update!

Also do you have Cron setup for DA?
check with this.
Code:
cd /usr/local/directadmin/custombuild
./build options

Set like this change daily to weekly or monthly if you want
Code:
cd /usr/local/directadmin/custombuild
./build set cron yes
./build set cron_frequency daily
./build set notifications yes
./build set da_autoupdate yes
./build set updates yes
./build set webapps_updates yes
./build set clean yes
./build set cleanapache yes
./build set clean_old_tarballs yes
./build set clean_old_webapps yes
./build cron
 

Also do you have Cron setup for DA?
check with this.
Code:
cd /usr/local/directadmin/custombuild
./build options

Set like this change daily to weekly or monthly if you want
Code:
cd /usr/local/directadmin/custombuild
./build set cron yes
./build set cron_frequency daily
./build set notifications yes
./build set da_autoupdate yes
./build set updates yes
./build set webapps_updates yes
./build set clean yes
./build set cleanapache yes
./build set clean_old_tarballs yes
./build set clean_old_webapps yes
./build cron


Thanks Brent, I don't have cron enabled but it appears this is more pertinent for DA updating rather than the restart regarding the licence?
 
@smtalk @zEitEr @Richard G@ikkeben @ditto
DirectAdmin has not been restarted since the last license.key update!

Since my last DA update, I've been getting this message on the licensing page in the admin panel.

The license is not past its expiry, do I need to manually restart DA each time or is it fine?
Please read through the thread how do we make sure our License is current? Cron?

I don't have this issue I thought it was because I had cron setup.

here is the doc. https://forum.directadmin.com/threa...rectadmin-1-46-or-later-is-recommended.44743/


Crontab options:

  • cron - enable crontab for CustomBuild, use "./build cron" to set-up. Possible values: yes/no (default: no).
  • cron_frequency - defines how often the cronjob should be executed. Possible values: hourly/daily/weekly/monthly (default: weekly).
  • email - set email for notifications. Possible values: any email address (default: [email protected]).
  • notifications - enable email notifications about the updates. Possible values: yes/no (default: yes).
  • da_autoupdate - Update DirectAdmin automatically when update is available. Possible values: yes/no (default: yes).
  • updates - update software/applications automatically when updates are available. Possible values: yes/no (default: no).
  • webapps_updates - update (automatically) only web applications (phpMyAdmin, RoundCube, SquirrelMail etc.). Possible values: yes/no (default: yes).
 
Last edited:
@smtalk @zEitEr @Richard G@ikkeben @ditto

Please read through the thread how do we make sure our License is current? Cron?

I don't have this issue I thought it was because I had cron setup.

here is the doc. https://forum.directadmin.com/threa...rectadmin-1-46-or-later-is-recommended.44743/


Crontab options:

  • cron - enable crontab for CustomBuild, use "./build cron" to set-up. Possible values: yes/no (default: no).
  • cron_frequency - defines how often the cronjob should be executed. Possible values: hourly/daily/weekly/monthly (default: weekly).
  • email - set email for notifications. Possible values: any email address (default: [email protected]).
  • notifications - enable email notifications about the updates. Possible values: yes/no (default: yes).
  • da_autoupdate - Update DirectAdmin automatically when update is available. Possible values: yes/no (default: yes).
  • updates - update software/applications automatically when updates are available. Possible values: yes/no (default: no).
  • webapps_updates - update (automatically) only web applications (phpMyAdmin, RoundCube, SquirrelMail etc.). Possible values: yes/no (default: yes).

Hi Brent,

Again, I must say, I appreciate your help, but it doesn't appear as if we've got any closer to the bottom of this, which is, why has this message suddenly appearing and does it have any adverse effects?
 
@bdacus01 Sorry Brent, can't help you here. I always setup cron for directadmin by default so if it has to do with cron being enabled or not, then I never had this message before or maybe once in all those years and then I just restarted directadmin myself manually.

@alexjohn It's indeed odd that a cause is not found yet. It could be caused by some hickup. That's why it might be a good thing to restart manually and see if it happens again at the next update. If yes, we can rule out some hickup.
 
Hi Brent,

Again, I must say, I appreciate your help, but it doesn't appear as if we've got any closer to the bottom of this, which is, why has this message suddenly appearing and does it have any adverse effects?
I hear ya. In general its not a big deal. Just restart manually as some have said. Otherwise, log a ticket with support if you need a more concise explanation.

I always setup cron for directadmin by default so if it has to do with cron being enabled or not,
Me to @Richard G
 
I hear ya. In general its not a big deal. Just restart manually as some have said. Otherwise, log a ticket with support if you need a more concise explanation.


Me to @Richard G
Thanks, can I automate this in any way? I know you noted the crons in custom build but they appear to be for updates, anyway to automate restarting DA?
 
As far as I know it is done automatically normally. However there are more options for example create a cronjob which restarts DA on a daily base or something like that?
 
Back
Top