Alfresco: A previous schema upgrade failed. Revert to the original database before attempting the upgrade again. January 23, 2008
Posted by maxmil in : Alfresco , trackbackAlfresco 2.1 sometimes refuses to start with the error
Caused by: org.alfresco.error.AlfrescoRuntimeException: A previous schema upgrade failed. Revert to the original database before attempting the upgrade again.
Not quite sure how this comes about, think that it can be from a failed start previously, but a solution is to drop the table alf_bootstrap_lock and try again.
Comments»
THANK YOU! I was wondering if i had to reinstall the application. Glad I didn’t have to.
[...] FINALLY I found the solution at Bits n Bobs. It’s ridiculously simple: drop the table alf_bootstrap_lock and restart the server. [...]
Ditto! My pork has well and truly been rescued.
I have dropped all the tables bcas I wanted to recreate all the tables in another user .But still getting the error
I’m not sure what to do if you’ve dropped ALL the tables, i would imagine the best thing to do is drop the database and recreate it with a script similar to the one in extras/databases.
If the default user that you want to use is not “alfresco” you will have to modify the database configuration in custom-repository.properties.
Thanks a lot!! It realy works for me.
I changed a variable related to lower_case table names due to another project. Then, when I came back to Alfresco I had this problem…
But, with your solution, everything works now! =)
Thank you very much!