[Bug 42228] New: Add config files for Hypnotoad
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42228 Bug ID: 42228 Summary: Add config files for Hypnotoad Initiative type: --- Sponsorship --- status: Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: koha-bugs@lists.koha-community.org Reporter: jake.deery@openfifth.co.uk QA Contact: testopia@bugs.koha-community.org We would like to add config files for Hypnotoad, the modern way. Bug 14448 added some back along for use with the REST API, but these configs should be more suited for package installs and modern Koha practices. These config files should come without a SysV or SystemD unit, for now. But they should be usable for anyone who would like to test running Koha as a Mojo app. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42228 Jake Deery <jake.deery@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42228 Jake Deery <jake.deery@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |Main -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42228 Jake Deery <jake.deery@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |jake.deery@openfifth.co.uk |ity.org | -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42228 --- Comment #1 from Jake Deery <jake.deery@openfifth.co.uk> --- Created attachment 196612 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196612&action=edit Bug 42228: Add Hypnotoad configs to Koha This patch adds Hypnotoad config files to Koha, which set the stage for future adoption of Hypnotoad as a supplicant or replacement for Starman. At this stage, no Hypnotoad unit is provided, however, it would be trivial for someone to create a unit, and such trials are planned in k.t.d prior to wider availability. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42228 Jake Deery <jake.deery@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|testopia@bugs.koha-communit |nick@bywatersolutions.com |y.org | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42228 Jake Deery <jake.deery@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |42175 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42175 [Bug 42175] Running under Mojo is broken in k.t.d -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42228 Jake Deery <jake.deery@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff --- Comment #2 from Jake Deery <jake.deery@openfifth.co.uk> --- If anyone wanted to test this out on k.t.d, I've written a unit file that I'm porting in via a misc4dev branch here: https://gitlab.com/PerplexedTheta/koha-misc4dev/-/tree/setup_mojo == TO TEST == a) ktd down b) apply this patch to your Koha repository as you usually would c) set the following in your k.t.d .env file DEBUG_GIT_REPO_MISC4DEV=yes DEBUG_GIT_REPO_MISC4DEV_URL=https://gitlab.com/PerplexedTheta/koha-misc4dev.git DEBUG_GIT_REPO_MISC4DEV_BRANCH=setup_mojo USE_MOJO= d) run ktd up, wait, and then go into ktd --shell e) inside k.t.d, run: perl /kohadevbox/misc4dev/setup_mojo.pl *) notice the unit file being copied and symlinked f) run the following three commands: *) sudo koha-plack --disable kohadev *) sudo koha-plack --stop kohadev *) sudo apachectl stop g) run the following command: sudo koha-mojo --start kohadev *) notice the service start successfully h) after a few seconds, go to http://localhost:8081 as you usually would *) notice the subtle performance change - is it better, or worse? i) run the following command: tail -f -n999 /var/log/koha/kohadev/mojo-intranet-output.log *) notice how you're getting trace logging, something the unit will only give in k.t.d == DONE == Note that these steps aren't necessarily going to be useful ones for signing off with, hence why I haven't included them in the patch. But, they are useful if you want to trail out running Koha as a Mojo app! Ta, Jake. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42228 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcook@prosentient.com.au --- Comment #3 from David Cook <dcook@prosentient.com.au> --- I had a feeling this was the direction you were going in. Love to see this! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42228 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |domm@plix.at, | |martin.renvoize@openfifth.c | |o.uk, | |nick@bywatersolutions.com, | |tomascohen@gmail.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42228 --- Comment #4 from David Cook <dcook@prosentient.com.au> --- (In reply to David Cook from comment #3)
I had a feeling this was the direction you were going in. Love to see this!
Still planning to look at this. I've just been out of the office a lot lately. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42228 --- Comment #5 from Jake Deery <jake.deery@openfifth.co.uk> --- Now we are past 26.06, it would be great to get a working group together to look at this and get it into main fairly sharpish – so we can get to the fun bit of actually implementing a Mojo worker for Koha. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42228 --- Comment #6 from David Cook <dcook@prosentient.com.au> --- (In reply to Jake Deery from comment #5)
Now we are past 26.06, it would be great to get a working group together to look at this and get it into main fairly sharpish – so we can get to the fun bit of actually implementing a Mojo worker for Koha.
I totally agree. I'm trying to organise all my Koha interests/priorities at the moment, but this is on the list. Let's get a channel made called "SIG Mojolicious"? SIG for Special Interest Group. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42228 --- Comment #7 from David Cook <dcook@prosentient.com.au> --- (In reply to David Cook from comment #6)
(In reply to Jake Deery from comment #5)
Now we are past 26.06, it would be great to get a working group together to look at this and get it into main fairly sharpish – so we can get to the fun bit of actually implementing a Mojo worker for Koha.
I totally agree. I'm trying to organise all my Koha interests/priorities at the moment, but this is on the list.
Let's get a channel made called "SIG Mojolicious"? SIG for Special Interest Group.
Although I guess there's already "ILL Workgroup" so maybe we do "Mojolicious Workgroup". I liked the idea of having the terms reversed to aid sorting. Once a librarian always a librarian... -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org