<div dir="ltr"><div>Thanks for the suggestion to check the console, that was helpful in tracking down the problem. </div><div>In my local_settings.py file, I had the 'PUBLIC_LOCATION' parameter under OGC still set to localhost instead of my hostname. After changing this and restarted Apache, it seems to work fine. </div><div><br></div>When I upload a layer and clicking on Edit Layer, there's an error on the PUT request. Not sure if this is an issue, since at least the mapping functions seem to be working now.<div><br></div><div><span class="gmail-console-message-anchor" style="min-width:0px;min-height:0px;box-sizing:border-box;float:right;text-align:right;max-width:100%;margin-left:4px;font-family:consolas,"lucida console","courier new",monospace;font-size:12px;white-space:pre-wrap;background-color:rgb(255,240,240)"><span class="gmail-devtools-link" style="min-width:0px;min-height:0px;box-sizing:border-box;color:rgb(84,84,84);text-decoration-line:underline;word-break:break-all">GeoExplorer.js?v=2.4.dev20170302183855:396</span> </span><span class="gmail-console-message-text" style="min-width:0px;min-height:0px;box-sizing:border-box;font-family:consolas,"lucida console","courier new",monospace;font-size:12px;white-space:pre-wrap;background-color:rgb(255,240,240);color:red">PUT <span class="gmail-devtools-link" style="min-width:0px;min-height:0px;box-sizing:border-box;color:rgb(84,84,84);text-decoration-line:underline;word-break:break-all"><a href="http://maps.skeenasalmon.info/gs/rest/styles">http://maps.skeenasalmon.info/gs/rest/styles</a></span> 405 (METHOD NOT ALLOWED)</span><br></div><div><br></div><div>Thanks again for all your help.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Apr 8, 2017 at 5:53 PM, Francesco Bartoli <span dir="ltr"><<a href="mailto:xbartolone@gmail.com" target="_blank">xbartolone@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Can you check from the console of the browser what url are you calling? Also what is your geoserver configuration in settings file?<div><br><div><span class=""><div>Il giorno 08/apr/2017, alle ore 21:56, Michael Peterman <<a href="mailto:mpetermangis@gmail.com" target="_blank">mpetermangis@gmail.com</a>> ha scritto:</div><br class="m_4400907063016980008Apple-interchange-newline"></span><blockquote type="cite"><div dir="ltr"><span class="">Thanks everyone for your help. I managed to get it running on a new Ubuntu VM. <div>I can upload layers now. However, the uploaded layers don't display correctly in the map. The background (bing maps or OpenStreetMap) displays fine, but the vector tiles are not rendered correctly. I am uploading zipped WGS84 shapefiles that worked on a previous installation of Geonode a few months ago. Has anyone else seen this issue?</div><div><br></div></span><div><span><image.png></span><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Thu, Apr 6, 2017 at 2:11 AM, Francesco Bartoli <span dir="ltr"><<a href="mailto:xbartolone@gmail.com" target="_blank">xbartolone@gmail.com</a>></span> wrote:<br></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><span class="">
<div name="messageBodySection">The database "geonode" is for the configuration data of django application while "geonode_data" is for the spatial data which will be uploaded.<br>
So in geoserver you have to configure the latter.</div>
<div name="messageSignatureSection"><br>
Hope this helps<span class="m_4400907063016980008HOEnZb"><font color="#888888"><br>
Francesco</font></span></div></span><div><div class="m_4400907063016980008h5">
<div name="messageReplySection"><span class=""><br>
6 apr 2017, 03:14 +0200, Michael Peterman <<a href="mailto:mpetermangis@gmail.com" target="_blank">mpetermangis@gmail.com</a>>, ha scritto:<br>
</span><blockquote type="cite">
<div dir="ltr"><span class="">The datastore was configured to use the geonode db on a Postgres backend, as per the instructions. The only thing I'm not sure about--is the database supposed to be "geonode" or "geonode_<b>data</b>"? Here's a screenshot of the settings:
<div><br></div>
</span><div><span><image.png></span><br></div><div><div class="h5">
<div>In any case I will try installing this again on a fresh VM.</div>
<div><br></div>
<div>Thanks, </div>
<div><br></div>
<div>Michael</div>
<div><br></div>
</div></div></div><div><div class="h5">
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Apr 5, 2017 at 6:40 AM, Francesco Bartoli <span dir="ltr"><<a href="mailto:xbartolone@gmail.com" target="_blank">xbartolone@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div name="messageBodySection">In this way you are using the dev environment which by default is relying on a sqlite database. I'm assuming you changed the default settings and have configured the geonode-data database. In this case what is the configuration of the datastore for that in geoserver?<br>
Can you please check it using the UI?</div>
<div name="messageSignatureSection"><br>
Thanks<span class="m_4400907063016980008m_1773186109759795298HOEnZb"><font color="#888888"><br>
Francesco</font></span></div>
<div>
<div class="m_4400907063016980008m_1773186109759795298h5">
<div name="messageReplySection"><br>
5 apr 2017, 02:31 +0200, Michael Peterman <<a href="mailto:mpetermangis@gmail.com" target="_blank">mpetermangis@gmail.com</a>>, ha scritto:<br>
<blockquote type="cite">
<div dir="ltr">Hi Francesco,
<div><br></div>
<div>Yes I ran that command. Output is:</div>
<div>
<div><font face="monospace, monospace">---> pavement.setup</font></div>
<div><font face="monospace, monospace">---> pavement.setup_geoserver</font></div>
<div><font face="monospace, monospace">rmtree geoserver/data</font></div>
<div><font face="monospace, monospace">GeoNode development environment successfully set up.If you have not set up an administrative account, please do so now. Use "paver start" to start up the server.</font></div>
</div>
<div><br></div>
<div>Geoserver is version 2.7.4 on Java 1.7.0_121 (OpenJDK 64-Bit Server VM)</div>
<div><br></div>
<div>Any other ideas for what I can try?</div>
<div><br></div>
<div>Thanks again,</div>
<div>Michael</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Apr 4, 2017 at 1:46 AM, Francesco Bartoli <span dir="ltr"><<a href="mailto:xbartolone@gmail.com" target="_blank">xbartolone@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Dear Micheal,
<div><br></div>
<div>did you run the command “sudo paver setup” ? If not what geoserver did you install?</div>
<div><br></div>
<div>Francesco</div>
<div><br>
<div>
<div>
<div class="m_4400907063016980008m_1773186109759795298m_-5918000266060077476h5">
<div>Il giorno 04/apr/2017, alle ore 01:39, Michael Peterman <<a href="mailto:mpetermangis@gmail.com" target="_blank">mpetermangis@gmail.com</a>> ha scritto:</div>
<br class="m_4400907063016980008m_1773186109759795298m_-5918000266060077476m_9076189871349039152Apple-interchange-newline"></div>
</div>
<blockquote type="cite">
<div>
<div class="m_4400907063016980008m_1773186109759795298m_-5918000266060077476h5">
<div dir="ltr">Hi,
<div><br></div>
<div>I am installing a custom copy of Geonode 2.4, as per these instructions:<br>
<a href="http://docs.geonode.org/en/latest/tutorials/install_and_admin/geonode_install/install_geonode_application.html" target="_blank">http://docs.geonode.org/en/lat<wbr>est/tutorials/install_and_admi<wbr>n/geonode_install/install_geon<wbr>ode_application.html</a><br></div>
<div><br></div>
<div>I pulled from this git branch: <span style="color:rgb(64,64,64);font-family:consolas;font-size:9pt;white-space:pre-wrap"><a href="https://github.com/GeoNode/geonode.git" target="_blank">https://github.com/Geo<wbr>Node/geonode.git</a> --branch 2.4.x</span></div>
<div>and installed on a fresh copy of Ubuntu 14.04 64-bit. </div>
<div><br></div>
<div>Everything appears to work fine, but after finishing the installation, the connection between Geoserver and Postgres seems to be broken. Any data that I try to upload to Geonode gives this error: "An exception occurred loading data to PostGIS- java.io.IOException: Error occurred creating table"</div>
<div><br></div>
<div>The logs in Geoserver show a series of exceptions like this:<br>
<div><font face="monospace, monospace" size="1">2017-04-01 23:55:40,930 WARN [geonode.security] - Error connecting to the GeoNode server for authentication purposes</font></div>
<div><font face="monospace, monospace" size="1">org.springframework.security.a<wbr>uthentication.AuthenticationSe<wbr>rviceException: Communication with GeoNode failed (GeoNodeSessionAuthToken)</font></div>
</div>
<div><font face="monospace, monospace" size="1">...</font></div>
<div><font face="monospace, monospace" size="1">Caused by: <a href="http://java.net/" target="_blank">java.net</a>.SocketTimeoutExceptio<wbr>n: Read timed out</font><br></div>
<div><br></div>
<div>I am using the same credentials for the Postgres account (geonode / geonode) that are in the instructions. Geoserver, Postgres, and Geonode are all hosted on the same machine. <br></div>
<div><br></div>
<div>Thanks in advance to everyone, I really appreciate all the effort that has gone into this project. </div>
<div><br></div>
<div>Mike</div>
<div><br></div>
</div>
</div>
</div>
______________________________<wbr>_________________<br>
geonode-devel mailing list<br>
<a href="mailto:geonode-devel@lists.osgeo.org" target="_blank">geonode-devel@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-devel" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/geonode-devel</a><br></blockquote>
</div>
<br></div>
</div>
</blockquote>
</div>
<br></div>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br></div>
</div></div></blockquote>
</div>
</div></div></div>
</blockquote></div><br></div>
</blockquote></div><br></div></div></blockquote></div><br></div>