Re: [QGIS-Developer] Struggling with QGIS Server 3 on a Ubuntu machine, installed from repositories
Thanks, Alessandro pointed me to the problem/fix https://github.com/qgis/QGIS/pull/6502 (note, for me worked by installing master, not setting the environment variable on 3.0.1) thanks again cheers! -- G -- On Fri, Apr 20, 2018 at 3:58 PM, David Marteauwrote: > Hi, > > Try to activate log at info level. When the server start, you should have the > following lines: > > Checking /usr/lib/qgis/server for native services modules" > "Loading native module /usr/lib/qgis/server/libdummy.so" > Adding service SampleService 1.0 > "Loading native module /usr/lib/qgis/server/libwcs.so" > Adding service WCS 1.0.0 > "Loading native module /usr/lib/qgis/server/libwfs.so" > Adding service WFS 1.1.0 > "Loading native module /usr/lib/qgis/server/libwms.so" > Adding service WMS 1.3.0 > Initializing server modules from "/usr/lib/qgis/server" > > David > > >> Le 20 avr. 2018 à 16:25, Giovanni Manghi a écrit >> : >> >> Hi all, >> >> I'm quite familiar with the installation (on both Linux and Windows) >> and use of QGIS Server 2.* and in the past days I started to have a >> look also to version 3. >> >> I was able to test on Windows, but I'm struggling on Linux (Ubuntu >> 16.04) after having installed it from the QGIS repos. >> >> A request like >> http://localhost/cgi-bin/qgis_mapserv.fcgi?MAP=/path/to/project.qgs=WMS=GetCapabilities >> >> always return "Service unknown or unsupported". >> >> From the CLI >> >> "QUERY_STRING="SERVICE=WMS=1.3.0=GetCapabilities=/path/to/project.qgs" >> /usr/lib/cgi-bin/qgis_mapserv.fcgi >> >> it seems to return the capabilities but ends always with >> >> Service unknown >> or unsupported >> >> In logs I can see messages like >> >> "Service WMS is not registered" >> >> >> Downgrading to 2.18 and making the same requests works as expected. >> >> >> Anyone has an hint for me? >> >> thanks in advance >> >> -- Giovanni -- >> ___ >> QGIS-Developer mailing list >> QGIS-Developer@lists.osgeo.org >> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer >> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer > ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [QGIS-Developer] Struggling with QGIS Server 3 on a Ubuntu machine, installed from repositories
Hi, Try to activate log at info level. When the server start, you should have the following lines: Checking /usr/lib/qgis/server for native services modules" "Loading native module /usr/lib/qgis/server/libdummy.so" Adding service SampleService 1.0 "Loading native module /usr/lib/qgis/server/libwcs.so" Adding service WCS 1.0.0 "Loading native module /usr/lib/qgis/server/libwfs.so" Adding service WFS 1.1.0 "Loading native module /usr/lib/qgis/server/libwms.so" Adding service WMS 1.3.0 Initializing server modules from "/usr/lib/qgis/server" David > Le 20 avr. 2018 à 16:25, Giovanni Manghia écrit : > > Hi all, > > I'm quite familiar with the installation (on both Linux and Windows) > and use of QGIS Server 2.* and in the past days I started to have a > look also to version 3. > > I was able to test on Windows, but I'm struggling on Linux (Ubuntu > 16.04) after having installed it from the QGIS repos. > > A request like > http://localhost/cgi-bin/qgis_mapserv.fcgi?MAP=/path/to/project.qgs=WMS=GetCapabilities > > always return "Service unknown or unsupported". > > From the CLI > > "QUERY_STRING="SERVICE=WMS=1.3.0=GetCapabilities=/path/to/project.qgs" > /usr/lib/cgi-bin/qgis_mapserv.fcgi > > it seems to return the capabilities but ends always with > > Service unknown > or unsupported > > In logs I can see messages like > > "Service WMS is not registered" > > > Downgrading to 2.18 and making the same requests works as expected. > > > Anyone has an hint for me? > > thanks in advance > > -- Giovanni -- > ___ > QGIS-Developer mailing list > QGIS-Developer@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
[QGIS-Developer] Struggling with QGIS Server 3 on a Ubuntu machine, installed from repositories
Hi all, I'm quite familiar with the installation (on both Linux and Windows) and use of QGIS Server 2.* and in the past days I started to have a look also to version 3. I was able to test on Windows, but I'm struggling on Linux (Ubuntu 16.04) after having installed it from the QGIS repos. A request like http://localhost/cgi-bin/qgis_mapserv.fcgi?MAP=/path/to/project.qgs=WMS=GetCapabilities always return "Service unknown or unsupported". From the CLI "QUERY_STRING="SERVICE=WMS=1.3.0=GetCapabilities=/path/to/project.qgs" /usr/lib/cgi-bin/qgis_mapserv.fcgi it seems to return the capabilities but ends always with Service unknown or unsupported In logs I can see messages like "Service WMS is not registered" Downgrading to 2.18 and making the same requests works as expected. Anyone has an hint for me? thanks in advance -- Giovanni -- ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer