-<h1>Database down.</h1>
+<h1>Fail to connect to database</h1>
<div class="error">
- Database connection cannot be established. Check that you have a database running
- and configured for the following settings :
- <table>
- <tr>
- <td>URL: </td>
- <td><%= configuration('sonar.jdbc.url', '') -%>
- </tr>
- <tr>
- <td>Login: </td>
- <td><%= configuration('sonar.jdbc.username', '') -%>
- </tr>
- <tr>
- <td>Driver: </td>
- <td><%= configuration('sonar.jdbc.driverClassName', '') -%>
- </tr>
-</table>
+ Database connection cannot be established. Please check database status and JDBC settings.
<br/><br/>
<%= button_to "Try again", { :action => "index" }, :method => :get %>
</div>
\ No newline at end of file
<div id="setupform">
<div id="setupformlogo"><a href="http://www.sonarsource.org"><%= image_tag('sonar.png', :class => 'png') -%></a></div>
-<h1 class="marginbottom10">Upgrade database.</h1>
-<p>
-<h3>Connection</h3>
-<table>
- <tr>
- <td width="1%" nowrap>URL: </td>
- <td><%= configuration('sonar.jdbc.url', '') -%>
- </tr>
- <tr>
- <td width="1%" nowrap>Login: </td>
- <td><%= configuration('sonar.jdbc.username', '') -%>
- </tr>
- <tr>
- <td width="1%" nowrap>Driver: </td>
- <td><%= configuration('sonar.jdbc.driverClassName', '') -%>
- </tr>
-</table>
-</p>
+<h1 class="marginbottom10">Upgrade database</h1>
<br/>
-<h3>Warnings</h3>
+<h3>Important</h3>
<p>
<ul>
<li><b>Do not refresh this page</b> until the upgrade is finished. It can take several minutes.</li>
<li>It is recommended to <b>backup database</b> before upgrading.</li>
- <li><b>Copy the directory /extensions</b> from previous version of Sonar before upgrading.</li>
+ <li><b>Copy the directory /extensions</b> from previous version before upgrading.</li>
</ul>
</p>
<br/>