<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi José,<div class=""><br class=""></div><div class="">this is strange as the admin account should have been created by a fixture.</div><div class="">I think via paver sync.  </div><div class=""><br class=""></div><div class="">We´re talking about the full stack not the dev envrionment running under localhost:8000, right?</div><div class="">Then the switch between IP´s is as the docs say. Mainly apache config (geonode.conf),</div><div class="">wsgi (pointing to local_settings), updated layers and oauth2 IPs.</div><div class="">You can use $ updatelayers for the later tasks (In Alessios installation guide it´s at the bottom)</div><div class=""><br class=""></div><div class="">In case if it´s interesting for you, in this branch I´ve created a set of low level</div><div class="">ansible tasks which stay close to the docs. <a href="https://github.com/csgis/geonode_ansible/tree/bionic" class="">https://github.com/csgis/geonode_ansible/tree/bionic</a></div><div class="">This branch targests an automated geonode master isntallation on ubuntu 2.18. </div><div class="">If you´re interested I can help you to  get it running.</div><div class=""><br class=""></div><div class="">In case you´re running this instance online I would suggest to get familiar with server hardening,</div><div class="">in a next step. Apache, Tomcat, SSH, wsgi, Ports, Directory permissions are the parts you should make yourself</div><div class="">familliar with. Which of course is a chapter on it´s own. </div><div class=""><br class=""></div><div class="">Best regards,</div><div class=""><br class=""></div><div class="">Toni</div><div class=""><br class=""></div><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">Am 06.12.2018 um 03:34 schrieb Jose Cáceres <<a href="mailto:jose.atyus@gmail.com" class="">jose.atyus@gmail.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><img width="0" height="0" class="mailtrack-img" alt="" src="https://mailtrack.io/trace/mail/f0672f2fbde3dc6238e189fe6185934caab3b8e6.png?u=16998" style="display: flex;"><div class=""></div>HI Toni,<div class=""><br class=""></div><div class="">Thanks again for all your help, I try to do everything again on a fresh Ubuntu 18.04 install but I stuck again on:</div><div class=""><br class=""></div><div class=""><blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px;" class=""><div class=""><table class="gmail-tab-size gmail-highlight gmail-js-file-line-container" style="box-sizing: border-box; border-collapse: collapse; border-spacing: 0px; color: rgb(36, 41, 46); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 14px;"></table></div></blockquote><font color="#032f62" face="SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace" class=""><span style="font-size: 12px; white-space: pre;" class=""><br class=""></span></font><blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px;" class=""><table class="gmail-tab-size gmail-highlight gmail-js-file-line-container" style="box-sizing: border-box; border-collapse: collapse; border-spacing: 0px; color: rgb(36, 41, 46); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 14px;"><tbody style="box-sizing: border-box;" class=""><tr style="box-sizing: border-box;" class=""><td id="gmail-LC310" class="gmail-js-file-line gmail-blob-code gmail-blob-code-inner" style="box-sizing: border-box; padding: 0px 10px; line-height: 20px; vertical-align: top; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 12px; overflow: visible; white-space: pre;">GeoNodeException(<span class="gmail-pl-s" style="box-sizing: border-box; color: rgb(3, 47, 98);"><span class="gmail-pl-pds" style="box-sizing: border-box;">'</span>You must have an admin account configured before importing data Try: django-admin.py createsuperuser')<br class=""></span></td></tr><tr style="box-sizing: border-box;" class=""><td id="gmail-L311" class="gmail-js-line-number gmail-blob-num" style="box-sizing: border-box; padding: 0px 10px; color: rgba(27, 31, 35, 0.298039); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 12px; line-height: 20px; min-width: 50px; text-align: right; vertical-align: top; white-space: nowrap; width: 50.4px;"></td><td id="gmail-LC311" class="gmail-js-file-line gmail-blob-code gmail-blob-code-inner" style="box-sizing: border-box; padding: 0px 10px; line-height: 20px; vertical-align: top; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 12px; overflow: visible; white-space: pre;"></td></tr></tbody></table></blockquote>I know is a long shot to know why this is happening, but I just have one more question. If I'm trying to deploy Geonode on localhost, I'm I supposed to change something alone the way besides my working directory? Or just by following the instructions provides I should have it up and running?</div><div class=""><br class=""></div><div class="">Thanks again for your help.</div><div class=""><br class=""></div><div class="">Kind Regards,</div><div class=""><br class=""></div><div class="">José</div><br class=""><div class="mt-signature"><table border="0" cellpadding="8" cellspacing="0" class=""><tbody class=""><tr class=""><td class=""><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 class=""><span style="color: rgb(119, 119, 119);" class="">Remitente notificado con</span><span class="Apple-converted-space"> </span><br class=""><a href="https://mailtrack.io/?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&" class="mt-install" style="color: rgb(67, 116, 247);">Mailtrack</a><span class="Apple-converted-space"> </span><span style="color: transparent; font-size: 0px;" class="">05/12/18 20:30:06</span></td><td class=""></td></tr></tbody></table></div></div><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><div class="gmail_quote" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div dir="ltr" class="">On Sun, Dec 2, 2018 at 11:15 AM Toni Schönbuchner <<a href="mailto:toni.schoenbuchner@csgis.de" class="">toni.schoenbuchner@csgis.de</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div style="word-wrap: break-word; line-break: after-white-space;" class="">Hi Jose,<div class=""><br class=""></div><div class="">at some point something is messed up unfortuantely I cannot really say where.</div><div class="">Can you run paver sync again (with enabled virutalenv and local_settings)?  This should setup admin:admin</div><div class="">Can you log in to django admin<span class="Apple-converted-space"> </span><a href="http://yourip/admin" target="_blank" class="">http://yourIP/admin</a><span class="Apple-converted-space"> </span>with your newly created superuser?</div><div class=""><br class=""></div><div class="">Cheers,</div><div class=""><br class=""></div><div class="">Toni</div><div class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">Am 02.12.2018 um 17:22 schrieb Jose Cáceres <<a href="mailto:jose.atyus@gmail.com" target="_blank" class="">jose.atyus@gmail.com</a>>:</div><br class="m_-4044379413858212153Apple-interchange-newline"><div class=""><div dir="ltr" class=""><img width="0" height="0" class="m_-4044379413858212153mailtrack-img" alt="" src="https://mailtrack.io/trace/mail/5b61fb17bdd0288a5155192d98df4f793afcbc2a.png?u=16998" style="display: flex;"><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class=""></div>UPDATE,<div class=""><br class=""></div><div class="">After doing what you sugested in your previous email, mi site is not whowing the 500 error anymore, I can see the interface of geonode now, however I'm having troubles logging in to the site, I think is because the last error I got after running sudo WORKON_HOME=/home/geoportal/Envs/geonode DJANGO_SETTINGS_MODULE=geonode.local_settings GEONODE_ETC=/home/geoportal/geonode/geonode GEOSERVER_DATA_DIR=/var/lib/tomcat8/webapps/geoserver/data geonode_updateip -p 10.8.11.66, where i showed:</div><div class=""><br class=""></div></div><blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px;" class=""><div dir="ltr" class=""><div class=""><div class="">PUBLIC_IP <a href="http://10.8.11.66/" target="_blank" class="">http://10.8.11.66</a></div><div class="">LOCAL_IP <a href="http://localhost/" target="_blank" class="">http://localhost</a></div><div class="">Replacing SITEURL value with '<a href="http://10.8.11.66/" target="_blank" class="">http://10.8.11.66</a>' in /home/geoportal/geonode/geonode/local_settings.py ... done.</div><div class="">Adding entry for '10.8.11.66' in /var/lib/tomcat8/webapps/geoserver/data/printing/config.yaml ... '10.8.11.66' already found to the printing whitelist.</div><div class="">Setting up oauth</div><div class="">Waiting Tomcat Service to Restart...</div><div class="">Waiting Apache HTTPD Service to Restart...</div><span class="m_-4044379413858212153gmail-im" style="color: rgb(80, 0, 80);"><div class="">Traceback (most recent call last):</div><div class=""> <span class="Apple-converted-space"> </span>File "/home/geoportal/Envs/geonode/bin/django-admin", line 11, in <module></div><div class="">   <span class="Apple-converted-space"> </span>sys.exit(execute_from_command_line())</div><div class=""> <span class="Apple-converted-space"> </span>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 class="">   <span class="Apple-converted-space"> </span>utility.execute()</div><div class=""> <span class="Apple-converted-space"> </span>File "/home/geoportal/Envs/geonode/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 356, in execute</div><div class="">   <span class="Apple-converted-space"> </span>self.fetch_command(subcommand).run_from_argv(self.argv)</div><div class=""> <span class="Apple-converted-space"> </span>File "/home/geoportal/Envs/geonode/local/lib/python2.7/site-packages/django/core/management/base.py", line 283, in run_from_argv</div><div class="">   <span class="Apple-converted-space"> </span>self.execute(*args, **cmd_options)</div><div class=""> <span class="Apple-converted-space"> </span>File "/home/geoportal/Envs/geonode/local/lib/python2.7/site-packages/django/core/management/base.py", line 330, in execute</div><div class="">   <span class="Apple-converted-space"> </span>output = self.handle(*args, **options)</div></span><div class=""> <span class="Apple-converted-space"> </span>File "/home/geoportal/geonode/geonode/geoserver/management/commands/updatelayers.py", line 98, in handle</div><div class="">   <span class="Apple-converted-space"> </span>owner = get_valid_user(user)</div><div class=""> <span class="Apple-converted-space"> </span>File "/home/geoportal/geonode/geonode/people/utils.py", line 44, in get_valid_user</div><div class="">   <span class="Apple-converted-space"> </span>theuser = get_default_user()</div><div class=""> <span class="Apple-converted-space"> </span>File "/home/geoportal/geonode/geonode/people/utils.py", line 35, in get_default_user</div><div class="">   <span class="Apple-converted-space"> </span>raise GeoNodeException('You must have an admin account configured '</div><div class="">geonode.GeoNodeException: You must have an admin account configured before importing data. Try: django-admin.py createsuperuser</div></div></div></blockquote><div dir="ltr" class=""><div class=""><br class=""></div><div class="">I cannot log on with default credentials, user:'admin', pass:'admin'</div><div class=""><br class=""></div><div class="">I try ./mange.py createsuperuser and created a new one, restart apache after, but cannot log on with that either.</div><div class=""><br class=""></div></div></div></div></div></div></div><blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px;" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class=""><div class="">Username: jcaceres</div><div class="">Email address:</div><div class="">Password:</div><div class="">Password (again):</div><div class="">Superuser created successfully.</div></div><div class=""><br class=""></div></div></div></div></div></div></div></blockquote><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class="">I try:</div><div class=""><br class=""></div><div class="">curl -X GET<span class="Apple-converted-space"> </span><a href="http://10.8.11.66/api/roles" target="_blank" class="">http://10.8.11.66/api/roles</a><br class=""></div><div class=""><br class=""></div></div></div><blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px;" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class="">{"groups": ["anonymous", "admin"]}</div></div></div></blockquote><div dir="ltr" class=""><br class=""></div>curl -X GET<span class="Apple-converted-space"> </span><a href="http://10.8.11.66/api/users" target="_blank" class="">http://10.8.11.66/api/users</a></div><div dir="ltr" class=""><br class=""></div><div dir="ltr" class=""><blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px;" class=""><div class="">{"users": [{"username": "AnonymousUser", "groups": ["anonymous"]}, {"username": "administrador", "groups": ["anonymous"]}]}<br class=""></div><div class=""><br class=""></div></blockquote>curl -X GET<span class="Apple-converted-space"> </span><a href="http://10.8.11.66/api/users/admin" target="_blank" class="">http://10.8.11.66/api/users/admin</a></div><div dir="ltr" class=""><br class=""></div></div></div><blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px;" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class="">{"users": []}<br class=""></div></div></div></blockquote><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px;" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class=""><br class=""></div></div></div></blockquote><br class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class="">I can't see the superuser I just created either.</div><div class=""><br class=""></div><div class="">Very grateful for all your help.</div><div class=""><br class=""></div><div class="">Kind Regards,</div><div class=""><br class=""></div><div class="">José</div><div class=""><br class=""><br class=""><br class=""></div></div><br class=""></div><br class=""></div><br class=""></div><br class=""></div><br class=""></div><br class=""></div><br class=""><div class="m_-4044379413858212153mt-signature"><table border="0" cellpadding="8" cellspacing="0" class=""><tbody class=""><tr class=""><td class=""><a href="https://mailtrack.io/?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&" target="_blank" style="text-decoration: none;" class=""><img src="https://s3.amazonaws.com/mailtrack-signature/sender_notified.gif" alt="Mailtrack" width="32" height="32" class=""></a></td><td class=""><span style="color: rgb(119, 119, 119);" class="">Remitente notificado con</span><span class="Apple-converted-space"> </span><br class=""><a href="https://mailtrack.io/?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&" class="m_-4044379413858212153mt-install" target="_blank" style="color: rgb(67, 116, 247);">Mailtrack</a><span class="Apple-converted-space"> </span><span style="color: transparent; font-size: 0px;" class="">02/12/18 10:21:17</span></td><td class=""></td></tr></tbody></table></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="">On Sun, Dec 2, 2018 at 9:15 AM Jose Cáceres <<a href="mailto:jose.atyus@gmail.com" target="_blank" class="">jose.atyus@gmail.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div dir="ltr" class=""><img width="0" height="0" class="m_-4044379413858212153m_-5920419692132852961mailtrack-img" alt="" style="display: flex;"><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class=""></div>Hi Toni<div class=""><br class=""></div><div class="">Thanks again for your reply.</div><div class=""><br class=""></div><div class="">geonode.settings is using sqlite, here is what that line looks like in my file:</div><div class=""><br class=""></div></div><blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px;" class=""><div class=""><div class="">DATABASE_URL = os.getenv(</div></div><div class=""><div class=""><div class="">   <span class="Apple-converted-space"> </span>'DATABASE_URL',</div></div></div><div class=""><div class=""><div class="">   <span class="Apple-converted-space"> </span>'<a class="">sqlite:///{path}'.format</a>(</div></div></div><div class=""><div class=""><div class="">       <span class="Apple-converted-space"> </span>path=os.path.join(PROJECT_ROOT, 'development.db')</div></div></div><div class=""><div class=""><div class="">   <span class="Apple-converted-space"> </span>)</div></div></div><div class=""><div class=""><div class="">)</div></div></div></blockquote><div dir="ltr" class=""><div class=""><br class=""></div><div class="">Everything looks same as in the file<span class="Apple-converted-space"> </span><a href="https://github.com/GeoNode/geonode/blob/master/geonode/settings.py#L104" target="_blank" class="">https://github.com/GeoNode/geonode/blob/master/geonode/settings.py#L104</a>.</div><div class="">I'm I supposed to change that?</div><div class=""><br class=""></div><div class="">Running ./manage.py migrate sites --settings=geonode.local_settings gave me this:</div><div class=""><br class=""></div></div></div><blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px;" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class=""><div class="">Operations to perform:</div><div class=""> <span class="Apple-converted-space"> </span>Apply all migrations: sites</div><div class="">Running migrations:</div><div class=""> <span class="Apple-converted-space"> </span>Applying sites.0001_initial... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying sites.0002_alter_domain_unique... OK</div><div class="">Traceback (most recent call last):</div><div class=""> <span class="Apple-converted-space"> </span>File "./manage.py", line 29, in <module></div><div class="">   <span class="Apple-converted-space"> </span>execute_from_command_line(sys.argv)</div><div class=""> <span class="Apple-converted-space"> </span>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 class="">   <span class="Apple-converted-space"> </span>utility.execute()</div><div class=""> <span class="Apple-converted-space"> </span>File "/home/geoportal/Envs/geonode/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 356, in execute</div><div class="">   <span class="Apple-converted-space"> </span>self.fetch_command(subcommand).run_from_argv(self.argv)</div><div class=""> <span class="Apple-converted-space"> </span>File "/home/geoportal/Envs/geonode/local/lib/python2.7/site-packages/django/core/management/base.py", line 283, in run_from_argv</div><div class="">   <span class="Apple-converted-space"> </span>self.execute(*args, **cmd_options)</div><div class=""> <span class="Apple-converted-space"> </span>File "/home/geoportal/Envs/geonode/local/lib/python2.7/site-packages/django/core/management/base.py", line 330, in execute</div><div class="">   <span class="Apple-converted-space"> </span>output = self.handle(*args, **options)</div><div class=""> <span class="Apple-converted-space"> </span>File "/home/geoportal/Envs/geonode/local/lib/python2.7/site-packages/django/core/management/commands/migrate.py", line 227, in handle</div><div class="">   <span class="Apple-converted-space"> </span>self.verbosity, self.interactive, connection.alias, apps=post_migrate_apps, plan=plan,</div><div class=""> <span class="Apple-converted-space"> </span>File "/home/geoportal/Envs/geonode/local/lib/python2.7/site-packages/django/core/management/sql.py", line 53, in emit_post_migrate_signal</div><div class="">   <span class="Apple-converted-space"> </span>**kwargs</div><div class=""> <span class="Apple-converted-space"> </span>File "/home/geoportal/Envs/geonode/local/lib/python2.7/site-packages/django/dispatch/dispatcher.py", line 193, in send</div><div class="">   <span class="Apple-converted-space"> </span>for receiver in self._live_receivers(sender)</div><div class=""> <span class="Apple-converted-space"> </span>File "/home/geoportal/Envs/geonode/local/lib/python2.7/site-packages/jsonfield_compat/convert.py", line 48, in handler_convert_json_fields</div><div class="">   <span class="Apple-converted-space"> </span>convert_model_json_fields(model)</div><div class=""> <span class="Apple-converted-space"> </span>File "/home/geoportal/Envs/geonode/local/lib/python2.7/site-packages/jsonfield_compat/convert.py", line 43, in convert_model_json_fields</div><div class="">   <span class="Apple-converted-space"> </span>convert_column_to_json(model, column_name)</div><div class=""> <span class="Apple-converted-space"> </span>File "/home/geoportal/Envs/geonode/local/lib/python2.7/site-packages/jsonfield_compat/convert.py", line 23, in convert_column_to_json</div><div class="">   <span class="Apple-converted-space"> </span>current_type = cursor.fetchone()[0].upper()</div><div class="">TypeError: 'NoneType' object has no attribute '__getitem__'</div></div></div></div></blockquote><div dir="ltr" class=""><div dir="ltr" class=""><div class=""><br class=""></div><div class=""><br class=""></div><div class="">./manage.py migrate --settings=geonode.local_settings  gave me this:</div><div class=""><br class=""></div></div></div></div><blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px;" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class=""> Operations to perform:</div><div class=""> <span class="Apple-converted-space"> </span>Apply all migrations: account, actstream, admin, agon_ratings, announcements, auth, avatar, base, contenttypes, dialogos, documents, geonode_client, geonode_themes, groups, guardian, invitations, layers, maps, monitoring, oauth2_provider, people, pinax_notifications, services, sessions, sites, socialaccount, taggit, tastypie, upload, user_messages</div><div class="">Running migrations:</div><div class=""> <span class="Apple-converted-space"> </span>Applying contenttypes.0001_initial... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying taggit.0001_initial... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying taggit.0002_auto_20150616_2121... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying contenttypes.0002_remove_content_type_name... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying auth.0001_initial... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying auth.0002_alter_permission_name_max_length... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying auth.0003_alter_user_email_max_length... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying auth.0004_alter_user_username_opts... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying auth.0005_alter_user_last_login_null... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying auth.0006_require_contenttypes_0002... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying people.24_initial... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying account.0001_initial... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying account.0002_email_max_length... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying actstream.0001_initial... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying actstream.0002_remove_action_data... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying admin.0001_initial... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying admin.0002_logentry_remove_auto_add... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying agon_ratings.0001_initial... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying announcements.0001_initial... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying announcements.0002_auto_20181201_1638... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying auth.0007_alter_validators_add_error_messages... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying auth.0008_alter_user_username_max_length... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying avatar.0001_initial... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying base.24_initial... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying base.24_to_26... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying base.26_to_27... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying base.0027_auto_20170801_1228... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying base.0028_resourcebase_is_approved... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying base.0029_auto_20171114_0341... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying base.0030_auto_20180309_0833... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying base.0031_auto_20180309_0837... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying base.0032_auto_20180329_1844... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying base.0033_auto_20180330_0951... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying base.0034_auto_20180606_1543... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying base.0035_resourcebase_dirty_state... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying dialogos.0001_initial... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying documents.24_initial... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying documents.25_add_documentresourcelink_table... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying documents.26_move_data_to_documentresourcelink_table... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying documents.27_drop_resource_columns_from_document_table... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying documents.0028_auto_20170801_1228... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying documents.0029_auto_20180301_1947... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying documents.0030_auto_20180302_0430... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying documents.0031_auto_20180409_1238... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying documents.0032_auto_20180412_0822... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying documents.0033_auto_20180414_2120... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying geonode_client.0001_initial... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying geonode_client.0002_auto_20180412_1039... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying geonode_client.0003_geonodethemecustomization_jumbotron_welcome_hide... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying geonode_client.0004_auto_20180416_1319... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying geonode_client.0005_auto_20181015_1201... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying geonode_themes.0001_initial... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying geonode_themes.0002_auto_20181015_1208... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying geonode_themes.0003_remove_geonodethemecustomization_identifier... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying groups.24_initial... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying groups.26_to_27... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying groups.0027_auto_20180105_1631... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying groups.0028_auto_20180606_1543... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying guardian.0001_initial... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying invitations.0001_initial... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying invitations.0002_auto_20151126_0426... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying invitations.0003_auto_20151126_1523... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying layers.24_initial... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying services.24_initial... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying services.0025_harvestjob... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying services.0026_auto_20171130_0600... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying services.0027_harvestjob_details... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying services.0028_auto_20171201_0640... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying services.0029_auto_20171203_1624... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying services.0030_auto_20171212_0518... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying layers.24_to_26... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying layers.26_to_27... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying layers.0027_auto_20170801_1228... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying layers.0028_auto_20171218_0249... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying layers.0029_layer_service... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying layers.0030_auto_20180228_0812... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying layers.0031_uploadsession_resource... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying layers.0032_auto_20180424_1638... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying layers.0033_auto_20180606_1543... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying maps.24_initial... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying maps.0025_auto_20170801_1228... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying maps.0026_auto_20180301_1947... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying maps.0027_auto_20180302_0430... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying maps.0028_auto_20180409_1238... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying maps.0029_auto_20180412_0822... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying maps.0030_auto_20180414_2120... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying monitoring.0001_monitoring_init... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying monitoring.0002_monitoring_update... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying monitoring.0003_monitoring_resources... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying monitoring.0004_monitoring_metric_type... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying monitoring.0005_monitoring_ows_service... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying monitoring.0006_monitoring_path_text... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying monitoring.0007_monitoring_exception_message... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying monitoring.0008_monitoring_notifications_check... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying monitoring.0009_sample_count... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying monitoring.0010_metric_unit... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying monitoring.0011_notification_def... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying monitoring.0012_notifications_service... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying monitoring.0013_notifications_def_description... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying monitoring.0014_notifications_emails... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying monitoring.0015_notification_grace_period... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying monitoring.0016_notification_severity... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying monitoring.0017_monitoring_notification_active... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying monitoring.0018_notification_check_def... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying monitoring.0019_notification_check_def_link... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying monitoring.0020_metric_description... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying monitoring.0021_auto_20180301_0932... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying monitoring.0022_service_last_check_default... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying oauth2_provider.0001_initial... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying oauth2_provider.0002_08_updates... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying oauth2_provider.0003_auto_20160316_1503... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying oauth2_provider.0004_auto_20160525_1623... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying oauth2_provider.0005_auto_20170514_1141... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying oauth2_provider.0006_auto_20170903_1632... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying oauth2_provider.0007_application_algorithm... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying oauth2_provider.0008_idtoken... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying oauth2_provider.0006_auto_20171214_2232... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying oauth2_provider.0009_merge_20180606_1314... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying people.0025_auto_20170924_0932... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying people.0026_auto_20171120_0730... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying people.0027_auto_20180414_2120... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying people.0028_auto_20180606_1543... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying pinax_notifications.0001_initial... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying pinax_notifications.0002_auto_20171003_2006... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying services.0031_auto_20180301_1947... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying services.0032_auto_20180302_0430... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying services.0031_service_proxy_base... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying services.0033_merge... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying services.0034_auto_20180309_0917... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying services.0035_auto_20180327_0846... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying services.0036_auto_20180331_1039... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying services.0037_auto_20180409_1238... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying services.0038_auto_20180412_0822... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying services.0039_auto_20180414_2120... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying sessions.0001_initial... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying socialaccount.0001_initial... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying socialaccount.0002_token_max_lengths... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying socialaccount.0003_extra_data_default_dict... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying tastypie.0001_initial... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying upload.24_initial... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying user_messages.0001_initial... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying user_messages.0002_auto_20171107_1128... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying user_messages.0003_auto_20171108_1037... OK</div><div class=""> <span class="Apple-converted-space"> </span>Applying user_messages.0004_auto_20171108_1101... OK</div><div class="">actstream: Converting data to use native TEXT field</div></div></div></div></blockquote><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class=""><br class=""><br class=""></div><div class="">However I ran ./manage.py migrate sites --settings=geonode.local_settings one more time and didm't show anything weird:</div><div class=""><br class=""></div></div></div></div></div></div><blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px;" class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class="">Operations to perform:</div></div></div></div></div></div></div><div class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class=""> <span class="Apple-converted-space"> </span>Apply all migrations: sites</div></div></div></div></div></div></div><div class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class="">Running migrations:</div></div></div></div></div></div></div><div class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class=""> <span class="Apple-converted-space"> </span>No migrations to apply.</div></div></div></div></div></div></div></blockquote><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class=""><br class=""></div><br class=""></div>I ran sudo WORKON_HOME=/home/geoportal/Envs/geonode DJANGO_SETTINGS_MODULE=geonode.local_settings GEONODE_ETC=/home/geoportal/geonode/geonode GEOSERVER_DATA_DIR=/var/lib/tomcat8/webapps/geoserver/data geonode_updateip -p 10.8.11.66 and got different error this time:</div><div dir="ltr" class=""><br class=""></div></div></div></div></div><blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px;" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class=""><div class="">PUBLIC_IP<span class="Apple-converted-space"> </span><a href="http://10.8.11.66/" target="_blank" class="">http://10.8.11.66</a></div><div class="">LOCAL_IP<span class="Apple-converted-space"> </span><a href="http://localhost/" target="_blank" class="">http://localhost</a></div><div class="">Replacing SITEURL value with '<a href="http://10.8.11.66/" target="_blank" class="">http://10.8.11.66</a>' in /home/geoportal/geonode/geonode/local_settings.py ... done.</div><div class="">Adding entry for '10.8.11.66' in /var/lib/tomcat8/webapps/geoserver/data/printing/config.yaml ... '10.8.11.66' already found to the printing whitelist.</div><div class="">Setting up oauth</div><div class="">Waiting Tomcat Service to Restart...</div><div class="">Waiting Apache HTTPD Service to Restart...</div><div class="">Traceback (most recent call last):</div><div class=""> <span class="Apple-converted-space"> </span>File "/home/geoportal/Envs/geonode/bin/django-admin", line 11, in <module></div><div class="">   <span class="Apple-converted-space"> </span>sys.exit(execute_from_command_line())</div><div class=""> <span class="Apple-converted-space"> </span>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 class="">   <span class="Apple-converted-space"> </span>utility.execute()</div><div class=""> <span class="Apple-converted-space"> </span>File "/home/geoportal/Envs/geonode/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 356, in execute</div><div class="">   <span class="Apple-converted-space"> </span>self.fetch_command(subcommand).run_from_argv(self.argv)</div><div class=""> <span class="Apple-converted-space"> </span>File "/home/geoportal/Envs/geonode/local/lib/python2.7/site-packages/django/core/management/base.py", line 283, in run_from_argv</div><div class="">   <span class="Apple-converted-space"> </span>self.execute(*args, **cmd_options)</div><div class=""> <span class="Apple-converted-space"> </span>File "/home/geoportal/Envs/geonode/local/lib/python2.7/site-packages/django/core/management/base.py", line 330, in execute</div><div class="">   <span class="Apple-converted-space"> </span>output = self.handle(*args, **options)</div><div class=""> <span class="Apple-converted-space"> </span>File "/home/geoportal/geonode/geonode/geoserver/management/commands/updatelayers.py", line 98, in handle</div><div class="">   <span class="Apple-converted-space"> </span>owner = get_valid_user(user)</div><div class=""> <span class="Apple-converted-space"> </span>File "/home/geoportal/geonode/geonode/people/utils.py", line 44, in get_valid_user</div><div class="">   <span class="Apple-converted-space"> </span>theuser = get_default_user()</div><div class=""> <span class="Apple-converted-space"> </span>File "/home/geoportal/geonode/geonode/people/utils.py", line 35, in get_default_user</div><div class="">   <span class="Apple-converted-space"> </span>raise GeoNodeException('You must have an admin account configured '</div><div class="">geonode.GeoNodeException: You must have an admin account configured before importing data. Try: django-admin.py createsuperuser</div></div><div class=""><br class=""></div></div></div></div></div></blockquote><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class="">Yes, /home/geoportal/ is the root of my geonode.</div><div class=""><br class=""></div><div class="">less /etc/apache2/sites-available/geonode.conf  looks like this:</div><div class=""><br class=""></div></div></div></div></div><blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px;" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class="">WSGIDaemonProcess geonode python-path=/home/geoportal/geonode:/home/geoportal/Envs/geonode/lib/python2.7/site-packages user=www-data threads=15 processes</div><div class="">=2</div><div class=""><br class=""></div><div class=""><VirtualHost *:80></div><div class="">   <span class="Apple-converted-space"> </span>ServerName<span class="Apple-converted-space"> </span><a href="http://localhost/" target="_blank" class="">http://localhost</a></div><div class="">   <span class="Apple-converted-space"> </span>ServerAdmin webmaster@localhost</div><div class="">   <span class="Apple-converted-space"> </span>DocumentRoot /home/geoportal/geonode/geonode</div><div class=""><br class=""></div><div class="">   <span class="Apple-converted-space"> </span>LimitRequestFieldSize 32760</div><div class="">   <span class="Apple-converted-space"> </span>LimitRequestLine 32760</div><div class=""><br class=""></div><div class="">   <span class="Apple-converted-space"> </span>ErrorLog /var/log/apache2/error.log</div><div class="">   <span class="Apple-converted-space"> </span>LogLevel info</div><div class="">   <span class="Apple-converted-space"> </span>CustomLog /var/log/apache2/access.log combined</div><div class=""><br class=""></div><div class="">   <span class="Apple-converted-space"> </span>WSGIProcessGroup geonode</div><div class="">   <span class="Apple-converted-space"> </span>WSGIPassAuthorization On</div><div class="">   <span class="Apple-converted-space"> </span>WSGIScriptAlias / /home/geoportal/geonode/geonode/wsgi.py</div><div class=""><br class=""></div><div class="">   <span class="Apple-converted-space"> </span>Alias /static/ /home/geoportal/geonode/geonode/static_root/</div><div class="">   <span class="Apple-converted-space"> </span>Alias /uploaded/ /home/geoportal/geonode/geonode/uploaded/</div><div class=""><br class=""></div><div class="">   <span class="Apple-converted-space"> </span><Directory "/home/geoportal/geonode/geonode/"></div><div class="">         <Files wsgi.py></div><div class="">             Order deny,allow</div><div class="">             Allow from all</div><div class="">             Require all granted</div><div class="">         </Files></div><div class=""><br class=""></div><div class="">       <span class="Apple-converted-space"> </span>Order allow,deny</div><div class="">       <span class="Apple-converted-space"> </span>Options Indexes FollowSymLinks</div><div class="">       <span class="Apple-converted-space"> </span>Allow from all</div><div class="">       <span class="Apple-converted-space"> </span>IndexOptions FancyIndexing</div><div class="">   <span class="Apple-converted-space"> </span></Directory></div><div class=""><br class=""></div><div class="">   <span class="Apple-converted-space"> </span><Directory "/home/geoportal/geonode/geonode/static_root/"></div><div class="">       <span class="Apple-converted-space"> </span>Order allow,deny</div><div class="">       <span class="Apple-converted-space"> </span>Options Indexes FollowSymLinks</div><div class="">       <span class="Apple-converted-space"> </span>Allow from all</div><div class="">       <span class="Apple-converted-space"> </span>Require all granted</div><div class="">       <span class="Apple-converted-space"> </span>IndexOptions FancyIndexing</div><div class="">   <span class="Apple-converted-space"> </span></Directory></div><div class=""><br class=""></div><div class="">   <span class="Apple-converted-space"> </span><Directory "/home/geoportal/geonode/geonode/uploaded/thumbs/"></div><div class="">       <span class="Apple-converted-space"> </span>Order allow,deny</div><div class="">       <span class="Apple-converted-space"> </span>Options Indexes FollowSymLinks</div><div class="">       <span class="Apple-converted-space"> </span>Allow from all</div><div class="">       <span class="Apple-converted-space"> </span>Require all granted</div><div class="">       <span class="Apple-converted-space"> </span>IndexOptions FancyIndexing</div><div class="">   <span class="Apple-converted-space"> </span></Directory></div><div class=""><br class=""></div><div class="">   <span class="Apple-converted-space"> </span><Directory "/home/geoportal/geonode/geonode/uploaded/avatars/"></div><div class="">       <span class="Apple-converted-space"> </span>Order allow,deny</div><div class="">       <span class="Apple-converted-space"> </span>Options Indexes FollowSymLinks</div><div class="">       <span class="Apple-converted-space"> </span>Allow from all</div><div class="">       <span class="Apple-converted-space"> </span>Require all granted</div><div class="">       <span class="Apple-converted-space"> </span>IndexOptions FancyIndexing</div><div class="">   <span class="Apple-converted-space"> </span></Directory></div><div class=""><br class=""></div><div class="">   <span class="Apple-converted-space"> </span><Directory "/home/geoportal/geonode/geonode/uploaded/people_group/"></div><div class="">       <span class="Apple-converted-space"> </span>Order allow,deny</div><div class="">       <span class="Apple-converted-space"> </span>Options Indexes FollowSymLinks</div><div class="">       <span class="Apple-converted-space"> </span>Allow from all</div><div class="">       <span class="Apple-converted-space"> </span>Require all granted</div><div class="">       <span class="Apple-converted-space"> </span>IndexOptions FancyIndexing</div><div class="">   <span class="Apple-converted-space"> </span></Directory></div><div class=""><br class=""></div><div class="">   <span class="Apple-converted-space"> </span><Directory "/home/geoportal/geonode/geonode/uploaded/group/"></div><div class="">       <span class="Apple-converted-space"> </span>Order allow,deny</div><div class=""><span style="white-space: pre-wrap;" class="">   </span>Options Indexes FollowSymLinks</div><div class="">       <span class="Apple-converted-space"> </span>Allow from all</div><div class="">       <span class="Apple-converted-space"> </span>Require all granted</div><div class="">       <span class="Apple-converted-space"> </span>IndexOptions FancyIndexing</div><div class="">   <span class="Apple-converted-space"> </span></Directory></div><div class=""><br class=""></div><div class="">   <span class="Apple-converted-space"> </span><Directory "/home/geoportal/geonode/geonode/uploaded/documents/"></div><div class="">       <span class="Apple-converted-space"> </span>Order allow,deny</div><div class="">       <span class="Apple-converted-space"> </span>Options Indexes FollowSymLinks</div><div class="">       <span class="Apple-converted-space"> </span>Allow from all</div><div class="">       <span class="Apple-converted-space"> </span>Require all granted</div><div class="">       <span class="Apple-converted-space"> </span>IndexOptions FancyIndexing</div><div class="">   <span class="Apple-converted-space"> </span></Directory></div><div class=""><br class=""></div><div class="">   <span class="Apple-converted-space"> </span><Directory "/home/geoportal/geonode/geonode/uploaded/layers/"></div><div class="">       <span class="Apple-converted-space"> </span>Order allow,deny</div><div class="">       <span class="Apple-converted-space"> </span>Options Indexes FollowSymLinks</div><div class="">       <span class="Apple-converted-space"> </span>Allow from all</div><div class="">       <span class="Apple-converted-space"> </span>Require all granted</div><div class="">       <span class="Apple-converted-space"> </span>IndexOptions FancyIndexing</div><div class="">   <span class="Apple-converted-space"> </span></Directory></div><div class=""><br class=""></div><div class="">   <span class="Apple-converted-space"> </span><Directory "/home/geoportal/geonode/geonode/uploaded/img/"></div><div class="">       <span class="Apple-converted-space"> </span>Order allow,deny</div><div class="">       <span class="Apple-converted-space"> </span>Options Indexes FollowSymLinks</div><div class="">       <span class="Apple-converted-space"> </span>Allow from all</div><div class="">       <span class="Apple-converted-space"> </span>Require all granted</div><div class="">       <span class="Apple-converted-space"> </span>IndexOptions FancyIndexing</div><div class="">   <span class="Apple-converted-space"> </span></Directory></div><div class=""><br class=""></div><div class="">   <span class="Apple-converted-space"> </span><Proxy *></div><div class="">       <span class="Apple-converted-space"> </span>Order allow,deny</div><div class="">       <span class="Apple-converted-space"> </span>Allow from all</div><div class="">   <span class="Apple-converted-space"> </span></Proxy></div><div class=""><br class=""></div><div class="">   <span class="Apple-converted-space"> </span>ProxyPreserveHost On</div><div class="">   <span class="Apple-converted-space"> </span>ProxyPass /geoserver<span class="Apple-converted-space"> </span><a href="http://localhost:8080/geoserver" target="_blank" class="">http://localhost:8080/geoserver</a></div><div class="">   <span class="Apple-converted-space"> </span>ProxyPassReverse /geoserver<span class="Apple-converted-space"> </span><a href="http://localhost:8080/geoserver" target="_blank" class="">http://localhost:8080/geoserver</a></div><div class=""><br class=""></div><div class=""></VirtualHost></div><div class=""> </div></div></div></div></div></blockquote><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><br class=""></div>apachectl configtest shows this:</div><div dir="ltr" class=""><br class=""></div></div></div></div><blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px;" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class=""> AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 10.8.11.66. Set the 'ServerName' directive globally to suppress this message</div><div class="">Syntax OK</div></div></div></div></blockquote><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><br class=""></div><br class=""></div><div class="">Many thanks for all your help.</div><div class=""><br class=""></div><div class="">Kind Regards,</div><div class=""><br class=""></div><div class="">José</div><br class=""></div><br class=""></div><br class=""><div class="m_-4044379413858212153m_-5920419692132852961mt-signature"><table border="0" cellpadding="8" cellspacing="0" class=""><tbody class=""><tr class=""><td class=""><a href="https://mailtrack.io/?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&" target="_blank" style="text-decoration: none;" class=""><img src="https://s3.amazonaws.com/mailtrack-signature/sender_notified.gif" alt="Mailtrack" width="32" height="32" class=""></a></td><td class=""><span style="color: rgb(119, 119, 119);" class="">Remitente notificado con</span><span class="Apple-converted-space"> </span><br class=""><a href="https://mailtrack.io/?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&" class="m_-4044379413858212153m_-5920419692132852961mt-install" target="_blank" style="color: rgb(67, 116, 247);">Mailtrack</a><span class="Apple-converted-space"> </span><span style="color: transparent; font-size: 0px;" class="">02/12/18 09:12:00</span></td><td class=""></td></tr></tbody></table></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="">On Sun, Dec 2, 2018 at 2:45 AM Toni Schönbuchner <<a href="mailto:toni.schoenbuchner@csgis.de" target="_blank" class="">toni.schoenbuchner@csgis.de</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div style="word-wrap: break-word; line-break: after-white-space;" class="">Hi Jose,<div class=""><br class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class="">I'm not sure if the last part, when it says that found another file, is because I have already runing this command, although the error that I send in my first email happen the first time I run the command.</div></div></div></div></div></div></div></blockquote><div class=""><br class=""></div><div class="">This could be as you already run it before. </div><div class="">Coming back to you error before:</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class="">django.db.utils.ProgrammingError: relation "django_site" does not exist</blockquote></div><div class=""><br class=""></div><div class="">My guess, geonode.settings is using the local sqlite development.db database:</div><div class=""><a href="https://github.com/GeoNode/geonode/blob/master/geonode/settings.py#L104" target="_blank" class="">https://github.com/GeoNode/geonode/blob/master/geonode/settings.py#L104</a></div><div class=""><br class=""></div><div class="">Here migration have been applied and site is correctly setup. local_settings is using</div><div class="">postgresql and the migration are missing there . </div><div class=""><br class=""></div><div class="">Can you check</div><div class="">./manage.py migrate sites --settings=geonode.local_settings</div>./manage.py migrate --settings=geonode.local_settings</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class=""><div class="">I can access<span class="Apple-converted-space"> </span><a href="http://my_ip/geoserver" target="_blank" class="">http://my_ip/geoserver</a><span class="Apple-converted-space"> </span>site just fine, but I cannot access<span class="Apple-converted-space"> </span><a href="http://my_ip/" target="_blank" class="">http://my_ip</a><span class="Apple-converted-space"> </span>as it shows a "500 Internal Server Error"<br class=""></div></div></div></div></div></div></div></div></blockquote><div class=""><br class=""></div><div class="">The error 500 looks like ALLOWED_HOSTS setting is missing your IP.</div><div class=""><a href="https://github.com/GeoNode/geonode/blob/master/geonode/local_settings.py.geoserver.sample#L52" target="_blank" class="">https://github.com/GeoNode/geonode/blob/master/geonode/local_settings.py.geoserver.sample#L52</a></div><div class=""><br class=""></div><div class="">My guess it´s geonode.settings which is still in use. This because of either wsgi.py pointing to settings or a missconfigured vhost (see below).</div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class=""><div class="">I do have a doubt with this line:</div><div class=""><br class=""></div></div></div></div></div></div><blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px;" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class=""><div class="">GEONODE_SRC_PATH="\/my\/opt_path"; sudo sed -i -e "s/\/home\/geo/$GEONODE_SRC_PATH/g" /etc/apache2/sites-available/geonode.conf</div></div></div></div></div></div></blockquote><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class=""><div class=""><br class=""></div><div class="">I know my/opth_path is where I deploy my geonode but the /home/geo will alway be the same? Or that directory also depends on my local installation?</div></div></div></div></div></div></div></div></blockquote><br class=""></div><div class="">the sed is /OLD-TEXT/NEW-TEXT/</div><div class="">means it´s using the var GEONODE_SRC_PATH as replacement for /home/geo.</div><div class="">In other words after that /home/geo should be repaced everywhere with /my/opt/</div>in /etc/apache2/sites/available/geonode.conf</div></div><div class=""><br class=""></div><div class="">If /home/geoportal is in your case the root for your geonode (?) the correct command should be</div><div class=""><div class=""><br class=""></div><div class="">$ GEONODE_SRC_PATH="\/home\/geoportal/"; sudo sed -i -e "s/\/home\/geo/$GEONODE_SRC_PATH/g" /etc/apache2/sites-available/geonode.conf</div></div><div class=""><br class=""></div><div class=""># should not find anything</div><div class="">$ grep "home/geo" /etc/apache2/sites-available/geonode.conf</div><div class=""><br class=""></div><div class=""># check your config</div><div class="">$ less /etc/apache2/sites-available/geonode.conf</div><div class="">$ apachectl configtest</div><div class="">$ sudo service apache2 restart</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Let me know if this works for you.</div><div class=""><br class=""></div><div class="">Cheers,</div><div class=""><br class=""></div><div class="">Toni</div><div class=""><br class=""></div><div class=""><div dir="ltr" class=""><blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px;" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class=""><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div></div></div></div></div></div></blockquote></div></div></div></blockquote></div><br clear="all" class=""><div class=""><br class=""></div>--<span class="Apple-converted-space"> </span><br class=""><div dir="ltr" class="m_-4044379413858212153m_-5920419692132852961gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class="">José David Cáceres<div class="">Ingeniero Ambiental</div><div class="">Máster en Tecnologías de la Información Geográfica<br class=""><div class="">e-mail:<span class="Apple-converted-space"> </span><a href="mailto:jose.atyus@gmail.com" target="_blank" class="">jose.atyus@gmail.com</a></div></div></div></div></div></blockquote></div><br clear="all" class=""><div class=""><br class=""></div>--<span class="Apple-converted-space"> </span><br class=""><div dir="ltr" class="m_-4044379413858212153gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class="">José David Cáceres<div class="">Ingeniero Ambiental</div><div class="">Máster en Tecnologías de la Información Geográfica<br class=""><div class="">e-mail:<span class="Apple-converted-space"> </span><a href="mailto:jose.atyus@gmail.com" target="_blank" class="">jose.atyus@gmail.com</a></div></div></div></div></div></div></blockquote></div><br class=""></div></div></blockquote></div><br clear="all" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br class=""></div><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">--<span class="Apple-converted-space"> </span></span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div dir="ltr" class=""><div class="">José David Cáceres<div class="">Ingeniero Ambiental</div><div class="">Máster en Tecnologías de la Información Geográfica<br class=""><div class="">e-mail:<span class="Apple-converted-space"> </span><a href="mailto:jose.atyus@gmail.com" target="_blank" class="">jose.atyus@gmail.com</a></div></div></div></div></div></div></blockquote></div><br class=""></div></body></html>