IRC log for #koha, 2023-02-14

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

All times shown according to UTC.

Time Nick Message
03:13 fridolin joined #koha
03:14 fridolin left #koha
07:11 lds joined #koha
07:40 thibaud_g joined #koha
07:44 magnuse_ joined #koha
07:46 reiveune joined #koha
07:46 reiveune hello
07:46 wahanui hey, reiveune
07:54 cait joined #koha
07:56 cait left #koha
07:59 cait1 joined #koha
07:59 cait1 good morning #koha!
09:04 ashimema Mornin' #koha
09:17 PedroAmorim[m] hey
09:17 ashimema morning pedro
09:20 * cait1 waves
09:25 Joubu Do you love new icons? see bug 32910!
09:25 huginn 04Bug https://bugs.koha-community.or[…]_bug.cgi?id=32910 enhancement, P5 - low, ---, oleonard, Needs Signoff , Upgrade fontawesome icons to V6
09:26 cait1 is that a trap question? :)
09:27 ashimema haha
09:27 Joubu you can try and see if you like it or not ;)
09:28 ashimema very nice Joubu
09:29 ooh.. some nice follow-ups from oleanard too
09:31 cait1 Joubu: looks like your add caught ashimema :)
09:32 ashimema haha
09:32 it was already on my list
09:33 that just bumped it to the top of my pile
09:33 I actually had it checked out last week.. but was still playing..
09:33 so I just added a comment to say take me as SO 😛
09:33 feel free to QA cait1 😜
09:33 looks lovely
09:35 Joubu imo we should push it asap to have time to catch regression for 23.05
09:35 ashimema totally
09:57 alex_ joined #koha
09:59 cait1 maybe Friday
09:59 got to fix broken de-DE translation in 22.11.02 first :(
10:00 might be just our branch, but need to figure it out
10:04 Joubu davidnind: is your ktd problem fixed?
10:15 cait1 translation problem is not in 22.11.02 - we had a branch confusion :)
10:19 davidnind Joubu: still have the same problem, so KTD not working for me...
10:21 Joubu davidnind: You did chown the whole koha repo, right?
10:21 the problem should be easy to fix, it's a permission error
10:21 on /kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/css/calendar.css
10:22 cait joined #koha
10:22 Joubu go to $SYNC_REPO and `ls -l koha-tmpl/intranet-tmpl/prog/css/`
10:23 your current user should have the permission to overwrite the .css files in this directory
10:24 pastebot "davidnind" at 127.0.0.1 pasted "directory listing for css" (19 lines) at https://paste.koha-community.org/1348
10:24 Joubu you can also remove the css files listed in .gitignore
10:25 ls -l the parent directory to see if you have w on koha-tmpl/intranet-tmpl/prog/css
10:26 `ls -l $SYNC_REPO/koha-tmpl/intranet-tmpl/prog/|grep css`
10:29 pastebot "davidnind" at 127.0.0.1 pasted "permissions for css directory look okay (775)" (8 lines) at https://paste.koha-community.org/1349
10:30 davidnind none of the css files listed in .gitignore were present
10:31 Joubu `echo $UID`, does it return 1000?
10:31 pastebot "davidnind" at 127.0.0.1 pasted "permissions for css/src look okay (664)?" (16 lines) at https://paste.koha-community.org/1350
10:32 davidnind yep, I get 1000 from ech $UID
10:32 ..echo
10:33 Joubu can you confirm $SYNC_REPO is ~/git-koha/koha
10:33 just... in case :D
10:33 I am missing something obvious here
10:36 You can eventually do what you should never do, add write permission to everybody (`chmod o+w koha-tmpl/intranet-tmpl/prog/css`). At least to know if that's the problem..
10:36 davidnind $SYNC_REPO is ~/git-koha/koha
10:41 mtj hi davidnind, did you do a 'ktd down; ktd pull; ktd up' when starting?
10:42 just checking you have the latest ktd image
10:42 davidnind yes, I've done all those, even re-cloned koha
10:44 now gets past the intranet-tmpl css, but getting stuck on opac-tmpl
10:44 Error: EACCES: permission denied, open '/kohadevbox/koha/koha-tmpl/opac-tmpl/bootstrap/css/opac.css'
10:44 will make the same permission change...
10:46 mtj testing on master/deb11 ?
10:47 davidnind mtj: whatever is the default (KOHA_IMAGE=master)
10:48 mtj ah yep, thats deb11/stable
10:49 davidnind now stuck on js/vue, will change permissions, error is:
10:49 [webpack-cli] [Error: EACCES: permission denied, mkdir '/kohadevbox/koha/koha-tmpl/in​tranet-tmpl/prog/js/vue/dist'] {
10:49 Joubu mtj: that's a FS permission problem
10:49 davidnind: same on koha-tmpl/intranet-tmpl/prog/js/vue/dist then...
10:50 mtj testing here... looking ok
10:52 davidnind: what OS is your lappy running? ubuntu?
10:53 Joubu so, for the record, koha-tmpl/intranet-tmpl/prog/ is owned by david, and css directory had 775 which should be enough. It worked with 777... Same on opac and vue dist dir
10:53 ashimema mtj
10:53 you're around
10:53 do we still have plans to merge the arm ktd into ktd master?
10:53 I think the arm one needs a rebuild for all the recent changes.. not sure it''s pulled in the latest misc4dev changes and things?
10:53 mtj hi ashimema, i have plans :)
10:54 ashimema matt is happy to test.. he's using is as his daily driver here 😜
10:54 davidnind more permission errors with setup of git hooks... (full message at <https://matrix.org/_matrix/med[…]AMwHDwsARqLkXRqsJ>)
10:54 ashimema have you looked at https://gitlab.com/koha-commun[…]28aded6bf_126_127 Joubu?
10:55 looks like Tomas has been working to fix this permissions stuff
10:55 mtj tcohen: do you have a pref for where/how you want arm64 added to ktd?
10:56 ashimema no sign of tcohen yet this morning
10:56 I've queried cp ${BUILD_DIR}/templates/gitconfig /var/lib/koha/${KOHA_INSTANCE}/.gitconfig ; \
10:56 Joubu nope, haven't seen it yet
10:56 ashimema somehow doesn't feel quite right ot me.. but I've not worked out why yet
10:56 it's copying it into a symlinked location isn't it..
10:57 so I don't think it'll overwrite your host .gitconfig (which was my initial worry).. but I'm not sure it'll get picked up by git either?
10:57 looks like we pretty much used to do that already anyway..
10:57 Joubu it's not a symlink for me
10:58 but I haven't pulled this morning
10:58 ashimema just in two steps.. one copy from template.. then copy to /var/lib/koha/${KOHA_INSTANCE}/.gitconfig
10:58 that's not merged yet Joubu
10:58 he asked for a review
10:58 davidnind mtj: ubuntu 22.04 with a KDE desktop
10:58 Joubu yes but where is coming the symlink you are talking about?
10:59 ashimema I was guessing
10:59 not looked yet
10:59 davidnind now get past the git hooks permission error, but now getting:
10:59 koha-koha-1       | Install and setup git hooks
10:59 koha-koha-1       | fatal: --local can only be used inside a git repository
10:59 Joubu davidnind: what about the permission of .git/hooks/ktd and parent dirs?
10:59 ashimema but isn't most of /var/lib/koha/${KOHA_INSTANCE}/ a symlink to /koahdevbox/koha
11:00 davidnind .git is: drwxrwxr-x  8 david david   4096 Feb 14 23:55 .git
11:01 mtj davidnind: dpkg -l | grep docker
11:01 can you nopaste that ^
11:02 davidnind .git/hooks/ktd is weird: drwxr-xr-x 2 100999 100999 4096 Feb 14 23:56 ktd
11:02 Joubu yes, follow mtj, we are going nowhere we replacing those permissions...
11:02 ha!
11:02 so it's running under userid 100999
11:02 ashimema ah..
11:02 mtj fyi, i get a final error on ktd startup
11:02 ashimema my brain is stupid
11:02 I get it now
11:02 mtj koha-koha-1       | Starting RabbitMQ Messaging Server: rabbitmq-server.
11:02 koha-koha-1       | Install and setup git hooks
11:02 koha-koha-1       | cp: cannot create regular file '/kohadevbox/koha/.git/hooks/ktd/pre-commit': Permission denied
11:03 * mtj hasnt be following the hooks stuff
11:04 pastebot "davidnind" at 127.0.0.1 pasted "mtj: dpkg -l | grep docker" (6 lines) at https://paste.koha-community.org/1351
11:04 davidnind mtj: running Docker Desktop for Linux
11:05 Joubu davidnind: export LOCAL_USER_ID=$(id -u)
11:05 do you have that somewhere?
11:06 davidnind Joubu: have that in ~/.bashrc along with the other exports in the README
11:06 mtj davidnind: looks very close to my packages on deb10
11:07 Joubu can you confirm it's set? `echo $LOCAL_USER_ID`
11:07 davidnind mtj: I set everything up fresh on my new laptop in December
11:07 Joubu: 1000
11:09 Joubu https://stackoverflow.com/ques[…]volumes-in-docker
11:09 the answer is talking about "Docker Desktop" vs "Docker Engine"
11:10 orlando joined #koha
11:13 Joubu mtj: do you have docker-desktop?
11:15 davidnind so, should I remove Docker Desktop and install Docker Engine?
11:15 mtj Joubu: nope, but have all other docker pkgs installed
11:15 * ashimema is building tomas's branch to test
11:15 Joubu https://github.com/docker/desktop-linux/issues/75
11:15 davidnind: yes, I would try that!
11:17 mtj davidnind: try stopping ktd
11:17 rm -rf ./my-koha-repo/.git/hooks/ktd
11:17 ktd up
11:18 you might have odd perms on ktd/pre-commit dir/file
11:18 Joubu mtj: yes, but it's what is happening, the container is running with uid 100999
11:18 so it created the dir using this uid
11:18 mtj hmm, ok
11:19 Joubu see the last link, the desktop-linux issue
11:23 pastebot "mtj" at 127.0.0.1 pasted "dpkg -l | grep docker" (7 lines) at https://paste.koha-community.org/1354
11:25 mtj https://docs.docker.com/engine[…]ity/userns-remap/
11:27 " I removed docker desktop and now it behaves as expected. Thanks"
11:27 oof
11:45 davidnind have installed docker engine, just re-cloning Koha
11:54 cait1 team++ :)
11:58 kidclamp davidnind: I have seen that in the past, usually changing permissions locally to my user fixes it - when you edit things inside of ktd they become owned by the root user in the container - then changes can't happen
11:59 tcohen hola #koha o/
11:59 kidclamp, davidnind: we are leaning towards 'do all in the instance user'
12:00 so the latest ktd code will take you there
12:00 kidclamp yup, that's what I am trying to do now
12:00 tcohen make sure the latest ktd is pulled
12:02 mtj ashimema: ktd-arm64 updated  https://gitlab.com/mjames/ktd-arm64
12:03 (not tested yet)
12:06 ashimema thanks
12:07 tcohen mtj: do you mind if I start integrating it into proper ktd?
12:07 mtj tcohen: pleeese doo
12:08 tcohen would you agree with dists/arm64v8/
12:08 and then each for each distro?
12:08 \o/
12:10 mtj dists/arm64v8/buster
12:10 tcohen #koha we just merged a change that completely removes git configs from the root user
12:10 mtj dists/arm64v8/bullseye
12:10 like that? ^
12:10 tcohen https://gitlab.com/koha-commun[…]erge_requests/416
12:10 mtj: exactly
12:11 mtj tcohen: looks good 👍
12:14 most of the koha dep pkgs are now in debian proper
12:14 https://bugs.debian.org/cgi-bi[…]j%40kohaaloha.com
12:15 will be ready for deb12
12:16 davidnind Joubu: Success! Thanks for all your help, and apologies for all the rabbit holes. For Linux/Ubuntu the message is to not use Docker Desktop for Linux.
12:16 Joubu++
12:17 mtj++
12:17 tcohen++
12:17 mtj well done davidnind
12:17 davidnind Looks like I have to go back to actual testing....
12:17 ashimema haha
12:17 davidnind is awesome as ever
12:19 mtj ps, i confirmed my weird git-bz bug within ktd  https://paste.koha-community.org/1318
12:19 seems to be something specific with that patch and/or cpanfile?!
12:21 tcohen I never used git bz inside ktd
12:21 but I'll start doing so, so we catch any annoyances
12:22 Joubu mtj: try without -e
12:23 alex_ joined #koha
12:23 Joubu tcohen: what davidnind faced is something else. The container is running with userid 100999, which is caused by docker-desktop, see https://github.com/docker/desktop-linux/issues/75
12:23 mtj Joubu: it does work without -e.. but i want/need to e/edit when uploading
12:24 Joubu Ideally we should compare userid when the container is starting up with the LOCAL_USER_ID env var. If they don't match we abort
12:46 oleonard_ joined #koha
12:46 tcohen Joubu: good catch! I wouldn't have imagined docker desktop was used
12:46 it adds some other complexities as well, as it runs on a VM
12:47 ashimema some of my team use desktop
12:47 seems it's often recommended now ☹️
12:47 not by us, but by the docker install docs
12:47 which I think our README points to
12:48 * ashimema is testing other ktd merge-requests now
12:48 tcohen The README points to docker-engine, and it mentions Docker Desktop for macOS and Windows users
12:48 ashimema I missed your persistent patches Joubu..
12:48 those are nice
12:48 okies
12:48 tcohen in those cases, it is the only way
12:48 on macOS I haven't faced that issue
12:49 haven't dared to try on Windows, but AgustinMoyano[m] uses it
12:50 Docker Inc. is pushing on the Docker Desktop because they want to monetize the product through their extensions market and such
13:23 Joubu tcohen: I will need some vue works to be pushed, things are pilling up and it's getting hard to track down what's in the queue...
13:24 and eventually bypassing QA if nobody has a look...
13:28 tcohen can you please send me an email about those? CC Agustin, maybe we can make him QA Vue stuffs
13:29 but yes, let's move things forward
13:29 paulderscheid[m]: are you available to test/review Vue stuffs quickly ?
13:30 paulderscheid[m] Yep, just need another minute to finish lunch.
13:30 I was already eyeing it :D
13:32 tcohen Joubu: looking at your persistence stuff ATM
13:52 paulderscheid[m] We seriously have to get rid of node-sass
13:54 cait1 tcohen: we can make Agustin topic expert for Vue
13:55 then he coudl QA those and gets a mention in wiki/release notes :)
14:09 paulderscheid[m] Joubu: I signed off on bug 32806.
14:09 huginn 04Bug https://bugs.koha-community.or[…]_bug.cgi?id=32806 enhancement, P5 - low, ---, jonathan.druart+koha, Signed Off , Some Vue files need to be moved for better reusability
14:10 cait1 paulderscheid[m]++ :)
14:11 Dyrcona joined #koha
14:12 paulderscheid[m] :)
14:13 cait1 any recent changes on the sandboxes?
14:14 Joubu yes, the build command might have impacted them, what's happening?
14:14 cait1 opac leads to staff inteface
14:15 Joubu which ones?
14:15 cait1 sec, i got the report in an email
14:15 ptfs-e is affected (the one from Anke here) http://sandboxes.ptfs-europe.co.uk/
14:16 bywaters don't work at all (Service unavailable)
14:16 biblibre the same as ptfs-e - link is wrong
14:19 Joubu: so all of them :D
14:20 Joubu Thanks paulderscheid[m], PedroAmorim[m] is doing a nice work on bug 32939 as well
14:20 huginn 04Bug https://bugs.koha-community.or[…]_bug.cgi?id=32939 enhancement, P5 - low, ---, jonathan.druart+koha, In Discussion , Have a generic fetch function for POST and PUT requests in vue modules
14:20 Joubu it's not ready yet but will be soon :)
14:21 paulderscheid[m] 1000% percent agree on a generic RequestHandler. Super useful.
14:21 Joubu tcohen, ashimema: I did find the problem is x-koha-header on 32923
14:21 I still don't understand the behaviour but at least I have a fix
14:21 cait1 re sandbox: do you have time to take a look or better to file an issue?
14:21 Joubu cait1: will have a look when possible ;)
14:22 cait1 ok, just tell me if I need to log into gitlab or not to file the issue :)
14:25 Joubu do nothing for now
14:37 magnuse__ joined #koha
14:38 cait1 easy
15:10 paulderscheid[m] Joubu: I left some comments for you on bug 32898.
15:11 huginn 04Bug https://bugs.koha-community.or[…]_bug.cgi?id=32898 major, P5 - low, ---, jonathan.druart+koha, Needs Signoff , Cypress tests are failing
15:15 Joubu thanks!
15:21 cait1: logged there - https://gitlab.com/koha-commun[…]ocker/-/issues/83
15:22 ashimema, you certainly need to be aware of that ^
15:22 ashimema ha.. ta
15:24 Joubu and tcohen, yet another permission error ^
15:25 maybe ktd will be hit by that later, looks like a git change since 2.35
16:01 ashimema ho
16:07 cait1 Joubu: thx! I'll also forward the link to the original reporter .)
16:11 Joubu cait1: fixed on biblibre's sandboxes
16:12 ashimema: see the PR, it seems to have fixed the problem for me
16:15 reiveune bye
16:15 reiveune left #koha
16:16 cait1 thx!
16:16 Joubu++
16:22 bye all
16:23 cait1 left #koha
16:49 ashimema PR makes sense I think
16:49 thanks Joubu
16:50 I forgot about issue 81
16:51 marie-luce joined #koha
16:51 ashimema we should probably continue on that one some time soon too
17:01 bag joined #koha
17:06 cait joined #koha
17:07 cait joined #koha
18:10 cait joined #koha
18:10 cait Joubu: can you have a look at bug 30162? seems to be another effec tof the sandbox issue
18:10 huginn 04Bug https://bugs.koha-community.or[…]_bug.cgi?id=30162 normal, P5 - low, ---, katrin.fischer, Needs Signoff , XSLT has broken link for traced series because of OPAC/staff interface confusion
19:21 fridolin joined #koha
19:32 caroline can a git master help me with the failed pipelines in the manual? https://gitlab.com/koha-commun[…]anual/-/pipelines I'm not sure how to resolve those (or how they are caused / how can I prevent it)
19:40 ashimema https://gitlab.com/koha-commun[…]74189812/failures
19:40 Did someone change the configs?
19:40 davidnind seems the build "Could not import extension sphinxcontrib.spelling", will see if I can work out how to fix (unless someone else beats me to it...)
19:41 * ashimema is on phone only now for the evening... And I should be looking after the wife, it's valentine's ;-)
19:43 caroline of course! happy valentine's
19:44 I remember getting the sphinxcontrib error locally... I remember at one point I would comment it to build... Not sure how I resolved it
19:46 davidnind I can't see any config changes that would have done this, so possibly a change with the OS (Debian Testing)
19:46 ashimema Could well be
19:46 davidnind For the build itself it is not necessary, at worst I can comment out.
19:47 But ideally we should solve, so we can run spell checking locally. If that is the cause...
19:47 ashimema Agreed
19:47 caroline It can wait until tomorrow... don't ruin your evening for this
19:48 davidnind totally agree!
20:03 kathryn joined #koha
20:04 kathryn Kia ora #koha long time no see :)
20:05 caroline hi kathryn!
20:07 davidnind hi kathryn!
20:09 kathryn hi carloline and davidnind :)
20:10 davidnind Lovely picture of you and your little one in the newsletter
20:10 kathryn aw thanks David! I thought I'd pop my nose in here since I'm back in my usual role now he's one :)
20:12 davidnind I'm sure you have your hands full!
20:12 caroline are you two affected by the storm? I think it's more in the north than where you are?
20:12 kathryn hey caroline, it's very stormy here and there is a lot of surface flooding, but nothing like the disasters people are experiencing in other parts of the country :(
20:14 Davidnind things are a bit easier now that he's in daycare 4 days, he absolutely loves it there thankfully. He's home today though and yelling up the hallway
20:16 davidnind I'm not affected here in the South Island, but the cyclone has been pretty devastating in the areas affected in the North Island
20:19 kathryn oh actually while davidnind and caroline are here I have a question you might have a view on. We had a user group of Wellington libraries and they are keen to share some detailed test plans (e.g. for librarians testing upgrades before they go live on their system). I wondered if the best place would be a wiki page or if there is already a place and I didn't know about it? I only know about this high level one https://wiki.koha-community.org/wik
20:19 i/Testing_Plan
20:20 I was thinking of linking to other testing plans from that page
20:20 as an easy way to start
20:21 caroline kathryn, I think the wiki is a good place. Also maybe https://koha-community.org/man[…]on_checklist.html I think this chapter is out of date
20:21 kathryn oh yes that's right, I'd forgotten about that page :) thank you!
20:22 davidnind I have it on my list to review that section, and try and incorporate it into some sort of implementation guide
20:23 having it in the Wiki would be really great to start with!
20:23 kathryn yes, at least a place to gather information eh
20:24 caroline The wiki is also more user friendly for modifications from a user group
20:24 wahanui okay, caroline.
20:24 caroline oops
20:24 wahanui, forget The wiki
20:24 wahanui caroline: I forgot wiki
20:25 kathryn hehe
20:27 we have found we have to be really careful about suggesting any testing list/plan, so no one thinks it's a definitive list, it's a tricky one!
20:28 thanks again, will be interesting to see what people share
20:28 caroline True... I give a test plan and tell them to also "invent" their own when I do migrations with a warning like "you know your data better than anyone, you're the best to think up situations"
20:28 kathryn yeah us too "this is a good starting place" etc :)
20:28 caroline each library is so different, there's no way we can think of everything :)
20:29 davidnind happy to add to the Wiki if it is in another format, but with the updated Wiki the visual editor makes it a bit easier to add content
20:29 kathryn thanks davidnind lets see what people have :)
20:30 a few of the govt libraries have stringent change control process and quite thorough test plans, but I've never seen them!
20:30 catch you later, I'm mostly chasing the little guy now
20:30 caroline lol! good luck!
20:31 davidnind lol!
20:48 emlam joined #koha
20:55 kathryn joined #koha
20:59 emlam Anyone here know if we have a REST API path for checkout and/or return?
20:59 I can't find them in the documentation, but I'm also not very skilled at reading the documentation, so could very well be missing them
21:00 *not very experienced with REST APIs in genereal
21:01 caroline emlam, I don't see it in the docs either. Also, bug 23336 is FQA
21:01 huginn 04Bug https://bugs.koha-community.or[…]_bug.cgi?id=23336 enhancement, P5 - low, ---, koha-bugs, Failed QA , Add an API endpoint for issuing an item to a patron
21:02 davidnind emlam: https://api.koha-community.org/
21:04 emlam Yup, that's where I was looking. I just wasn't sure if I wasn't seeing it because it wasn't there, or if I was looking for the wrong thing/in the wrong place
21:08 caroline - thanks for taking a look :)
21:09 caroline emlam, I couldn't find anything for checkins/returns in the docs or in bugzilla, so I guess it hasn't been a need until now
21:09 davidnind I think that should be the definitive docs, apart from looking at the api docs for your installed version at /api/v1/.html
21:11 maybe comment on the bug to see if there is any interest getting work going again, and posting to the development mailing list
21:12 emlam Heh, I was just checking for due diligence on a bug signoff - I was able to test all use cases from the test plan except those two
21:13 davidnind emlam++
21:14 emlam Thanks for the help!
21:17 davidnind caroline: I've got local building working without the error, will have a go at updating the build stuff on GitLab in an hour or so - just have to pop out for a bit...
21:18 caroline davidnind, local building was working fine for me earlier today (and last week), so I think it's probably on the server or something
21:18 thanks for checking! davidnind++
21:42 * cait waves
21:43 cait oh now i just missed kathryn
22:01 emlam Uh...I seem to have git bz'd wrong and attached an unrelated commit to bug 30928. And I can't figure out how to remove or obsolete it. Help?
22:01 huginn 04Bug https://bugs.koha-community.or[…]_bug.cgi?id=30928 enhancement, P5 - low, ---, lucas, Failed QA , Add interface to statistics table
22:03 emlam nvm
22:03 found it
22:41 davidnind caroline: trying a fix for the GitLab manual building - crossing my fingers that it works!
23:52 cait joined #koha
23:54 davidnind caroline: it looks like it is building now (after two follow-ups!) - will check back when I return, in the meantime see bug 32966
23:54 huginn 04Bug https://bugs.koha-community.or[…]_bug.cgi?id=32966 major, P5 - low, ---, david, ASSIGNED , [DOCS] Build error on GitLab - sphinxcontrib.spelling extension error

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

koha1