<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Dave,<br>
<br>
Thanks for the feedback, we did some changes last night that have
caused this migration issue, we are working to fix them.<br>
<br>
Cheers,<br>
Angelos<br>
<br>
On 01/06/2017 09:57 AM, Dave Kennewell wrote:<br>
</div>
<blockquote
cite="mid:CAC9xysOOr2jFOVDBJfa+b3MC3J_Wip1VzVS_sJ=QQdk7Uf5bDA@mail.gmail.com"
type="cite">
<pre wrap="">Hi Angelos,
I installed ansible 1.9.4 on Xenial. It wasn't trivial, so I'll share my
notes here for others:
First I tried this:
$ sudo apt-get install software-properties-common
$ sudo apt-add-repository ppa:ansible/ansible-1.9
$ sudo apt-get update
$ sudo apt-get install ansible
This installed version 2.0.0.2 (... go figure). I ran the latest
geonode-ansible play anyway (even though it wasn't an ansible version
1.9.x), and got an error at
<a class="moz-txt-link-freetext" href="https://github.com/GeoNode/ansible-geonode/blob/master/tasks/geoserver.yml#L57">https://github.com/GeoNode/ansible-geonode/blob/master/tasks/geoserver.yml#L57</a>
Not sure if this is to do with the latest commit (last night it seems) or
if it's still to do with the ansible 2.0.x install... but we don't want to
use 2.0.x anyway, so I didn't look into it too much.
So I tried again to install 1.9.x, this time using pip.
sudo apt-get install python-pip
sudo pip install --upgrade pip
sudo pip install ansible==1.9.6
This throws an error to do with a crypt something something package (sorry
I didn't copy the message). I'm guessing the dependencies aren't right for
xenial. So I tried again to install 1.9.4 using deb packages (roughly based
on <a class="moz-txt-link-freetext" href="https://github.com/ansible/ansible/issues/13898">https://github.com/ansible/ansible/issues/13898</a>):
# Make sure we are up to date
sudo apt-get update
# Download working ansible deb package
wget <a class="moz-txt-link-freetext" href="https://launchpad.net/~ansible/+archive/ubuntu/ansible-1.9/+files/ansible_1.9.4-1ppa~trusty_all.deb">https://launchpad.net/~ansible/+archive/ubuntu/ansible-1.9/+files/ansible_1.9.4-1ppa~trusty_all.deb</a>
-O /tmp/ansible.deb
# Manually install deps
sudo apt-get install -y \
python-jinja2 \
python-yaml \
python-paramiko \
python-httplib2 \
python-crypto sshpass
# python-support is required too, but doesn't install from apt on
xenial, so use (<a class="moz-txt-link-freetext" href="http://askubuntu.com/questions/766169/why-no-more-python-support-in-16-04">http://askubuntu.com/questions/766169/why-no-more-python-support-in-16-04</a>):
wget <a class="moz-txt-link-freetext" href="http://launchpadlibrarian.net/109052632/python-support_1.0.15_all.deb">http://launchpadlibrarian.net/109052632/python-support_1.0.15_all.deb</a>
-O /tmp/python-support_1.0.15_all.deb
sudo dpkg -i /tmp/python-support_1.0.15_all.deb
# Install Package sudo dpkg -i /tmp/ansible.deb # Remove downloaded
packages sudo rm -f /tmp/ansible.deb /tmp/python-support_1.0.15_all.deb
This worked (yay).
I'm running the playbook by git cloning from
<a class="moz-txt-link-freetext" href="https://github.com/GeoNode/ansible-geonode">https://github.com/GeoNode/ansible-geonode</a> into a "roles/ansible-geonode"
directory under my playbook.yml file. I'm at commit 1e6d8f9.
playbook.yml now looks like this:
- hosts: webserver
remote_user: ubuntu
gather_facts: no
pre_tasks:
- name: 'install python2'
raw: apt -y update && apt install -y python-minimal
sudo: yes
- setup:
vars:
app_name: my_test_app
github_user: GeoNode
roles:
- ansible-geonode
Under this configuration, the "makemigrations" command works, but we now
get stuck on "syncdb", error log is here:
<a class="moz-txt-link-freetext" href="https://gist.github.com/davekennewell/130f10d6b45a88e2d1bfa9b8dcd065ad">https://gist.github.com/davekennewell/130f10d6b45a88e2d1bfa9b8dcd065ad</a>
I reran the process with the commit I began with 2 days ago (ab17551)and
received the same error message.
I'm a bit confused as to why the playbook would run makemigrations (Django
1.8) and then syncdb (Django 1.6)? Should it not be makemigrations then
migrate?
I get the same error if I run the playbook from ansible-galaxy.
thanks for the help!
cheers
Dave
On 6 January 2017 at 04:07, Angelos Tzotsos [via OSGeo.org] <
<a class="moz-txt-link-abbreviated" href="mailto:ml-node+s1560n5302236h31@n6.nabble.com">ml-node+s1560n5302236h31@n6.nabble.com</a>> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi Dave,
It looks like this error is specific to ansible 2.x
The ansible role works fine with ansible 1.9.x for now.
We will try to fix this issue soon.
Thanks,
Angelos
On 01/05/2017 01:16 PM, Dave Kennewell wrote:
Hi Angelos,
Thanks for this - I've tried the geonode-ansible installer. It seems to be
working well, until I get to the "makemigrations" command, when I get this
permissions error:
[image: Inline images 1]
If I ssh into the server, activate the venv and execute the makemigrations
command manually, it works fine... but the rest of the playbook won't run.
My playbook looks like this
- hosts: webserver
remote_user: ubuntu
vars:
app_name: my_test_app
github_user: GeoNode
roles:
- geonode
Both my ansible controlling machine & the geonode server are running
Xenial.
It's my first time using ansible, so I might be doing something not quite
right, or it might the the scripts?
Thanks
Dave Kennewell
On 3 January 2017 at 18:29, Angelos Tzotsos [via OSGeo.org] <[hidden email] <a class="moz-txt-link-rfc2396E" href="http:///user/SendEmail.jtp?type=node&node=5302236&i=0"><http:///user/SendEmail.jtp?type=node&node=5302236&i=0></a>> wrote:
Hi all,
I just completed updating the ansible installer for Ubuntu Xenial:<a class="moz-txt-link-freetext" href="https://github.com/GeoNode/ansible-geonode">https://github.com/GeoNode/ansible-geonode</a>
Please test and let me know how this works out.
I am going to work on the ppa issues next.
Best,
Angelos
On 01/03/2017 10:01 AM, David Kennewell wrote:
Ah, thanks Simone... I had been trying on Ubuntu 14.04 and not getting
anywhere with the /testing repo.
On 16.04 I'm now getting the same packaging problems as Jeff mentioned in
his recent email (subject: "GeoNode 2.5.6 is out"). But at least I'm now on
the same page as everyone else :)
(and apologies for any cross-posting with this reply, I've been getting
confused with my email lists)
David Kennewell
Water Resources Engineer
Hydrata.com
+971 55 409 7378[hidden email] <a class="moz-txt-link-rfc2396E" href="http:///user/SendEmail.jtp?type=node&node=5301842&i=0"><http:///user/SendEmail.jtp?type=node&node=5301842&i=0></a> <a class="moz-txt-link-rfc2396E" href="http:///user/SendEmail.jtp?type=node&node=5301842&i=0"><http:///user/SendEmail.jtp?type=node&node=5301842&i=0></a>
On Tue, Jan 3, 2017 at 11:08 AM, Simone Dalmasso [hidden email] <a class="moz-txt-link-rfc2396E" href="http:///user/SendEmail.jtp?type=node&node=5301842&i=1"><http:///user/SendEmail.jtp?type=node&node=5301842&i=1></a> <a class="moz-txt-link-rfc2396E" href="http:///user/SendEmail.jtp?type=node&node=5301842&i=1"><http:///user/SendEmail.jtp?type=node&node=5301842&i=1></a>
wrote:
Hi, the fastest is to install geonode on xenial using the normal geonode
installation guide but just use:
sudo add-apt-repository ppa:geonode/testing
instead of
sudo add-apt-repository ppa:geonode/stable.
hope this helps
2017-01-03 7:38 GMT+01:00 David Kennewell [hidden email] <a class="moz-txt-link-rfc2396E" href="http:///user/SendEmail.jtp?type=node&node=5301842&i=2"><http:///user/SendEmail.jtp?type=node&node=5301842&i=2></a> <a class="moz-txt-link-rfc2396E" href="http:///user/SendEmail.jtp?type=node&node=5301842&i=2"><http:///user/SendEmail.jtp?type=node&node=5301842&i=2></a>:
Hi list,
I'd like to try out the new react viewer, and use django 1.8, not 1.6.
As of today, what's the easiest way to get this up and running on a clean
server?
regards
Dave
_______________________________________________
geonode-users mailing list[hidden email] <a class="moz-txt-link-rfc2396E" href="http:///user/SendEmail.jtp?type=node&node=5301842&i=3"><http:///user/SendEmail.jtp?type=node&node=5301842&i=3></a> <a class="moz-txt-link-rfc2396E" href="http:///user/SendEmail.jtp?type=node&node=5301842&i=3"><http:///user/SendEmail.jtp?type=node&node=5301842&i=3></a><a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/geonode-users">http://lists.osgeo.org/mailman/listinfo/geonode-users</a>
--
Simone
_______________________________________________
geonode-users mailing list[hidden email] <a class="moz-txt-link-rfc2396E" href="http:///user/SendEmail.jtp?type=node&node=5301842&i=4"><http:///user/SendEmail.jtp?type=node&node=5301842&i=4></a> <a class="moz-txt-link-rfc2396E" href="http:///user/SendEmail.jtp?type=node&node=5301842&i=4"><http:///user/SendEmail.jtp?type=node&node=5301842&i=4></a><a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/geonode-users">http://lists.osgeo.org/mailman/listinfo/geonode-users</a>
--
Angelos Tzotsos, PhD
OSGeo Charter Memberhttp://users.ntua.gr/tzotsos
_______________________________________________
geonode-devel mailing list
[hidden email] <a class="moz-txt-link-rfc2396E" href="http:///user/SendEmail.jtp?type=node&node=5301842&i=5"><http:///user/SendEmail.jtp?type=node&node=5301842&i=5></a> <a class="moz-txt-link-rfc2396E" href="http:///user/SendEmail.jtp?type=node&node=5301842&i=5"><http:///user/SendEmail.jtp?type=node&node=5301842&i=5></a><a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/geonode-devel">http://lists.osgeo.org/mailman/listinfo/geonode-devel</a>
------------------------------
If you reply to this email, your message will be added to the discussion
below:<a class="moz-txt-link-freetext" href="http://osgeo-org.1560.x6.nabble.com/Re-GeoNode-users-install">http://osgeo-org.1560.x6.nabble.com/Re-GeoNode-users-install</a>
ing-geonode-2-5-6-tp5301842.html
To unsubscribe from GeoNode devel, click here<
.
NAML<a class="moz-txt-link-rfc2396E" 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"><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></a> <a class="moz-txt-link-rfc2396E" 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"><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></a>
_______________________________________________
geonode-users mailing list[hidden email] <a class="moz-txt-link-rfc2396E" href="http:///user/SendEmail.jtp?type=node&node=5302236&i=1"><http:///user/SendEmail.jtp?type=node&node=5302236&i=1></a><a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/geonode-users">http://lists.osgeo.org/mailman/listinfo/geonode-users</a>
--
Angelos Tzotsos, PhD
OSGeo Charter Memberhttp://users.ntua.gr/tzotsos
_______________________________________________
geonode-users mailing list
[hidden email] <a class="moz-txt-link-rfc2396E" href="http:///user/SendEmail.jtp?type=node&node=5302236&i=2"><http:///user/SendEmail.jtp?type=node&node=5302236&i=2></a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/geonode-users">http://lists.osgeo.org/mailman/listinfo/geonode-users</a>
------------------------------
If you reply to this email, your message will be added to the discussion
below:
<a class="moz-txt-link-freetext" href="http://osgeo-org.1560.x6.nabble.com/installing-geonode">http://osgeo-org.1560.x6.nabble.com/installing-geonode</a>-
2-5-6-tp5301801p5302236.html
To unsubscribe from GeoNode users, click here
<a class="moz-txt-link-rfc2396E" href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5185389&code=ZGF2ZWtlbm5ld2VsbEBnbWFpbC5jb218NTE4NTM4OXwtOTI1NjEyMTk0"><http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5185389&code=ZGF2ZWtlbm5ld2VsbEBnbWFpbC5jb218NTE4NTM4OXwtOTI1NjEyMTk0></a>
.
NAML
<a class="moz-txt-link-rfc2396E" 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"><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></a>
</pre>
</blockquote>
<pre wrap="">
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
geonode-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/geonode-users">http://lists.osgeo.org/mailman/listinfo/geonode-users</a>
</pre>
</blockquote>
<br>
<p><br>
</p>
<pre class="moz-signature" cols="72">--
Angelos Tzotsos, PhD
OSGeo Charter Member
<a class="moz-txt-link-freetext" href="http://users.ntua.gr/tzotsos">http://users.ntua.gr/tzotsos</a></pre>
</body>
</html>