<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Migration from 5.1.1 to 5.2.2</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=3118509" />
  <subtitle>Migration from 5.1.1 to 5.2.2</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=3118509</id>
  <updated>2026-05-01T18:48:56Z</updated>
  <dc:date>2026-05-01T18:48:56Z</dc:date>
  <entry>
    <title>RE: Migration from 5.1.1 to 5.2.2</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3217814" />
    <author>
      <name>Laurent Dreuillat</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3217814</id>
    <updated>2009-05-31T13:17:48Z</updated>
    <published>2009-05-31T13:17:48Z</published>
    <summary type="html">Hi, &lt;br /&gt;&lt;br /&gt;Thanks a lot, it works fine now!&lt;br /&gt;&lt;br /&gt;Best regards&lt;br /&gt;&lt;br /&gt;Laurent</summary>
    <dc:creator>Laurent Dreuillat</dc:creator>
    <dc:date>2009-05-31T13:17:48Z</dc:date>
  </entry>
  <entry>
    <title>RE: Migration from 5.1.1 to 5.2.2</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3212430" />
    <author>
      <name>Amos Fong</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3212430</id>
    <updated>2009-05-29T16:51:03Z</updated>
    <published>2009-05-29T16:51:03Z</published>
    <summary type="html">Ah, I forgot about that bug. The reason is in the upgrade process the preferences of the document library removed all the display columns. See this thread: &lt;a href="http://www.liferay.com/web/guest/community/forums/-/message_boards/message/3018633"&gt;http://www.liferay.com/web/guest/community/forums/-/message_boards/message/3018633&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I think you&amp;#39;re almost there! Hope it wasn&amp;#39;t too painful...&lt;br /&gt;&lt;br /&gt;On the other hand I just did an upgrade from 5.2.2 to 5.2.3 and it was quite smooth...</summary>
    <dc:creator>Amos Fong</dc:creator>
    <dc:date>2009-05-29T16:51:03Z</dc:date>
  </entry>
  <entry>
    <title>RE: Migration from 5.1.1 to 5.2.2</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3210762" />
    <author>
      <name>Laurent Dreuillat</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3210762</id>
    <updated>2009-05-29T12:54:18Z</updated>
    <published>2009-05-29T12:54:18Z</published>
    <summary type="html">Hi, &lt;br /&gt;&lt;br /&gt;I made again the test by forcing the upgrade process and it works better.&lt;br /&gt;I can see the document library elements through links in the web content.&lt;br /&gt;But I still got a strange problem in the Document_Library Portlet :&lt;br /&gt;  - I can see all the Folders&lt;br /&gt;  - The number of documents by Folders is good&lt;br /&gt;  - But I can&amp;#39;t see the documents in the Folders (empty) whereas the number of documents and pages is OK&lt;br /&gt;&lt;br /&gt;It seems to be a display Bug!&lt;br /&gt;&lt;br /&gt;Any ideas?&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;&lt;br /&gt;Laurent</summary>
    <dc:creator>Laurent Dreuillat</dc:creator>
    <dc:date>2009-05-29T12:54:18Z</dc:date>
  </entry>
  <entry>
    <title>RE: Migration from 5.1.1 to 5.2.2</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3209493" />
    <author>
      <name>Laurent Dreuillat</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3209493</id>
    <updated>2009-05-29T09:57:31Z</updated>
    <published>2009-05-29T09:57:31Z</published>
    <summary type="html">Hi Amos, &lt;br /&gt;&lt;br /&gt;I made the test with the portal-legacy-5.1.properties and it seems to be exactly the same thing (no access to document library items).&lt;br /&gt;There is something strange in this file :&lt;br /&gt;dl.hook.file.system.root.dir=${resource.repositories.root}/document_library&lt;br /&gt;&lt;br /&gt;In previous version (v5.1.1) we have no document_library folder. When I put this line in the portal-legacy-5.1.properties file, it creates no document_library folder!&lt;br /&gt;Should it copy document library files (from jackrabbit folder) to this folder during the upgrade process?&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;&lt;br /&gt;Laurent</summary>
    <dc:creator>Laurent Dreuillat</dc:creator>
    <dc:date>2009-05-29T09:57:31Z</dc:date>
  </entry>
  <entry>
    <title>RE: Migration from 5.1.1 to 5.2.2</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3203120" />
    <author>
      <name>Amos Fong</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3203120</id>
    <updated>2009-05-28T16:54:07Z</updated>
    <published>2009-05-28T16:54:07Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;When upgrading, you always want to look at portal-legacy-5.1.properties. (or whatever version you're upgrading from)&lt;br&gt;&lt;br&gt;These properties are used for backwards compatibility whenever default behavior is changed. In this case, the default document library hook was changed to filesystem.&lt;br&gt;&lt;br&gt;Don't know if you saw the wiki, but this is also mentioned in it. (&lt;a href="http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Upgrade%20Instructions%20from%205.1%20to%205.2"&gt;http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Upgrade%20Instructions%20from%205.1%20to%205.2&lt;/a&gt;&lt;br&gt;Here is the contents of portal-legacy-5.1properties.&lt;br&gt;&lt;br&gt;resource.repositories.root=${user.home}/liferay&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;theme.portlet.sharing.default=true

organizations.country.required[regular]=true
organizations.assignment.auto=true
organizations.assignment.strict=false
organizations.membership.strict=true

lucene.dir=${resource.repositories.root}/lucene/

jcr.jackrabbit.repository.root=${resource.repositories.root}/jackrabbit

discussion.thread.view=combination

dl.hook.impl=com.liferay.documentlibrary.util.JCRHook

dl.hook.file.system.root.dir=${resource.repositories.root}/document_library&lt;/code&gt;&lt;/pre&gt;&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Amos Fong</dc:creator>
    <dc:date>2009-05-28T16:54:07Z</dc:date>
  </entry>
  <entry>
    <title>RE: Migration from 5.1.1 to 5.2.2</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3197728" />
    <author>
      <name>Laurent Dreuillat</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3197728</id>
    <updated>2009-05-28T06:56:53Z</updated>
    <published>2009-05-28T06:56:53Z</published>
    <summary type="html">Hi Amos, &lt;br /&gt;&lt;br /&gt;The problem is that the Chat_status isn&amp;#39;t correctly upgraded.&lt;br /&gt;I modified the tables.sql file in the chat portlet and imported it in MySQL ant now the chat-portlet is working.&lt;br /&gt;&lt;br /&gt;I will make the test with the WOL portlet today.&lt;br /&gt;&lt;br /&gt;Do you know if there&amp;#39;s a documentation on how to migrate the CMS data from LR 5.1.x to LR 5.2.x?&lt;br /&gt;I just copied the cms repository from LR 5.1.1 ant restart LD. Evrything works fine for images, web content but it doesn&amp;#39;t retrieve the documents that are in the Document Library. I saw that in the new version, there is a new documentlibrary folder!&lt;br /&gt;&lt;br /&gt;Any ideas?&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;&lt;br /&gt;Laurent</summary>
    <dc:creator>Laurent Dreuillat</dc:creator>
    <dc:date>2009-05-28T06:56:53Z</dc:date>
  </entry>
  <entry>
    <title>RE: Migration from 5.1.1 to 5.2.2</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3195077" />
    <author>
      <name>Amos Fong</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3195077</id>
    <updated>2009-05-27T20:58:32Z</updated>
    <published>2009-05-27T20:58:32Z</published>
    <summary type="html">Hm...I don&amp;#39;t think there&amp;#39;s a process to upgrade plugin tables...maybe try manually adding the online_ column to the chat_status table</summary>
    <dc:creator>Amos Fong</dc:creator>
    <dc:date>2009-05-27T20:58:32Z</dc:date>
  </entry>
  <entry>
    <title>RE: Migration from 5.1.1 to 5.2.2</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3194451" />
    <author>
      <name>Laurent Dreuillat</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3194451</id>
    <updated>2009-05-27T19:14:32Z</updated>
    <published>2009-05-27T19:14:32Z</published>
    <summary type="html">Hi, &lt;br /&gt;&lt;br /&gt;I made a new test adding the line &amp;#34;permissions.user.check.algorithm=2&amp;#34; in my portal-ext.properties and it works a bit better.&lt;br /&gt;I have no more errors on the company owner at the startup and it shows me the login page in my browser but I still have problems with chat and wol portlets (unable to deploy and register at startup).&lt;br /&gt;&lt;br /&gt;Then when I connect, I see all the pages an communities from LR 5.1.1 version but I have chat errors on the console :&lt;br /&gt;&lt;br /&gt;19:06:13,625 ERROR [JDBCExceptionReporter:101] Unknown column &amp;#39;statusimpl0_.online_&amp;#39; in &amp;#39;field list&amp;#39;&lt;br /&gt;19:06:13,640 ERROR [BasePersistenceImpl:81] Caught ORMException&lt;br /&gt;19:06:13,640 ERROR [PortletRequestDispatcherImpl:311] org.apache.jasper.JasperException: An exception occurred processing JSP page /latest.jsp at line 40&lt;br /&gt;&lt;br /&gt;37: Status status = null;&lt;br /&gt;38:&lt;br /&gt;39: try {&lt;br /&gt;40:     status = StatusLocalServiceUtil.getUserStatus(themeDisplay.getUserId());&lt;br /&gt;41: }&lt;br /&gt;42: catch (NoSuchStatusException nsse) {&lt;br /&gt;43: }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Stacktrace:&lt;br /&gt;org.apache.jasper.JasperException: An exception occurred processing JSP page /latest.jsp at line 40&lt;br /&gt;&lt;br /&gt;37: Status status = null;&lt;br /&gt;38:&lt;br /&gt;39: try {&lt;br /&gt;40:     status = StatusLocalServiceUtil.getUserStatus(themeDisplay.getUserId());&lt;br /&gt;41: }&lt;br /&gt;42: catch (NoSuchStatusException nsse) {&lt;br /&gt;43: }&lt;br /&gt;&lt;br /&gt;Perhaps a chat and wol tables upgrade problem?&lt;br /&gt;Any other ideas?&lt;br /&gt;&lt;br /&gt;Thanks a lot for your help&lt;br /&gt;&lt;br /&gt;Laurent</summary>
    <dc:creator>Laurent Dreuillat</dc:creator>
    <dc:date>2009-05-27T19:14:32Z</dc:date>
  </entry>
  <entry>
    <title>RE: Migration from 5.1.1 to 5.2.2</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3193383" />
    <author>
      <name>Amos Fong</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3193383</id>
    <updated>2009-05-27T17:09:11Z</updated>
    <published>2009-05-27T17:09:11Z</published>
    <summary type="html">Did you also copy your portal-ext.properties to 5.2.2 installation?&lt;br /&gt;&lt;br /&gt;Specifically, I think you need this line if you&amp;#39;re using permission algorithm 2.&lt;br /&gt;&lt;br /&gt;permissions.user.check.algorithm=2</summary>
    <dc:creator>Amos Fong</dc:creator>
    <dc:date>2009-05-27T17:09:11Z</dc:date>
  </entry>
  <entry>
    <title>RE: Migration from 5.1.1 to 5.2.2</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3189194" />
    <author>
      <name>Laurent Dreuillat</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3189194</id>
    <updated>2009-05-27T08:45:54Z</updated>
    <published>2009-05-27T08:45:54Z</published>
    <summary type="html">Hi, &lt;br /&gt;&lt;br /&gt;During the upgrade process, I had the following error in the console :&lt;br /&gt;&lt;br /&gt;08:38:25,156 ERROR [MainServlet:162] com.liferay.portal.kernel.events.ActionException: com.liferay.portal.verify.VerifyException: com.liferay.portal.NoSuchRoleException: No Role exists with the key {companyId=10097, name=owner}&lt;br /&gt;com.liferay.portal.kernel.events.ActionException: com.liferay.portal.verify.VerifyException: com.liferay.portal.NoSuchRoleException: No Role exists with the key {companyId=10097, name=owner}&lt;br /&gt;&lt;br /&gt;Any ideas?&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;&lt;br /&gt;Laurent</summary>
    <dc:creator>Laurent Dreuillat</dc:creator>
    <dc:date>2009-05-27T08:45:54Z</dc:date>
  </entry>
  <entry>
    <title>RE: Migration from 5.1.1 to 5.2.2</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3185316" />
    <author>
      <name>Laurent Dreuillat</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3185316</id>
    <updated>2009-05-26T20:21:53Z</updated>
    <published>2009-05-26T20:21:53Z</published>
    <summary type="html">Hi, &lt;br /&gt;&lt;br /&gt;I made an new migration test :&lt;br /&gt;&lt;br /&gt;Drop portal table and recreate an empty one&lt;br /&gt; - start LR, remove the 7Cogs Hook&lt;br /&gt; - stop and start LR&lt;br /&gt; - Everything works fine&lt;br /&gt;&lt;br /&gt;After I tried to migrate my table (5.1.1) :&lt;br /&gt; - I configured LR 5.2.2 to use my 5.1.1 database&lt;br /&gt; - I started LR and I got several errors and the console :&lt;br /&gt;20:01:19,953 ERROR [HotDeployUtil:111] com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering plugins for chat-portlet&lt;br /&gt;20:01:19,953 ERROR [HotDeployUtil:111] com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering plugins for wol-portlet&lt;br /&gt;&lt;br /&gt;After a while, it starts my browser with the LR Home Pager and I got an error :&lt;br /&gt;&lt;br /&gt;You do not have permission to view this page. &lt;br /&gt;&lt;br /&gt;Then I can&amp;#39;t access any other pages!&lt;br /&gt;&lt;br /&gt;Any ideas?&lt;br /&gt;&lt;br /&gt;Thanks &lt;br /&gt;&lt;br /&gt;Laurent</summary>
    <dc:creator>Laurent Dreuillat</dc:creator>
    <dc:date>2009-05-26T20:21:53Z</dc:date>
  </entry>
  <entry>
    <title>RE: Migration from 5.1.1 to 5.2.2</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3140893" />
    <author>
      <name>Laurent Dreuillat</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3140893</id>
    <updated>2009-05-20T08:38:39Z</updated>
    <published>2009-05-20T08:38:39Z</published>
    <summary type="html">Hi, &lt;br /&gt;&lt;br /&gt;Thank you for this solution, I will make the test ASAP.&lt;br /&gt;&lt;br /&gt;Don&amp;#39;t care, I got a database backup ;)&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;&lt;br /&gt;Laurent</summary>
    <dc:creator>Laurent Dreuillat</dc:creator>
    <dc:date>2009-05-20T08:38:39Z</dc:date>
  </entry>
  <entry>
    <title>RE: Migration from 5.1.1 to 5.2.2</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3134573" />
    <author>
      <name>Amos Fong</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3134573</id>
    <updated>2009-05-19T18:15:27Z</updated>
    <published>2009-05-19T18:15:27Z</published>
    <summary type="html">oh...did you use a 5.2.2 bundle? If so, you&amp;#39;ll need to delete 7cogs hook first or it will erase and populate the database with sample data... (&lt;a href="http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/7Cogs%20sample%20data"&gt;http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/7Cogs%20sample%20data&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;Good thing you a made a backup of your database first right? right??</summary>
    <dc:creator>Amos Fong</dc:creator>
    <dc:date>2009-05-19T18:15:27Z</dc:date>
  </entry>
  <entry>
    <title>RE: Migration from 5.1.1 to 5.2.2</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3129349" />
    <author>
      <name>Laurent Dreuillat</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3129349</id>
    <updated>2009-05-19T09:47:42Z</updated>
    <published>2009-05-19T09:47:42Z</published>
    <summary type="html">Hi, &lt;br /&gt;&lt;br /&gt;I am on Windows XP and I&amp;#39;m using MySQL 5.0.18.&lt;br /&gt;I don&amp;#39;t see my communities (made in LR 5.1.1) in the group_ table.&lt;br /&gt;I had no exceptions during the upgrade process!&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;&lt;br /&gt;Laurent</summary>
    <dc:creator>Laurent Dreuillat</dc:creator>
    <dc:date>2009-05-19T09:47:42Z</dc:date>
  </entry>
  <entry>
    <title>RE: Migration from 5.1.1 to 5.2.2</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3125686" />
    <author>
      <name>Amos Fong</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3125686</id>
    <updated>2009-05-18T23:09:19Z</updated>
    <published>2009-05-18T23:09:19Z</published>
    <summary type="html">Hm.. strange.&lt;br /&gt;&lt;br /&gt;What kind of database are you using? Also do you still see the all your communities under the group table? Any exceptions during the upgrade process?</summary>
    <dc:creator>Amos Fong</dc:creator>
    <dc:date>2009-05-18T23:09:19Z</dc:date>
  </entry>
  <entry>
    <title>Migration from 5.1.1 to 5.2.2</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3118508" />
    <author>
      <name>Laurent Dreuillat</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3118508</id>
    <updated>2009-05-18T12:15:36Z</updated>
    <published>2009-05-18T12:15:36Z</published>
    <summary type="html">Hi, &lt;br /&gt;&lt;br /&gt;I recently made a migration from my LR 5.1.1 to the new version (LR 5.2.2) following the upgrade instructions.&lt;br /&gt;Everything seems to work fine but at the end, when I access the portal I don&amp;#39;t find any of my previous communities!&lt;br /&gt;It&amp;#39;s as if they were removed!&lt;br /&gt;&lt;br /&gt;Any ideas?&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;&lt;br /&gt;Laurent</summary>
    <dc:creator>Laurent Dreuillat</dc:creator>
    <dc:date>2009-05-18T12:15:36Z</dc:date>
  </entry>
</feed>
