<?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 Re: Error after adding custom model in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/error-after-adding-custom-model/m-p/280096#M233226</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Remove you newly defined model from the solr indexes, then it will start.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And also check that your import statements in your model header is correctly done as the error states.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jan 2016 09:39:09 GMT</pubDate>
    <dc:creator>darkredd</dc:creator>
    <dc:date>2016-01-14T09:39:09Z</dc:date>
    <item>
      <title>Error after adding custom model</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-after-adding-custom-model/m-p/280095#M233225</link>
      <description>Hi all!I had an alfresco setup with several custom types and everything was working smoothly, then added another type, but Alfresco couldnt start :C.Then I erased the newType.xml and Alfresco still couldnt start :'C.Now I have tried removing and changing all the other types that were there before bu</description>
      <pubDate>Tue, 12 Jan 2016 18:31:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-after-adding-custom-model/m-p/280095#M233225</guid>
      <dc:creator>blacksylo</dc:creator>
      <dc:date>2016-01-12T18:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error after adding custom model</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-after-adding-custom-model/m-p/280096#M233226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Remove you newly defined model from the solr indexes, then it will start.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And also check that your import statements in your model header is correctly done as the error states.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 09:39:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-after-adding-custom-model/m-p/280096#M233226</guid>
      <dc:creator>darkredd</dc:creator>
      <dc:date>2016-01-14T09:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error after adding custom model</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-after-adding-custom-model/m-p/280097#M233227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't think removing the model only from the Solr indexes will solve the issue. He also needs to remove the model from the repository as well, otherwise he will still get an error in the alfresco.log, maybe just not in solr.log anymore. The problem is though, how to remove a dynamic model from the repository when the repository does not even start up anymore.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just come across this answer now because I have the exact same problem (&lt;/SPAN&gt;&lt;A href="http://stackoverflow.com/questions/34883278/alfresco-how-to-override-a-corrupt-dynamic-content-model-with-a-bootstrapped" rel="nofollow noopener noreferrer"&gt;http://stackoverflow.com/questions/34883278/alfresco-how-to-override-a-corrupt-dynamic-content-model-with-a-bootstrapped&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;strong&amp;gt;Update:&amp;lt;/strong&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok, sorry, I overread that he already removed the file newType.xml; I thought it was dynamic. (Wondering why Alfresco would not start with just a Solr model error.)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2016 17:33:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-after-adding-custom-model/m-p/280097#M233227</guid>
      <dc:creator>mathias_lin</dc:creator>
      <dc:date>2016-01-19T17:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error after adding custom model</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-after-adding-custom-model/m-p/280098#M233228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, thanks for the comments.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I ended up reinstalling alfresco and trying to add all the models again, which failed again.. hehe&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But this time the log helped by giving me a more reasonable error about the xml file, which led me to fix it, strange because it was about the namespace URI not mapped.. but no error appeared before because of that :/.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So now everything is working as expected but that was really strange :C&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;BTW alfresco was running but didnt let me "log in" in Share.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kinda solved, thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 17:23:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-after-adding-custom-model/m-p/280098#M233228</guid>
      <dc:creator>blacksylo</dc:creator>
      <dc:date>2016-01-20T17:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error after adding custom model</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-after-adding-custom-model/m-p/280099#M233229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you able to login into Share now or not?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you please share, share.log file here?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jan 2016 17:08:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-after-adding-custom-model/m-p/280099#M233229</guid>
      <dc:creator>muralidharand</dc:creator>
      <dc:date>2016-01-23T17:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error after adding custom model</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-after-adding-custom-model/m-p/280100#M233230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, im able to login into Share now, but I had to reinstall.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I dont have the share.log since I reinstalled and later fixed the error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2016 21:23:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-after-adding-custom-model/m-p/280100#M233230</guid>
      <dc:creator>blacksylo</dc:creator>
      <dc:date>2016-01-26T21:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error after adding custom model</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-after-adding-custom-model/m-p/280101#M233231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Re-installing a system because there is an error is not a "good" solution, because you have not gotten to the root of the problem; it might resurface later again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But rather, when you deal with content models; no matter what; Alfresco will never break for that reason. All you need to do is: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Remove everything custom that lead up to the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Clean your indexes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. The log carefully, they almost always tell what the problem was. In your case your incorrectly declared model cause Alfresco to even confuse its own OOTB models.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;NB: Cleaning your indexes after files removal is critical as I have to learn.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 14:08:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-after-adding-custom-model/m-p/280101#M233231</guid>
      <dc:creator>darkredd</dc:creator>
      <dc:date>2016-01-27T14:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error after adding custom model</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-after-adding-custom-model/m-p/280102#M233232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, as you say re-installing is a bad solution, I tried to fix it several times before doing that but the logs were truly rare to me, so I couldnt figure out the error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But it is exactly as you described, "In your case your incorrectly declared model cause Alfresco to even confuse its own OOTB models."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It is good that now I have some experience and know that I need to remove everything custom and clean the indexes, thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 18:19:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-after-adding-custom-model/m-p/280102#M233232</guid>
      <dc:creator>blacksylo</dc:creator>
      <dc:date>2016-01-28T18:19:01Z</dc:date>
    </item>
  </channel>
</rss>

