Troubleshooting
Most problems have a simple cause. Find what you are seeing below, and follow the steps. If that does not solve it, this page also explains how to read the log and what to send to support.
3 min read
Start here
Three questions solve most problems.
- What changed? A new update, a new server setting or a new printer?
- Is it one person, or everybody? One person points to their browser or role. Everybody points to the server.
- Does it happen every time? If so, write down the exact steps.
Reading the log
Errors are written to storage/logs/laravel.log. Open the last lines and find the most recent error. Look for the word ERROR and read the first line after it. You do not need to understand all of it, and support will want to see it.
The site
| What you see | What to do |
|---|---|
| A blank page, or "Server Error" | Read storage/logs/laravel.log. Check that storage and bootstrap/cache can be written to, then run php artisan optimize:clear. |
| A page with no styling, or missing images | Check that public/build was uploaded and that APP_URL is correct. Then reload with Ctrl+F5. |
| "419 Page Expired" when signing in | APP_URL must match the address in the browser, including https. Clear the site's cookies, and try again. |
| Uploaded pictures do not show | Run php artisan storage:link, and check that storage/app/public can be written to. |
| Everything is slow | Check your server's memory and disk. See whether a backup or large import is running. |
Set-up and updates
| What you see | What to do |
|---|---|
| Database set-up fails | Use MySQL 8.0+ or MariaDB 10.6+ with utf8mb4, and give the database user all privileges. |
| An add-on or update upload is refused | Raise upload_max_filesize and post_max_size, and client_max_body_size on Nginx. Or place the package in storage/app/private/updates. |
| An update stops | The shop comes back by itself. Open Settings›General›Updates, and continue from where it stopped. |
| What you see | What to do |
|---|---|
| Emails are not sent | Check the MAIL_* settings with your mail provider. Sales never wait for email, and failed messages are listed and can be sent again. See Configuration. |
| Emails land in spam | Send from your own domain, and ask your mail provider about its domain checks. |
The till
| What you see | What to do |
|---|---|
| A receipt prints with margins, or at the wrong width | In the browser's print window, choose the receipt printer, its paper size, no margins and no headers or footers. |
| The scanner types in the wrong field | Turn on the barcode scanner option on the register, and click on the till before scanning. |
| A barcode is not found | Check that the number on the product matches what the scanner reads, by scanning into a text box. |
| The drawer does not open | Check the cable from the printer to the drawer, and the cash drawer option on the register. |
| The cash count is off | See Closing a session. Check any cash paid out that was not recorded. |
| Stock looks wrong | Open Moves History for that product. Every move is listed. |
Asking for help
See Licence and support. Include your version, what you did, what you expected and what happened instead, with the last lines of the log. A clear report gets an answer much faster.