aboutsummaryrefslogtreecommitdiff
path: root/UPDATING
diff options
context:
space:
mode:
authorDan Langille <dvl@FreeBSD.org>2018-09-01 19:02:13 +0000
committerDan Langille <dvl@FreeBSD.org>2018-09-01 19:02:13 +0000
commitfc812000767ea2edc2d6896f09d31920a0bfd1ab (patch)
treef808f82725286f318768fa8a471cf52028704817 /UPDATING
parent56a54e552d9a754a636a22f92a65b23e3b047786 (diff)
downloadports-fc812000767ea2edc2d6896f09d31920a0bfd1ab.tar.gz
ports-fc812000767ea2edc2d6896f09d31920a0bfd1ab.zip
Upgrade to 1.42.01
Approved by: maintainer (via private email) Differential Revision: https://reviews.freebsd.org/D16942
Notes
Notes: svn path=/head/; revision=478715
Diffstat (limited to 'UPDATING')
-rw-r--r--UPDATING52
1 files changed, 52 insertions, 0 deletions
diff --git a/UPDATING b/UPDATING
index df406556900c..6c7e27fd7438 100644
--- a/UPDATING
+++ b/UPDATING
@@ -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