plugin won't enabled in 20.11.x and no error in logs
Hi all, I'm facing an installation problem on a plugin we developed to manage requests for documents from stacks (which is inspired by the article request module). https://github.com/DSI-Universite-Rennes2/koha-plugin-warehouse-request <https://github.com/DSI-Universite-Rennes2/koha-plugin-warehouse-request> Until now it worked fine, but after a koha upgrade in 20.11.x, it is stuck with the status disabled and it won't activate. The plugin seems to compile well and I get no errors in the logs which is a bit tricky for debugging :-( In the database it is considered as enabled and installed which is odd... Only the plugin_methods is not supplied. The « tool » and « configure » parts seems to work but not the contrib API routes… I must be missing something but I can't see what… Thanks for the help Best, Julien Sicot Systems Librarian Université Rennes 2
Until now it worked fine, but after a koha upgrade in 20.11.x, it is stuck with the status disabled and it won't activate.
Just a guess: is the is_enable code correct? https://github.com/DSI-Universite-Rennes2/koha-plugin-warehouse-request/blob... Le ven. 18 juin 2021 à 12:22, Julien Sicot <julien.sicot@univ-rennes2.fr> a écrit :
Hi all,
I'm facing an installation problem on a plugin we developed to manage requests for documents from stacks (which is inspired by the article request module). https://github.com/DSI-Universite-Rennes2/koha-plugin-warehouse-request
Until now it worked fine, but after a koha upgrade in 20.11.x, it is stuck with the status disabled and it won't activate. The plugin seems to compile well and I get no errors in the logs which is a bit tricky for debugging :-( In the database it is considered as enabled and installed which is odd... Only the plugin_methods is not supplied. The « tool » and « configure » parts seems to work but not the contrib API routes…
I must be missing something but I can't see what…
Thanks for the help Best,
Julien Sicot Systems Librarian Université Rennes 2 _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : https://www.koha-community.org/ git : https://git.koha-community.org/ bugs : https://bugs.koha-community.org/
Le ven. 18 juin 2021 à 12:50, Jonathan Druart < jonathan.druart@bugs.koha-community.org> a écrit :
Until now it worked fine, but after a koha upgrade in 20.11.x, it is stuck with the status disabled and it won't activate.
Just a guess: is the is_enable code correct?
https://github.com/DSI-Universite-Rennes2/koha-plugin-warehouse-request/blob...
Julien, we got this one on, though we don't use it right now. This could explain it's working with our 20.11 ?
On Fri, Jun 18, 2021 at 1:49 PM Nicolas Legrand <nicolas.legrand@bulac.fr> wrote:
Le ven. 18 juin 2021 à 12:50, Jonathan Druart < jonathan.druart@bugs.koha-community.org> a écrit :
Until now it worked fine, but after a koha upgrade in 20.11.x, it is stuck with the status disabled and it won't activate.
Just a guess: is the is_enable code correct?
https://github.com/DSI-Universite-Rennes2/koha-plugin-warehouse-request/blob...
Julien, we got this one on, though we don't use it right now. This could explain it's working with our 20.11 ?
Jonathan, I don't know how to thank you! How did I not see this ^^, I thought I would lose my mind... I had introduced this feature before the community enable/disable system, I didn't think about it anymore... a big thank you also to Nicolas and Thomas I was already checked the logs and used the script install_plugins.pl without success Best, Julien -- <http://scd-portail.uhb.fr> *Julien Sicot* Responsable Système d'Information Documentaire SCD/DSI Université Rennes 2 02 99 14 12 64
Problem solved! That's great for a Friday! Cheers! El vie., 18 jun. 2021 12:39, Julien Sicot <julien.sicot@univ-rennes2.fr> escribió:
On Fri, Jun 18, 2021 at 1:49 PM Nicolas Legrand <nicolas.legrand@bulac.fr> wrote:
Le ven. 18 juin 2021 à 12:50, Jonathan Druart < jonathan.druart@bugs.koha-community.org> a écrit :
Until now it worked fine, but after a koha upgrade in 20.11.x, it is stuck with the status disabled and it won't activate.
Just a guess: is the is_enable code correct?
https://github.com/DSI-Universite-Rennes2/koha-plugin-warehouse-request/blob...
Julien, we got this one on, though we don't use it right now. This could explain it's working with our 20.11 ?
Jonathan, I don't know how to thank you! How did I not see this ^^, I thought I would lose my mind... I had introduced this feature before the community enable/disable system, I didn't think about it anymore...
a big thank you also to Nicolas and Thomas
I was already checked the logs and used the script install_plugins.pl without success
Best, Julien
-- <http://scd-portail.uhb.fr>
*Julien Sicot* Responsable Système d'Information Documentaire SCD/DSI Université Rennes 2 02 99 14 12 64
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : https://www.koha-community.org/ git : https://git.koha-community.org/ bugs : https://bugs.koha-community.org/
Make sure you run the install_plugins.pl script if this was an upgrade. I'm not sure what version you come from, but you need to see the API related methods listed in plugin_methods. Also, check the logs, because there might be problems with the API spec that make Koha skip the routes. Also restart all the things just in case he. El vie., 18 jun. 2021 7:23, Julien Sicot <julien.sicot@univ-rennes2.fr> escribió:
Hi all,
I'm facing an installation problem on a plugin we developed to manage requests for documents from stacks (which is inspired by the article request module). https://github.com/DSI-Universite-Rennes2/koha-plugin-warehouse-request
Until now it worked fine, but after a koha upgrade in 20.11.x, it is stuck with the status disabled and it won't activate. The plugin seems to compile well and I get no errors in the logs which is a bit tricky for debugging :-( In the database it is considered as enabled and installed which is odd... Only the plugin_methods is not supplied. The « tool » and « configure » parts seems to work but not the contrib API routes…
I must be missing something but I can't see what…
Thanks for the help Best,
Julien Sicot Systems Librarian Université Rennes 2 _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : https://www.koha-community.org/ git : https://git.koha-community.org/ bugs : https://bugs.koha-community.org/
participants (4)
-
Jonathan Druart -
Julien Sicot -
Nicolas Legrand -
Tomas Cohen Arazi