Re: [Qgis-user] Qgis server : install on Linux Debian

2023-03-27 Thread celati Laurent via QGIS-User
;= 2.29), libexiv2-27 (>= 0.27.3), libfcgi0ldbl (>=
>>> 2.4.2), libgcc-s1 (>= 3.0), libqgis-core3.10.14 (>= 3.10.2),
>>> libqgis-server3.10.14 (>= 3.10.2), libqt5core5a (>= 5.15.1), libqt5gui5 (>=
>>> 5.3.0) | libqt5gui5-gles (>= 5.3.0), libqt5webkit5 (>= 5.212.0~alpha3),
>>> libqt5widgets5 (>= 5.0.2), libqt5xml5 (>= 5.0.2), libstdc++6 (>=
>>> 5.2)Conflicts: qgis-mapserverDescription: QGIS server providing various OGC
>>> services QGIS is a Geographic Information System (GIS) which manages,
>>> analyzes and display databases of geographic information. This package
>>> contains the QGIS server.Homepage: https://qgis.org/ <https://qgis.org/>*
>>>
>>> Regarding the debian version installed :
>>> lsb_release -a
>>> No LSB modules are available.
>>> Distributor ID: Debian
>>> Description:Debian GNU/Linux 11 (bullseye)
>>> Release:11
>>> Codename:   bullseye
>>>
>>>
>>> Within the qgis.demo.conf, i took the liberty to change the IP value of
>>> the server by the name of the server.
>>> Then :
>>> root@XX:/etc/apache2/sites-available# a2ensite 
>>> ERROR: Site XX does not exist!
>>>
>>> Then. After a restart of Apache. I get this error message :
>>> root@X:/etc/apache2/sites-available# curl
>>> .fr/cgi-bin/qgis_mapserv.fcgi
>>> Project file error
>>>
>>> Thanks a lot for your help.
>>>
>>> Le mer. 15 mars 2023 à 20:28, Aguilar Bolivar, Rosa (UT-ITC) <
>>> r.agui...@utwente.nl> a écrit :
>>>
>>>> Hi,
>>>>
>>>>
>>>>
>>>> There is a helpful material at:
>>>> https://github.com/elpaso/qgis3-server-vagrant,
>>>>
>>>> Also a docker container image at:
>>>> https://github.com/elpaso/qgis-server-docker.
>>>>
>>>> Perhaps you could use this material as a starting point.
>>>>
>>>> Hope this helps.
>>>>
>>>>
>>>>
>>>> Best,
>>>>
>>>>
>>>>
>>>> Rosa
>>>>
>>>>
>>>>
>>>> -
>>>>
>>>> Dr. Rosa Aguilar
>>>>
>>>> University of Twente
>>>>
>>>> Faculty of Geoinformation Science and Earth Observation
>>>>
>>>> Connect with me on LinkedIn
>>>> <https://www.linkedin.com/in/rosamaguilar/?locale=en_US>
>>>>
>>>> https://rosaguilar.github.io
>>>>
>>>> -
>>>>
>>>> The essential is invisible to the eye. Saint-Exupéry
>>>>
>>>>
>>>>
>>>> *From:* QGIS-User  *On Behalf Of *celati
>>>> Laurent via QGIS-User
>>>> *Sent:* Wednesday, March 15, 2023 4:23 PM
>>>> *To:* qgis-user 
>>>> *Subject:* [Qgis-user] Qgis server : install on Linux Debian
>>>>
>>>>
>>>>
>>>> Good afternnon,
>>>>
>>>>
>>>> I want to install Qgis server on my Linux Debian server virtual .For
>>>> now, it's not working.
>>>> FYI, I already have a working apache server and used for geoserver and
>>>> geonetwork.
>>>>
>>>> I followed the Qgis server doc/tutorial:
>>>>
>>>>
>>>> https://docs.qgis.org/3.22/en/docs/training_manual/qgis_server/install.html
>>>> <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.qgis.org%2F3.22%2Fen%2Fdocs%2Ftraining_manual%2Fqgis_server%2Finstall.html=05%7C01%7Cr.aguilar%40utwente.nl%7C9d9e7a09e0af46dcb9e308db25694617%7C723246a1c3f543c5acdc43adb404ac4d%7C0%7C0%7C638144906298340593%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C=rRTqcYX4IWpYNx2APq5UzngB5idQy5WccQsLsEzR8Ys%3D=0>
>>>>
>>>> https://docs.qgis.org/3.22/en/docs/server_manual/getting_started.html#installation-on-debian-based-systems
>>>> <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.qgis.org%2F3.22%2Fen%2Fdocs%2Fserver_manual%2Fgetting_started.html%23installation-on-debian-based-systems=05%7C01%7Cr.aguilar%40utwente.nl%7C9d9e7a09e0af46dcb9e308db25694617%7C723246a1c3f543c5acdc43adb404ac4d%7C0%7C0%7C638144906298360503%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAw

Re: [Qgis-user] Qgis server : install on Linux Debian

2023-03-26 Thread Andrea Giudiceandrea via QGIS-User

