tag:help.beatunes.com,2009-07-24:/discussions/problems/47127-fatal-errorbeaTunes: Discussion 2017-12-07T07:08:05Ztag:help.beatunes.com,2009-07-24:Comment/442096722017-12-04T11:20:30Z2017-12-04T11:20:30ZFatal Error<div><p>Here is the message I get: A fatal error occurred during initialization: org.hibernate.exception.SQLGrammarException: could not prepare statement</p>
<p>I am upgrading from version 4 to version 5. I rarely had problems with version 4.<br>
My OS is Windows 10.</p></div>ny2engtag:help.beatunes.com,2009-07-24:Comment/442096722017-12-04T12:43:51Z2017-12-04T12:43:51ZFatal Error<div><p>Hey,</p>
<p>the <code>.rar</code> you sent unfortunately does not contain all logs files—the most important one <code>beaTunes.log</code> is missing. Explorer may be hiding the extension from you.</p>
<p>Can you please send all files from the <code>logs</code> folder?<br>
Also, when you first upgraded to v5, did you see any messages saying that the schema migration has failed?</p>
<p>Thanks,</p>
<p>-hendrik</p></div>hendriktag:help.beatunes.com,2009-07-24:Comment/442096722017-12-07T02:22:21Z2017-12-07T02:22:21ZFatal Error<div><p>Here is the corrected logs.</p></div>ny2engtag:help.beatunes.com,2009-07-24:Comment/442096722017-12-07T02:23:35Z2017-12-07T02:23:35ZFatal Error<div><p>Also, when you first upgraded to v5, did you see any messages saying that the schema migration has failed?</p>
<p>I don't recall but there was something that flashed up and disappeared as quickly so it might have said that the migration failed.</p></div>ny2engtag:help.beatunes.com,2009-07-24:Comment/442096722017-12-07T07:08:04Z2017-12-07T07:08:04ZFatal Error<div><p>Hey,</p>
<p>thanks for the logs. Please so the following:</p>
<ul>
<li>Downgrade back to version 4. How that is done is described on <a href="http://help.beatunes.com/kb/troubleshooting/downgrade-from-beatunes-5-to-beatunes-4">http://help.beatunes.com/kb/troubleshooting/downgrade-from-beatunes...</a></li>
<li>While running beaTunes 4, please open the <code>Tools</code> menu and choose <code>Repair Database</code>. This should repair your version 4 database.</li>
<li>If the repair succeeds, upgrade back to beaTunes 5.</li>
<li>If the repair does not succeed, rebuild your version 4 database (also via <code>Tools</code>), then upgrade to version 5.</li>
</ul>
<p>Hope this helps,</p>
<p>-hendrik</p></div>hendrik