<div dir="ltr"><img width="0" height="0" class="mailtrack-img" alt="" style="display:flex" src="https://mailtrack.io/trace/mail/b7a40fa1124e691bc8f86809f0cce8a6415e06f6.png?u=16998"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div></div>Hi,<div><br></div><div>I've been trying to deploy Geonode 2.10 on a Ubuntu 18.04 server using the instructions provide here: <a href="https://docs.google.com/document/d/1jNg2BKn2H9Haoyqpe7XkK_Nj-siL7PUlhP40hGi9OZ8/edit">https://docs.google.com/document/d/1jNg2BKn2H9Haoyqpe7XkK_Nj-siL7PUlhP40hGi9OZ8/edit</a></div><div><br></div><div>However I'm getting the same error every time I try to run the command:</div><div><br></div><div>sudo WORKON_HOME=/my/opt_path/Envs/geonode DJANGO_SETTINGS_MODULE=geonode.local_settings GEONODE_ETC=/my/opt_path/geonode/geonode GEOSERVER_DATA_DIR=/var/lib/tomcat8/webapps/geoserver/data geonode_updateip -p localhost</div><div><br></div><div>I've change /my/opt_path/ for my own directory, but I get the following error:</div><div><br></div><div><div>Traceback (most recent call last):</div><div> File "/home/geoportal/Envs/geonode/bin/django-admin", line 11, in <module></div><div> sys.exit(execute_from_command_line())</div><div> File "/home/geoportal/Envs/geonode/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 364, in execute_from_command_line</div><div> utility.execute()</div><div> File "/home/geoportal/Envs/geonode/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 356, in execute</div><div> self.fetch_command(subcommand).run_from_argv(self.argv)</div><div> File "/home/geoportal/Envs/geonode/local/lib/python2.7/site-packages/django/core/management/base.py", line 283, in run_from_argv</div><div> self.execute(*args, **cmd_options)</div><div> File "/home/geoportal/Envs/geonode/local/lib/python2.7/site-packages/django/core/management/base.py", line 330, in execute</div><div> output = self.handle(*args, **options)</div><div> File "/home/geoportal/geonode/geonode/base/management/commands/fixsitename.py", line 39, in handle</div><div> site = Site.objects.get_current()</div><div> File "/home/geoportal/Envs/geonode/local/lib/python2.7/site-packages/django/contrib/sites/models.py", line 63, in get_current</div><div> return self._get_site_by_id(site_id)</div><div> File "/home/geoportal/Envs/geonode/local/lib/python2.7/site-packages/django/contrib/sites/models.py", line 35, in _get_site_by_id</div><div> site = self.get(pk=site_id)</div><div> File "/home/geoportal/Envs/geonode/local/lib/python2.7/site-packages/django/db/models/manager.py", line 85, in manager_method</div><div> return getattr(self.get_queryset(), name)(*args, **kwargs)</div><div> File "/home/geoportal/Envs/geonode/local/lib/python2.7/site-packages/django/db/models/query.py", line 374, in get</div><div> num = len(clone)</div><div> File "/home/geoportal/Envs/geonode/local/lib/python2.7/site-packages/django/db/models/query.py", line 232, in __len__</div><div> self._fetch_all()</div><div> File "/home/geoportal/Envs/geonode/local/lib/python2.7/site-packages/django/db/models/query.py", line 1121, in _fetch_all</div><div> self._result_cache = list(self._iterable_class(self))</div><div> File "/home/geoportal/Envs/geonode/local/lib/python2.7/site-packages/django/db/models/query.py", line 53, in __iter__</div><div> results = compiler.execute_sql(chunked_fetch=self.chunked_fetch)</div><div> File "/home/geoportal/Envs/geonode/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 899, in execute_sql</div><div> raise original_exception</div><div>django.db.utils.ProgrammingError: relation "django_site" does not exist</div><div>LINE 1: ..."django_site"."domain", "django_site"."name" FROM "django_si...</div><div><div><br></div><div><br></div><div>Any help will be very much appreciated since I'm kind of stuck here.</div><div><br></div><div>Kind Regards,</div><div><br></div><div>José</div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>José David Cáceres<div>Ingeniero Ambiental</div><div>Máster en Tecnologías de la Información Geográfica<br><div>e-mail: <a href="mailto:jose.atyus@gmail.com" target="_blank">jose.atyus@gmail.com</a></div></div></div></div></div><br></div></div></div><br></div><br></div><br><div class="mt-signature">
<table border="0" cellpadding="8" cellspacing="0" style="user-select: none;">
<tbody><tr>
<td>
<a href="https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&" class="" style="text-decoration:none">
<img src="https://s3.amazonaws.com/mailtrack-signature/sender_notified.gif" alt="Mailtrack" class="" width="32" height="32">
</a>
</td>
<td>
<span style="color:#777">Remitente notificado con</span> <br>
<a href="https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&" class="mt-install" style="color:#4374f7">Mailtrack</a>
<span style="color:transparent;font-size:0">01/12/18 11:00:26</span>
</td>
<td>
</td>
</tr>
</tbody></table>
</div></div>