Common Database Issues
At some point, you may encounter database-related issues while using NexoPOS. These problems can occur regardless of the database engine you’ve selected, and each has a specific resolution.
No left Space On Device
This error indicates that your server has run out of available storage, preventing new database entries from being created. If Laravel Telescope is enabled on your NexoPOS installation, you can start by clearing its records using the following command:
php artisan telescope:prune --hours=0
If the command does not resolve the issue, you should investigate other sources consuming disk space on your server. In many cases, MySQL log files are the primary cause and may need to be cleaned up.
Access Denied
This error typically occurs when NexoPOS attempts to perform a database operation that is not permitted. The most common cause is incorrect or insufficient database user permissions.
Ensure that the database credentials defined in your .env file correspond to a user with the appropriate privileges (such as INSERT, UPDATE, and DELETE) on the target database.
Mysql Server Gone Away
This error generally indicates that the MySQL service is not running properly or has stopped unexpectedly. You will need to investigate the server logs and configuration to determine the root cause and restore the database service.