Maintenance
Click Maintenance in the sidebar. The screen has cleanup settings with their cron job URLs, a folder check and two repair tools.
Cleanup settings
The Maintenance Settings card is marked Experimental. Each setting is a number of hours. 0 turns the cleanup off.
Delete guest accounts
Delete Guest Accounts After removes guests whose last visit is older than this many hours, with their room memberships, their messages and the files they sent. The default is 48 hours.
Delete group chats
Delete Group Chats After removes room messages older than this many hours, with their files. The default is 0, so room messages are kept.
Delete private chats
Delete Private Chats After removes private messages older than this many hours, with their files. The default is 0.
Click Update to save. Deleted messages cannot be brought back.
Cron jobs
The cleanups do not run on their own. Under each setting the screen shows its Cron job URL:
| Cleanup | URL |
|---|---|
| Guests | https://www.example.com/index.php?option=com_easychatroom&route=cron-delete-guests |
| Room messages | https://www.example.com/index.php?option=com_easychatroom&route=cron-delete-group-chats |
| Private messages | https://www.example.com/index.php?option=com_easychatroom&route=cron-delete-private-chats |
Copy the URLs from your own screen, they contain your domain. When you open Maintenance in the Joomla administrator, the URLs shown contain /administrator/. Remove that part: the cron jobs must call the site address, as in the table above. Ask your host to call each one regularly, for example once an hour, with a cron job such as:
0 * * * * curl -s "https://www.example.com/index.php?option=com_easychatroom&route=cron-delete-guests" > /dev/null
Most hosting panels have a "Cron jobs" page for this. You can also use an online cron service.
The URLs need no password. Anyone who calls them only runs the cleanup you configured, earlier than planned. To stop a cleanup, set its hours to 0.
Folder Permissions
The table lists the media folder, each of its subfolders and the documents folder, with their status: Writable, Folder Does Not Exist, Not a Directory or Not Writable. Fix every line that is not Writable, or uploads fail. Ask your host if you cannot change folder permissions yourself.
Fix Member Timezones
Resets every registered member whose timezone differs from the Timezone in Settings > General. Guests are not changed, their browser detects their timezone. Run it after you change the default timezone.
- Click Detect to see how many members would change.
- Click Apply Fix.
Repair Broken Replies
Some replies saved by older versions lost the message they answered and show as an empty bubble. This tool turns them back into ordinary messages. The lost text cannot be recovered.
- Click Detect to see how many replies are affected.
- Click Apply Repair.