Dear All,
I have found a workaround. Killing all working QGIS Server processes works. 
Nginx will recreate new ones with refreshed resources.

>sudo pkill qgis_mapserv

 

Regards,

EnviroSolutions Sp. z o. o.
Michał Włoga
tel: +48 607 059 157
 <mailto:[email protected]> [email protected]
 <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: QGIS-Developer [mailto:[email protected]] On Behalf 
Of [email protected]
Sent: Friday, April 30, 2021 3:31 PM
To: 'Andreas Neumann' <[email protected]>
Cc: 'qgis-developer' <[email protected]>
Subject: Re: [QGIS-Developer] reload QGIS Server plugin

 

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:[email protected]> [email protected]
 <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:[email protected]] 
Sent: Friday, April 30, 2021 3:11 PM
To: [email protected] <mailto:[email protected]> 
Cc: Andreas Neumann <[email protected] <mailto:[email protected]> >; 
qgis-developer <[email protected] 
<mailto:[email protected]> >
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, <[email protected] 
<mailto:[email protected]> > 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:[email protected]> [email protected]
 <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:[email protected] <mailto:[email protected]> 
] 
Sent: Wednesday, April 28, 2021 9:11 AM
To: [email protected] <mailto:[email protected]> 
Cc: [email protected] <mailto:[email protected]> 
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, [email protected] 
<mailto:[email protected]>  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
[email protected] <mailto:[email protected]> 
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:[email protected]] On Behalf 
Of [email protected] <mailto:[email protected]> 
Sent: Wednesday, April 28, 2021 8:12 AM
To: [email protected] <mailto:[email protected]> 
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
[email protected] <mailto:[email protected]> 
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
[email protected] <mailto:[email protected]> 
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

 

_______________________________________________
QGIS-Developer mailing list
[email protected] <mailto:[email protected]> 
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)

_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to