[OSGeoLive] #2245: QGIS error concerning user access rights and wrong QGIS Server url
OSGeoLive
trac_osgeolive at osgeo.org
Sat Jun 6 10:43:36 PDT 2020
#2245: QGIS error concerning user access rights and wrong QGIS Server url
-------------------------+---------------------------
Reporter: astrid_emde | Owner: osgeolive@…
Type: defect | Status: new
Priority: normal | Milestone: OSGeoLive14.0
Component: OSGeoLive | Keywords: QGIS
-------------------------+---------------------------
With QGIS (Desktop or Server), the location of the demo files is in
/home/user/qgis-examples which will only work is your user is called
"user".
As a consequence, there is an error with the provided QGIS Server project
at http://localhost/qgis_server/ (no map display).
The files in /home/<my_user>/qgis-examples belong to root and cannot be
edited without a "sudo chown".
When trying to save a QGIS project in /home/<my_user>/qgis-examples, there
is an error "unable to execute the zip file" even after correcting the
user
permissions on the folder and the files.
The link provided in
http://localhost/osgeolive/en/quickstart/qgis_mapserver_quickstart.html to
open the WMS URL (
http://localhost/cgi-
bin/qgis_mapserv?map=/home/user/world.qgz&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=-91.901820,-180.000000,83.633800,180.000000&CRS=EPSG:4326&WIDTH=722&HEIGHT=352&LAYERS=ne_10m_admin_0_countries&STYLES=default&FORMAT=image/png&DPI=96&TRANSPARENT=true
) provides a server exception in response even if /home/user is replace by
the correct /home/<my_user>.
--
Ticket URL: <https://trac.osgeo.org/osgeolive/ticket/2245>
OSGeoLive <http://live.osgeo.org/>
self-contained bootable DVD, USB thumb drive or Virtual Machine based on Lubuntu, that allows you to try a wide variety of open source geospatial software without installing anything.
More information about the osgeolive
mailing list