hi, Hello, first of all, excuse my English as I speak Spanish. I’m commenting on my case to see if someone can give me some information on how to solve it. I have a CentOS 8 with LibreNMS and a MariaDB 10.3 database.
I was migrating to an Ubuntu 24.04 with MariaDB 10.11.11.
SQLSTATE[42S01]: Base table or view already exists: 1050 Table ‘vendor_ouis’ already exists (Connection: mysql, SQL: creat
e table vendor_ouis (id bigint unsigned not null auto_increment primary key, vendor varchar(255) not null, oui var
char(255) not null) default character set utf8mb4 collate ‘utf8mb4_unicode_ci’)
In Connection.php line 568:
SQLSTATE[42S01]: Base table or view already exists: 1050 Table ‘vendor_ouis’ already exists
When I try to transfer the information from MariaDB 10.3 to MariaDB 10.11.11, I get an error about a table “vendor_oui” which does not exist in MariaDB 10.3. Is there any way to fix this?
hi, The table was deleted however another problem appeared
./lnms migrate
APPLICATION IN PRODUCTION.
┌ Are you sure you want to run this command? ──────────────────â”
│ Yes │
└──────────────────────────────────────────────────────────────┘
SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘title’ in ‘INSERT INTO’ (Connection: mysql, SQL: insert into role s (name, title) values (admin, Admin), (global-read, Global Read), (user, User))
In MySqlConnection.php line 47:
SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘title’ in ‘INSERT INTO’