<div dir="ltr"><div>Hi, Francesco sorry for my late reply,</div><div>I have most of the answers, for example, I was doing the wrong entrance to the docker container I've used the bash instead of ash. For the Docker question, I realized when I do exchanges and do the new build all changes go inside of the container.</div><div><br></div><div>About the remote service, the still there but perhaps with the new version of geonode perhaps is already fixed.</div><div><br></div><div>I will try to contribute with my notes in the documentation.</div><div>Thank you for your help.<br></div><div><br></div><div>Regards,</div><div>Francesco.<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Francesco Frassinelli <<a href="mailto:francesco.frassinelli@nina.no">francesco.frassinelli@nina.no</a>> escreveu no dia quinta, 6/02/2020 à(s) 14:08:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="EN-GB">
<div class="gmail-m_-2231383694483338360WordSection1">
<p class="MsoNormal"><span>Hi </span><span lang="EN-US">João,<u></u><u></u></span></p>
<p class="MsoNormal"><span>If the URL was built correctly in a older version, it is a regression indeed and a but report containing information about which version was producing the correct URL (the latest known one) and which
one is not (the first known one) is appreciated. It would be nice to easily replicate that behaviour using a script, so a git bisect can be used to spot the faulty commit.<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span>Regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span>Frafra<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<div style="border-color:currentcolor currentcolor currentcolor blue;border-style:none none none solid;border-width:medium medium medium 1.5pt;padding:0in 0in 0in 4pt">
<div>
<div style="border-color:rgb(225,225,225) currentcolor currentcolor;border-style:solid none none;border-width:1pt medium medium;padding:3pt 0in 0in">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> geonode-devel <<a href="mailto:geonode-devel-bounces@lists.osgeo.org" target="_blank">geonode-devel-bounces@lists.osgeo.org</a>>
<b>On Behalf Of </b>João Gaspar<br>
<b>Sent:</b> Wednesday, December 25, 2019 9:06 PM<br>
<b>To:</b> <a href="mailto:geonode-devel@lists.osgeo.org" target="_blank">geonode-devel@lists.osgeo.org</a><br>
<b>Subject:</b> [GeoNode-devel] [Docker][SPCGeonode] Questions<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">first of all, let me congratulate the excellent job with this configuration.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I install the last version of SPCGeonode with docker in Kubuntu following your guide.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Everything was install has expected but now I found some issues that I want to clarify before to report as a bug.<u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Actual problems:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Adding a remote service from a QGIS Server connection, read the layers but don't project the layer and after the harvest assumes a different URL.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">So if I do <a href="http://siteURL/qgis/qgis_mapserv.fcgi.exe?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities&MAP=repo/project.qgs" target="_blank">
http://siteURL/qgis/qgis_mapserv.fcgi.exe?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities&MAP=repo/project.qgs</a> after the harvest the URL is changed to<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="http://siteURL/qgis/qgis_mapserv.fcgi.exe?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities?MAP=repo/project.qgs" target="_blank">http://siteURL/qgis/qgis_mapserv.fcgi.exe?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities?MAP=repo/project.qgs</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I tested this in a previous version of geonode and works fine.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">After trying a lot of times without success the adding remote service I think to add wms service using Backoffice GeoServer. After try to add the Layers from the QGIS Server connection I lose the ability to see the layers with a java error
Then I try to delete the store but give me the same error message when I try to see the layers. I test using geoserver/rest/ and I have the following error: Don't know how to handle resource WMTSLayerInfoImpl[layer]<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">So the layer is in ESPG:32629<u></u><u></u></p>
<div>
<p class="MsoNormal">PROJCS["WGS 84 / UTM zone 29N",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-9],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["EPSG","32629"]]
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">And the qgis server project is in EPSG:4326<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I notice that the user projections don't have the ESPG:32629 in the file
<u></u><u></u></p>
<p style="margin:0in 0in 0.0001pt">/opt/geonode/scripts/spcgeonode/_volume_geodatadir/user_projections/epsg.properties This can be the problem?<u></u><u></u></p>
<p style="margin:0in 0in 0.0001pt;white-space:pre-wrap"><u></u> <u></u></p>
<p style="margin:0in 0in 0.0001pt;white-space:pre-wrap">My questions:<u></u><u></u></p>
<p style="margin:0in 0in 0.0001pt;white-space:pre-wrap">When do I want to do changes what is the correct action?<u></u><u></u></p>
<p style="margin:0in 0in 0.0001pt;white-space:pre-wrap"><u></u> <u></u></p>
<p style="margin:0in 0in 0.0001pt;white-space:pre-wrap">Sudo docker exec -it spc_container /bin/bash to enter in the container? If yes, I tried but I have the permission denied.<u></u><u></u></p>
<p style="margin:0in 0in 0.0001pt;white-space:pre-wrap"><u></u> <u></u></p>
<p style="margin:0in 0in 0.0001pt;white-space:pre-wrap">OR<u></u><u></u></p>
<p style="margin:0in 0in 0.0001pt;white-space:pre-wrap">I change the directory inside Scripts/SPCgeonode and do the build? If yes, what is the right docker build command?<u></u><u></u></p>
<p style="margin:0in 0in 0.0001pt;white-space:pre-wrap"><u></u> <u></u></p>
<p style="margin:0in 0in 0.0001pt;white-space:pre-wrap">Thank you for your time.<u></u><u></u></p>
<p style="margin:0in 0in 0.0001pt;white-space:pre-wrap"><u></u> <u></u></p>
<p style="margin:0in 0in 0.0001pt;white-space:pre-wrap">P.S: I'm available to help in this SPCGeonode Docs and try to clarify some possible steps or explain the purposes of each folder and docker commands. For me is a good way to learn and have an
official source to look.<u></u><u></u></p>
<p style="margin:0in 0in 0.0001pt;white-space:pre-wrap"><u></u> <u></u></p>
<p style="margin:0in 0in 0.0001pt;white-space:pre-wrap">Best regards,<u></u><u></u></p>
<p style="margin:0in 0in 0.0001pt;white-space:pre-wrap">João<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote></div>