-
Notifications
You must be signed in to change notification settings - Fork 7
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
plugin installation #76
Comments
Did you check the checklst which was provided ? |
I followed the checklist on admin page of web client, however i can't make it works. i start the server by doing: |
This is not needed, because you are setting a single project for QGIS Server.
The checklist is inviting your to check your QGIS Server logs, and maybe increase its log level. |
In every software, when you have a 500 error, you must check your logs on the server. There is something logged somewhere about the error. |
hi. nginx error log is empty. (there are some other log for qgis-server?). |
This is correct, there must be a JSON if the plugin is correctly loaded.
Of course, you must be able to read logs from QGIS server. (even later for debugging slow requests etc)
So it seems user and rights according to user running your QGIS Server process. That's why there is a column user/rights in QGIS Plugin manager and you have this tip when installing a plugin with QGIS-Plugin-Manager about current user. I'm closing, because there isn't any bug. Feel free to continue
|
I think i solved, somehow. the qgis-server docs says: i'd to create a service: [Service] ExecStart=spawn-fcgi -s /var/run/qgisserver.socket -U www-data -G www-data -n /usr/lib/cgi-bin/qgis_mapserv.fcgi [Install] Hoewever, now if i try to load a map (i'v downloaded the example of Montpellier) i get an error page: An error occurred while loading the map. Some resources may be temporarily unavailable. Try later. |
ok...found the error: without QGIS_PROJECT_FILE it works. Thank you! |
That's again about logs. You must have some logs about this error on QGIS server side. And indeed, |
as you can see, i figured out the problem :-) Thank you again for your support. Sorry for the trouble |
Yes I saw, but as written in the documentation checking QGIS server logs is a requirements. Having a Lizmap instance requires some admin sys skills. The "Lizmap server" plugin is writing logs about loading, incoming requests etc. It helps to debug such requests. |
You are right. However the qgis docs says to add the plugin path to apache
(i use nginx) but i doesnt work.
It says to export path before spawn-fcgid from shell, and it doesn't work.
There are a section to deploy qgis server with systemd units ...and not
works right.
Nginx error logs are empty, but log level is set to 0.
Seems server ignores env var settings when using spawn-fcgid.
I dont know if its my virtualbox issues, but its a bit hard to figured out
what happening in this case.
So...im lacking some admin skill since im a dev, but the docs also lacks
some troubleshouting section :-)
Il Lun 13 Mag 2024, 11:41 Étienne Trimaille ***@***.***> ha
scritto:
… as you can see, i figured out the problem :-)
Yes I saw, but as written in the documentation
https://docs.lizmap.com/current/en/install/pre_requirements.html#server-administration-knowledge
checking QGIS server logs is a requirements. Having a Lizmap instance
requires some admin sys skills.
The "Lizmap server" plugin is writing logs about loading, incoming
requests etc. It helps to debug such requests.
—
Reply to this email directly, view it on GitHub
<#76 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQIQRUZ2VOTKODJTYWSYJZTZCCDEZAVCNFSM6AAAAABHQTGZHOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBXGEYTGMJZGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
When QGIS Server is starting, it is writing all parameters and from where the config come from (default value, conf file etc)
You should report and/or add precisions in docs. https://github.com/qgis/QGIS-Documentation https://github.com/3liz/lizmap-documentation There are dozens of ways to install/manage QGIS Server : spawn-fcgi, fcgiwrap, apache, nginx, docker, systemd... |
Hi, I'm having problems installing the plugin on debian 12.5.
I installed qgis-server and nginx following the official guide. It seems to work as it shows the world map as the example.
I installed the lizmap server plugin via the manager, the I added:
fastcgi_param QGIS_SERVER_LIZMAP_REVEAL_SETTINGS True;
to nginx configuration for qgis-server (/ect/nginx/sites-avaiable/qgis.conf) and restarted nginx.
Unfortunately lizmap web client says : QGIS Server returns HTTP error for Lizmap plugin: 500.
the guide talks about the api: http://your.qgis.server.url/lizmap/server.json
But my qgis server returns a serverException, for that url:Project file error. For OWS services: please provide a SERVICE and a MAP parameter pointing to a valid QGIS project file
Is there any way to tell if the plugin is loaded correctly.
Thank you
Some info:
OS: Debian 12.5
QGIS-SERVER version: 3.36.2
Lizmap server plugin version: 2.9.0
Lizmap Web Client: 3.6.12
The text was updated successfully, but these errors were encountered: