====================================
Component | Version |
---|---|
LibreNMS | 21.2.0-53-g92bf7d5ef |
DB Schema | 2021_02_21_203415_location_add_fixed_coordinates_flag (200) |
PHP | 7.4.3 |
Python | 3.8.5 |
MySQL | 10.3.25-MariaDB-0ubuntu0.20.04.1 |
RRDTool | 1.7.2 |
SNMP | NET-SNMP 5.8 |
====================================
[OK] Composer Version: 2.0.11
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[WARN] Your local git contains modified files, this could prevent automatic updates.
[FIX]:
You can fix this with ./scripts/github-remove
Modified Files:
bootstrap/cache/.gitignore
html/.htaccess
logs/.gitignore
rrd/.gitignore
storage/app/.gitignore
storage/app/public/.gitignore
storage/debugbar/.gitignore
storage/framework/cache/.gitignore
storage/framework/cache/data/.gitignore
storage/framework/sessions/.gitignore
storage/framework/testing/.gitignore
storage/framework/views/.gitignore
storage/logs/.gitignore
.env
DB_HOST=localhost
DB_DATABASE=librenms
DB_USERNAME=librenms
DB_PASSWORD=********
#APP_URL=/
NODE_ID=5dd7c817b3298
DB_PORT=3306
LIBRENMS_USER=librenms
config.php
### Database config
$config['db_host'] = 'localhost';
$config['db_port'] = '3306';
$config['db_user'] = 'librenms';
$config['db_pass'] = '********* ';
$config['db_name'] = 'librenms';
$config['db_socket'] = '';
// This is the user LibreNMS will run as
//Please ensure this user is created and has the correct permissions to your install
$config['user'] = 'librenms';
### Locations - it is recommended to keep the default
#$config['install_dir'] = "/opt/librenms";
### This should *only* be set if you want to *force* a particular hostname/port
### It will prevent the web interface being usable form any other hostname
#$config['base_url'] = "http://librenms.company.com";
$config['base_url'] = '/';
### Enable this to use rrdcached. Be sure rrd_dir is within the rrdcached dir
### and that your web server has permission to talk to rrdcached.
#$config['rrdcached'] = "unix:/var/run/rrdcached.sock";
librenms.conf
<VirtualHost *:80>
DocumentRoot /opt/librenms/html/
ServerName librenms
Alias /librenms /opt/librenms/html
AllowEncodedSlashes NoDecode
<Directory "/opt/librenms/html/">
Require all granted
AllowOverride All
Options FollowSymLinks MultiViews
</Directory>
# Enable http authorization headers
# <IfModule setenvif_module>
# SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1
# </IfModule>
# <FilesMatch ".+\.php$">
# SetHandler "proxy:unix:/run/php-fpm-librenms.sock|fcgi://localhost"
# </FilesMatch>
</VirtualHost>
after my changing i loose access to webface,and now i need help to repair web.
Trying to access at ip/librenms return 404 error