<div dir="ltr">Hi Geonode Devs, <div><br></div><div>I'm using geonode 2.6.3 installed by apt-get on a fresh ubuntu 16.04 instance.</div><div><br></div><div>On top of this I install geonode-project, and customise settings.py in mygeonodeproject. </div><div><br></div><div>This works fine if I use the postgres database that apt-get automatically installs locally on my geonode server. </div><div><br></div><div>However, when I go to swap out this local database with a remote one (it's on AWS RDS), it's all good until the command "sudo geonode-updateip <a href="http://mygeonodeproject.com">mygeonodeproject.com</a>" tells me I don't have a superuser created (I do, but it's on the remote database, created using the manage.py command in mygeonodeproject folder). </div><div><br></div><div>When I drill into this a bit deeper, it appears to come down to this line: </div><div><br></div><div><a href="https://github.com/GeoNode/geonode/blob/2.6.x/geonode/base/management/commands/fixoauthuri.py#L33">https://github.com/GeoNode/geonode/blob/2.6.x/geonode/base/management/commands/fixoauthuri.py#L33</a><br></div><div><br></div><div>This line ("<span class="gmail-pl-k" style="box-sizing:border-box;color:rgb(215,58,73);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre">from</span><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre;background-color:rgb(255,251,221)"> django.conf </span><span class="gmail-pl-k" style="box-sizing:border-box;color:rgb(215,58,73);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre">import</span><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre;background-color:rgb(255,251,221)"> settings")</span> is pulling in models from the local geonode database, not the remote RDS database I'm using for mygeonodeproject. </div><div><br></div><div>What am I doing wrong here, and what is the best way to import my custom project into this command rather than the globally installed geonode, when using "from django.conf import settings"? </div><div><br></div><div>thanks for any help</div><div>regards</div><div>Dave</div><div><br></div></div>