Il 26/03/2023 23:47, celati Laurent ha scritto:


And when i enter : /
/
http://SERVER/cgi-bin/qgis_mapserv.fcgi 
 
SERVICE=WMS=1.3.0=GetCapabilities


I obtain :
|

|This XML file does not appear to have any style information associated 
with it. The document tree is shown below. xmlns:sld="http://www.opengis.net/sld " 
xmlns="http://www.opengis.net/wms " 


Good. This means that the QGIS Server and Apache web server are up and 
running and correctly respond to the request.


> When i enter :
> 
/http://SERVER/qgisserver?MAP=/home/qgis/projects/world.qgs=continents=WMS=1.3.0=GetMap=EPSG:4326=400=200=-90,-180,90,180 


> I obtain :
> /Not Found The requested URL was not found on this server. Apache/2.4.54
> (Debian) Server SERVER Port 80/

It seems to me that URL is incorrect.
AFAIK it should be:

http://SERVER/cgi-bin/qgis_mapserv.fcgi?...

not:

http://SERVER/qgisserver?...

See 
https://docs.qgis.org/3.28/en/docs/training_manual/qgis_server/wms.html#getmap-requests


Probably there is a typo in the QGIS Server manual.

Best regards.

Andrea
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Qgis server : install on Linux Debian

2023-03-26 Thread celati Laurent via QGIS-User
_release -a
>> No LSB modules are available.
>> Distributor ID: Debian
>> Description:Debian GNU/Linux 11 (bullseye)
>> Release:11
>> Codename:   bullseye
>>
>>
>> Within the qgis.demo.conf, i took the liberty to change the IP value of
>> the server by the name of the server.
>> Then :
>> root@XX:/etc/apache2/sites-available# a2ensite 
>> ERROR: Site XX does not exist!
>>
>> Then. After a restart of Apache. I get this error message :
>> root@X:/etc/apache2/sites-available# curl
>> .fr/cgi-bin/qgis_mapserv.fcgi
>> Project file error
>>
>> Thanks a lot for your help.
>>
>> Le mer. 15 mars 2023 à 20:28, Aguilar Bolivar, Rosa (UT-ITC) <
>> r.agui...@utwente.nl> a écrit :
>>
>>> Hi,
>>>
>>>
>>>
>>> There is a helpful material at:
>>> https://github.com/elpaso/qgis3-server-vagrant,
>>>
>>> Also a docker container image at:
>>> https://github.com/elpaso/qgis-server-docker.
>>>
>>> Perhaps you could use this material as a starting point.
>>>
>>> Hope this helps.
>>>
>>>
>>>
>>> Best,
>>>
>>>
>>>
>>> Rosa
>>>
>>>
>>>
>>> -
>>>
>>> Dr. Rosa Aguilar
>>>
>>> University of Twente
>>>
>>> Faculty of Geoinformation Science and Earth Observation
>>>
>>> Connect with me on LinkedIn
>>> <https://www.linkedin.com/in/rosamaguilar/?locale=en_US>
>>>
>>> https://rosaguilar.github.io
>>>
>>> -
>>>
>>> The essential is invisible to the eye. Saint-Exupéry
>>>
>>>
>>>
>>> *From:* QGIS-User  *On Behalf Of *celati
>>> Laurent via QGIS-User
>>> *Sent:* Wednesday, March 15, 2023 4:23 PM
>>> *To:* qgis-user 
>>> *Subject:* [Qgis-user] Qgis server : install on Linux Debian
>>>
>>>
>>>
>>> Good afternnon,
>>>
>>>
>>> I want to install Qgis server on my Linux Debian server virtual .For
>>> now, it's not working.
>>> FYI, I already have a working apache server and used for geoserver and
>>> geonetwork.
>>>
>>> I followed the Qgis server doc/tutorial:
>>>
>>>
>>> https://docs.qgis.org/3.22/en/docs/training_manual/qgis_server/install.html
>>> <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.qgis.org%2F3.22%2Fen%2Fdocs%2Ftraining_manual%2Fqgis_server%2Finstall.html=05%7C01%7Cr.aguilar%40utwente.nl%7C9d9e7a09e0af46dcb9e308db25694617%7C723246a1c3f543c5acdc43adb404ac4d%7C0%7C0%7C638144906298340593%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C=rRTqcYX4IWpYNx2APq5UzngB5idQy5WccQsLsEzR8Ys%3D=0>
>>>
>>> https://docs.qgis.org/3.22/en/docs/server_manual/getting_started.html#installation-on-debian-based-systems
>>> <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.qgis.org%2F3.22%2Fen%2Fdocs%2Fserver_manual%2Fgetting_started.html%23installation-on-debian-based-systems=05%7C01%7Cr.aguilar%40utwente.nl%7C9d9e7a09e0af46dcb9e308db25694617%7C723246a1c3f543c5acdc43adb404ac4d%7C0%7C0%7C638144906298360503%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C=jh35omGXX%2FoArpmE234Xr%2BxuHzVDflxKav8EVzWpHXA%3D=0>
>>>
>>> FYI, when I test the executable, here is the message.The version seems
>>> to be qgis 3.10 (and not 3.22). And the status message is 200 and not 400.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *[code]root@XX:/usr/lib/cgi-bin#
>>> /usr/lib/cgi-bin/qgis_mapserv.fcgi --version Application path not
>>> initialized Application path not initialized Application path not
>>> initialized QStandardPaths: runtime directory '/run/user/1001' is not owned
>>> by UID 0, but a directory permissions 0700 owned by UID 1001 GID 1001
>>> Warning 1: Unable to find ECW driver to unload from GDAL_SKIP environment
>>> variable. Warning 1: Unable to find ECW driver to unload from GDAL_SKIP
>>> environment variable. Warning 1: 

