<?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>NoSuchResourcePermissionException and empty user list after migration to 7</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=110974280" />
  <subtitle>NoSuchResourcePermissionException and empty user list after migration to 7</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=110974280</id>
  <updated>2026-04-05T17:31:41Z</updated>
  <dc:date>2026-04-05T17:31:41Z</dc:date>
  <entry>
    <title>RE: NoSuchResourcePermissionException and empty user list after migration t</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110980457" />
    <author>
      <name>Konrad Bijoch</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110980457</id>
    <updated>2018-09-19T08:51:56Z</updated>
    <published>2018-09-19T08:51:56Z</published>
    <summary type="html">&lt;p&gt;Thank you for your reply. Indexing issue has been resolved and user
  account that tries to add portlets has Administrator and Power User
  roles assigned to it. We are upgrading from 6.0.6 to 6.2 and then to
  7.0.4. There were no errors during the process, but while LFR7 is
  running, following exception pops up from time to time:&lt;/p&gt;
&lt;p&gt;No bean named
  'com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService'
  is defined&lt;/p&gt;
&lt;p&gt;We'll be trying to upgrade to 7.0.3 first and then to 7.0.4, maybe
  this will help because last time, couple of months ago when migration
  of that DB was being done, it was done this way and it worked okay.&lt;/p&gt;
&lt;p&gt;EDIT: Upgrading from 6.2 to 7.0.3 first and then to 7.0.4 seems to
  have worked. But during upgrade to 7.0.3 the process made a thread
  dump for some reason, paused and then resumed.&lt;/p&gt;</summary>
    <dc:creator>Konrad Bijoch</dc:creator>
    <dc:date>2018-09-19T08:51:56Z</dc:date>
  </entry>
  <entry>
    <title>RE: NoSuchResourcePermissionException and empty user list after migration t</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110975516" />
    <author>
      <name>Alberto Chaparro</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110975516</id>
    <updated>2018-09-18T15:50:27Z</updated>
    <published>2018-09-18T15:50:27Z</published>
    <summary type="html">&lt;p&gt;Hi Konrad,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regarding the permission issue, from which version of Liferay are you
  upgrading? Did you see any exception or warning in the upgrade log?&lt;/p&gt;
&lt;p&gt;Regarding the user list, could you connect directly to the index and
  check if the users are there, it usually takes some time to reindex
  everything. Are you using the embedded elastic search? Use elastic
  search server instead. You can also try to activate index traces (I
  dont remember the exact package but you can search for it in the
  control panel) before reindexing.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I hope it helps.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Alberto Chaparro</dc:creator>
    <dc:date>2018-09-18T15:50:27Z</dc:date>
  </entry>
  <entry>
    <title>NoSuchResourcePermissionException and empty user list after migration to 7</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110974279" />
    <author>
      <name>Konrad Bijoch</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110974279</id>
    <updated>2018-09-18T14:39:47Z</updated>
    <published>2018-09-18T14:39:47Z</published>
    <summary type="html">&lt;p&gt;Hi, we recently migrated our database to Liferay portal version 7.
  However, after launching portal and logging in, we are unable to add
  portlets to existing sites. From log file:&lt;/p&gt;

&lt;p&gt;com.liferay.portal.kernel.exception.NoSuchResourcePermissionException:
  {companyId=10132,
  name=com.liferay.document.library.kernel.model.DLFileEntryType,
  primKey=1360702, scope=4}&lt;/p&gt;
&lt;p&gt;That line appears after clicking the '+' icon in the top right
  corner. After clicking &amp;quot;Add&amp;quot; next to selected portlet, a box
  with &amp;quot;&lt;span&gt;There was an unexpected error. Please refresh the
    current page&amp;quot;&lt;/span&gt; message pops up, refreshing does nothing.
  It is possible to add portlets to newly created pages, but the old ones.&lt;/p&gt;
&lt;p&gt;Second problem - user list in Users and Organizations page is empty,
  although all users are clearly visible in the database. We tried
  reindexing all indexes multiple times - doesn't work.&lt;/p&gt;
&lt;p&gt;Any help will by greatly appreciated.&lt;/p&gt;</summary>
    <dc:creator>Konrad Bijoch</dc:creator>
    <dc:date>2018-09-18T14:39:47Z</dc:date>
  </entry>
</feed>
