<?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 &amp;quot;Too Many Redirects&amp;quot; after backup recovery in a new server in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/quot-too-many-redirects-quot-after-backup-recovery-in-a-new/m-p/314591#M1592</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I installed a new server to test the production server backup following this instructions &lt;A href="http://doc.nuxeo.com/display/public/ADMINDOC/Backup+and+Restore" target="test_blank"&gt;http://doc.nuxeo.com/display/public/ADMINDOC/Backup+and+Restore&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The new server is identical to the primary server:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Ubuntu 10.04 LTS 64 bits&lt;/LI&gt;
&lt;LI&gt;Nuxeo 5.4.2 from Ubuntu nuxeo-dm package&lt;/LI&gt;
&lt;LI&gt;PostgreSQL 8.4&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;After the new nuxeo-dm package installation we have a fresh new PostgreSQL database with Administrator user and fresh new data directory under /var/lib/&lt;/P&gt;
&lt;P&gt;In order to recover production server to new server:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Stopped Nuxeo server.&lt;/LI&gt;
&lt;LI&gt;Data directory (/var/lib/nuxeo-dm) replaced: Deleted and restored a copy from the production server to the same location.&lt;/LI&gt;
&lt;LI&gt;Restored the SQL dump from the production server: # psql -h localhost -p 5433 -U nuxeodm nuxeodm &amp;lt; nuxeodm-production.sql&lt;/LI&gt;
&lt;LI&gt;Server started.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;SQL dump made in the production server with:
pg_dump -h localhost -p 5433 -U nuxeodm nuxeodm &amp;gt; nuxeodm-production.sql&lt;/P&gt;
&lt;P&gt;After the restore, the problem is that I can't login with a production user and password. The error is &lt;STRONG&gt;Too Many Redirects after login&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;Maybe the problem is due a bad restore of the SQL dump? I receive a lot of errors like these:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;ERROR: &amp;nbsp;relation "rel_srch_ecm_path" already exists&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;ERROR: &amp;nbsp;insert or update on table "acls" violates foreign key constraint "acls_id_hierarchy_fk"
DETAIL: &amp;nbsp;Key (id)=(14acc6c6-4f95-4865-864d-6a6e25270446) is not present in table "hierarchy"&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;The solution is to dump into an empty Nuxeo database? Any workaround? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Benjamí&lt;/P&gt;</description>
    <pubDate>Sun, 23 Mar 2014 23:20:16 GMT</pubDate>
    <dc:creator>benjami_</dc:creator>
    <dc:date>2014-03-23T23:20:16Z</dc:date>
    <item>
      <title>"Too Many Redirects" after backup recovery in a new server</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/quot-too-many-redirects-quot-after-backup-recovery-in-a-new/m-p/314591#M1592</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I installed a new server to test the production server backup following this instructions &lt;A href="http://doc.nuxeo.com/display/public/ADMINDOC/Backup+and+Restore" target="test_blank"&gt;http://doc.nuxeo.com/display/public/ADMINDOC/Backup+and+Restore&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The new server is identical to the primary server:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Ubuntu 10.04 LTS 64 bits&lt;/LI&gt;
&lt;LI&gt;Nuxeo 5.4.2 from Ubuntu nuxeo-dm package&lt;/LI&gt;
&lt;LI&gt;PostgreSQL 8.4&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;After the new nuxeo-dm package installation we have a fresh new PostgreSQL database with Administrator user and fresh new data directory under /var/lib/&lt;/P&gt;
&lt;P&gt;In order to recover production server to new server:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Stopped Nuxeo server.&lt;/LI&gt;
&lt;LI&gt;Data directory (/var/lib/nuxeo-dm) replaced: Deleted and restored a copy from the production server to the same location.&lt;/LI&gt;
&lt;LI&gt;Restored the SQL dump from the production server: # psql -h localhost -p 5433 -U nuxeodm nuxeodm &amp;lt; nuxeodm-production.sql&lt;/LI&gt;
&lt;LI&gt;Server started.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;SQL dump made in the production server with:
pg_dump -h localhost -p 5433 -U nuxeodm nuxeodm &amp;gt; nuxeodm-production.sql&lt;/P&gt;
&lt;P&gt;After the restore, the problem is that I can't login with a production user and password. The error is &lt;STRONG&gt;Too Many Redirects after login&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;Maybe the problem is due a bad restore of the SQL dump? I receive a lot of errors like these:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;ERROR: &amp;nbsp;relation "rel_srch_ecm_path" already exists&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;ERROR: &amp;nbsp;insert or update on table "acls" violates foreign key constraint "acls_id_hierarchy_fk"
DETAIL: &amp;nbsp;Key (id)=(14acc6c6-4f95-4865-864d-6a6e25270446) is not present in table "hierarchy"&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;The solution is to dump into an empty Nuxeo database? Any workaround? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Benjamí&lt;/P&gt;</description>
      <pubDate>Sun, 23 Mar 2014 23:20:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/quot-too-many-redirects-quot-after-backup-recovery-in-a-new/m-p/314591#M1592</guid>
      <dc:creator>benjami_</dc:creator>
      <dc:date>2014-03-23T23:20:16Z</dc:date>
    </item>
  </channel>
</rss>