Re: [Qgis-user] Qgis server : install on Linux Debian

2023-03-23 Thread Jorge Gustavo Rocha via QGIS-User

Hi,

You are using curl on the command line. You need to protect the url 
between quotes.


Can you try again with quotes around the URL?

Regards,

Jorge

On 23/03/23 14:06, celati Laurent via QGIS-User wrote:

Good morning,
Thanks a lot for your message.

I uninstalled everything I had installed up to now (from the Debian 
repository)  which only offered the qgis server 3.10 version.
I added the official qgis repository which allowed to install the 
version of qgis server 3.30. For information,  the qgis project that I 
am trying to serve is version 3.28 and not 3.30.

This is the current error message I am getting now:

/ curl 
http://SERVEUR_NAME/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS=1.3.0=GetCapabilities 
<http://SERVEUR_NAME/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS=1.3.0=GetCapabilities>

[1] 395943
[2] 395944
root@SERVEUR_NAME:/home/qgis/projects# encoding="UTF-8"?>
http://www.opengis.net/ogc; 
version="1.3.0">
  Please add or check 
the value of the REQUEST parameter


^C
[1]- Done curl 
http://SERVEUR_NAME/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS 
<http://SERVEUR_NAME/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS>

[2]+ Finished VERSION=1.3.0
/
Do you know what is the request parameter within the URL ?
Someone can help me? Thanks a lot.

Le ven. 17 mars 2023 à 13:08, celati Laurent 
 a écrit :


Good afternoon,
First, thank you so much for your replies.
I'm trying to give additional/updated inputs.
I confirm to you that i installed the server thanks to a `apt
install qgis-server` command.
Please read the results when i tape this command :
/root@xx:/etc/apache2/sites-available# dpkg -s qgis-server
Package: qgis-server
Status: install ok installed
Priority: optional
Section: science
Installed-Size: 9019
Maintainer: Debian GIS Project

Architecture: amd64
Source: qgis
Version: 3.10.14+dfsg-1
Replaces: qgis-mapserver
Provides: qgis-mapserver
Depends: python3-qgis (= 3.10.14+dfsg-1), qgis-providers (=
3.10.14+dfsg-1), libc6 (>= 2.29), libexiv2-27 (>= 0.27.3),
libfcgi0ldbl (>= 2.4.2), libgcc-s1 (>= 3.0), libqgis-core3.10.14
(>= 3.10.2), libqgis-server3.10.14 (>= 3.10.2), libqt5core5a (>=
5.15.1), libqt5gui5 (>= 5.3.0) | libqt5gui5-gles (>= 5.3.0),
libqt5webkit5 (>= 5.212.0~alpha3), libqt5widgets5 (>= 5.0.2),
libqt5xml5 (>= 5.0.2), libstdc++6 (>= 5.2)
Conflicts: qgis-mapserver
Description: QGIS server providing various OGC services
 QGIS is a Geographic Information System (GIS) which manages,
analyzes and
 display databases of geographic information.
 This package contains the QGIS server.
Homepage: https://qgis.org//
/
/
Regarding the debian version installed :
lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:        11
Codename:       bullseye


Within the qgis.demo.conf, i took the liberty to change the IP
value of the server by the name of the server.
Then :
root@XX:/etc/apache2/sites-available# a2ensite 
ERROR: Site XX does not exist!
Then. After a restart of Apache. I get this error message :
root@X:/etc/apache2/sites-available# curl
.fr/cgi-bin/qgis_mapserv.fcgi
Project file error

Thanks a lot for your help.

Le mer. 15 mars 2023 à 20:28, Aguilar Bolivar, Rosa (UT-ITC)
 a écrit :

Hi,

There is a helpful material at:
https://github.com/elpaso/qgis3-server-vagrant,

Also a docker container image
at:https://github.com/elpaso/qgis-server-docker.

Perhaps you could use this material as a starting point.

Hope this helps.

Best,

Rosa

-

Dr. Rosa Aguilar

University of Twente

Faculty of Geoinformation Science and Earth Observation

Connect with me on LinkedIn
<https://www.linkedin.com/in/rosamaguilar/?locale=en_US>

https://rosaguilar.github.io <https://rosaguilar.github.io/>__

-

The essential is invisible to the eye. Saint-Exupéry

