IRC log for #koha, 2016-10-09

← Previous day | Today | Next day → | Search | Index

All times shown according to UTC.

Time Nick Message
01:08 Francesca joined #koha
04:11 cait joined #koha
04:24 Francesca joined #koha
04:54 Francesca joined #koha
05:13 Francesca joined #koha
06:04 Francesca joined #koha
06:56 Francesca joined #koha
07:39 Francesca joined #koha
07:45 cdickinson_ joined #koha
08:19 Francesca joined #koha
09:41 drojf joined #koha
09:41 simon_ joined #koha
09:48 simon_ i am new to koha and perl. just browsing through the code i wondered if anyone could point me towards some introductory information about the general project structure, paradigms or frameworks used?
10:25 drojf joined #koha
10:26 drojf ping
11:21 ashimema_ joined #koha
11:24 magnuse joined #koha
11:54 magnuse joined #koha
11:55 magnuse ah, just 3.5 hours before my next plane leaves
16:50 barton joined #koha
16:54 barton no criticals from craban.
18:01 cdickinson_ joined #koha
18:23 agoforth joined #koha
19:12 rangi thanks gmcharlt
21:25 drojf joined #koha
21:55 archer121 joined #koha
21:55 archer121 hi, can I deny OPAC login if the IP address is not starting with "192.168."?
21:56 rangi you want them to be able to see the opac, but not login?
22:03 archer121 yes
22:04 rangi you can't currently, that would need development work
22:04 you can block them from seeing it all together, but if they have a username and password that are valid, there is no code to block by IP at that point
22:05 i am sure it is a feature that others would like also, if you wanted to work on it, or pay someone too that would be excellent
22:05 archer121 you mean jquery?
22:05 rangi naw
22:05 jquery would be totally insecure
22:05 archer121 yeah
22:05 rangi has to be done serverside
22:05 you'd have to modify C4::Auth
22:05 and add checks in there
22:06 archer121 I am a student, so I can work on it but won't be able to pay anyone.
22:06 rangi working on it is just as good :)
22:07 you should file a bug at bugs.koha-community.org and say you plan to work on it (also maybe someone already is too)
22:07 archer121 Can I possibly implement what I want by configuring apache?
22:08 rangi not easily
22:08 you could certainly restrict ips from seeing certain pages on the opac, or all of it
22:09 however you could restrict all pages where a login might be needed
22:10 to a certain ip range
22:10 markvandenborre joined #koha
22:10 rangi eg opac-reserve.pl opac-user.pl and a bunch more
22:10 wizzyrea might be easier to explicitly allow only say, the home page.
22:10 and restrict everything else.
22:10 rangi and the search
22:10 wahanui somebody said the search was for the patrons not the librarians
22:11 rangi and detail, and cart ... i think there might actually be about the same ;)
22:11 but either or
22:11 archer121 ok, now that I've found you, let me ask you something else. Our koha server stops working every sunday due to logrotate failing to start back zebra and plack. I see that many others are also having the same issue. I don't see it fixed even in 3.22.11. Why?
22:12 rangi because no one has fixed it
22:12 archer121 But it is a very critical bug right?
22:13 rangi its reasonably critical, but incredibly inconsistent
22:14 archer121 consistent here though.
22:14 rangi it doesnt happen on the 30 odd sites I look after, reliably happens on others
22:14 hard to fix if you cant recreate
22:15 archer121 i'll be happy to help. But I don't know perl, and I have been doing this only for a few months.
22:15 rangi you could try tweaking /etc/logrotate.d/koha-common
22:15 its nothing to do with perl
22:15 or koha even
22:15 its the logrotate job is trying to restart a daemon, that hasnt finished stopping
22:16 so knowing about logrotate and how to configure it, is much more important than knowing perl
22:16 archer121 in my opinion the problem is that koha-stop-zebra is exiting without making sure that zebra is fully stopped.
22:18 rangi no perl in there either ;) thats shell script
22:19 irma joined #koha
22:20 rangi which uses start-stop-daemon
22:20 http://man7.org/linux/man-page[…]top-daemon.8.html
22:21 archer121 apparently this has already been done and should have been fixed from 3.22.10
22:21 https://bugs.koha-community.or[…]_bug.cgi?id=16885
22:21 huginn 04Bug 16885: normal, P5 - low, ---, mtompset, Pushed to Stable , koha-stop-zebra should be more sure of stopping zebrasrv
22:22 rangi and yet, it still happens on yours
22:23 archer121 yes, which requires some investigation
22:23 rangi you could add some more echos in
22:25 or try running the start-stop-daemon command by hand etc
22:30 magnuse joined #koha
22:30 archer121 I tried a `logrotate -f  /etc/logrotate.d/koha-common` but this did not affect koha.
23:01 jamesb joined #koha
23:03 irma good morning jamesb
23:13 Francesca joined #koha
23:32 irma jamesb call my mobile anytime to clarify/add your thoughts .... (I think we both never get to use our full monthly call quota)
23:33 good morning #koha
23:37 khall joined #koha
23:46 jamesb_ joined #koha
23:56 papa joined #koha

← Previous day | Today | Next day → | Search | Index

koha1