FAQ and troubleshooting¶
Questions¶
Does the extension delete anything automatically?¶
No. It has no scheduled task and no background job. Accounts, invoices and log rows are only deleted when an admin clicks a delete or clean button.
Can I undo a deletion?¶
No. The extension deletes the records from the database. Restore from your own database backup if you need them back. Take a backup before your first real run.
Do customers get notified when their account is deleted?¶
No. The extension sends no e-mails and shows nothing in the client area.
Can staff or admin accounts be deleted by mistake?¶
No. The Ghost Accounts page only lists users without a role, and the delete check refuses any user that has a role.
What happens to a deleted client's invoices, services and tickets?¶
They are deleted with the account by Paymenter's database, along with the client's orders and credits. With the three protection settings on, accounts with paid invoices, active or suspended services, or open tickets are not deleted in the first place. The extension does not terminate services on your servers.
Why does an account show "Likely Bot" but not appear under the "Likely bot/dead account" filter?¶
They use different rules. The column compares the risk score with Minimum bot score. The filter requires inactivity of at least Default inactivity days and no paid invoice, no orders, no services and no tickets. See Usage.
Does "Default inactivity days" change the risk score?¶
No. The score always adds points at 30, 60 and 90 days of inactivity. The setting only affects the Likely bot/dead account filter and the Likely Bot/Dead counter.
Can I add my own disposable e-mail domains?¶
Not in the settings. The six domains are fixed in the code. See Usage.
Can I preview account deletions like I can preview invoices?¶
No. Dry run mode exists for the Invoice Cleaner and the Log Cleaner only. For accounts, use the filters and the Signals column to check the list before you delete.
Does the Invoice Cleaner ever touch paid invoices?¶
No. Only the statuses draft, pending, unpaid, cancelled and canceled can be included, depending on the three status checkboxes.
Troubleshooting¶
The "Client Ops" group or one of its pages is missing¶
- The extension must be installed and Enabled.
- Your role needs the view permission for the page: View Ghost Accounts Cleaner, View Invoice Cleaner or View Log Cleaner. See Configuration.
- After uploading or replacing the files, run
php artisan optimize:clear.
I see the page but no delete, preview or clean buttons¶
Your role has the view permission but not Delete ghost account candidates, Delete old unpaid invoices or Run log cleanup.
"Deletion blocked by safety rules"¶
The account has paid invoices, active or suspended services, open tickets, or an admin role. Open the user with Open User to check. If you are sure the account should go, switch off the matching protection in the settings. Read the warning in Configuration first.
A bulk delete reports skipped accounts¶
Skipped accounts are the ones blocked by the same safety rules. They stay in the list.
The Invoice Cleaner only shows "Preview" and nothing gets deleted¶
Invoice cleanup: dry run mode is on, which is the default. Switch it off on the extension's settings page, save, and reload the Invoice Cleaner.
The Invoice Cleaner says "No eligible invoices"¶
No invoice matches the current settings. Check Unpaid invoice age threshold (days) and make sure at least one of the three status checkboxes is on. If the Included Statuses counter shows None configured, all three are off.
The Log Cleaner only shows "Preview" and "Dry Run Mode Active"¶
Log cleanup: dry run mode is on, which is the default. Switch it off on the extension's settings page, save, and reload the Log Cleaner.
A log source shows "Disabled" or the result says "Disabled (retention = 0)."¶
The retention for that source is set to 0. Enter a number of days above 0 to include it.
A log source is not listed, or the result says "Table does not exist."¶
The Log Cleaner only lists tables that exist in your database. If, for example, your Paymenter database has no activity_log table, the Activity Logs row is not shown, and a Preview All (Dry Run) or Clean All Logs run reports "Table does not exist." for it. The other sources are still processed.
"No log tables found in the database."¶
None of the three tables exists in your database, so there is nothing for the Log Cleaner to do.
After cleaning authentication logs, many clients show "Never" as last login¶
The Ghost Accounts page reads last logins from the same user_authentication_logs table that the Log Cleaner empties. Clients whose log rows were all deleted look as if they never logged in, and their risk score rises by 20. Raise Auth log retention (days), or set it to 0 to leave that table alone.
Changed settings have no effect¶
Save the settings page and reload the extension's page. Buttons and lists are built from the settings when the page loads.