*From:*QGIS-User  *On
Behalf Of *celati Laurent via QGIS-User
    *Sent:* Wednesday, March 15, 2023 4:23 PM
*To:* qgis-user 
*Subject:* [Qgis-user] Qgis server : install on Linux Debian

Good afternnon,


I want to install Qgis server on my Linux Debian server
virtual .For now, it's not working.
FYI, I already have a working apache server and used for
geoserver and geonetwork.

I followed the Qgis server doc/tutorial:


https://docs.qgis.org/3.22/en/docs/training_manual/qgis_server/install.html

<https:

Re: [Qgis-user] Qgis server : install on Linux Debian

2023-03-23 Thread celati Laurent via QGIS-User
Good morning,
Thanks a lot for your message.

I uninstalled everything I had installed up to now (from the Debian
repository)  which only offered the qgis server 3.10 version.
I added the official qgis repository which allowed to install the version
of qgis server 3.30. For information,  the qgis project that I am trying to
serve is version 3.28 and not 3.30.
This is the current error message I am getting now:











* curl
http://SERVEUR_NAME/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS=1.3.0=GetCapabilities
<http://SERVEUR_NAME/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS=1.3.0=GetCapabilities>[1]
395943[2] 395944root@SERVEUR_NAME:/home/qgis/projects# http://www.opengis.net/ogc
<http://www.opengis.net/ogc>" version="1.3.0">  Please add or check the value of the REQUEST
parameter^C[1]- Done curl
http://SERVEUR_NAME/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS
<http://SERVEUR_NAME/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS>[2]+ Finished
VERSION=1.3.0*
Do you know what is the request parameter within the URL ?
Someone can help me? Thanks a lot.

Le ven. 17 mars 2023 à 13:08, celati Laurent  a
écrit :

> Good afternoon,
> First, thank you so much for your replies.
> I'm trying to give additional/updated inputs.
> I confirm to you that i installed the server thanks to a `apt install
> qgis-server` command.
> Please read the results when i tape this command :
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *root@xx:/etc/apache2/sites-available# dpkg -s qgis-serverPackage:
> qgis-serverStatus: install ok installedPriority: optionalSection:
> scienceInstalled-Size: 9019Maintainer: Debian GIS Project
>  >Architecture: amd64Source:
> qgisVersion: 3.10.14+dfsg-1Replaces: qgis-mapserverProvides:
> qgis-mapserverDepends: python3-qgis (= 3.10.14+dfsg-1), qgis-providers (=
> 3.10.14+dfsg-1), libc6 (>= 2.29), libexiv2-27 (>= 0.27.3), libfcgi0ldbl (>=
> 2.4.2), libgcc-s1 (>= 3.0), libqgis-core3.10.14 (>= 3.10.2),
> libqgis-server3.10.14 (>= 3.10.2), libqt5core5a (>= 5.15.1), libqt5gui5 (>=
> 5.3.0) | libqt5gui5-gles (>= 5.3.0), libqt5webkit5 (>= 5.212.0~alpha3),
> libqt5widgets5 (>= 5.0.2), libqt5xml5 (>= 5.0.2), libstdc++6 (>=
> 5.2)Conflicts: qgis-mapserverDescription: QGIS server providing various OGC
> services QGIS is a Geographic Information System (GIS) which manages,
> analyzes and display databases of geographic information. This package
> contains the QGIS server.Homepage: https://qgis.org/ <https://qgis.org/>*
>
> Regarding the debian version installed :
> lsb_release -a
> No LSB modules are available.
> Distributor ID: Debian
> Description:Debian GNU/Linux 11 (bullseye)
> Release:11
> Codename:   bullseye
>
>
> Within the qgis.demo.conf, i took the liberty to change the IP value of
> the server by the name of the server.
> Then :
> root@XX:/etc/apache2/sites-available# a2ensite 
> ERROR: Site XX does not exist!
>
> Then. After a restart of Apache. I get this error message :
> root@X:/etc/apache2/sites-available# curl
> .fr/cgi-bin/qgis_mapserv.fcgi
> Project file error
>
> Thanks a lot for your help.
>
> Le mer. 15 mars 2023 à 20:28, Aguilar Bolivar, Rosa (UT-ITC) <
> r.agui...@utwente.nl> a écrit :
>
>> Hi,
>>
>>
>>
>> There is a helpful material at:
>> https://github.com/elpaso/qgis3-server-vagrant,
>>
>> Also a docker container image at:
>> https://github.com/elpaso/qgis-server-docker.
>>
>> Perhaps you could use this material as a starting point.
>>
>> Hope this helps.
>>
>>
>>
>> Best,
>>
>>
>>
>> Rosa
>>
>>
>>
>> -
>>
>> Dr. Rosa Aguilar
>>
>> University of Twente
>>
>> Faculty of Geoinformation Science and Earth Observation
>>
>> Connect with me on LinkedIn
>> <https://www.linkedin.com/in/rosamaguilar/?locale=en_US>
>>
>> https://rosaguilar.github.io
>>
>> -
>>
>> The essential is invisible to the eye. Saint-Exupéry
>>
>>
>>
>> *From:* QGIS-User  *On Behalf Of *celati
>> Laurent via QGIS-User
>> *Sent:* Wednesday, March 15, 2023 4:23 PM
>> *To:* qgis-user 
>> *Subject:* [Qgis-user] Qgis server : install on Linux Debian
>>
>>
>>
>> Good afternnon,
>>
>>
>> I want to install Qgis server on my Linux Debian server virtual .For now,
>> it's not working.
>> FYI, I already have a working apache server and used for geoserver and
>>

