<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body ><div>Dear Ariel,</div><div><br></div><div>Thank you for your reply and I am really sorry for late reply.</div><div><br></div><div>Is there other way to do the required task you mentioned? It would be better if I can do this using ssh client putty.</div><div><br></div><div>Looking forward to your reply.</div><div><br></div><div>Best regards</div><div>Rajib</div><div><br></div><div><br></div><div><div style="font-size:75%;color:#575757">Sent from Samsung Mobile</div></div><br><br><br>-------- Original message --------<br>From: Ariel Nunez <ingenieroariel@gmail.com> <br>Date: 12/14/2015 8:06 PM (GMT+06:00) <br>To: "Shah Md. Rajibul Islam" <rajibul.islam@cdmp.org.bd> <br>Cc: geonode-users@lists.osgeo.org <br>Subject: Re: [GeoNode-users] Cannot load geonode page: DoesNotExist: Site matching query does not exist. IntegrityError: Problem installing fixture <br> <br><br><div dir="ltr">Hello Rajib,<div><br></div><div>Since you deleted the default Site (with id=1) instead of editing the site name and url this caused problems with the permissions and all around the site.</div><div><br></div><div>Your best bet is to create a new Site object with id =1 and the right name and dome. Are you familiar with pgadminIII ? You can use that to connect to your database and recreate the missing entry in sites_site graphically.</div><div><br></div><div>-a</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Dec 13, 2015 at 12:29 AM, Shah Md. Rajibul Islam <span dir="ltr"><<a href="mailto:rajibul.islam@cdmp.org.bd" target="_blank">rajibul.islam@cdmp.org.bd</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal">Hi,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I am using geonode 2.0 on Ubuntu 12.04 <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I am having a problem while loading the geonode site as follows-<u></u><u></u></p><p class="MsoNormal"><b>“There was a problem loading this page. Please contact your GeoNode administrator (he may have received an email automatically if he configured it properly). If you are the site administrator, enable debug mode to see the actual error and fix it or file an issue in GeoNode's issue tracker”<u></u><u></u></b></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">It probably happened when I deleted the IP address from geoserver site management and add a site name <a href="http://geonode.dmic.org.bd" target="_blank">geonode.dmic.org.bd</a>. However, I have added the IP again to the site.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I tried to update the IP again using <i>sudo geonode-updateip 203.83.183.18</i> and gives following error:<u></u><u></u></p><p class="MsoNormal"><b>DoesNotExist: Site matching query does not exist.<u></u><u></u></b></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">When I run the <i>sudo apt-get install --reinstall geonode </i>command it gives following error message:<u></u><u></u></p><p class="MsoNormal"><b>IntegrityError: Problem installing fixture '/usr/local/lib/python2.7/dist-packag es/geonode/layers/fixtures/initial_data.json': Could not load security.GenericOb jectRoleMapping(pk=3): duplicate key value violates unique constraint "security_ genericobjectrolemap_subject_object_ct_id_object_i_key"<u></u><u></u></b></p><p class="MsoNormal"><b>DETAIL: Key (subject, object_ct_id, object_id, role_id)=(anonymous, 42, 1, 4) already exists.<u></u><u></u></b></p><p class="MsoNormal"><b><u></u> <u></u></b></p><p class="MsoNormal">Is there any suggestions please?<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Best regards<u></u><u></u></p><p class="MsoNormal">Rajib<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal" style="background:white"><b><span style="font-size:13.5pt;color:navy">Shah Md. Rajibul Islam</span></b><span style="font-size:12.0pt;font-family:"Arial","sans-serif";color:#222222"><u></u><u></u></span></p><p class="MsoNormal" style="background:white"><b><span style="font-size:10.0pt;color:navy">GIS Analyst</span></b><b><span style="font-size:12.0pt;color:navy"><br></span></b><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:navy">CDMP – II, UNDP</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222"><br></span><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:navy">Disaster Management & Relief Bhaban</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222"><br></span><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:navy">92-93, Mohakhali C/A, Dhaka - 1212</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222"><br></span><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:navy">Tel # 989 0937; 882 1255; 882 1459, Ext - 303</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222"><br></span><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:navy">Mobile: +88 </span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:navy">01716 027389, </span><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:navy">E-mail: <a href="mailto:rajibul.islam@cdmp.org.bd" target="_blank"><span style="color:#1155cc">rajibul.islam@cdmp.org.bd</span></a></span><u><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:blue"><br></span></u><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:navy">Web: <a href="http://www.cdmp.org.bd/" target="_blank"><span style="color:#1155cc">www.cdmp.org.bd</span></a></span><span style="font-size:12.0pt;font-family:"Arial","sans-serif";color:#222222"><u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p></div></div><br>_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
<br></blockquote></div><br></div>
</body>