<div dir="ltr">Hi Peter, <div><br></div><div>I just saw this - I'm having the same issue. Not sure of a solution yet, but it seems it is an issue with the geonode package rather than anything you're doing. </div><div><br></div><div>One of my sites is down until I can solve this :( I'll keep looking but I'm not sure how to solve it if it's an issue with the package. </div><div><br></div><div>Dave</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 15 April 2018 at 03:35, Jones, Peter [via OSGeo.org] <span dir="ltr"><<a href="mailto:ml+s1560n5361469h54@n6.nabble.com" target="_blank">ml+s1560n5361469h54@n6.nabble.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello, I've been following the instructions for an Ubuntu quick start install. This is a clean install. Everything works until I sudo apt-get install geonode. I've pasted the system info and errors below. What's the best way to proceed with the standard install?
<br>Thanks for any insight! Peter
<br><br>uname -a
<br>Linux stirrgeonode 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
<br><br> lsb_release -a
<br>No LSB modules are available.
<br>Distributor ID: Ubuntu
<br>Description: Ubuntu 16.04.4 LTS
<br>Release: 16.04
<br>Codename: xenial
<br><br><br>Setting up tomcat8 (8.0.32-1ubuntu1.5) ...
<br><br>Creating config file /etc/default/tomcat8 with new version
<br>Adding system user `tomcat8' (UID 113) ...
<br>Adding new user `tomcat8' (UID 113) with group `tomcat8' ...
<br>Not creating home directory `/usr/share/tomcat8'.
<br><br>Creating config file /etc/logrotate.d/tomcat8 with new version
<br>Setting up tomcat8-admin (8.0.32-1ubuntu1.5) ...
<br>Setting up geoserver-geonode (2.12.2-4) ...
<br>Setting up geonode (2.8.0+thefinal0) ...
<br>Sourcing /usr/share/geonode/config-<wbr>post.sh as the configuration file
<br> Step: 'once specified
<br>Running GeoNode initial configuration ...
<br>CREATE EXTENSION
<br>CREATE ROLE
<br>Sourcing /usr/share/geonode/config-<wbr>post.sh as the configuration file
<br> Step: 'post specified
<br>Running GeoNode postinstall ...
<br>Traceback (most recent call last):
<br> File "/usr/bin/pip", line 9, in <module>
<br> from pip import main
<br>ImportError: cannot import name main
<br>Traceback (most recent call last):
<br> File "<string>", line 1, in <module>
<br>ImportError: No module named geonode
<br>Traceback (most recent call last):
<br> File "/usr/bin/django-admin", line 9, in <module>
<br> load_entry_point('Django==1.8.<wbr>19', 'console_scripts', 'django-admin')()
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/core/<wbr>management/__init__.py", line 354, in execute_from_command_line
<br> utility.execute()
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/core/<wbr>management/__init__.py", line 303, in execute
<br> settings.INSTALLED_APPS
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/conf/__init__.<wbr>py", line 48, in __getattr__
<br> self._setup(name)
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/conf/__init__.<wbr>py", line 44, in _setup
<br> self._wrapped = Settings(settings_module)
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/conf/__init__.<wbr>py", line 92, in __init__
<br> mod = importlib.import_module(self.<wbr>SETTINGS_MODULE)
<br> File "/usr/lib/python2.7/importlib/<wbr>__init__.py", line 37, in import_module
<br> __import__(name)
<br>ImportError: No module named geonode.settings
<br>Traceback (most recent call last):
<br> File "/usr/bin/django-admin", line 9, in <module>
<br> load_entry_point('Django==1.8.<wbr>19', 'console_scripts', 'django-admin')()
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/core/<wbr>management/__init__.py", line 354, in execute_from_command_line
<br> utility.execute()
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/core/<wbr>management/__init__.py", line 303, in execute
<br> settings.INSTALLED_APPS
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/conf/__init__.<wbr>py", line 48, in __getattr__
<br> self._setup(name)
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/conf/__init__.<wbr>py", line 44, in _setup
<br> self._wrapped = Settings(settings_module)
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/conf/__init__.<wbr>py", line 92, in __init__
<br> mod = importlib.import_module(self.<wbr>SETTINGS_MODULE)
<br> File "/usr/lib/python2.7/importlib/<wbr>__init__.py", line 37, in import_module
<br> __import__(name)
<br>ImportError: No module named geonode.settings
<br>Traceback (most recent call last):
<br> File "/usr/bin/django-admin", line 9, in <module>
<br> load_entry_point('Django==1.8.<wbr>19', 'console_scripts', 'django-admin')()
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/core/<wbr>management/__init__.py", line 354, in execute_from_command_line
<br> utility.execute()
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/core/<wbr>management/__init__.py", line 303, in execute
<br> settings.INSTALLED_APPS
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/conf/__init__.<wbr>py", line 48, in __getattr__
<br> self._setup(name)
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/conf/__init__.<wbr>py", line 44, in _setup
<br> self._wrapped = Settings(settings_module)
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/conf/__init__.<wbr>py", line 92, in __init__
<br> mod = importlib.import_module(self.<wbr>SETTINGS_MODULE)
<br> File "/usr/lib/python2.7/importlib/<wbr>__init__.py", line 37, in import_module
<br> __import__(name)
<br>ImportError: No module named geonode.settings
<br>Traceback (most recent call last):
<br> File "/usr/bin/django-admin", line 9, in <module>
<br> load_entry_point('Django==1.8.<wbr>19', 'console_scripts', 'django-admin')()
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/core/<wbr>management/__init__.py", line 354, in execute_from_command_line
<br> utility.execute()
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/core/<wbr>management/__init__.py", line 303, in execute
<br> settings.INSTALLED_APPS
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/conf/__init__.<wbr>py", line 48, in __getattr__
<br> self._setup(name)
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/conf/__init__.<wbr>py", line 44, in _setup
<br> self._wrapped = Settings(settings_module)
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/conf/__init__.<wbr>py", line 92, in __init__
<br> mod = importlib.import_module(self.<wbr>SETTINGS_MODULE)
<br> File "/usr/lib/python2.7/importlib/<wbr>__init__.py", line 37, in import_module
<br> __import__(name)
<br>ImportError: No module named geonode.settings
<br>Traceback (most recent call last):
<br> File "/usr/bin/django-admin", line 9, in <module>
<br> load_entry_point('Django==1.8.<wbr>19', 'console_scripts', 'django-admin')()
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/core/<wbr>management/__init__.py", line 354, in execute_from_command_line
<br> utility.execute()
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/core/<wbr>management/__init__.py", line 303, in execute
<br> settings.INSTALLED_APPS
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/conf/__init__.<wbr>py", line 48, in __getattr__
<br> self._setup(name)
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/conf/__init__.<wbr>py", line 44, in _setup
<br> self._wrapped = Settings(settings_module)
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/conf/__init__.<wbr>py", line 92, in __init__
<br> mod = importlib.import_module(self.<wbr>SETTINGS_MODULE)
<br> File "/usr/lib/python2.7/importlib/<wbr>__init__.py", line 37, in import_module
<br> __import__(name)
<br>ImportError: No module named geonode.settings
<br>Traceback (most recent call last):
<br> File "/usr/bin/django-admin", line 9, in <module>
<br> load_entry_point('Django==1.8.<wbr>19', 'console_scripts', 'django-admin')()
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/core/<wbr>management/__init__.py", line 354, in execute_from_command_line
<br> utility.execute()
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/core/<wbr>management/__init__.py", line 303, in execute
<br> settings.INSTALLED_APPS
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/conf/__init__.<wbr>py", line 48, in __getattr__
<br> self._setup(name)
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/conf/__init__.<wbr>py", line 44, in _setup
<br> self._wrapped = Settings(settings_module)
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/conf/__init__.<wbr>py", line 92, in __init__
<br> mod = importlib.import_module(self.<wbr>SETTINGS_MODULE)
<br> File "/usr/lib/python2.7/importlib/<wbr>__init__.py", line 37, in import_module
<br> __import__(name)
<br>ImportError: No module named geonode.settings
<br>Traceback (most recent call last):
<br> File "/usr/bin/django-admin", line 9, in <module>
<br> load_entry_point('Django==1.8.<wbr>19', 'console_scripts', 'django-admin')()
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/core/<wbr>management/__init__.py", line 354, in execute_from_command_line
<br> utility.execute()
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/core/<wbr>management/__init__.py", line 303, in execute
<br> settings.INSTALLED_APPS
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/conf/__init__.<wbr>py", line 48, in __getattr__
<br> self._setup(name)
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/conf/__init__.<wbr>py", line 44, in _setup
<br> self._wrapped = Settings(settings_module)
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/conf/__init__.<wbr>py", line 92, in __init__
<br> mod = importlib.import_module(self.<wbr>SETTINGS_MODULE)
<br> File "/usr/lib/python2.7/importlib/<wbr>__init__.py", line 37, in import_module
<br> __import__(name)
<br>ImportError: No module named geonode.settings
<br>Traceback (most recent call last):
<br> File "/usr/bin/django-admin", line 9, in <module>
<br> load_entry_point('Django==1.8.<wbr>19', 'console_scripts', 'django-admin')()
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/core/<wbr>management/__init__.py", line 354, in execute_from_command_line
<br> utility.execute()
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/core/<wbr>management/__init__.py", line 303, in execute
<br> settings.INSTALLED_APPS
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/conf/__init__.<wbr>py", line 48, in __getattr__
<br> self._setup(name)
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/conf/__init__.<wbr>py", line 44, in _setup
<br> self._wrapped = Settings(settings_module)
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/conf/__init__.<wbr>py", line 92, in __init__
<br> mod = importlib.import_module(self.<wbr>SETTINGS_MODULE)
<br> File "/usr/lib/python2.7/importlib/<wbr>__init__.py", line 37, in import_module
<br> __import__(name)
<br>ImportError: No module named geonode.settings
<br>Site 000-default disabled.
<br>To activate the new configuration, you need to run:
<br> service apache2 reload
<br>Considering dependency proxy for proxy_http:
<br>Enabling module proxy.
<br>Enabling module proxy_http.
<br>To activate the new configuration, you need to run:
<br> service apache2 restart
<br>Enabling site geonode.
<br>To activate the new configuration, you need to run:
<br> service apache2 reload
<br>Sourcing /usr/share/geonode/config-<wbr>post.sh as the configuration file
<br> Step: 'setup_apache_once specified
<br>Configuring Apache ...
<br>Considering dependency proxy for proxy_http:
<br>Module proxy already enabled
<br>Module proxy_http already enabled
<br>Replacing SITEURL value with 'localhost' in /etc/geonode/local_settings.py ... done.
<br>Adding entry for 'localhost' in /usr/share/geoserver/data/<wbr>printing/config.yaml ... 'localhost' already found to the printing whitelist.
<br>Traceback (most recent call last):
<br> File "/usr/bin/django-admin", line 9, in <module>
<br> load_entry_point('Django==1.8.<wbr>19', 'console_scripts', 'django-admin')()
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/core/<wbr>management/__init__.py", line 354, in execute_from_command_line
<br> utility.execute()
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/core/<wbr>management/__init__.py", line 303, in execute
<br> settings.INSTALLED_APPS
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/conf/__init__.<wbr>py", line 48, in __getattr__
<br> self._setup(name)
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/conf/__init__.<wbr>py", line 44, in _setup
<br> self._wrapped = Settings(settings_module)
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/conf/__init__.<wbr>py", line 92, in __init__
<br> mod = importlib.import_module(self.<wbr>SETTINGS_MODULE)
<br> File "/usr/lib/python2.7/importlib/<wbr>__init__.py", line 37, in import_module
<br> __import__(name)
<br>ImportError: No module named geonode.settings
<br>Setting up oauth
<br>/usr/sbin//geonode-updateip: line 154: restart: command not found
<br>Waiting Tomcat Service to Restart...
<br>Waiting Apache HTTPD Service to Restart...
<br>Traceback (most recent call last):
<br> File "/usr/bin/django-admin", line 9, in <module>
<br> load_entry_point('Django==1.8.<wbr>19', 'console_scripts', 'django-admin')()
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/core/<wbr>management/__init__.py", line 354, in execute_from_command_line
<br> utility.execute()
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/core/<wbr>management/__init__.py", line 303, in execute
<br> settings.INSTALLED_APPS
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/conf/__init__.<wbr>py", line 48, in __getattr__
<br> self._setup(name)
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/conf/__init__.<wbr>py", line 44, in _setup
<br> self._wrapped = Settings(settings_module)
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/conf/__init__.<wbr>py", line 92, in __init__
<br> mod = importlib.import_module(self.<wbr>SETTINGS_MODULE)
<br> File "/usr/lib/python2.7/importlib/<wbr>__init__.py", line 37, in import_module
<br> __import__(name)
<br>ImportError: No module named geonode.settings
<br>Traceback (most recent call last):
<br> File "/usr/bin/django-admin", line 9, in <module>
<br> load_entry_point('Django==1.8.<wbr>19', 'console_scripts', 'django-admin')()
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/core/<wbr>management/__init__.py", line 354, in execute_from_command_line
<br> utility.execute()
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/core/<wbr>management/__init__.py", line 303, in execute
<br> settings.INSTALLED_APPS
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/conf/__init__.<wbr>py", line 48, in __getattr__
<br> self._setup(name)
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/conf/__init__.<wbr>py", line 44, in _setup
<br> self._wrapped = Settings(settings_module)
<br> File "/usr/lib/python2.7/dist-<wbr>packages/django/conf/__init__.<wbr>py", line 92, in __init__
<br> mod = importlib.import_module(self.<wbr>SETTINGS_MODULE)
<br> File "/usr/lib/python2.7/importlib/<wbr>__init__.py", line 37, in import_module
<br> __import__(name)
<br>ImportError: No module named geonode.settings
<br>dpkg: error processing package geonode (--configure):
<br> subprocess installed post-installation script returned error exit status 1
<br>Processing triggers for libc-bin (2.23-0ubuntu10) ...
<br>Processing triggers for systemd (229-4ubuntu21.2) ...
<br>Processing triggers for ureadahead (0.100.0-19) ...
<br>Processing triggers for libgdk-pixbuf2.0-0:amd64 (2.32.2-1ubuntu1.4) ...
<br>Processing triggers for ca-certificates (20170717~16.04.1) ...
<br>Updating certificates in /etc/ssl/certs...
<br>0 added, 0 removed; done.
<br>Running hooks in /etc/ca-certificates/update.d.<wbr>..
<br><br>done.
<br>done.
<br>Errors were encountered while processing:
<br> geonode
<br>E: Sub-process /usr/bin/dpkg returned an error code (1)
<br><br><br>Peter Jones
<br><br>Programmer II, Department of Psychiatry
<br>Washington University School of Medicine in St. Louis
<br><a href="https://maps.google.com/?q=660+South+Euclid+Avenue&entry=gmail&source=g">660 South Euclid Avenue</a>, Box 8134
<br>St. Louis, MO 63130
<br><br>e-mail: <a href="http:///user/SendEmail.jtp?type=node&node=5361469&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a> | pronouns: he/him/his
<br><br>______________________________<wbr>__
<br>The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.
<br>______________________________<wbr>_________________
<br>geonode-users mailing list
<br><a href="http:///user/SendEmail.jtp?type=node&node=5361469&i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="nofollow" link="external" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/geonode-users</a><br>
<br>
<br>
<hr noshade size="1" color="#cccccc">
<div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
<div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
<a href="http://osgeo-org.1560.x6.nabble.com/Package-install-errors-from-Ubuntu-clean-install-tp5361469.html" target="_blank">http://osgeo-org.1560.x6.<wbr>nabble.com/Package-install-<wbr>errors-from-Ubuntu-clean-<wbr>install-tp5361469.html</a>
</div>
<div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
To unsubscribe from GeoNode users, <a href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5185389&code=ZGF2ZWtlbm5ld2VsbEBnbWFpbC5jb218NTE4NTM4OXwtOTI1NjEyMTk0" target="_blank">click here</a>.<br>
<a href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank">NAML</a>
</div></blockquote></div><br></div>