Re: [Qgis-user] Qgis server : install on Linux Debian

2023-03-18 Thread Andrea Giudiceandrea via QGIS-User

celati Laurent laurent.celati at gmail.com
Fri Mar 17 05:08:56 PDT 2023



I confirm to you that i installed the server thanks to a `apt install
qgis-server` command.



*root at xx:/etc/apache2/sites-available# dpkg -s qgis-serverPackage:
qgis-serverStatus: install ok installedPriority: optionalSection:
scienceInstalled-Size: 9019Maintainer: Debian GIS Project


Hi Laurent,
it seems you didn't follow the instructions available at 
https://qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu as 
advised in the QGIS Server Guide/Manual, so you ended up installing QGIS 
from the Debian bullseye repository (in which the latest available 
version is QGIS 3.10.14) instead of the QGIS repositories (in which the 
latest available versions for Debian bullseye are QGIS 3.28.4 and QGIS 
3.30.0).


Best regards.

Andrea Giudiceandrea
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Qgis server : install on Linux Debian

2023-03-17 Thread celati Laurent via QGIS-User
Good afternoon,
First, thank you so much for your replies.
I'm trying to give additional/updated inputs.
I confirm to you that i installed the server thanks to a `apt install
qgis-server` command.
Please read the results when i tape this command :


















*root@xx:/etc/apache2/sites-available# dpkg -s qgis-serverPackage:
qgis-serverStatus: install ok installedPriority: optionalSection:
scienceInstalled-Size: 9019Maintainer: Debian GIS Project
>Architecture: amd64Source:
qgisVersion: 3.10.14+dfsg-1Replaces: qgis-mapserverProvides:
qgis-mapserverDepends: python3-qgis (= 3.10.14+dfsg-1), qgis-providers (=
3.10.14+dfsg-1), libc6 (>= 2.29), libexiv2-27 (>= 0.27.3), libfcgi0ldbl (>=
2.4.2), libgcc-s1 (>= 3.0), libqgis-core3.10.14 (>= 3.10.2),
libqgis-server3.10.14 (>= 3.10.2), libqt5core5a (>= 5.15.1), libqt5gui5 (>=
5.3.0) | libqt5gui5-gles (>= 5.3.0), libqt5webkit5 (>= 5.212.0~alpha3),
libqt5widgets5 (>= 5.0.2), libqt5xml5 (>= 5.0.2), libstdc++6 (>=
5.2)Conflicts: qgis-mapserverDescription: QGIS server providing various OGC
services QGIS is a Geographic Information System (GIS) which manages,
analyzes and display databases of geographic information. This package
contains the QGIS server.Homepage: https://qgis.org/ <https://qgis.org/>*

Regarding the debian version installed :
lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:Debian GNU/Linux 11 (bullseye)
Release:11
Codename:   bullseye


Within the qgis.demo.conf, i took the liberty to change the IP value of the
server by the name of the server.
Then :
root@XX:/etc/apache2/sites-available# a2ensite 
ERROR: Site XX does not exist!

Then. After a restart of Apache. I get this error message :
root@X:/etc/apache2/sites-available# curl
.fr/cgi-bin/qgis_mapserv.fcgi
Project file error

Thanks a lot for your help.

Le mer. 15 mars 2023 à 20:28, Aguilar Bolivar, Rosa (UT-ITC) <
r.agui...@utwente.nl> a écrit :

