Hi I´m installing a new 24.05 Koha version onto Ubuntu 24.4 and have uploaded a db from my old Koha 19.11 When going to the plugin page, I got a table with errors saying plugin unavailable. This is correct since plugins were not installed on the new 24.05. There are no buttons for uploading the plugins, only the one for filtering by class. I´ve deleted content of tables plugin_data and plugin_methods and now I have a message that no plugin is installed but still there is no button to upload plugins. Also I can´t find the plugin preference in 24.05. Has it been removed? Any idea of what could be wrong? Regards, Alvaro |----------------------------------------------------------------------------------------| Stay safe / Cuídate/ Reste sécurisé 7 Switch off as you go / Apaga lo que no usas / Débranchez au fur et à mesure. q Recycle always / Recicla siempre / Recyclez toujours P Print only if absolutely necessary / Imprime solo si es necesario / Imprimez seulement si nécessaire
Hi Alvaro. There is a setting in your instance's koha-conf.xml where you need to enable plugins (/etc/koha/sites/<yourinstancename>/koha-conf.xml): <enable_plugins>1</enable_plugins> 1 = enabled, 0 = not enabled Any change to this setting requires restarting all the services. I don't think you should have deleted the tables, so you may need to either recreate them or redo the setup of the instance. Otherwise, you will have problems once allowing plugins is enabled (and you have no tables). Koha is specifically set up this way from a security perspective, as plugins can come from anywhere and could do damage to your system - enabling the upload and installing of plugins needs to be specifically allowed. David Nind New Zealand On Sat, 14 Sept 2024 at 09:40, Alvaro Cornejo <cornejo.alvaro@gmail.com> wrote:
Hi
I´m installing a new 24.05 Koha version onto Ubuntu 24.4 and have uploaded a db from my old Koha 19.11
When going to the plugin page, I got a table with errors saying plugin unavailable. This is correct since plugins were not installed on the new 24.05. There are no buttons for uploading the plugins, only the one for filtering by class.
I´ve deleted content of tables plugin_data and plugin_methods and now I have a message that no plugin is installed but still there is no button to upload plugins.
Also I can´t find the plugin preference in 24.05. Has it been removed?
Any idea of what could be wrong?
Regards,
Alvaro
|----------------------------------------------------------------------------------------| Stay safe / Cuídate/ Reste sécurisé 7 Switch off as you go / Apaga lo que no usas / Débranchez au fur et à mesure. q Recycle always / Recicla siempre / Recyclez toujours P Print only if absolutely necessary / Imprime solo si es necesario / Imprimez seulement si nécessaire _______________________________________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
Hi David, Thanks for your quick response. Yes, I had enabled plugins in koha-conf.xml. Set it to 1. plugin tables are there. I only delete its content. I've rebooted the machine after mods but still no plugin install button. Regards Alvaro |----------------------------------------------------------------------------------------| Stay safe / Cuídate/ Reste sécurisé *7* Switch off as you go / Apaga lo que no usas / Débranchez au fur et à mesure. *q *Recycle always / Recicla siempre / Recyclez toujours P Print only if absolutely necessary / Imprime solo si es necesario / Imprimez seulement si nécessaire Le ven. 13 sept. 2024 à 16:54, David Nind <david@davidnind.com> a écrit :
Hi Alvaro.
There is a setting in your instance's koha-conf.xml where you need to enable plugins (/etc/koha/sites/<yourinstancename>/koha-conf.xml):
<enable_plugins>1</enable_plugins>
1 = enabled, 0 = not enabled
Any change to this setting requires restarting all the services.
I don't think you should have deleted the tables, so you may need to either recreate them or redo the setup of the instance. Otherwise, you will have problems once allowing plugins is enabled (and you have no tables).
Koha is specifically set up this way from a security perspective, as plugins can come from anywhere and could do damage to your system - enabling the upload and installing of plugins needs to be specifically allowed.
David Nind New Zealand
On Sat, 14 Sept 2024 at 09:40, Alvaro Cornejo <cornejo.alvaro@gmail.com> wrote:
Hi
I´m installing a new 24.05 Koha version onto Ubuntu 24.4 and have uploaded a db from my old Koha 19.11
When going to the plugin page, I got a table with errors saying plugin unavailable. This is correct since plugins were not installed on the new 24.05. There are no buttons for uploading the plugins, only the one for filtering by class.
I´ve deleted content of tables plugin_data and plugin_methods and now I have a message that no plugin is installed but still there is no button to upload plugins.
Also I can´t find the plugin preference in 24.05. Has it been removed?
Any idea of what could be wrong?
Regards,
Alvaro
|----------------------------------------------------------------------------------------| Stay safe / Cuídate/ Reste sécurisé 7 Switch off as you go / Apaga lo que no usas / Débranchez au fur et à mesure. q Recycle always / Recicla siempre / Recyclez toujours P Print only if absolutely necessary / Imprime solo si es necesario / Imprimez seulement si nécessaire _______________________________________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
The only other things I can think of: 1. Check the permissions and ownership for the directory where the plugins are uploaded (location set in koha-conf.xml - <pluginsdir>). 2. Check permissions for patron you are using (Koha plugins (plugins); if the patron you are using is a superlibrarian it should be fine). Plugins are still a thing, and are working OK for me on main. Otherwise, I don't have any other suggestions - hopefully others will. David On Sat, 14 Sept 2024 at 10:07, Alvaro Cornejo <cornejo.alvaro@gmail.com> wrote:
Hi David,
Thanks for your quick response.
Yes, I had enabled plugins in koha-conf.xml. Set it to 1.
plugin tables are there. I only delete its content.
I've rebooted the machine after mods but still no plugin install button.
Regards
Alvaro
|----------------------------------------------------------------------------------------| Stay safe / Cuídate/ Reste sécurisé *7* Switch off as you go / Apaga lo que no usas / Débranchez au fur et à mesure. *q *Recycle always / Recicla siempre / Recyclez toujours P Print only if absolutely necessary / Imprime solo si es necesario / Imprimez seulement si nécessaire
Le ven. 13 sept. 2024 à 16:54, David Nind <david@davidnind.com> a écrit :
Hi Alvaro.
There is a setting in your instance's koha-conf.xml where you need to enable plugins (/etc/koha/sites/<yourinstancename>/koha-conf.xml):
<enable_plugins>1</enable_plugins>
1 = enabled, 0 = not enabled
Any change to this setting requires restarting all the services.
I don't think you should have deleted the tables, so you may need to either recreate them or redo the setup of the instance. Otherwise, you will have problems once allowing plugins is enabled (and you have no tables).
Koha is specifically set up this way from a security perspective, as plugins can come from anywhere and could do damage to your system - enabling the upload and installing of plugins needs to be specifically allowed.
David Nind New Zealand
On Sat, 14 Sept 2024 at 09:40, Alvaro Cornejo <cornejo.alvaro@gmail.com> wrote:
Hi
I´m installing a new 24.05 Koha version onto Ubuntu 24.4 and have uploaded a db from my old Koha 19.11
When going to the plugin page, I got a table with errors saying plugin unavailable. This is correct since plugins were not installed on the new 24.05. There are no buttons for uploading the plugins, only the one for filtering by class.
I´ve deleted content of tables plugin_data and plugin_methods and now I have a message that no plugin is installed but still there is no button to upload plugins.
Also I can´t find the plugin preference in 24.05. Has it been removed?
Any idea of what could be wrong?
Regards,
Alvaro
|----------------------------------------------------------------------------------------| Stay safe / Cuídate/ Reste sécurisé 7 Switch off as you go / Apaga lo que no usas / Débranchez au fur et à mesure. q Recycle always / Recicla siempre / Recyclez toujours P Print only if absolutely necessary / Imprime solo si es necesario / Imprimez seulement si nécessaire _______________________________________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
Hi David the koha-conf.xml has a "new" entry to restrict plugins: <plugins_restricted>0</plugins_restricted> I changed the original 1 for a 0 and it works now. Thanks for your time and help. Regards, Alvaro |----------------------------------------------------------------------------------------| Stay safe / Cuídate/ Reste sécurisé *7* Switch off as you go / Apaga lo que no usas / Débranchez au fur et à mesure. *q *Recycle always / Recicla siempre / Recyclez toujours P Print only if absolutely necessary / Imprime solo si es necesario / Imprimez seulement si nécessaire Le ven. 13 sept. 2024 à 17:22, David Nind <david@davidnind.com> a écrit :
The only other things I can think of: 1. Check the permissions and ownership for the directory where the plugins are uploaded (location set in koha-conf.xml - <pluginsdir>). 2. Check permissions for patron you are using (Koha plugins (plugins); if the patron you are using is a superlibrarian it should be fine).
Plugins are still a thing, and are working OK for me on main.
Otherwise, I don't have any other suggestions - hopefully others will.
David
On Sat, 14 Sept 2024 at 10:07, Alvaro Cornejo <cornejo.alvaro@gmail.com> wrote:
Hi David,
Thanks for your quick response.
Yes, I had enabled plugins in koha-conf.xml. Set it to 1.
plugin tables are there. I only delete its content.
I've rebooted the machine after mods but still no plugin install button.
Regards
Alvaro
|----------------------------------------------------------------------------------------| Stay safe / Cuídate/ Reste sécurisé *7* Switch off as you go / Apaga lo que no usas / Débranchez au fur et à mesure. *q *Recycle always / Recicla siempre / Recyclez toujours P Print only if absolutely necessary / Imprime solo si es necesario / Imprimez seulement si nécessaire
Le ven. 13 sept. 2024 à 16:54, David Nind <david@davidnind.com> a écrit :
Hi Alvaro.
There is a setting in your instance's koha-conf.xml where you need to enable plugins (/etc/koha/sites/<yourinstancename>/koha-conf.xml):
<enable_plugins>1</enable_plugins>
1 = enabled, 0 = not enabled
Any change to this setting requires restarting all the services.
I don't think you should have deleted the tables, so you may need to either recreate them or redo the setup of the instance. Otherwise, you will have problems once allowing plugins is enabled (and you have no tables).
Koha is specifically set up this way from a security perspective, as plugins can come from anywhere and could do damage to your system - enabling the upload and installing of plugins needs to be specifically allowed.
David Nind New Zealand
On Sat, 14 Sept 2024 at 09:40, Alvaro Cornejo <cornejo.alvaro@gmail.com> wrote:
Hi
I´m installing a new 24.05 Koha version onto Ubuntu 24.4 and have uploaded a db from my old Koha 19.11
When going to the plugin page, I got a table with errors saying plugin unavailable. This is correct since plugins were not installed on the new 24.05. There are no buttons for uploading the plugins, only the one for filtering by class.
I´ve deleted content of tables plugin_data and plugin_methods and now I have a message that no plugin is installed but still there is no button to upload plugins.
Also I can´t find the plugin preference in 24.05. Has it been removed?
Any idea of what could be wrong?
Regards,
Alvaro
|----------------------------------------------------------------------------------------| Stay safe / Cuídate/ Reste sécurisé 7 Switch off as you go / Apaga lo que no usas / Débranchez au fur et à mesure. q Recycle always / Recicla siempre / Recyclez toujours P Print only if absolutely necessary / Imprime solo si es necesario / Imprimez seulement si nécessaire _______________________________________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
participants (2)
-
Alvaro Cornejo -
David Nind