jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Sonar
  • SONAR-2097

A problem with database user account privileges gives a "Database schema must be updated " error

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 2.4.1
  • Fix Version/s: None
  • Component/s: Database
  • Labels:
    None
  • Environment:
    Mysql 5.1 Sonar 2.4.1 Window XP Hudson

Description

If a mysql user account 'sonar'@'%'is setup with not enough privileges on the sonar database then the following error is thrown.

Embedded error: PicoLifecycleException: method 'public void org.sonar.jpa.session.AbstractDatabaseConnector.start()', instance 'org.sonar.jpa.session.DriverDatabaseConnector@a50da4, java.lang.RuntimeException: wrapper
Database schema must be updated [version/required=-1/152]. Please browse to your sonar homepage.

It would be nice if Sonar could detect databse privilege problems and report them as such.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Simon Brandhof added a comment - 11/Apr/12 9:25 AM

This issue should be fixed in version 3.0.

Show
Simon Brandhof added a comment - 11/Apr/12 9:25 AM This issue should be fixed in version 3.0.

People

  • Assignee:
    Unassigned
    Reporter:
    stijn slaets
Vote (0)
Watch (0)

Dates

  • Created:
    12/Jan/11 6:31 AM
    Updated:
    11/Apr/12 9:25 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.