We are using a plack.psgi directly inspired from
debian/templates/plack.psgi, we just replace some paths.
And we have a SystemD unit to deamonize.
I will detail this on the wiki page maybe ?
Le 08/02/2018 à 01:10, David Cook a écrit :
+1 Julian
I've been avoiding Plack because we don't use Debian, but at some point I'll
have to use it, and it would be great if it was community supported beyond just
Debian. I'm happy to help test things, so long as I can have some guidance on
what to do.
(I'd love for the multi-tenant management tools to be de-debianized as well,
but totally recognize that money/time is an obstacle. It's something I'd like
to look at more in the future myself, but occupied with non-Koha projects at
the moment...)
David Cook
Systems Librarian
Prosentient Systems
72/330 Wattle St
Ultimo, NSW 2007
Australia
Office: 02 9212 0899
Direct: 02 8005 0595
-----Original Message-----
From: koha-devel-boun...@lists.koha-community.org
[mailto:koha-devel-boun...@lists.koha-community.org] On Behalf Of Julian Maurice
Sent: Thursday, 8 February 2018 3:50 AM
To: Tomas Cohen Arazi <tomasco...@gmail.com>
Cc: koha-devel@lists.koha-community.org
Subject: Re: [Koha-devel] Plack only
Are they really in sync ? They look very different (I cannot use the rest api
with misc/plack/koha.psgi for instance).
IMO a good starting point would be to move debian/templates/plack.psgi outside
of debian/ and make it the .psgi reference file for all types of install (and
remove misc/plack in the process).
Any thoughts ?
Le 07/02/2018 à 13:37, Tomas Cohen Arazi a écrit :
Good point, Julian. You are right.
Basically, we ship misc/plack/* which we keep in sync with
debian/templates/plack.psgi.
I would love to spend some time de-debianizing hte multi-tenant
management tools, but its been hard to find sponsorship or time for it.
Most people are comfortable with Debian it seems.
Regards
El mié., 7 feb. 2018 a las 9:26, Julian Maurice
(<julian.maur...@biblibre.com <mailto:julian.maur...@biblibre.com>>)
escribió:
What about people that do not use Debian ? It seems that there is no
"standard" way to use Plack outside of the Debian world, and it looks
like 90% of https://wiki.koha-community.org/wiki/Plack is outdated.
If we abandon CGI support, I think we should first provide a clear setup
documentation. I would happily rewrite the wiki page, but I'm not sure
of what to write (how to setup Plack on dev install for instance, or
'standard' install without debian packages).
Or maybe I'm missing some important up-to-date documentation about
Plack ?
(somewhat) related bug:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18377
Le 06/02/2018 à 19:50, Tomas Cohen Arazi a écrit :
> For running in Plack-mode, people needs to:
>
> sudo koha-plack --enable <instance>
> sudo koha-plack --start <instance>
> sudo systemctl restart apache2
>
> after creating the <instance>.
>
> What I meant is that we should have people avoid the need for those
> commands. And people with specific needs that require non-Plack setups
> can do it.
>
> I started thinking of this in the context of bug 20134 [1] BUT also in
> the context of bugs 18315 [2] and 7174 [3].
>
> Both of the latter bugs propose interesting ways of refactoring
> authentication, and I'm sure abandoning CGI-mode could help
simplify the
> process.
>
> [1] https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20134
> [2] https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18315
> [3] https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7174
>
> El mar., 6 feb. 2018 a las 11:00, Julian Maurice
> (<julian.maur...@biblibre.com <mailto:julian.maur...@biblibre.com>
<mailto:julian.maur...@biblibre.com
<mailto:julian.maur...@biblibre.com>>>)
> escribió:
>
> What does that mean to "make Plack the default" exactly ?
>
> Le 06/02/2018 à 14:31, Tomas Cohen Arazi a écrit :
> > I would like to know if you think there's any reason to keep
the CGI
> > mode as default in Koha deployments. I think we should make
Plack the
> > default. There are some issues, tough.
> >
> > But if we set that goal, we could focus on fixing them.
> >
> > What do you think?
> > --
> > Tomás Cohen Arazi
> > Theke Solutions (https://theke.io <http://theke.io/>)
> > ✆ +54 9351 3513384 <tel:+54%209%20351%20351-3384>
<tel:+54%209%20351%20351-3384>
> > GPG: B2F3C15F
> >
> >
> > _______________________________________________
> > Koha-devel mailing list
> > Koha-devel@lists.koha-community.org
<mailto:Koha-devel@lists.koha-community.org>
> <mailto:Koha-devel@lists.koha-community.org
<mailto:Koha-devel@lists.koha-community.org>>
> >
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> > website : http://www.koha-community.org/
> > git : http://git.koha-community.org/
> > bugs : http://bugs.koha-community.org/
> >
>
> --
> Julian Maurice <julian.maur...@biblibre.com
<mailto:julian.maur...@biblibre.com>
> <mailto:julian.maur...@biblibre.com
<mailto:julian.maur...@biblibre.com>>>
> BibLibre
> _______________________________________________
> Koha-devel mailing list
> Koha-devel@lists.koha-community.org
<mailto:Koha-devel@lists.koha-community.org>
> <mailto:Koha-devel@lists.koha-community.org
<mailto:Koha-devel@lists.koha-community.org>>
>
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/
>
> --
> Tomás Cohen Arazi
> Theke Solutions (https://theke.io <http://theke.io/>)
> ✆ +54 9351 3513384 <tel:+54%209%20351%20351-3384>
> GPG: B2F3C15F
>
>
> _______________________________________________
> Koha-devel mailing list
> Koha-devel@lists.koha-community.org
<mailto:Koha-devel@lists.koha-community.org>
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/
>
--
Julian Maurice <julian.maur...@biblibre.com
<mailto:julian.maur...@biblibre.com>>
BibLibre
_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha-community.org
<mailto:Koha-devel@lists.koha-community.org>
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
--
Tomás Cohen Arazi
Theke Solutions (https://theke.io <http://theke.io/>) ✆ +54 9351
3513384
GPG: B2F3C15F
--
Julian Maurice <julian.maur...@biblibre.com> BibLibre
_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/ git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
--
Fridolin SOMERS <fridolin.som...@biblibre.com>
BibLibre - software and system maintainer
_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/