Drifts
The Drifts page lists where the server differs from what the panel expects. This is how to read it.
What a drift is
The panel's database says what should exist: accounts, their limits, cron jobs, processes, PHP settings. The server holds what does exist. A drift is one place where the two disagree.
The Drifts page (under Server) is a report for administrators; customers never see it. It is read-only: the comparison records differences and repairs none of them. An empty list is the normal state.
Drifts appear when something changed the server without the panel, or the panel without the server:
- A rollback returned the panel's database to an earlier moment, and things created since then are still on the server.
- Someone edited or removed a file on the server by hand.
- A change failed half-way and was not retried.
When the comparison runs
- Every night at 04:10.
- At the end of a rollback.
- When you ask, as root:
runuser -u alxpanel -- php84 /usr/share/alxpanel/panel/artisan hosting:reconcile
Each run replaces the whole list. Three things follow from that:
- A drift you fixed stays on the page until the next run. Run the command to see the result at once.
- Detected is the time of the latest run, not the first time the difference was seen.
- When the panel cannot reach the agent, the run stops and the previous list is kept.
Suspended accounts are compared too. Anything with a change still in progress, or whose last change failed, is skipped: a failure is already shown on the item's own page.
Reading a row
| Column | Meaning |
|---|---|
| Account | The account's username. For something on the server that belongs to no panel account, the server-side name such as u10042, or a dash. |
| Kind | What differs. See the tables below. |
| Details | The values compared, as the panel recorded them. expected is what the panel wants, actual is what the server has. |
| Detected | When the latest run found it. |
Accounts
| Kind | Meaning | What to do |
|---|---|---|
missing_on_server |
The panel has the account; the server has no such user. | The account's sites cannot work. This happens when the server was restored to a state older than the account, or the user was removed by hand. |
uid_mismatch |
The account's Linux user has a different numeric id than the panel assigned. | Something changed the user by hand. Do not create anything in the account until it is put back. |
unknown_on_server |
The server has a hosting account that the panel does not know. | Typical after a rollback past the account's creation. Its files are still under /srv/hosting. |
quota_mismatch |
The disk quota on the server is not the account's disk limit. | Re-apply disk quota on the account's edit page. |
limits_mismatch |
The CPU or memory limits on the server are not the account's. | Re-apply resource limits on the account's edit page. |
db_limits_mismatch |
A database user of the account has a different connection limit than the account's. | Re-apply resource limits. |
suspension_mismatch |
The panel says suspended and the server does not, or the other way round. | Retry suspension or Unsuspend in the Accounts list. |
Cron jobs, processes and Valkey
| Kind | Meaning | What to do |
|---|---|---|
cron_missing |
A cron job in the panel has nothing on the server, so it does not run. | Run hosting:rerender (below), or save the job again. |
process_missing |
A background process in the panel has nothing on the server, so it does not run. | Run hosting:rerender, or save the process again. |
valkey_missing |
The account's Valkey store is in the panel and not on the server. | Run hosting:rerender. |
cron_unexpected, process_unexpected, valkey_unexpected |
The server has a cron job, process or Valkey store that the panel has no record of. It may still be running. | Typical after a rollback. Create it again in the panel if it is wanted; Details names the owner and the id. |
hosting:rerender writes the server-side files of every active site, cron job, process and Valkey store again, for active accounts:
runuser -u alxpanel -- php84 /usr/share/alxpanel/panel/artisan hosting:rerender
PHP settings
| Kind | Meaning | What to do |
|---|---|---|
php_ini_missing |
The account's PHP settings for one PHP version are in the panel; the file is not on the server. | Save the account's PHP settings for that version again. |
php_ini_mismatch |
The file on the server is not what the panel saved. | Save the settings again. The file was edited by hand; the panel's copy wins. |
php_ini_unexpected |
The server has a PHP settings file for an account and version that the panel has no record of. | Typical after a rollback. |
php_modules_mismatch |
The PHP modules enabled on the server are not the set the panel last applied. | Save the account's PHP modules for that version again. |
Details names the account and the PHP version.
Server settings
| Kind | Meaning | What to do |
|---|---|---|
ssh_config_mismatch |
The panel's SSH server settings file was changed on the server. | Save the settings on the SSH page again, or copy the change you made by hand into the panel first. |
fail2ban_config_mismatch |
The panel's fail2ban jail file was changed on the server. | Save the fail2ban settings again. |
These two belong to no account. For settings of your own, use the files that the panel never touches: see Files and switches.