<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>All, <br>
</p>
<p>I am attempting to install Geonode on Ubuntu 14.04.5 x64 on
Digital Ocean. I am relatively new to working with Ubuntu and
Digital Ocean and certainly to Geonode. However, I am absolutely
infatuated with Geonode and want desperately to get it up and
running. It *should* solve a number of problems that I have had in
the past. <br>
</p>
<p>I created a droplet following the instructions here: <br>
</p>
<p><a class="moz-txt-link-freetext" href="https://www.digitalocean.com/community/tutorials/how-to-create-your-first-digitalocean-droplet-virtual-server">https://www.digitalocean.com/community/tutorials/how-to-create-your-first-digitalocean-droplet-virtual-server</a></p>
<p><a class="moz-txt-link-freetext" href="https://www.digitalocean.com/community/tutorials/how-to-connect-to-your-droplet-with-ssh">https://www.digitalocean.com/community/tutorials/how-to-connect-to-your-droplet-with-ssh</a></p>
<p><a class="moz-txt-link-freetext" href="https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-14-04">https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-14-04</a></p>
<p>Note that I am using an SSH key and I am interacting with the
server via PuTTy. <br>
</p>
<p>Then, I am used the Geonode installation instructions here:</p>
<p><a class="moz-txt-link-freetext" href="http://docs.geonode.org/en/master/tutorials/install_and_admin/quick_install.html">http://docs.geonode.org/en/master/tutorials/install_and_admin/quick_install.html</a></p>
<p>I am following the "Ubuntu (standard deployment)" instructions</p>
<p>Within those instructions, I initially had problems with step 3,
which states:</p>
<p>"3. Set the correct IP address (NB: the first command below looks
up the IP address automatically).<br>
<br>
IP_ADDRESS=$(ip route get 8.8.8.8 | awk ‘{print $NF; exit}’) sudo
geonode-updateip $IP_ADDRESS</p>
<p>NB: The IP address must be set to enable access from another
machine, e.g. the host machine if geonode is installed in a
virtual machine."</p>
<p>This fails. Here's the output that I get: <br>
</p>
<p>User@server:~$ IP_ADDRESS=$(ip route get 8.8.8.8 | awk ‘{print
$NF; exit}’) sudo geonode-updateip $IP_ADDRESS<br>
Replacing SITEURL value with '' in /etc/geonode/local_settings.py
... sed: can't read /etc/geonode/local_settings.py: No such file
or directory<br>
done.<br>
Adding entry for '' in
/usr/share/geoserver/data/printing/config.yaml ... '' already
found to the printing whitelist.<br>
grep: /etc/geonode/local_settings.py: No such file or directory<br>
Adding ALLOWED_HOSTS with in /etc/geonode/local_settings.py ...
done.<br>
Traceback (most recent call last):<br>
File "/usr/bin/django-admin.py", line 5, in <module><br>
management.execute_from_command_line()<br>
File
"/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 399, in execute_from_command_line<br>
utility.execute()<br>
File
"/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 392, in execute<br>
self.fetch_command(subcommand).run_from_argv(self.argv)<br>
File
"/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 261, in fetch_command<br>
commands = get_commands()<br>
File
"/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 107, in get_commands<br>
apps = settings.INSTALLED_APPS<br>
File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py",
line 54, in __getattr__<br>
self._setup(name)<br>
File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py",
line 49, in _setup<br>
self._wrapped = Settings(settings_module)<br>
File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py",
line 132, in __init__<br>
% (self.SETTINGS_MODULE, e)<br>
ImportError: Could not import settings 'geonode.settings' (Is it
on sys.path? Is there an import error in the settings file?): No
module named geonode.settings<br>
* Restarting web server
apache2
[ OK ]<br>
Traceback (most recent call last):<br>
File "/usr/bin/django-admin.py", line 5, in <module><br>
management.execute_from_command_line()<br>
File
"/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 399, in execute_from_command_line<br>
utility.execute()<br>
File
"/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 392, in execute<br>
self.fetch_command(subcommand).run_from_argv(self.argv)<br>
File
"/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 261, in fetch_command<br>
commands = get_commands()<br>
File
"/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 107, in get_commands<br>
apps = settings.INSTALLED_APPS<br>
File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py",
line 54, in __getattr__<br>
self._setup(name)<br>
File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py",
line 49, in _setup<br>
self._wrapped = Settings(settings_module)<br>
File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py",
line 132, in __init__<br>
% (self.SETTINGS_MODULE, e)<br>
ImportError: Could not import settings 'geonode.settings' (Is it
on sys.path? Is there an import error in the settings file?): No
module named geonode.settings<br>
Traceback (most recent call last):<br>
File "/usr/bin/django-admin.py", line 5, in <module><br>
management.execute_from_command_line()<br>
File
"/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 399, in execute_from_command_line<br>
utility.execute()<br>
File
"/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 392, in execute<br>
self.fetch_command(subcommand).run_from_argv(self.argv)<br>
File
"/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 261, in fetch_command<br>
commands = get_commands()<br>
File
"/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 107, in get_commands<br>
apps = settings.INSTALLED_APPS<br>
File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py",
line 54, in __getattr__<br>
self._setup(name)<br>
File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py",
line 49, in _setup<br>
self._wrapped = Settings(settings_module)<br>
File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py",
line 132, in __init__<br>
% (self.SETTINGS_MODULE, e)<br>
ImportError: Could not import settings 'geonode.settings' (Is it
on sys.path? Is there an import error in the settings file?): No
module named geonode.settings<br>
<br>
</p>
<p>However, I now think that installation fails at the previous step
(2), for after I run "<span style="color: rgb(64, 64, 64);
font-family: Lato, proxima-nova, "Helvetica Neue",
Arial, sans-serif; font-size: 16px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(252, 252,
252); text-decoration-style: initial; text-decoration-color:
initial; display: inline !important; float: none;">sudo apt-get
install geonode" I get the following output (at the end of a
very long line of what appears to be successfully executed
commands):</span></p>
<p>Creating config file /etc/logrotate.d/tomcat7 with new version<br>
* Starting Tomcat servlet engine
tomcat7
[ OK ]<br>
Processing triggers for ureadahead (0.100.0-16) ...<br>
Setting up geoserver-geonode (2.7.4-2) ...<br>
* Stopping Tomcat servlet engine
tomcat7
[ OK ]<br>
* Starting Tomcat servlet engine
tomcat7
[fail]<br>
dpkg: error processing package geoserver-geonode (--configure):<br>
subprocess installed post-installation script returned error exit
status 1<br>
dpkg: dependency problems prevent configuration of geonode:<br>
geonode depends on geoserver-geonode | geoserver; however:<br>
Package geoserver-geonode is not configured yet.<br>
Package geoserver is not installed.<br>
<br>
dpkg: error processing package geonode (--configure):<br>
dependency problems - leaving unconfigured<br>
Processing triggers for libc-bin (2.19-0ubuntu6.11) ...<br>
No apport report written because the error message indicates its a
followup error from a previous failure.<br>
Processing triggers for ufw (0.34~rc-0ubuntu2) ...<br>
Processing triggers for python-support (1.0.15) ...<br>
Processing triggers for ca-certificates (20160104ubuntu0.14.04.1)
...<br>
Updating certificates in /etc/ssl/certs... 0 added, 0 removed;
done.<br>
Running hooks in /etc/ca-certificates/update.d....<br>
done.<br>
done.<br>
Errors were encountered while processing:<br>
geoserver-geonode<br>
geonode<br>
E: Sub-process /usr/bin/dpkg returned an error code (1)<br>
<br>
</p>
<p>Many, many thanks for any help. <br>
</p>
<p>Cheers, <br>
</p>
<p>Ben <br>
</p>
</body>
</html>