[QGIS-Developer] reload QGIS Server plugin
michal.wloga at envirosolutions.pl
michal.wloga at envirosolutions.pl
Fri Apr 30 06:31:17 PDT 2021
Neither. Restarting/realoading nginx does not terminate active qgis server processes. At least with my nginx configuration:
upstream qgis-server_backend {
server unix:/var/run/qgis-server-1.sock;
server unix:/var/run/qgis-server-2.sock;
server unix:/var/run/qgis-server-3.sock;
server unix:/var/run/qgis-server-4.sock;
}
Regards,
EnviroSolutions Sp. z o. o.
Michał Włoga
tel: +48 607 059 157
<mailto:coo at envirosolutions.pl> coo at envirosolutions.pl
<http://www.envirosolutions.pl/szkolenia> www.envirosolutions.pl
<https://www.envirosolutions.pl/news/118/129/Wtyczka-QGIS---Pobieracz-Danych-GUGiK.html> Pobieracz Danych GUGiK – laureat nagrody GUGiK na najlepsze wykorzystanie danych i usług GUGiK w 2020 r.
From: Andreas Neumann [mailto:andreas at qgis.org]
Sent: Friday, April 30, 2021 3:11 PM
To: michal.wloga at envirosolutions.pl
Cc: Andreas Neumann <a.neumann at carto.net>; qgis-developer <qgis-developer at lists.osgeo.org>
Subject: Re: [QGIS-Developer] reload QGIS Server plugin
Hi Michał,
Which one does not work? The "reload" or the "restart" command?
The latter should definitely work - otherwise I am really puzzled ...
Greetings,
Andreas
On Fri, 30 Apr 2021 at 14:54, <michal.wloga at envirosolutions.pl <mailto:michal.wloga at envirosolutions.pl> > wrote:
Hi Andreas,
Unfortunately your approach does not work (mine also).
Some threads of QGIS Server have not updated a plugin so that I’m receiving different responses from QGIS Server when using different sockets.
Regards,
EnviroSolutions Sp. z o. o.
Michał Włoga
tel: +48 607 059 157
<mailto:coo at envirosolutions.pl> coo at envirosolutions.pl
<http://www.envirosolutions.pl/szkolenia> www.envirosolutions.pl
<https://www.envirosolutions.pl/news/118/129/Wtyczka-QGIS---Pobieracz-Danych-GUGiK.html> Pobieracz Danych GUGiK – laureat nagrody GUGiK na najlepsze wykorzystanie danych i usług GUGiK w 2020 r.
From: Andreas Neumann [mailto:a.neumann at carto.net <mailto:a.neumann at carto.net> ]
Sent: Wednesday, April 28, 2021 9:11 AM
To: michal.wloga at envirosolutions.pl <mailto:michal.wloga at envirosolutions.pl>
Cc: qgis-developer at lists.osgeo.org <mailto:qgis-developer at lists.osgeo.org>
Subject: Re: [QGIS-Developer] reload QGIS Server plugin
Hi,
No - "systemctl daemon-reload" is only useful and recommended if you change something in your daemon/service configuration, which is not the case when you want to reload a QGIS server plugin.
It should be enough to reload or restart your webserver:
systemctl reload nginx
or
systemctl restart nginx
or whatever the nginx webserver daemon is called on your system.
Greetings,
Andreas
On 2021-04-28 08:43, michal.wloga at envirosolutions.pl <mailto:michal.wloga at envirosolutions.pl> wrote:
Regarding to my question I found an answer:
The following command seems to be sufficient:
systemctl daemon-reload
Regards,
EnviroSolutions Sp. z o. o.
Michał Włoga
tel: +48 607 059 157
coo at envirosolutions.pl <mailto:coo at envirosolutions.pl>
www.envirosolutions.pl <http://www.envirosolutions.pl/szkolenia>
<https://www.envirosolutions.pl/news/118/129/Wtyczka-QGIS---Pobieracz-Danych-GUGiK.html> Pobieracz Danych GUGiK – laureat nagrody GUGiK na najlepsze wykorzystanie danych i usług GUGiK w 2020 r.
From: QGIS-Developer [mailto:qgis-developer-bounces at lists.osgeo.org] On Behalf Of michal.wloga at envirosolutions.pl <mailto:michal.wloga at envirosolutions.pl>
Sent: Wednesday, April 28, 2021 8:12 AM
To: qgis-developer at lists.osgeo.org <mailto:qgis-developer at lists.osgeo.org>
Subject: [QGIS-Developer] reload QGIS Server plugin
Hello,
I have QGIS Server installed on ubuntu 20 with nginx + sockets. Is there a way to reload a server plugin other than restarting the host?
Regards,
EnviroSolutions Sp. z o. o.
Michał Włoga
tel: +48 607 059 157
coo at envirosolutions.pl <mailto:coo at envirosolutions.pl>
www.envirosolutions.pl <http://www.envirosolutions.pl/szkolenia>
<https://www.envirosolutions.pl/news/118/129/Wtyczka-QGIS---Pobieracz-Danych-GUGiK.html> Pobieracz Danych GUGiK – laureat nagrody GUGiK na najlepsze wykorzystanie danych i usług GUGiK w 2020 r.
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer at lists.osgeo.org <mailto:QGIS-Developer at 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 at lists.osgeo.org <mailto:QGIS-Developer at lists.osgeo.org>
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
--
--
Andreas Neumann
QGIS.ORG <http://QGIS.ORG> board member (treasurer)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20210430/8242ce64/attachment-0001.html>
More information about the QGIS-Developer
mailing list