Can't upgrade to MariaDB 10.0 on Amazon Linux
Hey there!
So today I encountered myself with this problem, I'm running cPanel "CURRENT" build on Amazon Linux and I decided to upgrade from MySQL 5.5 to MariaDB 10.0 since the end of life date of this MySQL version is on December 31, 2015.
By using cPanel "MySQL/MariaDB Upgrade" I get the following error:
No repository exists for "MariaDB100" at "/usr/local/cpanel/etc/rpm/amazon/6/MariaDB100/x86_64/yumrepo". at /usr/local/cpanel/Cpanel/Repos.pm line 74.
[SPOILER="Full log">Starting process with log file at /var/cpanel/logs/mysql_upgrade.20151227-112357/unattended_upgrade.log Beginning "MariaDB 10.0" upgrade... Obtained version information from system. Ensuring the "MariaDB100" repository is available and working. Restarting mysql service. Waiting for "mysql" to restart ""waiting for "mysql" to initialize "" "finished. Service Status mysql (/usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --user=mysql --log-error=/var/lib/mysql/[HOSTNAME CENSORED].err --open-files-limit=10000 --pid-file=/var/lib/mysql/[HOSTNAME CENSORED].pid) is running as mysql with PID 9784 (pidfile check method). Startup Log Starting MySQL. SUCCESS! Log Messages 2015-12-27 11:24:03 9784 [Note] /usr/sbin/mysqld: ready for connections. 151227 11:24:02 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql 151227 11:24:02 mysqld_safe mysqld from pid file /var/lib/mysql/[HOSTNAME CENSORED].pid ended 2015-12-27 11:24:02 7408 [Note] /usr/sbin/mysqld: Shutdown complete 2015-12-27 11:24:00 7408 [Warning] /usr/sbin/mysqld: Forcing close of thread 59 user: 'eximstats' 2015-12-27 11:24:00 7408 [Warning] /usr/sbin/mysqld: Forcing close of thread 48 user: 'leechprotect' 2015-12-27 11:24:00 7408 [Warning] /usr/sbin/mysqld: Forcing close of thread 8 user: 'modsec' 2015-12-27 11:23:58 7408 [Note] /usr/sbin/mysqld: Normal shutdown 2015-12-27 10:27:38 7408 [Note] /usr/sbin/mysqld: ready for connections. 151227 10:27:38 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql 151227 10:27:37 mysqld_safe mysqld from pid file /var/lib/mysql/[HOSTNAME CENSORED].pid ended 2015-12-27 10:27:37 6246 [Note] /usr/sbin/mysqld: Shutdown complete mysql restarted successfully. No repository exists for "MariaDB100" at "/usr/local/cpanel/etc/rpm/amazon/6/MariaDB100/x86_64/yumrepo". at /usr/local/cpanel/Cpanel/Repos.pm line 74.
My system is currently up to date, no updates pending. This happens with any upgrade type (Unattended, Partially-interactive, Interactive). I'd rather ask for help before adding any repositories manually. I hope someone can help me, thanks!
[SPOILER="Full log">Starting process with log file at /var/cpanel/logs/mysql_upgrade.20151227-112357/unattended_upgrade.log Beginning "MariaDB 10.0" upgrade... Obtained version information from system. Ensuring the "MariaDB100" repository is available and working. Restarting mysql service. Waiting for "mysql" to restart ""waiting for "mysql" to initialize "" "finished. Service Status mysql (/usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --user=mysql --log-error=/var/lib/mysql/[HOSTNAME CENSORED].err --open-files-limit=10000 --pid-file=/var/lib/mysql/[HOSTNAME CENSORED].pid) is running as mysql with PID 9784 (pidfile check method). Startup Log Starting MySQL. SUCCESS! Log Messages 2015-12-27 11:24:03 9784 [Note] /usr/sbin/mysqld: ready for connections. 151227 11:24:02 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql 151227 11:24:02 mysqld_safe mysqld from pid file /var/lib/mysql/[HOSTNAME CENSORED].pid ended 2015-12-27 11:24:02 7408 [Note] /usr/sbin/mysqld: Shutdown complete 2015-12-27 11:24:00 7408 [Warning] /usr/sbin/mysqld: Forcing close of thread 59 user: 'eximstats' 2015-12-27 11:24:00 7408 [Warning] /usr/sbin/mysqld: Forcing close of thread 48 user: 'leechprotect' 2015-12-27 11:24:00 7408 [Warning] /usr/sbin/mysqld: Forcing close of thread 8 user: 'modsec' 2015-12-27 11:23:58 7408 [Note] /usr/sbin/mysqld: Normal shutdown 2015-12-27 10:27:38 7408 [Note] /usr/sbin/mysqld: ready for connections. 151227 10:27:38 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql 151227 10:27:37 mysqld_safe mysqld from pid file /var/lib/mysql/[HOSTNAME CENSORED].pid ended 2015-12-27 10:27:37 6246 [Note] /usr/sbin/mysqld: Shutdown complete mysql restarted successfully. No repository exists for "MariaDB100" at "/usr/local/cpanel/etc/rpm/amazon/6/MariaDB100/x86_64/yumrepo". at /usr/local/cpanel/Cpanel/Repos.pm line 74.
My system is currently up to date, no updates pending. This happens with any upgrade type (Unattended, Partially-interactive, Interactive). I'd rather ask for help before adding any repositories manually. I hope someone can help me, thanks!
-
Wow, well... I actually also opened a ticket on this a few moments ago and I didn't expect an answer this fast. Temporary remedy: cp -Rp /usr/local/cpanel/etc/rpm/{centos,amazon} This will copy the repository files to allow you to install MariaDB.
Thanks a lot support!0 -
cPanel Technical Support Rocks! 0
Please sign in to leave a comment.
Comments
2 comments