In this post, I will go to explain how to set up a master-master replication system between two MySQL to replicate an existing database.
The MySQL master-master configuration is a master-slave configuration in both directions and allows us to get a high availability configuration because you have the same data in both servers and if one goes down you can still work with the live server.
Laravel stores the logs of the project in the file «storage/logs/laravel.log». If you don’t rotate this file can increase its size a lot, using the most part of the storage, causing problems with a full disk.
Updating a Debian 9 I get this error with the «grafana» update:
$ apt update
Ign:7 https://packagecloud.io/grafana/stable/debian stretch InRelease
Err:9 https://packagecloud.io/grafana/stable/debian stretch Release
404 Not Found
Reading package lists... Done
E: The repository 'https://packagecloud.io/grafana/stable/debian stretch Release' does no longer have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.