Re: [Koha] Plugin Error
Hi, With Lubuntu 16.04 LTS + Koha 18.11.05 + MySQL + Installation by Package Method Still I am not able to upload plugins to Koha Throws the same error: *--* *Cannot unpack file to the plugins directory.Please verify that the Apache user can write to the plugins directory.* -- I tried permission with all possible names suggested in the reply ( like, www-data, koha-instance, root) , but no success. Can you please help me get this fixed? With thanks. Satish MV Librarian Govt. Engineering College, Hassan Karnataka
Have you checked if you have SELinux enabled? That sometimes causes issues with being able to write to temporary directories from Apache derived processes, write to network sockets from CGI scripts, etc. ________________________________________ From: Koha <koha-bounces@lists.katipo.co.nz> on behalf of SATISH <lis4satish@gmail.com> Sent: 21 May 2019 08:29:27 To: Koha Subject: Re: [Koha] Plugin Error Hi, With Lubuntu 16.04 LTS + Koha 18.11.05 + MySQL + Installation by Package Method Still I am not able to upload plugins to Koha Throws the same error: *--* *Cannot unpack file to the plugins directory.Please verify that the Apache user can write to the plugins directory.* -- I tried permission with all possible names suggested in the reply ( like, www-data, koha-instance, root) , but no success. Can you please help me get this fixed? With thanks. Satish MV Librarian Govt. Engineering College, Hassan Karnataka _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
On 2019-05-22 7:54 a.m., Jon Knight wrote:
Have you checked if you have SELinux enabled? That sometimes causes issues with being able to write to temporary directories from Apache derived processes, write to network sockets from CGI scripts, etc.
A little off topic, but Satish mentions an Ubuntu variant. Please note that SELinux is not necessarily recommended in Ubuntu (apparmor is the default security, which should be removed and purged before installing SELinux as they conflict.) SELinux was developed for Centos and RHEL, and while it is more "fine-grained" that makes it more challenging to configure (we played with it on a dev 18.04 server a little while ago.) If you have apparmor installed try: sudo aa-status which will show in broad-brush terms what is being enforced (if it is running, which it should be.) Paul> ________________________________________
From: Koha <koha-bounces@lists.katipo.co.nz> on behalf of SATISH <lis4satish@gmail.com> Sent: 21 May 2019 08:29:27 To: Koha Subject: Re: [Koha] Plugin Error
Hi,
With Lubuntu 16.04 LTS + Koha 18.11.05 + MySQL + Installation by Package Method
Still I am not able to upload plugins to Koha
Throws the same error: *--*
*Cannot unpack file to the plugins directory.Please verify that the Apache user can write to the plugins directory.* -- I tried permission with all possible names suggested in the reply ( like, www-data, koha-instance, root) , but no success.
Can you please help me get this fixed?
With thanks. Satish MV Librarian Govt. Engineering College, Hassan Karnataka _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
Hello Paul, I am trying again for Koha Plugins now, unfortunately not successful with Koha 18.11 on Debian 9.11 (Stretch), # chown gechlibrary-koha.gechlibrary-koha /var/lib/koha/gechlibrary/plugins/ I tried chown with 3 users # ps -ef | grep apache 1) gechlibrary-koha 2) www-data 3) root I am getting the error. i,e., *Cannot unpack file to the plugins directory. **Please verify that the Apache user can write to the plugins directory* Not sure, how to make Plugins working. Kindly suggest any other alternative ways. With Thanks Satish MV
hi Satish, the command you want is... $ sudo chown -R gechlibrary-koha:gechlibrary-koha /var/lib/koha/gechlibrary/plugins/ On 25/09/19 9:55 PM, SATISH wrote:
Hello Paul,
I am trying again for Koha Plugins now, unfortunately not successful with Koha 18.11 on Debian 9.11 (Stretch),
# chown gechlibrary-koha.gechlibrary-koha /var/lib/koha/gechlibrary/plugins/
I tried chown with 3 users # ps -ef | grep apache
1) gechlibrary-koha 2) www-data 3) root
I am getting the error. i,e., *Cannot unpack file to the plugins directory. **Please verify that the Apache user can write to the plugins directory*
Not sure, how to make Plugins working. Kindly suggest any other alternative ways.
With Thanks Satish MV _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
Hi Mason, Thank you, I did the same way, but I am unable to upload plugins, getting same error. I am also having root access. Satish
What does your koha-conf.xml file say about pluginsdir? El jue., 26 de septiembre de 2019 03:03, SATISH <lis4satish@gmail.com> escribió:
Hi Mason, Thank you, I did the same way, but I am unable to upload plugins, getting same error. I am also having root access.
Satish _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
Hi Satish. I hope you were able to get the plugins working from the responses so far. In case you weren't, the steps to take are:* 1. Enable plugins in your Koha instance configuration file (/etc/koha/sites/gechlibrary/koha-conf.xml), look for: Change the line <enable_plugins>0</enable_plugins> to <enable_plugins>1</enable_plugins> (1 = enabled, 0 = not enabled) There should also be a line above this with the path to the plugins directory: <pluginsdir>/var/lib/koha/gechlibrary/plugins</pluginsdir> 2. Make sure the plugin directory has the right ownership and permissions (if you used a packaged install and the koha-create command to create your library instance, then this should have been done for you): sudo chown -R gechlibrary-koha:gechlibrary-koha /var/lib/koha/gechlibrary/plugins/ sudo chmod -R 755 /var/lib/koha/gechlibrary/plugins/ 3. Enable plugins in the staff client (More > Administration > search the global system preferences for the UseKohaPlugins system preference, set this to Enable). 4. Restart the Apache and memcached services. On Debian the commands are: sudo service memcached restart sudo service apache2 restart 5. Upload the plugin from More > Tools > Additional tools> Tool plugins. Click on the Upload plugins button. * Assumptions made are that you are using a standard package install and your Koha instance name is gechlibrary David Nind | david.nind@gmail.com PO Box 12367, Thorndon, Wellington, New Zealand 6144 m. +64 21 0537 847 On Wed, 25 Sep 2019 at 21:54, SATISH <lis4satish@gmail.com> wrote:
Hello Paul,
I am trying again for Koha Plugins now, unfortunately not successful with Koha 18.11 on Debian 9.11 (Stretch),
# chown gechlibrary-koha.gechlibrary-koha /var/lib/koha/gechlibrary/plugins/
I tried chown with 3 users # ps -ef | grep apache
1) gechlibrary-koha 2) www-data 3) root
I am getting the error. i,e., *Cannot unpack file to the plugins directory. **Please verify that the Apache user can write to the plugins directory*
Not sure, how to make Plugins working. Kindly suggest any other alternative ways.
With Thanks Satish MV _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
Hi David , Thank you for your email. I repeatedly followed steps , and I am successful this time. I also thank Doug, Mason, Chris, Liz, Jon, Paul, Tomas, for your explanations on Plugins Settings. Satish MV
Hello I have just the same problem as Satish, it keeps throwing same error. Koha version: 3.20.07.000 Linux koharm02 3.16.0-4-amd64 #1 SMP Debian 3.16.51-2 (2017-12-03) x86_64 GNU/Linux Versione Perl: 5.020002 Server version: Apache/2.4.10 (Debian) Claudio K. Il 22/05/2019 13:54, Jon Knight ha scritto:
Have you checked if you have SELinux enabled? That sometimes causes issues with being able to write to temporary directories from Apache derived processes, write to network sockets from CGI scripts, etc.
________________________________________ From: Koha <koha-bounces@lists.katipo.co.nz> on behalf of SATISH <lis4satish@gmail.com> Sent: 21 May 2019 08:29:27 To: Koha Subject: Re: [Koha] Plugin Error
Hi,
With Lubuntu 16.04 LTS + Koha 18.11.05 + MySQL + Installation by Package Method
Still I am not able to upload plugins to Koha
Throws the same error: *--*
*Cannot unpack file to the plugins directory.Please verify that the Apache user can write to the plugins directory.* -- I tried permission with all possible names suggested in the reply ( like, www-data, koha-instance, root) , but no success.
Can you please help me get this fixed?
With thanks. Satish MV Librarian Govt. Engineering College, Hassan Karnataka _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
-- Ing. Claudio Kutufà NEXUS IT S.r.l. Via Valerio Santelli, 39 50134 FIRENZE Tel. +39 055 221705 Fax +39 055 2276048 Cell. : 3355859567 claudiok@nexusfi.it Ai sensi dell'articolo 13 del Codice in materia di dati personali si informa che il trattamento dei Suoi dati personali,compreso l’indirizzo di posta elettronica, già da Lei forniti in sede di attivazione della nostra relazione commerciale e di lavoro, finalizzato unicamente alla gestione commerciale ed amministrativa, avverrà presso la Nexus IT S.r.l., con l'utilizzo di procedure anche informatizzate, nei modi e nei limiti necessari per perseguire le predette finalità. I dati potranno essere comunicati alle altre aziende partner della Nexus IT S.r.l.; dei dati potranno venire a conoscenza quindi i responsabili o incaricati del trattamento delle suddette aziende partner. Il conferimento dei dati è obbligatorio e la loro mancata indicazione comporta impedimento al proseguimento degli adempimenti relativi ai contratti ed ordini commerciali. Agli interessati sono riconosciuti i diritti di cui all'articolo 7 del citato Codice e in particolare il diritto di accedere ai propri dati personali, di chiederne la rettifica, l'aggiornamento e la cancellazione, se incompleti, erronei o raccolti in violazione della legge, nonché di opporsi al loro trattamento per motivi legittimi, rivolgendo le richieste inviando un messaggio al seguente indirizzo e-mail info@nexusit.it indirizzato al Titolare del trattamento, la Nexus IT S.r.l.. L'elenco aggiornato dei responsabili ed incaricati del trattamento può essere richiesto indirizzando la richiesta via e-mail o via fax.
Hello I have just the same problem as Satish, it keeps throwing same error. Koha version: 3.20.07.000 Linux koharm02 3.16.0-4-amd64 #1 SMP Debian 3.16.51-2 (2017-12-03) x86_64 GNU/Linux Versione Perl: 5.020002 Server version: Apache/2.4.10 (Debian) Claudio K. Il 22/05/2019 13:54, Jon Knight ha scritto:
Have you checked if you have SELinux enabled? That sometimes causes issues with being able to write to temporary directories from Apache derived processes, write to network sockets from CGI scripts, etc.
________________________________________ From: Koha <koha-bounces@lists.katipo.co.nz> on behalf of SATISH <lis4satish@gmail.com> Sent: 21 May 2019 08:29:27 To: Koha Subject: Re: [Koha] Plugin Error
Hi,
With Lubuntu 16.04 LTS + Koha 18.11.05 + MySQL + Installation by Package Method
Still I am not able to upload plugins to Koha
Throws the same error: *--*
*Cannot unpack file to the plugins directory.Please verify that the Apache user can write to the plugins directory.* -- I tried permission with all possible names suggested in the reply ( like, www-data, koha-instance, root) , but no success.
Can you please help me get this fixed?
With thanks. Satish MV Librarian Govt. Engineering College, Hassan Karnataka _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
--
Ing. Claudio Kutufà NEXUS IT S.r.l. Via Valerio Santelli, 39 50134 FIRENZE Tel. +39 055 221705 Fax +39 055 2276048 Cell. : 3355859567 claudiok@nexusfi.it Ai sensi dell'articolo 13 del Codice in materia di dati personali si informa che il trattamento dei Suoi dati personali,compreso l’indirizzo di posta elettronica, già da Lei forniti in sede di attivazione della nostra relazione commerciale e di lavoro, finalizzato unicamente alla gestione commerciale ed amministrativa, avverrà presso la Nexus IT S.r.l., con l'utilizzo di procedure anche informatizzate, nei modi e nei limiti necessari per perseguire le predette finalità. I dati potranno essere comunicati alle altre aziende partner della Nexus IT S.r.l.; dei dati potranno venire a conoscenza quindi i responsabili o incaricati del trattamento delle suddette aziende partner. Il conferimento dei dati è obbligatorio e la loro mancata indicazione comporta impedimento al proseguimento degli adempimenti relativi ai contratti ed ordini commerciali. Agli interessati sono riconosciuti i diritti di cui all'articolo 7 del citato Codice e in particolare il diritto di accedere ai propri dati personali, di chiederne la rettifica, l'aggiornamento e la cancellazione, se incompleti, erronei o raccolti in violazione della legge, nonché di opporsi al loro trattamento per motivi legittimi, rivolgendo le richieste inviando un messaggio al seguente indirizzo e-mail info@nexusit.it indirizzato al Titolare del trattamento, la Nexus IT S.r.l.. L'elenco aggiornato dei responsabili ed incaricati del trattamento può essere richiesto indirizzando la richiesta via e-mail o via fax.
participants (7)
-
Claudio kutufà -
David Nind -
Jon Knight -
Mason James -
Paul A -
SATISH -
Tomas Cohen Arazi