Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QGIS server 3 #1018

Closed
Abelon38 opened this issue Nov 26, 2018 · 12 comments
Closed

QGIS server 3 #1018

Abelon38 opened this issue Nov 26, 2018 · 12 comments

Comments

@Abelon38
Copy link

Hi!

Thanks for a great software! I followed the instructions on installing QGIS server ltr and Lizmap and everything works well. I even tried to install QGIS server 3 using the same documentation and din't work at all. Is there some changes I should consider when installimng QGIS srever version 3 using the documentation from: https://docs.lizmap.com/current/en/install/windows.html ?

Thank you for your time!
BR
Abel

@Abelon38 Abelon38 changed the title QGIS serevr 3 QGIS server 3 Nov 26, 2018
@rldhont rldhont added this to the 3.3.0 milestone Nov 26, 2018
@danzig666
Copy link

Lizmap version 3.2.0 is mostly working on Linux (Ubuntu 18.04 LTS + QGIS server 3.4.1). Printing is not available at all, but everything else seems just fine.

@Abelon38
Copy link
Author

Thanks for answering!
We work with Windows server and it seems like QGIS server 3 needs more polish in order to be installed on Windows environments. We continue with QGIS server 2.18 instead.
Have a great weekend!
Abel

@rldhont rldhont mentioned this issue Feb 18, 2019
31 tasks
@pcav
Copy link
Collaborator

pcav commented Feb 25, 2019

IMHO this should be closed.

@rldhont
Copy link
Collaborator

rldhont commented Feb 26, 2019

@Abelon38 do you test with QGIS Server 3.4.5 ?

@Abelon38
Copy link
Author

Abelon38 commented Feb 27, 2019 via email

@nboisteault
Copy link
Member

@Abelon38 Did you try to install QGIS Server with QGIS doc ? Are you able to request QGIS Server without Lizmap first ?

@Abelon38
Copy link
Author

Abelon38 commented Mar 7, 2019

Hi! I just tried again installing QGIS server 3.1, following the documentation from https://docs.lizmap.com/current/en/install/windows.html ?I have no idea what it may be wrong. and I am getting error:

mod_fcgid: get overlap result error........End of script output before headers: qgis_mapserv.fcgi.exe

Any help is appreciated!

BR/Abel

@nboisteault
Copy link
Member

@Abelon38 QGIS Server 3.1 not 3.4.5 ?

@Abelon38
Copy link
Author

Abelon38 commented Mar 8, 2019

Hi!

Thanks for your time! I have tried with QGIS server 3.6.0 but nothing happend. the problem I have is not related to Lizmap, Apache is working well but I dont get respons from QGIS server when requesting http://localhost/qgis/qgis_mapserv.fcgi.exe. Should I try with QGIS doc instead? I guess it may be something wrong with php file in Apache. Mine looks like this:

FcgidInitialEnv PHPRC "C:\php"

FcgidInitialEnv PATH "E:\QGISserver3\OSGeo4W64\bin;E:\QGISserver3\OSGeo4W64\apps\qgis\bin;E:\QGISserver3\OSGeo4W64\apps\grass\grass-7.6.0\lib;E:\QGISserver3\OSGeo4W64\apps\grass\grass-7.6.0\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\WBem"
FcgidInitialEnv QT_PLUGIN_PATH "E:\QGISserver3\OSGeo4W64\apps\qgis\qtplugins;E:\QGISserver3\OSGeo4W64\apps\Qt4\plugins"
FcgidInitialEnv PYTHONHOME "E:\QGISserver3\OSGeo4W64\apps\Python37"
FcgidInitialEnv PYTHONPATH "E:\QGISserver3\OSGeo4W64\apps\qgis.\python;E:\QGISserver3\OSGeo4W64\apps\qgis.\python\plugins;E:\QGISserver3\OSGeo4W64\apps\Python37\DLLs;E:\QGISserver3\OSGeo4W64\apps\Python37\lib;E:\QGISserver3\OSGeo4W64\bin;E:\QGISserver3\OSGeo4W64\apps\Python37;E:\QGISserver3\OSGeo4W64\apps\Python37\lib\site-packages"

FcgidInitialEnv QGIS_SERVER_LOG_LEVEL 0
FcgidInitialEnv QGIS_SERVER_LOG_FILE "C:\QGISserver\Apache24\logs\qgis_server.log"

FcgidIOTimeout 120
FcgidInitialEnv LC_ALL "en_US.UTF-8"
FcgidInitialEnv PYTHONIOENCODING UTF-8
FcgidInitialEnv LANG "en_US.UTF-8"
FcgidInitialEnv QGIS_DEBUG 1
FcgidInitialEnv QGIS_SERVER_LOG_FILE "E:\QGISserver3\Apache24\logs\qgis_server.log"
FcgidInitialEnv QGIS_SERVER_LOG_LEVEL 0
FcgidInitialEnv QGIS_PLUGINPATH "E:\QGISserver3\OSGeo4W64\apps\qgis\python\plugins"

SetEnvIf Request_URI ^/qgis QGIS_PREFIX_PATH "E:\QGISserver3\OSGeo4W64\apps\qgis"
SetEnvIf Request_URI ^/qgis TEMP "E:\QGISserver3\Temp"

SetEnvIf Request_URI ^/qgis GDAL_DATA "E:\QGISserver3\OSGeo4W64\share\gdal"
SetEnvIf Request_URI ^/qgis GDAL_DRIVER_PATH "E:\QGISserver3\OSGeo4W64\bin"
SetEnvIf Request_URI ^/qgis PDAL_DRIVER_PATH "E:\QGISserver3\OSGeo4W64\bin"
SetEnvIf Request_URI ^/qgis GDAL_SKIP "JP2ECW"
SetEnvIf Request_URI ^/qgis PROJ_LIB "E:\QGISserver3\OSGeo4W64\share\proj"

<FilesMatch .php$>
AddHandler fcgid-script .php
FcgidWrapper "C:/php/php-cgi.exe" .php

@nboisteault
Copy link
Member

@Abelon38 Yes try with QGIS doc.

@Abelon38
Copy link
Author

Hi! I tryed with XAMPP according to the QGIS doc and QGIS server does work! Anyway when it comes to Lizmap I am getting som errors. No layers are been desplayed the Lizmap map and the Lizmap error-Logs is saying:

::1 error error key E:\qgisprojekt\lindingo/lidingo.qgs, use only alphanumeric characters and the character '_' and maximum length 255

and

::1 warning 2019-03-19 14:38:28 [2] strpos(): Empty needle E:\QGISserver3\lizmap32\lizmap\modules\lizmap\classes\lizmapProject.class.php 354

Any Idea?
BR/Abel

@nboisteault
Copy link
Member

I close, please reopen if issue still occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants