<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Schema auto-update failed in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/schema-auto-update-failed/m-p/21158#M9323</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I recently installed alfresco Community Edition 5.1.g with the installer and the moved files and configured everything to another preinstalled Tomcat instance (instead of the one embedded in the installer). I also replaced the alfresco.war and share.war by customized ones and the started Tomcat for the first time.&lt;/P&gt;&lt;P&gt;The error appears. I also tried to drop and create the database again, clear alf_data, indexes, temp, work directories and restarted the preinstalled Tomcat instance. The same error always appears.&lt;/P&gt;&lt;P&gt;- The DBMS is PostgreSQL 9.4.6&lt;/P&gt;&lt;P&gt;- There is no table in the database. So the table alf_bootstrap_lock does not exist.&lt;/P&gt;&lt;P&gt;- The database user has all privileges&lt;/P&gt;&lt;P&gt;- In alfresco-global.properties, the following properties are set as :&lt;/P&gt;&lt;P&gt;db.schema.update=true&lt;BR /&gt;db.schema.update.lockRetryCount=24&lt;BR /&gt;db.schema.update.lockRetryWaitSeconds=5&lt;/P&gt;&lt;P&gt;I don't understand since everything seems to be OK (no table in the database !) to force the schema update.&lt;/P&gt;&lt;P&gt;Do you know what I missed ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance for your help&lt;/P&gt;&lt;P&gt;Putchhat SRUN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;.app.ContextLoaderListener&lt;BR /&gt;org.alfresco.error.AlfrescoRuntimeException: 06210001 Schema auto-update failed&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Caused by: org.alfresco.error.AlfrescoRuntimeException: 06210000 A previous schema upgrade failed or was not completed.&amp;nbsp; Revert to the original database before attempting the upgrade again.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.alfresco.repo.domain.schema.SchemaBootstrap.onBootstrap(SchemaBootstrap.java:1716)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ... 23 more&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Jul 2017 15:59:23 GMT</pubDate>
    <dc:creator>psrun</dc:creator>
    <dc:date>2017-07-21T15:59:23Z</dc:date>
    <item>
      <title>Schema auto-update failed</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/schema-auto-update-failed/m-p/21158#M9323</link>
      <description>HelloI recently installed alfresco Community Edition 5.1.g with the installer and the moved files and configured everything to another preinstalled Tomcat instance (instead of the one embedded in the installer). I also replaced the alfresco.war and share.war by customized ones and the started Tomcat</description>
      <pubDate>Fri, 21 Jul 2017 15:59:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/schema-auto-update-failed/m-p/21158#M9323</guid>
      <dc:creator>psrun</dc:creator>
      <dc:date>2017-07-21T15:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: Schema auto-update failed</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/schema-auto-update-failed/m-p/21159#M9324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just solved the problem : I had to definine public as the default schema for the database user used by alfresco to connect to the database :&lt;/P&gt;&lt;P style="background: #D9D9D9; border: none; padding: 0cm;"&gt;ALTER USER @@LOGIN_BDD@@ SET search_path=public;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry. I looked for the solution all the day before creating the thread but found it 1 hour after the creation.&lt;/P&gt;&lt;P&gt;Hope that can help other people.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Putchhat SRUN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jul 2017 17:22:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/schema-auto-update-failed/m-p/21159#M9324</guid>
      <dc:creator>psrun</dc:creator>
      <dc:date>2017-07-21T17:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: Schema auto-update failed</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/schema-auto-update-failed/m-p/21160#M9325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I also had the same problem with a MySQL DB. I've solved it by defining the alfresco schema/database as the default one.&lt;/P&gt;&lt;P&gt;Silvio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 14:39:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/schema-auto-update-failed/m-p/21160#M9325</guid>
      <dc:creator>sfuca</dc:creator>
      <dc:date>2017-10-06T14:39:12Z</dc:date>
    </item>
  </channel>
</rss>

