This guide provides solutions for common issues that you may encounter when using Marmotte. If your issue isn't covered here, please check the GitHub Issues or contact our support team if you're a paying customer.
- Docker and Laravel Sail Issues
- Marmotte Startup Issues
- Database Connection Issues
- Performance Issues
- HTTP Errors
- Asset Management Issues
If you're getting an error that Docker or Laravel Sail is not installed, you can download and install Docker from the official Docker website. Laravel Sail is included with your Marmotte installation, so no additional installation is needed.
If Laravel Sail commands are not working:
- Make sure Docker is running.
- Check your Docker resources. Laravel Sail requires at least 2GB of RAM allocated to Docker.
- Try prefixing your commands with
sail
, e.g.,./vendor/bin/sail up
.
If Marmotte doesn't start after running the ./vendor/bin/sail up
command, try the following steps:
- Check the Docker logs for any error messages.
- Make sure all Docker services are running properly.
- Ensure that there are no conflicting services running on the same ports that Marmotte uses.
If Marmotte is unable to connect to the MySQL database:
- Ensure that the MySQL service is running in Docker. You can check this with
./vendor/bin/sail docker ps
. - Check the database configuration in the
.env
file and make sure the credentials and database name are correct. - Ensure that the MySQL database is correctly initialized and populated with the necessary tables.
If Marmotte is running slowly, you might want to check the following:
- Ensure your system has sufficient resources (CPU, RAM, Disk Space). Marmotte and its associated services (like MySQL and Redis) need enough resources to run efficiently.
- Check the Docker logs for any error messages or warnings. These can often provide clues about performance issues.
- If you're using Marmotte in a production environment, make sure you're using a production-ready configuration for your services (e.g., MySQL, Redis), and that they're appropriately optimized for your workload.
If you're encountering 4xx or 5xx HTTP error codes:
- Check the Laravel log files for any error messages.
- Ensure that your
.env
file settings are correct. - Check your application's route configurations to ensure they're correct.
If you're having issues with asset management:
- Check the Laravel log files for any error messages.
- Ensure that the MySQL database is correctly initialized and populated with the necessary tables.
- Make sure you have the necessary permissions to add or update assets.
Remember, if you can't find a solution to your problem in this guide, feel free to ask for help in our Discord community or contact our support team if you're a paying customer.