<?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: Upgrade Issue in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/upgrade-issue/m-p/268907#M222037</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks man, i managed to get the database recovered last night. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your step by step guide. Yes i am new to linux and learning everyday.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Mar 2011 10:02:21 GMT</pubDate>
    <dc:creator>ash85</dc:creator>
    <dc:date>2011-03-11T10:02:21Z</dc:date>
    <item>
      <title>Upgrade Issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/upgrade-issue/m-p/268898#M222028</link>
      <description>Upgrading from 3.4.a to 3.4.dI have replaced the alf_data in 3.4.d with the one we had backed up in 3.4.a. Also do we need to replace entire mysql folder or just data subfolder in mysql ?The alfresco.log on 3.4.d shows this error :15:52:32,905 WARN&amp;nbsp; [org.hibernate.cfg.SettingsFactory] Could not obta</description>
      <pubDate>Mon, 07 Mar 2011 15:59:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/upgrade-issue/m-p/268898#M222028</guid>
      <dc:creator>ash85</dc:creator>
      <dc:date>2011-03-07T15:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade Issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/upgrade-issue/m-p/268899#M222029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You don't say what you did, db-wise.&amp;nbsp; Typically you replace the new install's alf_data with your previous version's alf_data, as well as the previous version's "alfresco" mysql db.&amp;nbsp; The new version, when it starts up, recognizes the DB is from a previous version, does some schema updates, etc. applies some patches, and so on.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 03:18:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/upgrade-issue/m-p/268899#M222029</guid>
      <dc:creator>gnyce</dc:creator>
      <dc:date>2011-03-08T03:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade Issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/upgrade-issue/m-p/268900#M222030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So the entire mysql folder in 3.4.d needs to be replaced by 3.4.a mysql folder and not just the data folder ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 10:29:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/upgrade-issue/m-p/268900#M222030</guid>
      <dc:creator>ash85</dc:creator>
      <dc:date>2011-03-08T10:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade Issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/upgrade-issue/m-p/268901#M222031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Egads, no - you start replacing folders and files willy-nilly, you will likely get yourself in trouble with mysql.&amp;nbsp; Am by no means an expert, but in testing, here is what I do, roughly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- take a mysqldump of alfresco mysql database of to-be-upgraded version to a file&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- drop the database; create a new blank one of the same name&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- install new Alfresco version… start Alfresco… shut it down&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- replace new alf_data with the original content (previous version)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- drop alfresco database; create new blank one of same name (you could just drop all tables but keep the actual DB)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- restore the mysqldump to this (now blank) database&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- start Alfresco… it recognizes the older DB schema, content… starts the 'upgrade' process if there is any (e.g. schema and DB changes, and so on)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 14:18:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/upgrade-issue/m-p/268901#M222031</guid>
      <dc:creator>gnyce</dc:creator>
      <dc:date>2011-03-08T14:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade Issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/upgrade-issue/m-p/268902#M222032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;drop alfresco database; create new blank one of same name (you could just drop all tables but keep the actual DB)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sorry i am new to this but could you explain what needs to be done here exactly ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the folder is mysql. so delete this folder ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cheers&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 15:43:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/upgrade-issue/m-p/268902#M222032</guid>
      <dc:creator>ash85</dc:creator>
      <dc:date>2011-03-08T15:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade Issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/upgrade-issue/m-p/268903#M222033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, don't delete any folders.&amp;nbsp; Let's get some basic information.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What OS are you using?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What version of MySQL - or are you using the bundled MySQL that comes with Alfresco?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How did you upgrade… did you install to a new location (e.g. new folder)? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can I assume that this is not "production"?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you read the wiki article on backup and restore?&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Backup_and_Restore" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Backup_and_Restore&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Your new installation… is it using the "new" (e.g blank) database?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 16:48:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/upgrade-issue/m-p/268903#M222033</guid>
      <dc:creator>gnyce</dc:creator>
      <dc:date>2011-03-09T16:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade Issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/upgrade-issue/m-p/268904#M222034</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;What OS are you using?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Centos 5.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What version of MySQL - or are you using the bundled MySQL that comes with Alfresco?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bundled one with alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How did you upgrade… did you install to a new location (e.g. new folder)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Installed 3.4.d on same machine where 3.4.a is installed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can I assume that this is not "production"?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dont understand what "production" here means . &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you read the wiki article on backup and restore? &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Backup_and_Restore" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Backup_and_Restore&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes i did and its not very clear to novices.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your new installation… is it using the "new" (e.g blank) database?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes new blank db.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2011 08:53:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/upgrade-issue/m-p/268904#M222034</guid>
      <dc:creator>ash85</dc:creator>
      <dc:date>2011-03-10T08:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade Issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/upgrade-issue/m-p/268905#M222035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In mysql folder of 3.4.a i have &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;alfresco folder&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ibdata1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ib_logfile0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; ib_logfile1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;test folder&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mysql folder&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;now in newly created 3.4.d i have same things . so in order to get data on 3.4.d from 3.4.a . what files i need to replace ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;that is my simple question. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i have already replaced alf_data in 3.4.d by backed up alf_data of 3.4.a . which contained backup-lucene-indexes , contentstore ,contentstore.deleted, lucene-indexes , oouser . &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So from what i understand i have restored alf_data but cant figure out which files need to be replaced in mysql folder in 3.4.d. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the data sub folder in mysql folder has files as mentioned above and please could anyone tell me what to replace. in plain simple english as i am still in learning process here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks a million&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2011 11:36:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/upgrade-issue/m-p/268905#M222035</guid>
      <dc:creator>ash85</dc:creator>
      <dc:date>2011-03-10T11:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade Issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/upgrade-issue/m-p/268906#M222036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't use the bundled mysql, so I can't give letter-perfect instructions, but hopefully this is close enough.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So let's assume you have two installs… /&lt;/SPAN&gt;&lt;STRONG&gt;opt/alf3.4.a/&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp; and &lt;/SPAN&gt;&lt;STRONG&gt;/opt/alf3.4.d/&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp; (I don't know what you called them, but this is just an example for you)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically, you want to backup the mysql db from /opt/alf3.4.a and restore it to /opt/alf3.4.d&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Shutdown Alfresco.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Go to the /opt/alf3.4.a/&amp;nbsp; directory.&amp;nbsp; First we will start the bundled mysql db:&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt;/opt/alf3.4.a/mysql/scripts/ctl.sh start&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Next we will backup the previous alfresco db to a file.&amp;nbsp; You will need the mysql root password you were prompted for when you installed this… substitute it for PASSWORD:&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt;/opt/alf3.4.a/mysql/bin/mysqldump -uroot -pPASSWORD alfresco &amp;gt; /tmp/alfresco.sql&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;3) Confirm that the database dump is there:&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt;less /tmp/alfresco.sql&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;4) Once you've confirmed that you have data, shutdown the previous bundled-mysql:&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt;/opt/alf3.4.a/mysql/scripts/ctl.sh stop&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;5) Start the new bundled-mysql of the 3.4.d install:&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt;/opt/alf3.4.d/mysql/scripts/ctl.sh start&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;6) We will now drop that database, and then create a blank one:&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt;/opt/alf3.4.d/mysql/bin/mysql -uroot -pPASSWORD&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt;show databases;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (one should be called 'alfresco')&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt;drop database alfresco;&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt;create database alfresco;&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt;quit&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;7) Next, we'll restore the backup we made into this new/empty alfresco database:&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt;/opt/alf3.4.d/mysql/bin/mysql -uroot -pPASSWORD alfresco &amp;lt; /tmp/alfresco.sql&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;8 ) When it is done, shutdown the bundled mysql:&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt;/opt/alf3.4.d/mysql/scripts/ctl.sh&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;9) Start the new alfresco, and then watch the catalina.out logfile;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt;/opt/alf3.4.d/alfresco start;&amp;nbsp; tail -f /opt/alf3.4.d/tomcat/log/catalina.out&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hopefully this is good enough to get you through.&amp;nbsp; Finally, I don't means this as a criticism, but I think you need a little more general background knowledge of Linux under your belt if you are going to be supporting/using this.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good luck&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2011 02:17:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/upgrade-issue/m-p/268906#M222036</guid>
      <dc:creator>gnyce</dc:creator>
      <dc:date>2011-03-11T02:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade Issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/upgrade-issue/m-p/268907#M222037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks man, i managed to get the database recovered last night. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your step by step guide. Yes i am new to linux and learning everyday.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2011 10:02:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/upgrade-issue/m-p/268907#M222037</guid>
      <dc:creator>ash85</dc:creator>
      <dc:date>2011-03-11T10:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade Issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/upgrade-issue/m-p/268908#M222038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Welcome, glad you got it.&amp;nbsp; Hang onto this, it'll likely be similar for any future upgrade.&amp;nbsp; Also, might as flag this is "solved".&amp;nbsp; Good luck.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Mar 2011 21:22:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/upgrade-issue/m-p/268908#M222038</guid>
      <dc:creator>gnyce</dc:creator>
      <dc:date>2011-03-12T21:22:05Z</dc:date>
    </item>
  </channel>
</rss>