> Hi,
>
>
>
> There is a helpful material at:
> https://github.com/elpaso/qgis3-server-vagrant,
>
> Also a docker container image at:
> https://github.com/elpaso/qgis-server-docker.
>
> Perhaps you could use this material as a starting point.
>
> Hope this helps.
>
>
>
> Best,
>
>
>
> Rosa
>
>
>
> -
>
> Dr. Rosa Aguilar
>
> University of Twente
>
> Faculty of Geoinformation Science and Earth Observation
>
> Connect with me on LinkedIn
> <https://www.linkedin.com/in/rosamaguilar/?locale=en_US>
>
> https://rosaguilar.github.io
>
> -
>
> The essential is invisible to the eye. Saint-Exupéry
>
>
>
> *From:* QGIS-User  *On Behalf Of *celati
> Laurent via QGIS-User
> *Sent:* Wednesday, March 15, 2023 4:23 PM
> *To:* qgis-user 
> *Subject:* [Qgis-user] Qgis server : install on Linux Debian
>
>
>
> Good afternnon,
>
>
> I want to install Qgis server on my Linux Debian server virtual .For now,
> it's not working.
> FYI, I already have a working apache server and used for geoserver and
> geonetwork.
>
> I followed the Qgis server doc/tutorial:
>
> https://docs.qgis.org/3.22/en/docs/training_manual/qgis_server/install.html
> <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.qgis.org%2F3.22%2Fen%2Fdocs%2Ftraining_manual%2Fqgis_server%2Finstall.html=05%7C01%7Cr.aguilar%40utwente.nl%7C9d9e7a09e0af46dcb9e308db25694617%7C723246a1c3f543c5acdc43adb404ac4d%7C0%7C0%7C638144906298340593%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C=rRTqcYX4IWpYNx2APq5UzngB5idQy5WccQsLsEzR8Ys%3D=0>
>
> https://docs.qgis.org/3.22/en/docs/server_manual/getting_started.html#installation-on-debian-based-systems
> <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.qgis.org%2F3.22%2Fen%2Fdocs%2Fserver_manual%2Fgetting_started.html%23installation-on-debian-based-systems=05%7C01%7Cr.aguilar%40utwente.nl%7C9d9e7a09e0af46dcb9e308db25694617%7C723246a1c3f543c5acdc43adb404ac4d%7C0%7C0%7C638144906298360503%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C=jh35omGXX%2FoArpmE234Xr%2BxuHzVDflxKav8EVzWpHXA%3D=0>
>
> FYI, when I test the executable, here is the message.The version seems to
> be qgis 3.10 (and not 3.22). And the status message is 200 and not 400.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *[code]root@XX:/usr/lib/cgi-bin#
> /usr/lib/cgi-bin/qgis_mapserv.fcgi --version Application path not
> initialized Application path not initialized Application path not
> initiali

Re: [Qgis-user] Qgis server : install on Linux Debian

2023-03-15 Thread Aguilar Bolivar, Rosa (UT-ITC) via QGIS-User
Hi,

There is a helpful material at: https://github.com/elpaso/qgis3-server-vagrant,
Also a docker container image at: https://github.com/elpaso/qgis-server-docker.
Perhaps you could use this material as a starting point.
Hope this helps.

Best,

Rosa

-
Dr. Rosa Aguilar
University of Twente
Faculty of Geoinformation Science and Earth Observation
Connect with me on 
LinkedIn<https://www.linkedin.com/in/rosamaguilar/?locale=en_US>
https://rosaguilar.github.io<https://rosaguilar.github.io/>
-
The essential is invisible to the eye. Saint-Exupéry

From: QGIS-User  On Behalf Of celati Laurent 
via QGIS-User
Sent: Wednesday, March 15, 2023 4:23 PM
To: qgis-user 
Subject: [Qgis-user] Qgis server : install on Linux Debian

Good afternnon,

I want to install Qgis server on my Linux Debian server virtual .For now, it's 
not working.
FYI, I already have a working apache server and used for geoserver and 
geonetwork.

I followed the Qgis server doc/tutorial:
https://docs.qgis.org/3.22/en/docs/training_manual/qgis_server/install.html<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.qgis.org%2F3.22%2Fen%2Fdocs%2Ftraining_manual%2Fqgis_server%2Finstall.html=05%7C01%7Cr.aguilar%40utwente.nl%7C9d9e7a09e0af46dcb9e308db25694617%7C723246a1c3f543c5acdc43adb404ac4d%7C0%7C0%7C638144906298340593%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C=rRTqcYX4IWpYNx2APq5UzngB5idQy5WccQsLsEzR8Ys%3D=0>
https://docs.qgis.org/3.22/en/docs/server_manual/getting_started.html#installation-on-debian-based-systems<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.qgis.org%2F3.22%2Fen%2Fdocs%2Fserver_manual%2Fgetting_started.html%23installation-on-debian-based-systems=05%7C01%7Cr.aguilar%40utwente.nl%7C9d9e7a09e0af46dcb9e308db25694617%7C723246a1c3f543c5acdc43adb404ac4d%7C0%7C0%7C638144906298360503%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C=jh35omGXX%2FoArpmE234Xr%2BxuHzVDflxKav8EVzWpHXA%3D=0>

