MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Bugs and Requests => Topic started by: Spacedust on 2019-07-27, 12:32:00

Title: Unable to upgrade MariaDB 10.0 to 10.2
Post by: Spacedust on 2019-07-27, 12:32:00
It shows something like this:

Quote
Phase 1/7: Checking and upgrading mysql database
Processing databases
mysql
mysql.column_stats                                 OK
mysql.columns_priv                                 OK
mysql.db                                           OK
mysql.event                                        OK
mysql.func                                         OK
mysql.gtid_slave_pos                               OK
mysql.help_category                                OK
mysql.help_keyword                                 OK
mysql.help_relation                                OK
mysql.help_topic                                   OK
mysql.host                                         OK
mysql.index_stats                                  OK
mysql.innodb_index_stats                           OK
mysql.innodb_table_stats                           OK
mysql.plugin                                       OK
mysql.proc                                         OK
mysql.procs_priv                                   OK
mysql.proxies_priv                                 OK
mysql.roles_mapping                                OK
mysql.servers                                      OK
mysql.table_stats                                  OK
mysql.tables_priv                                  OK
mysql.time_zone                                    OK
mysql.time_zone_leap_second                        OK
mysql.time_zone_name                               OK
mysql.time_zone_transition                         OK
mysql.time_zone_transition_type                    OK
mysql.user                                         OK
Phase 2/7: Installing used storage engines... Skipped
Phase 3/7: Fixing views
Phase 4/7: Running 'mysql_fix_privilege_tables'
ERROR 1071 (42000) at line 603: Specified key was too long; max key length is 1000 bytes
FATAL ERROR: Upgrade failed
Title: Re: Unable to upgrade MariaDB 10.0 to 10.2
Post by: MRatWork on 2019-07-27, 13:04:57
I found this issue also. It's change spec for different version of mariadb.

At this moment, I do hard work to fix all issue in Kloxo-MR and also change/mod debug report.
Title: Re: Unable to upgrade MariaDB 10.0 to 10.2
Post by: Spacedust on 2019-07-27, 14:06:06
Same error on 10.3. I will try to upgrade to 10.4.
Title: Re: Unable to upgrade MariaDB 10.0 to 10.2
Post by: Spacedust on 2019-07-27, 15:18:07
From 10.3 to 10.4 it shows an error:

Code: [Select]
Transaction Check Error:
  file /usr/bin/garbd from install of galera-4-26.4.2-1.rhel6.el6.x86_64 conflicts with file from package galera-25.3.26-1.rhel6.el6.x86_64

galeria should be removed first!

Code: [Select]
Dependencies Resolved

=============================================================================================
 Package        Arch           Version                       Repository                 Size
=============================================================================================
Removing:
 galera         x86_64         25.3.26-1.rhel6.el6           @mratwork-mariadb          37 M

Transaction Summary
=============================================================================================
Remove        1 Package(s)

Installed size: 37 M

then MariaDB-server and galera-4 installs properly.