[GeoNode-users] Package install errors from Ubuntu clean install
Dave Kennewell
davekennewell at gmail.com
Tue Apr 17 07:24:00 PDT 2018
Hi Peter,
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.
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.
Dave
On 15 April 2018 at 03:35, Jones, Peter [via OSGeo.org] <
ml+s1560n5361469h54 at n6.nabble.com> wrote:
> 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?
> Thanks for any insight! Peter
>
> uname -a
> 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
>
> lsb_release -a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description: Ubuntu 16.04.4 LTS
> Release: 16.04
> Codename: xenial
>
>
> Setting up tomcat8 (8.0.32-1ubuntu1.5) ...
>
> Creating config file /etc/default/tomcat8 with new version
> Adding system user `tomcat8' (UID 113) ...
> Adding new user `tomcat8' (UID 113) with group `tomcat8' ...
> Not creating home directory `/usr/share/tomcat8'.
>
> Creating config file /etc/logrotate.d/tomcat8 with new version
> Setting up tomcat8-admin (8.0.32-1ubuntu1.5) ...
> Setting up geoserver-geonode (2.12.2-4) ...
> Setting up geonode (2.8.0+thefinal0) ...
> Sourcing /usr/share/geonode/config-post.sh as the configuration file
> Step: 'once specified
> Running GeoNode initial configuration ...
> CREATE EXTENSION
> CREATE ROLE
> Sourcing /usr/share/geonode/config-post.sh as the configuration file
> Step: 'post specified
> Running GeoNode postinstall ...
> Traceback (most recent call last):
> File "/usr/bin/pip", line 9, in <module>
> from pip import main
> ImportError: cannot import name main
> Traceback (most recent call last):
> File "<string>", line 1, in <module>
> ImportError: No module named geonode
> Traceback (most recent call last):
> File "/usr/bin/django-admin", line 9, in <module>
> load_entry_point('Django==1.8.19', 'console_scripts',
> 'django-admin')()
> File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
> line 354, in execute_from_command_line
> utility.execute()
> File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
> line 303, in execute
> settings.INSTALLED_APPS
> File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line
> 48, in __getattr__
> self._setup(name)
> File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line
> 44, in _setup
> self._wrapped = Settings(settings_module)
> File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line
> 92, in __init__
> mod = importlib.import_module(self.SETTINGS_MODULE)
> File "/usr/lib/python2.7/importlib/__init__.py", line 37, in
> import_module
> __import__(name)
> ImportError: No module named geonode.settings
> Traceback (most recent call last):
> File "/usr/bin/django-admin", line 9, in <module>
> load_entry_point('Django==1.8.19', 'console_scripts',
> 'django-admin')()
> File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
> line 354, in execute_from_command_line
> utility.execute()
> File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
> line 303, in execute
> settings.INSTALLED_APPS
> File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line
> 48, in __getattr__
> self._setup(name)
> File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line
> 44, in _setup
> self._wrapped = Settings(settings_module)
> File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line
> 92, in __init__
> mod = importlib.import_module(self.SETTINGS_MODULE)
> File "/usr/lib/python2.7/importlib/__init__.py", line 37, in
> import_module
> __import__(name)
> ImportError: No module named geonode.settings
> Traceback (most recent call last):
> File "/usr/bin/django-admin", line 9, in <module>
> load_entry_point('Django==1.8.19', 'console_scripts',
> 'django-admin')()
> File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
> line 354, in execute_from_command_line
> utility.execute()
> File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
> line 303, in execute
> settings.INSTALLED_APPS
> File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line
> 48, in __getattr__
> self._setup(name)
> File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line
> 44, in _setup
> self._wrapped = Settings(settings_module)
> File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line
> 92, in __init__
> mod = importlib.import_module(self.SETTINGS_MODULE)
> File "/usr/lib/python2.7/importlib/__init__.py", line 37, in
> import_module
> __import__(name)
> ImportError: No module named geonode.settings
> Traceback (most recent call last):
> File "/usr/bin/django-admin", line 9, in <module>
> load_entry_point('Django==1.8.19', 'console_scripts',
> 'django-admin')()
> File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
> line 354, in execute_from_command_line
> utility.execute()
> File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
> line 303, in execute
> settings.INSTALLED_APPS
> File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line
> 48, in __getattr__
> self._setup(name)
> File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line
> 44, in _setup
> self._wrapped = Settings(settings_module)
> File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line
> 92, in __init__
> mod = importlib.import_module(self.SETTINGS_MODULE)
> File "/usr/lib/python2.7/importlib/__init__.py", line 37, in
> import_module
> __import__(name)
> ImportError: No module named geonode.settings
> Traceback (most recent call last):
> File "/usr/bin/django-admin", line 9, in <module>
> load_entry_point('Django==1.8.19', 'console_scripts',
> 'django-admin')()
> File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
> line 354, in execute_from_command_line
> utility.execute()
> File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
> line 303, in execute
> settings.INSTALLED_APPS
> File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line
> 48, in __getattr__
> self._setup(name)
> File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line
> 44, in _setup
> self._wrapped = Settings(settings_module)
> File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line
> 92, in __init__
> mod = importlib.import_module(self.SETTINGS_MODULE)
> File "/usr/lib/python2.7/importlib/__init__.py", line 37, in
> import_module
> __import__(name)
> ImportError: No module named geonode.settings
> Traceback (most recent call last):
> File "/usr/bin/django-admin", line 9, in <module>
> load_entry_point('Django==1.8.19', 'console_scripts',
> 'django-admin')()
> File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
> line 354, in execute_from_command_line
> utility.execute()
> File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
> line 303, in execute
> settings.INSTALLED_APPS
> File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line
> 48, in __getattr__
> self._setup(name)
> File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line
> 44, in _setup
> self._wrapped = Settings(settings_module)
> File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line
> 92, in __init__
> mod = importlib.import_module(self.SETTINGS_MODULE)
> File "/usr/lib/python2.7/importlib/__init__.py", line 37, in
> import_module
> __import__(name)
> ImportError: No module named geonode.settings
> Traceback (most recent call last):
> File "/usr/bin/django-admin", line 9, in <module>
> load_entry_point('Django==1.8.19', 'console_scripts',
> 'django-admin')()
> File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
> line 354, in execute_from_command_line
> utility.execute()
> File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
> line 303, in execute
> settings.INSTALLED_APPS
> File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line
> 48, in __getattr__
> self._setup(name)
> File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line
> 44, in _setup
> self._wrapped = Settings(settings_module)
> File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line
> 92, in __init__
> mod = importlib.import_module(self.SETTINGS_MODULE)
> File "/usr/lib/python2.7/importlib/__init__.py", line 37, in
> import_module
> __import__(name)
> ImportError: No module named geonode.settings
> Traceback (most recent call last):
> File "/usr/bin/django-admin", line 9, in <module>
> load_entry_point('Django==1.8.19', 'console_scripts',
> 'django-admin')()
> File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
> line 354, in execute_from_command_line
> utility.execute()
> File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
> line 303, in execute
> settings.INSTALLED_APPS
> File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line
> 48, in __getattr__
> self._setup(name)
> File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line
> 44, in _setup
> self._wrapped = Settings(settings_module)
> File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line
> 92, in __init__
> mod = importlib.import_module(self.SETTINGS_MODULE)
> File "/usr/lib/python2.7/importlib/__init__.py", line 37, in
> import_module
> __import__(name)
> ImportError: No module named geonode.settings
> Site 000-default disabled.
> To activate the new configuration, you need to run:
> service apache2 reload
> Considering dependency proxy for proxy_http:
> Enabling module proxy.
> Enabling module proxy_http.
> To activate the new configuration, you need to run:
> service apache2 restart
> Enabling site geonode.
> To activate the new configuration, you need to run:
> service apache2 reload
> Sourcing /usr/share/geonode/config-post.sh as the configuration file
> Step: 'setup_apache_once specified
> Configuring Apache ...
> Considering dependency proxy for proxy_http:
> Module proxy already enabled
> Module proxy_http already enabled
> Replacing SITEURL value with 'localhost' in /etc/geonode/local_settings.py
> ... done.
> Adding entry for 'localhost' in /usr/share/geoserver/data/printing/config.yaml
> ... 'localhost' already found to the printing whitelist.
> Traceback (most recent call last):
> File "/usr/bin/django-admin", line 9, in <module>
> load_entry_point('Django==1.8.19', 'console_scripts',
> 'django-admin')()
> File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
> line 354, in execute_from_command_line
> utility.execute()
> File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
> line 303, in execute
> settings.INSTALLED_APPS
> File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line
> 48, in __getattr__
> self._setup(name)
> File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line
> 44, in _setup
> self._wrapped = Settings(settings_module)
> File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line
> 92, in __init__
> mod = importlib.import_module(self.SETTINGS_MODULE)
> File "/usr/lib/python2.7/importlib/__init__.py", line 37, in
> import_module
> __import__(name)
> ImportError: No module named geonode.settings
> Setting up oauth
> /usr/sbin//geonode-updateip: line 154: restart: command not found
> Waiting Tomcat Service to Restart...
> Waiting Apache HTTPD Service to Restart...
> Traceback (most recent call last):
> File "/usr/bin/django-admin", line 9, in <module>
> load_entry_point('Django==1.8.19', 'console_scripts',
> 'django-admin')()
> File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
> line 354, in execute_from_command_line
> utility.execute()
> File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
> line 303, in execute
> settings.INSTALLED_APPS
> File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line
> 48, in __getattr__
> self._setup(name)
> File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line
> 44, in _setup
> self._wrapped = Settings(settings_module)
> File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line
> 92, in __init__
> mod = importlib.import_module(self.SETTINGS_MODULE)
> File "/usr/lib/python2.7/importlib/__init__.py", line 37, in
> import_module
> __import__(name)
> ImportError: No module named geonode.settings
> Traceback (most recent call last):
> File "/usr/bin/django-admin", line 9, in <module>
> load_entry_point('Django==1.8.19', 'console_scripts',
> 'django-admin')()
> File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
> line 354, in execute_from_command_line
> utility.execute()
> File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
> line 303, in execute
> settings.INSTALLED_APPS
> File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line
> 48, in __getattr__
> self._setup(name)
> File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line
> 44, in _setup
> self._wrapped = Settings(settings_module)
> File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line
> 92, in __init__
> mod = importlib.import_module(self.SETTINGS_MODULE)
> File "/usr/lib/python2.7/importlib/__init__.py", line 37, in
> import_module
> __import__(name)
> ImportError: No module named geonode.settings
> dpkg: error processing package geonode (--configure):
> subprocess installed post-installation script returned error exit status
> 1
> Processing triggers for libc-bin (2.23-0ubuntu10) ...
> Processing triggers for systemd (229-4ubuntu21.2) ...
> Processing triggers for ureadahead (0.100.0-19) ...
> Processing triggers for libgdk-pixbuf2.0-0:amd64 (2.32.2-1ubuntu1.4) ...
> Processing triggers for ca-certificates (20170717~16.04.1) ...
> Updating certificates in /etc/ssl/certs...
> 0 added, 0 removed; done.
> Running hooks in /etc/ca-certificates/update.d...
>
> done.
> done.
> Errors were encountered while processing:
> geonode
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
>
> Peter Jones
>
> Programmer II, Department of Psychiatry
> Washington University School of Medicine in St. Louis
> 660 South Euclid Avenue
> <https://maps.google.com/?q=660+South+Euclid+Avenue&entry=gmail&source=g>,
> Box 8134
> St. Louis, MO 63130
>
> e-mail: [hidden email]
> <http:///user/SendEmail.jtp?type=node&node=5361469&i=0> | pronouns:
> he/him/his
>
> ________________________________
> 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.
> _______________________________________________
> geonode-users mailing list
> [hidden email] <http:///user/SendEmail.jtp?type=node&node=5361469&i=1>
> https://lists.osgeo.org/mailman/listinfo/geonode-users
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://osgeo-org.1560.x6.nabble.com/Package-install-
> errors-from-Ubuntu-clean-install-tp5361469.html
> To unsubscribe from GeoNode users, click here
> <http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5185389&code=ZGF2ZWtlbm5ld2VsbEBnbWFpbC5jb218NTE4NTM4OXwtOTI1NjEyMTk0>
> .
> NAML
> <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>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20180417/5fa5b106/attachment-0001.html>
More information about the geonode-users
mailing list