https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35716 --- Comment #34 from David Cook <dcook@prosentient.com.au> --- (In reply to David Cook from comment #33)
I'm able to follow the test plan successfully up to step 5, but for step 6 onwards, the 'make install' command is failing for me with the error: chown: invalid user: ‘koha:koha’ make: *** [Makefile:12431: set_koha_ownership] Error 1
I believe this is because the Makefile tries to chown to koha:koha but ktd's user:group is kohadev-koha:kohadev-koha. Please let me know what I'm missing here if you can. The error I'm encountering is possibly not even related to this work (?).
That error should only appear for the "standard" build. Are you saying you have it for all the builds.
In any case, you should be able to get around it by setting the KOHA_USER and KOHA_GROUP environmental variables to "kohadev-koha" and "kohadev-koha".
I just ran as root to be lazy.
Actually because of the chown I guess you'd have to be running as root/with sudo anyway. But yeah looking at https://github.com/Koha-Community/Koha/blob/main/Makefile.PL#L1706 it does look like set_koha_ownership is a noop except for the "standard" install mode. And then only if you're not using KOHA_USER=root, which I did put in the test plan, so you should be fine? -- You are receiving this mail because: You are watching all bug changes.