FYI, when I test the executable, here is the message.The version seems to be 
qgis 3.10 (and not 3.22). And the status message is 200 and not 400.
[code]root@XX:/usr/lib/cgi-bin# /usr/lib/cgi-bin/qgis_mapserv.fcgi 
--version
Application path not initialized
Application path not initialized
Application path not initialized
QStandardPaths: runtime directory '/run/user/1001' is not owned by UID 0, but a 
directory permissions 0700 owned by UID 1001 GID 1001
Warning 1: Unable to find ECW driver to unload from GDAL_SKIP environment 
variable.
Warning 1: Unable to find ECW driver to unload from GDAL_SKIP environment 
variable.
Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP environment 
variable.
Initializing server modules from "/usr/lib/qgis/server"
"Checking /usr/lib/qgis/server for native services modules"
"Loading native module /usr/lib/qgis/server/libdummy.so"
"Loading native module /usr/lib/qgis/server/libwcs.so"
"Loading native module /usr/lib/qgis/server/libwfs.so"
"Loading native module /usr/lib/qgis/server/libwfs3.so"
"Loading native module /usr/lib/qgis/server/libwms.so"
"Loading native module /usr/lib/qgis/server/libwmts.so"
:1: DeprecationWarning: setapi() is deprecated
Logged warning: Loading a file that was saved with an older version of qgis 
(saved in 0.0.0, loaded in 3.10.14-A Coruña). Problems may occur.
Content Length: 206
Content-Type: text/xml; charset=utf-8
[b]Server: Qgis FCGI server - QGis version 3.10.14-A Coruña
Status: 200
http://www.opengis.net/ogc<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.opengis.net%2Fogc=05%7C01%7Cr.aguilar%40utwente.nl%7C9d9e7a09e0af46dcb9e308db25694617%7C723246a1c3f543c5acdc43adb404ac4d%7C0%7C0%7C638144906298370457%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C=quyHw82PqJGv79OxOfI2MD360x9T0B7%2FP%2Bn2teJ%2FNUk%3D=0>"
 version="1.3.0">
Service unknown or 
unsupported


I installed mod_fcgid successfully.
As I already Apache installed. What should I do ? I would like to be able to 
coexist geoserver, geonetwork and qgis server. I would like to be able to add 
for qgis server a https://SERVEUR_NAME/qgis_server URL.

