You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2020/02/12 13:02:40 UTC

[GitHub] [cloudstack] rvalle opened a new issue #3883: 4.13 Fresh Install fails: Cannot Upgrade Database

rvalle opened a new issue #3883: 4.13 Fresh Install fails: Cannot Upgrade Database
URL: https://github.com/apache/cloudstack/issues/3883
 
 
   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and master branch are affected too.
   Always add information AFTER of these HTML comments, but no need to delete the comments.
   -->
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   Cloudstack Manager / Database
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on master branch.
   -->
   
   ~~~
   4.13 distribution
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, advanced networking, etc.  N/A otherwise
   -->
   
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   
   Centos 7, KVM, following Quick Installation Guide
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   
   Everything installs OK, on first run CloudStack Manager fails. 
   
   ##### STEPS TO REPRODUCE
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   follow the quick instllation guide.  
   ~~~
   The latest guide is [here](http://docs.cloudstack.apache.org/en/4.13.0.0/quickinstallationguide/qig.html)
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   The CloudStack Management web UI should work 
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   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](https://pastebin.com/zhyfjtC6)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [cloudstack] rvalle commented on issue #3883: 4.13 Fresh Install fails: Cannot Upgrade Database

Posted by GitBox <gi...@apache.org>.
rvalle commented on issue #3883: 4.13 Fresh Install fails: Cannot Upgrade Database
URL: https://github.com/apache/cloudstack/issues/3883#issuecomment-585220369
 
 
   @rhtyd thanks
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [cloudstack] rhtyd commented on issue #3883: 4.13 Fresh Install fails: Cannot Upgrade Database

Posted by GitBox <gi...@apache.org>.
rhtyd commented on issue #3883: 4.13 Fresh Install fails: Cannot Upgrade Database
URL: https://github.com/apache/cloudstack/issues/3883#issuecomment-585202390
 
 
   @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.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [cloudstack] rvalle commented on issue #3883: 4.13 Fresh Install fails: Cannot Upgrade Database

Posted by GitBox <gi...@apache.org>.
rvalle commented on issue #3883: 4.13 Fresh Install fails: Cannot Upgrade Database
URL: https://github.com/apache/cloudstack/issues/3883#issuecomment-585202818
 
 
   @rhtyd and were can one get the connector from? it is not in the repo any idea?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [cloudstack] rhtyd closed issue #3883: 4.13 Fresh Install fails: Cannot Upgrade Database

Posted by GitBox <gi...@apache.org>.
rhtyd closed issue #3883: 4.13 Fresh Install fails: Cannot Upgrade Database
URL: https://github.com/apache/cloudstack/issues/3883
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [cloudstack] rvalle commented on issue #3883: 4.13 Fresh Install fails: Cannot Upgrade Database

Posted by GitBox <gi...@apache.org>.
rvalle commented on issue #3883: 4.13 Fresh Install fails: Cannot Upgrade Database
URL: https://github.com/apache/cloudstack/issues/3883#issuecomment-614244514
 
 
   @rhtyd you have more information in the bug report: #3954 hope that helps. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [cloudstack] rvalle commented on issue #3883: 4.13 Fresh Install fails: Cannot Upgrade Database

Posted by GitBox <gi...@apache.org>.
rvalle commented on issue #3883: 4.13 Fresh Install fails: Cannot Upgrade Database
URL: https://github.com/apache/cloudstack/issues/3883#issuecomment-585195947
 
 
   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.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [cloudstack] coreymr commented on issue #3883: 4.13 Fresh Install fails: Cannot Upgrade Database

Posted by GitBox <gi...@apache.org>.
coreymr commented on issue #3883: 4.13 Fresh Install fails: Cannot Upgrade Database
URL: https://github.com/apache/cloudstack/issues/3883#issuecomment-612053686
 
 
   @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.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [cloudstack] rhtyd commented on issue #3883: 4.13 Fresh Install fails: Cannot Upgrade Database

Posted by GitBox <gi...@apache.org>.
rhtyd commented on issue #3883: 4.13 Fresh Install fails: Cannot Upgrade Database
URL: https://github.com/apache/cloudstack/issues/3883#issuecomment-585203036
 
 
   @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

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services