hello, I have recently shifted the server from UBUNTU to centos and there are issues likes graphs are not getting generated. On validation I get the following message:
====================================
Component | Version
--------- | -------
LibreNMS | 1.54
DB Schema | 2019_02_10_220000_add_dates_to_fdb (132)
PHP | 7.2.19
MySQL | 5.5.60-MariaDB
RRDTool | 1.4.8
SNMP | NET-SNMP 5.7.2
====================================
[OK] Composer Version: 1.8.6
[OK] Dependencies up-to-date.
[OK] Database connection successful
[FAIL] Your database is out of date!
[FIX]:
./lnms migrate
[FAIL] The poller (librenms) has not completed within the last 5 minutes, check the cron job.
when I try to do ./lnms migrate I get this error:
**************************************
* Application In Production! *
**************************************
Do you really wish to run this command? (yes/no) [no]:
> yes
Migrating: 2019_05_12_202407_create_mpls_lsps_table
In Connection.php line 664:
SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'mpls_lsps' already exists (SQL: create table `mpls_lsps
` (`lsp_id` int unsigned not null auto_increment primary key, `vrf_oid` int unsigned not null, `lsp_oid` int unsigned n
ot null, `device_id` int unsigned not null, `mplsLspRowStatus` enum('active', 'notInService', 'notReady', 'createAndGo'
, 'createAndWait', 'destroy') not null, `mplsLspLastChange` bigint null, `mplsLspName` varchar(64) not null, `mplsLspAd
minState` enum('noop', 'inService', 'outOfService') not null, `mplsLspOperState` enum('unknown', 'inService', 'outOfSer
vice', 'transition') not null, `mplsLspFromAddr` varchar(32) not null, `mplsLspToAddr` varchar(32) not null, `mplsLspTy
pe` enum('unknown', 'dynamic', 'static', 'bypassOnly', 'p2mpLsp', 'p2mpAuto', 'mplsTp', 'meshP2p', 'oneHopP2p', 'srTe',
'meshP2pSrTe', 'oneHopP2pSrTe') not null, `mplsLspFastReroute` enum('true', 'false') not null, `mplsLspAge` bigint nul
l, `mplsLspTimeUp` bigint null, `mplsLspTimeDown` bigint null, `mplsLspPrimaryTimeUp` bigint null, `mplsLspTransitions`
int unsigned null, `mplsLspLastTransition` bigint null, `mplsLspConfiguredPaths` int unsigned null, `mplsLspStandbyPat
hs` int unsigned null, `mplsLspOperationalPaths` int unsigned null) default character set utf8 collate 'utf8_unicode_ci
')
In PDOStatement.php line 119:
SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'mpls_lsps' already exists
In PDOStatement.php line 117:
SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'mpls_lsps' already exists