Cloudstack Manager / Database
4.13 distribution
Centos 7, KVM, following Quick Installation Guide
Everything installs OK, on first run CloudStack Manager fails.
follow the quick instllation guide.
The latest guide is here
The CloudStack Management web UI should work
503 error on web Exception during database migration for version 4.0.0 to 4.13.0.0 ERROR Unable to upgrade the database
Check management-server.log
I have googled around and found old threads that point to the java mysql connector version. For reference the one installed on my centos-7 is:
Name : mysql-connector-java Arch : noarch Epoch : 1 Version : 8.0.19 Release : 1.el7
In the Mysql repostories installed pas per quick guide there is no other alternative present.
@rvalle the workaround is to remove this and replace it with a version 5.x connector. This is fixed in #3601 towards master/4.14.
@rhtyd and were can one get the connector from? it is not in the repo any idea?
@rvalle you can search alternate repo, epel, or install manually from https://centos.pkgs.org/7/centos-x86_64/mysql-connector-java-5.1.25-3.el7.noarch.rpm.html or rpmfind
@rhtyd thanks
@rhtyd I'm new to CS and am unsure how to do the suggested fix. I'm receiving a similar error on a fresh installation of CS 4.13 with MySQL 5.7. I wish the documentation and caveats were more clear.
@rhtyd you have more information in the bug report: #3954 hope that helps.
Activity
rvalle commented on Feb 12, 2020
I have googled around and found old threads that point to the java mysql connector version.
For reference the one installed on my centos-7 is:
In the Mysql repostories installed pas per quick guide there is no other alternative present.
yadvr commented on Feb 12, 2020
@rvalle the workaround is to remove this and replace it with a version 5.x connector. This is fixed in #3601 towards master/4.14.
rvalle commented on Feb 12, 2020
@rhtyd and were can one get the connector from? it is not in the repo any idea?
yadvr commented on Feb 12, 2020
@rvalle you can search alternate repo, epel, or install manually from https://centos.pkgs.org/7/centos-x86_64/mysql-connector-java-5.1.25-3.el7.noarch.rpm.html or rpmfind
rvalle commented on Feb 12, 2020
@rhtyd thanks
coreymr commented on Apr 10, 2020
@rhtyd I'm new to CS and am unsure how to do the suggested fix. I'm receiving a similar error on a fresh installation of CS 4.13 with MySQL 5.7. I wish the documentation and caveats were more clear.
rvalle commented on Apr 15, 2020
@rhtyd you have more information in the bug report: #3954 hope that helps.