Skip to main content

DirectAdmin License Expired Fix

In this guide, we’ll show you how to fix the “License has expired” error

Updated this week

In some cases you may encounter an issue in your DirectAdmin control panel with error message "License has expired". To solve this issue you need to apply three simple commands in your server while logged in via SSH as "root" user.

1. Add new task for license confirmation

Adds a license update request to the DirectAdmin task queue by running this command:

echo 'action=update&value=license' >> /usr/local/directadmin/data/task.queue

2. Initiate the queued task

Process the queued tasks so the license update runs immediately:

/usr/local/directadmin/dataskq

3. Restart DirectAdmin

Restarts the DirectAdmin service to load the refreshed license.

systemctl restart directadmin

Login into your DirectAdmin and the error message should not be seen anymore.

Did this answer your question?