<?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>Can´t login after DDBB migration</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=112264056" />
  <subtitle>Can´t login after DDBB migration</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=112264056</id>
  <updated>2026-04-04T12:38:17Z</updated>
  <dc:date>2026-04-04T12:38:17Z</dc:date>
  <entry>
    <title>RE: Can´t login after DB migration</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112594369" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112594369</id>
    <updated>2019-03-06T09:17:24Z</updated>
    <published>2019-03-06T09:17:24Z</published>
    <summary type="html">&lt;blockquote&gt;Iñigo Boyano&lt;br /&gt;My question now is: ¿what is the proper way to do the migration, taking into account that to do this by *.lars is not viable because the different version between environments?&lt;br /&gt;&lt;/blockquote&gt;The proper way: Upgrade the database. If you need LAR files, generate new LAR files after migration. The only upgrade routines that exist are for the database, not for LAR archives.&lt;br /&gt;So, according to what I read above, you were trying the right things. Odds are that you literally just missed the &amp;#34;legacy properties&amp;#34;, e.g. containing the password hashing algorithms. They&amp;#39;re clearly documented in the upgrade instructions - do you remember you used the legacy properties?&lt;br /&gt;Did you get into your system by now?</summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2019-03-06T09:17:24Z</dc:date>
  </entry>
  <entry>
    <title>RE: Can´t login after DB migration</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112594023" />
    <author>
      <name>Iñigo Boyano</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112594023</id>
    <updated>2019-03-06T08:51:47Z</updated>
    <published>2019-03-06T08:51:47Z</published>
    <summary type="html">Ok, understood.&lt;br /&gt;My question now is: ¿what is the proper way to do the migration, taking into account that to do this by *.lars is not viable because the different version between environments?&lt;br /&gt;&lt;br /&gt;Kind regards, </summary>
    <dc:creator>Iñigo Boyano</dc:creator>
    <dc:date>2019-03-06T08:51:47Z</dc:date>
  </entry>
  <entry>
    <title>RE: Can´t login after DB migration</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112584429" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112584429</id>
    <updated>2019-03-05T15:11:24Z</updated>
    <published>2019-03-05T15:11:24Z</published>
    <summary type="html">&lt;blockquote&gt;Iñigo Boyano&lt;br /&gt; back to the import of DDBB. In this point i can&amp;#39;t login with test@liferay.com // test because i get an authentication error. &lt;br /&gt;Is there any way for log as administration in this site?&lt;br /&gt;&lt;/blockquote&gt;I&amp;#39;d say: A proper migration is the way to go. Notice the password hashing algorithm, mentioned above by Alberto. The database might be migrated correctly, but Liferay believes that the password hashing is different from what is actually stored in the database. Make sure that you have this configured correctly.&lt;br /&gt;&lt;br /&gt;Although I&amp;#39;ll never be found to suggest changing Liferay&amp;#39;s database directly, I&amp;#39;m guilty of once having manually changed the &amp;#34;password&amp;#34; field for a user to &amp;#34;someting&amp;#34;, and the &amp;#34;encrypted&amp;#34; column to &amp;#34;false&amp;#34;. Don&amp;#39;t do that. No matter who gives you the idea. It&amp;#39;s wrong. It doesn&amp;#39;t fix your underlying problem and would only be bandaid that possibly gives you enough access to ignore all other problems.</summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2019-03-05T15:11:24Z</dc:date>
  </entry>
  <entry>
    <title>RE: Can´t login after DDBB migration</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112578023" />
    <author>
      <name>Iñigo Boyano</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112578023</id>
    <updated>2019-03-05T11:32:43Z</updated>
    <published>2019-03-05T11:32:43Z</published>
    <summary type="html">Hi Olaf, &lt;br /&gt;&lt;br /&gt;I&amp;#39;ve tried to create a *.lar from development to import in my local environment but both environments have diferent version and the lar import throws an error, so, i&amp;#39;va back to the import of DDBB. In this point i can&amp;#39;t login with test@liferay.com // test because i get an authentication error. &lt;br /&gt;Is there any way for log as administration in this site?&lt;br /&gt;&lt;br /&gt;Kidn regards, &lt;br /&gt;&lt;br /&gt;Iñigo</summary>
    <dc:creator>Iñigo Boyano</dc:creator>
    <dc:date>2019-03-05T11:32:43Z</dc:date>
  </entry>
  <entry>
    <title>RE: Can´t login after DDBB migration</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112269688" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112269688</id>
    <updated>2019-02-08T05:47:58Z</updated>
    <published>2019-02-08T05:47:58Z</published>
    <summary type="html">&lt;blockquote&gt;Iñigo Boyano&lt;br /&gt;&lt;br /&gt;I did a database migration from a development environment to my local environment in order to have the same portal to develop in local.&lt;br /&gt;The migration was correctly but when i try to login in the local portal, i give the follwing errors:&lt;br /&gt;&lt;/blockquote&gt;I doubt that the migration was done correctly.&lt;br /&gt;&lt;br /&gt;Note that there&amp;#39;s more than the database that you&amp;#39;ll need to bring over into your other environment - notably the Document Library and potentially the search index (which can be regenerated).&lt;br /&gt;My advice is: Don&amp;#39;t use the database migration, instead just restore your backup. This way you gain the privilege of actually being allowed to call it a backup:&lt;br /&gt;My standard is that you&amp;#39;re &lt;em&gt;only&lt;/em&gt; allowed to call a collection of data a backup if you have &lt;em&gt;recently demonstrated&lt;/em&gt; that you&amp;#39;re able to use it to restore to a &lt;em&gt;completely separate environment&lt;/em&gt;. Use this to your advantage.</summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2019-02-08T05:47:58Z</dc:date>
  </entry>
  <entry>
    <title>RE: Can´t login after DDBB migration</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112267238" />
    <author>
      <name>Eddie Chow</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112267238</id>
    <updated>2019-02-07T21:10:15Z</updated>
    <published>2019-02-07T21:10:15Z</published>
    <summary type="html">What I&amp;#39;ve done is set the &lt;em&gt;setup&lt;/em&gt;.&lt;em&gt;wizard&lt;/em&gt;.enabled=true and restart liferay and then create a new admin user when I hit the basic configuration screen. Make sure that the database connection is the same.</summary>
    <dc:creator>Eddie Chow</dc:creator>
    <dc:date>2019-02-07T21:10:15Z</dc:date>
  </entry>
  <entry>
    <title>RE: Can´t login after DDBB migration</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112264706" />
    <author>
      <name>Alberto Chaparro</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112264706</id>
    <updated>2019-02-07T17:01:17Z</updated>
    <published>2019-02-07T17:01:17Z</published>
    <summary type="html">Hi Iñigo,&lt;br /&gt;&lt;br /&gt;If you came from 6.1 please take into account that the password encryption algorithm has changed:&lt;br /&gt;https://dev.liferay.com/en/discover/deployment/-/knowledge_base/6-2/upgrading-liferay#review-the-liferay-6-2-properties-defaults&lt;br /&gt;&lt;br /&gt;Even if you came from 6.2 or 7.0 please, verify if you have any property related to the password encryption algorithm in your portal-ext.properties.&lt;br /&gt;&lt;br /&gt;​​​​​​​I hope it helps.</summary>
    <dc:creator>Alberto Chaparro</dc:creator>
    <dc:date>2019-02-07T17:01:17Z</dc:date>
  </entry>
  <entry>
    <title>Can´t login after DDBB migration</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112264055" />
    <author>
      <name>Iñigo Boyano</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112264055</id>
    <updated>2019-02-07T16:00:41Z</updated>
    <published>2019-02-07T16:00:41Z</published>
    <summary type="html">Hi, &lt;br /&gt;&lt;br /&gt;I did a database migration from a development environment to my local environment in order to have the same portal to develop in local.&lt;br /&gt;The migration was correctly but when i try to login in the local portal, i give the follwing errors:&lt;br /&gt;&lt;br /&gt;&amp;#34;Your request could not be made correctly.&amp;#34;&lt;br /&gt;&lt;br /&gt;&amp;#34;Authentication has failed. Please try again&amp;#34;&lt;br /&gt;&lt;br /&gt;The user with i&amp;#39;m trying to access is the liferay default user and i can&amp;#39;t see any trace in the local log.&lt;br /&gt;test@liferay.com // test.&lt;br /&gt;&lt;br /&gt;Is there any way to access as administration in this case? Something i can modify in DDBB to allow me to log?</summary>
    <dc:creator>Iñigo Boyano</dc:creator>
    <dc:date>2019-02-07T16:00:41Z</dc:date>
  </entry>
</feed>
