Opened 5 years ago
Closed 4 years ago
#2245 closed defect (fixed)
QGIS error concerning user access rights and wrong QGIS Server url
Reported by: | astrid_emde | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | OSGeoLive14.0 |
Component: | OSGeoLive | Keywords: | QGIS |
Cc: |
Description
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>.
Change History (2)
comment:1 by , 4 years ago
comment:2 by , 4 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
See PR https://github.com/OSGeo/OSGeoLive-doc/pull/666