[OSGeoLive] #2371: QGIS Server demo problems

OSGeoLive trac_osgeolive at osgeo.org
Wed Jul 20 12:32:44 PDT 2022


#2371: QGIS Server demo problems
-------------------------+----------------------------
 Reporter:  darkblueb    |       Owner:  osgeolive@…
     Type:  defect       |      Status:  new
 Priority:  critical     |   Milestone:  OSGeoLive15.0
Component:  OSGeoLive    |  Resolution:
 Keywords:  qgis_server  |
-------------------------+----------------------------
Comment (by sanak):

 Well, {{{warning: Non-existing plugin: IdentifyRegion}}} issue is still
 remaining, but to show natural earth map on the browser client, just the
 following permission setting seems to be enough.

 {{{
 sudo chmod 755 /home/user
 }}}

 I found it from the following Japanese article.\\
 http://verifiedby.me/adiary/0164
 > 20.04まではこれで良かったのですが、22.04ではこれだけではpublic_htmlが見
 えません。どうやら22.04から、各userのhome directoryのpermissionのdefaultが
 755から750に変わったようです。
 >
 > {{{sudo chmod 755 /home/kashi}}}
 >
 > としたら見えるようになりました。

 ---

 By the way, during the investigation, I modified {{{/etc/apache2/conf-
 available/qgis-fcgid.conf}}} as follows, then run {{{sudo service apache2
 --full-restart}}}.
 {{{
 <IfModule mod_fcgid.c>
   FcgidCmdOptions /usr/lib/cgi-bin/qgis_mapserv.fcgi \
     InitialEnv QGIS_SERVER_LOG_STDERR=1 \
     InitialEnv QGIS_SERVER_LOG_LEVEL=1 \
     InitialEnv QGIS_SERVER_IGNORE_BAD_LAYERS=1 \
     MaxProcesses 6
 </IfModule>
 }}}
 - https://docs.qgis.org/3.22/en/docs/server_manual/config.html#qgis-
 server-envvar
 - https://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html#fcgidcmdoptions
 Just additional information.
-- 
Ticket URL: <https://trac.osgeo.org/osgeolive/ticket/2371#comment:1>
OSGeoLive <https://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