diff options
author | dvl <dvl@FreeBSD.org> | 2018-09-02 03:02:13 +0800 |
---|---|---|
committer | dvl <dvl@FreeBSD.org> | 2018-09-02 03:02:13 +0800 |
commit | 7b097b83edf3ef4605ebacafad49b64504bd1bbe (patch) | |
tree | f808f82725286f318768fa8a471cf52028704817 /UPDATING | |
parent | 7ad793c467336ad89c0f19b7fe907897abfe0c9d (diff) | |
download | freebsd-ports-gnome-7b097b83edf3ef4605ebacafad49b64504bd1bbe.tar.gz freebsd-ports-gnome-7b097b83edf3ef4605ebacafad49b64504bd1bbe.tar.zst freebsd-ports-gnome-7b097b83edf3ef4605ebacafad49b64504bd1bbe.zip |
Upgrade to 1.42.01
Approved by: maintainer (via private email)
Differential Revision: https://reviews.freebsd.org/D16942
Diffstat (limited to 'UPDATING')
-rw-r--r-- | UPDATING | 52 |
1 files changed, 52 insertions, 0 deletions
@@ -6,6 +6,58 @@ You should get into the habit of checking this file for changes each time you update your ports collection, before attempting any port upgrades. 20180901: + AFFECTS: net-mgmt/librenms + AUTHOR: dvl@FreeBSD.org + + As of version 1.42, to conform with man hier, logs and rrd files have + relocated outside the WWW directory. When upgrading from < 1.42 to more + recent versions, the following steps are required. + + You must update config.php and manually relocate the rrd and log files. + Before upgrading, please stop librenms, update the configuration, and + relocate the files. + + If you find graphs are not updating, fping >= 4.0 requires an IPv6 + address. Adding an IPv6 address should fix graphing. + + Please add these entries to config.php: + + $config['installed_from_package'] = true; + $config['log_dir'] = '/var/log/librenms'; + $config['rrd_dir'] = '/var/db/librenms/rrd'; + + To relocate the files: + + mkdir /var/log/librenms /var/db/librenms + chown www:ww: /var/log/librenms /var/db/librenms + cd /usr/local/www/librenms + mv rrd /var/db/librenms/ + mv logs/librenms.log /var/log/librenms/ + rmdir logs + + An application key is required. Please follow these steps to generate it: + + cd /usr/local/www/librenms + cp -i .env.sample .env + + You might need to set your database details in that file. + Then run: + + php artisan key:generate + + The output should look something like this: + + ************************************** + * Application In Production! * + ************************************** + + Do you really wish to run this command? (yes/no) [no]: + > y + + Application key [base64:P62La9V........qw=] set successfully. + + +20180901: AFFECTS: users of samba46 AUTHOR: antoine@FreeBSD.org |