lime-server/README.update.md
2025-06-17 16:29:28 +07:00

1.6 KiB

PHP Authenticated Lime server

From version <1.3 to 1.3(released october 2024) or above

Version 1.3 received a modification regarding the path used to store log files:

  • log files are stored in a dedicated directory to fix a logrotate bug on access rights
  • log file names are not dependants on base algorithm

Updating from a version <1.3 you will loose all the previous server log. If you intend to keep them, make a copy if of /var/opt/belledonne-communications/log/*lime*.log in a safe place before proceeding to the update.

Update your configuration files: You can either just adjust to the new directory:

sudo sed -i 's/\/var\/opt\/belledonne-communications\/log\//\/var\/opt\/belledonne-communications\/log\/lime-server\/`/g' /etc/logrotate.d/lime-server.conf
sudo sed -i 's/\/var\/opt\/belledonne-communications\/log\//\/var\/opt\/belledonne-communications\/log\/lime-server\/`/g' /etc/lime-server/lime-server.conf

This will set the storage of your log files to the dedicated directory

or modify by hand in your configuration files (/etc/logrotate.d/lime-server.conf and */etc/lime-server/lime-server.conf" the paths to your log files. New default locations are (valid for any base algorithm selected):

/var/opt/belledonne-communications/log/lime-server/lime.conf

/var/opt/belledonne-communications/log/lime-server/access-lime.conf

/var/opt/belledonne-communications/log/lime-server/lime-db.conf

If your installation use lime logs to perform fail2ban inspection, do not forget to update your configuration