<?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: How to reset alfresco 4.2.c community in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-reset-alfresco-4-2-c-community/m-p/293525#M246655</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;1. Shutdown tomcat&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Drop the alfresco database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Re-create the alfresco database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Remove everything in alf_data&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. (Optional) Clear everything out of $TOMCAT_HOME/webapps/alfresco and re-deploy alfresco.war&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6. (Optional) Clear everything out of $TOMCAT_HOME/webapps/share and re-deploy share.war&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;7. Restart Tomcat&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are going to do this more than a couple of times it is worth creating a shell script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Jun 2013 21:02:14 GMT</pubDate>
    <dc:creator>jpotts</dc:creator>
    <dc:date>2013-06-28T21:02:14Z</dc:date>
    <item>
      <title>How to reset alfresco 4.2.c community</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-reset-alfresco-4-2-c-community/m-p/293524#M246654</link>
      <description>Through various experiments moving the alf_data from one location to another. I can't seem to find anything that will help me "reset" the system for a fresh install, with out re-installing. I don't care about loosing any assets at this time. Can anyone point me in the right direction?</description>
      <pubDate>Fri, 28 Jun 2013 19:16:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-reset-alfresco-4-2-c-community/m-p/293524#M246654</guid>
      <dc:creator>patdelaney</dc:creator>
      <dc:date>2013-06-28T19:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to reset alfresco 4.2.c community</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-reset-alfresco-4-2-c-community/m-p/293525#M246655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;1. Shutdown tomcat&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Drop the alfresco database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Re-create the alfresco database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Remove everything in alf_data&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. (Optional) Clear everything out of $TOMCAT_HOME/webapps/alfresco and re-deploy alfresco.war&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6. (Optional) Clear everything out of $TOMCAT_HOME/webapps/share and re-deploy share.war&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;7. Restart Tomcat&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are going to do this more than a couple of times it is worth creating a shell script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jun 2013 21:02:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-reset-alfresco-4-2-c-community/m-p/293525#M246655</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2013-06-28T21:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to reset alfresco 4.2.c community</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-reset-alfresco-4-2-c-community/m-p/293526#M246656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm still new to Alfresco Community and I used the installer to do the linus install of Community. I can figureout how to "drop" the database via sql,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but I am not sure how to recreate it? is there a script that does that?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you could be a little more specific on the steps I can wing it from there&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jun 2013 22:38:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-reset-alfresco-4-2-c-community/m-p/293526#M246656</guid>
      <dc:creator>patdelaney</dc:creator>
      <dc:date>2013-06-28T22:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to reset alfresco 4.2.c community</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-reset-alfresco-4-2-c-community/m-p/293527#M246657</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;Regarding the database you simply have to drop and create the empty schema.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tables, initial data, views and everything is necessary is built by Alfresco during the next start.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To create the database on a Postgresql db, for example, you can use simply:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CREATE ROLE alfresco WITH PASSWORD ‘alfresco’ LOGIN;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CREATE DATABASE alfresco WITH OWNER alfresco;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Jun 2013 08:10:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-reset-alfresco-4-2-c-community/m-p/293527#M246657</guid>
      <dc:creator>fcorti</dc:creator>
      <dc:date>2013-06-29T08:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to reset alfresco 4.2.c community</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-reset-alfresco-4-2-c-community/m-p/293528#M246658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;And if you are using MySQL/MariaDB it looks like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;create database alfresco default character set utf8 collate utf8_bin;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;grant all on alfresco.* to 'alfresco'@'localhost' identified by 'alfresco' with grant option;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;grant all on alfresco.* to 'alfresco'@'localhost.localdomain' identified by 'alfresco' with grant option;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jul 2013 18:15:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-reset-alfresco-4-2-c-community/m-p/293528#M246658</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2013-07-01T18:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to reset alfresco 4.2.c community</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-reset-alfresco-4-2-c-community/m-p/293529#M246659</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;it might seem a little dumb, but I feel compelled to add: remove everything in alf_data &amp;lt;em&amp;gt;except&amp;lt;/em&amp;gt; postgresql. Otherwise, you'd have to re-create the postgres data directory. Which I'm fighting with at the moment. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 08:35:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-reset-alfresco-4-2-c-community/m-p/293529#M246659</guid>
      <dc:creator>mth</dc:creator>
      <dc:date>2014-09-24T08:35:49Z</dc:date>
    </item>
  </channel>
</rss>