I created a qgis.demo.conf file under etc/apache2/sites-available. I only 
replaced ServerName with my server's IP. I haven't changed anything else. Given 
my needs and working environment, should I modify the first line of the file? :
[

I created the directories that will store the QGIS server logs and the 
authentication database logs:
[code]mkdir -p /var/log/qgis/
chown www-data:www-data /var/log/qgis
mkdir -p /home/qgis/qgisserverdb
chown www-data:www-data /home/qgis/qgi

Re: [Qgis-user] Qgis server : install on Linux Debian

2023-03-15 Thread Andrea Giudiceandrea via QGIS-User

celati Laurent laurent.celati at gmail.com
Wed Mar 15 08:23:10 PDT 2023



The version seems to
be qgis 3.10 (and not 3.22).


Hi Laurent,
the QGIS version installed depends on your Debian OS version and on the 
package repository used to install QGIS.


What Debian version are you using? What repository? Did you follow the 
installation instruction for you Linux distribution available on the 
QGIS web site as mentioned in the QGIS Server Guide/Manual?


Best regards.

Andrea Giudiceandrea
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Qgis server : install on Linux Debian

2023-03-15 Thread Tomas Pospisek via QGIS-User

On 15.03.23 16:23, celati Laurent via QGIS-User wrote:

Good afternnon,

I want to install Qgis server on my Linux Debian server virtual .For 
now, it's not working.
FYI, I already have a working apache server and used for geoserver and 
geonetwork.


I followed the Qgis server doc/tutorial:
https://docs.qgis.org/3.22/en/docs/training_manual/qgis_server/install.html 

https://docs.qgis.org/3.22/en/docs/server_manual/getting_started.html#installation-on-debian-based-systems
 


FYI, when I test the executable, here is the message.The version seems 
to be qgis 3.10 (and not 3.22). And the status message is 200 and not 400.
/[code]root@XX:/usr/lib/cgi-bin# 
/usr/lib/cgi-bin/qgis_mapserv.fcgi --version

Application path not initialized
Application path not initialized
Application path not initialized
QStandardPaths: runtime directory '/run/user/1001' is not owned by UID 
0, but a directory permissions 0700 owned by UID 1001 GID 1001
Warning 1: Unable to find ECW driver to unload from GDAL_SKIP 
environment variable.
Warning 1: Unable to find ECW driver to unload from GDAL_SKIP 
environment variable.
Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP 
environment variable.

Initializing server modules from "/usr/lib/qgis/server"
"Checking /usr/lib/qgis/server for native services modules"
"Loading native module /usr/lib/qgis/server/libdummy.so"
"Loading native module /usr/lib/qgis/server/libwcs.so"
"Loading native module /usr/lib/qgis/server/libwfs.so"
"Loading native module /usr/lib/qgis/server/libwfs3.so"
"Loading native module /usr/lib/qgis/server/libwms.so"
"Loading native module /usr/lib/qgis/server/libwmts.so"
:1: DeprecationWarning: setapi() is deprecated
Logged warning: Loading a file that was saved with an older version of 
qgis (saved in 0.0.0, loaded in 3.10.14-A Coruña). Problems may occur.

Content Length: 206
Content-Type: text/xml; charset=utf-8
[b]Server: Qgis FCGI server - QGis version 3.10.14-A Coruña
Status: 200
http://www.opengis.net/ogc 
" version="1.3.0">
Service unknown or 
unsupported

/


I guess it's best to solve one problem after the other. So above we see 
that the qgis server is working.


We do not see how you installed the server. I am guessing you did a `apt 
install qgis-server`. If that's the case then you should be able to see 
the version of the installed qgis server like this: `dpkg -s qgis-server`.



I installed mod_fcgid successfully.
As I already Apache installed. What should I do ? I would like to be 
able to coexist geoserver, geonetwork and qgis server. I would like to 
be able to add for qgis server a https://SERVEUR_NAME/qgis_server 
 URL.


I created a qgis.demo.conf file under etc/apache2/sites-available. I 
only replaced ServerName with my server's IP. I haven't changed anything 
else. Given my needs and working environment, should I modify the first 
line of the file? :

[

/I created the directories that will store the QGIS server logs and the 
authentication database logs:

[code]mkdir -p /var/log/qgis/
chown www-data:www-data /var/log/qgis
mkdir -p /home/qgis/qgisserverdb
chown www-data:www-data /home/qgis/qgisserverdb/

I enabled fgcid mode and virtual host. But after restarting apache, I 
got nothing.

/
root@:/etc# curl 
http://XXX.fr/cgi-bin/qgis_mapserv.fcgi 




301 Moved Permanently

Moved Permanently
The document has moved href="https://XXXcgi-bin/qgis_mapserv.fcgi 
">here.


Apache/2.4.54 (Debian) Server at XXX.fr Port 80
[/code]/


You need to configure apache so that when it gets the URL 
http://XXX.fr/cgi-bin/qgis_mapserv.fcgi that the request ends up at 
the qgis server.


Via the browser, when I try 
/X.fr/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS=1.3.0=GetCapabilities/

It says Site Unreachable.

If someone could help me? THANKS.


*t

___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Qgis server : install on Linux Debian

2023-03-15 Thread celati Laurent via QGIS-User
Good afternnon,

I want to install Qgis server on my Linux Debian server virtual .For now,
it's not working.
FYI, I already have a working apache server and used for geoserver and
geonetwork.

I followed the Qgis server doc/tutorial:
https://docs.qgis.org/3.22/en/docs/training_manual/qgis_server/install.html
https://docs.qgis.org/3.22/en/docs/server_manual/getting_started.html#installation-on-debian-based-systems

FYI, when I test the executable, here is the message.The version seems to
be qgis 3.10 (and not 3.22). And the status message is 200 and not 400.
























*[code]root@XX:/usr/lib/cgi-bin# /usr/lib/cgi-bin/qgis_mapserv.fcgi
--versionApplication path not initializedApplication path not
initializedApplication path not initializedQStandardPaths: runtime
directory '/run/user/1001' is not owned by UID 0, but a directory
permissions 0700 owned by UID 1001 GID 1001Warning 1: Unable to find ECW
driver to unload from GDAL_SKIP environment variable.Warning 1: Unable to
find ECW driver to unload from GDAL_SKIP environment variable.Warning 1:
Unable to find driver JP2ECW to unload from GDAL_SKIP environment
variable.Initializing server modules from "/usr/lib/qgis/server""Checking
/usr/lib/qgis/server for native services modules""Loading native module
/usr/lib/qgis/server/libdummy.so""Loading native module
/usr/lib/qgis/server/libwcs.so""Loading native module
/usr/lib/qgis/server/libwfs.so""Loading native module
/usr/lib/qgis/server/libwfs3.so""Loading native module
/usr/lib/qgis/server/libwms.so""Loading native module
/usr/lib/qgis/server/libwmts.so":1: DeprecationWarning: setapi() is
deprecatedLogged warning: Loading a file that was saved with an older
version of qgis (saved in 0.0.0, loaded in 3.10.14-A Coruña). Problems may
occur.Content Length: 206Content-Type: text/xml; charset=utf-8[b]Server:
Qgis FCGI server - QGis version 3.10.14-A CoruñaStatus:
200http://www.opengis.net/ogc
" version="1.3.0">Service unknown or
unsupported*

I installed mod_fcgid successfully.
As I already Apache installed. What should I do ? I would like to be able
to coexist geoserver, geonetwork and qgis server. I would like to be able
to add for qgis server a https://SERVEUR_NAME/qgis_server URL.

I created a qgis.demo.conf file under etc/apache2/sites-available. I only
replaced ServerName with my server's IP. I haven't changed anything else.
Given my needs and working environment, should I modify the first line of
the file? :
[





*I created the directories that will store the QGIS server logs and the
authentication database logs:[code]mkdir -p /var/log/qgis/chown
www-data:www-data /var/log/qgismkdir -p /home/qgis/qgisserverdbchown
www-data:www-data /home/qgis/qgisserverdb*

I enabled fgcid mode and virtual host. But after restarting apache, I got
nothing.










*root@:/etc# curl
http://XXX.fr/cgi-bin/qgis_mapserv.fcgi
301 Moved
PermanentlyMoved PermanentlyThe document
has moved https://XXXcgi-bin/qgis_mapserv.fcgi
">here.Apache/2.4.54
(Debian) Server at XXX.fr Port 80[/code]*

Via the browser, when I try
*X.fr/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS=1.3.0=GetCapabilities*
It says Site Unreachable.

If someone could help me? THANKS.
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user