To reproduce: - Have a clean 3.22 packages install - Create an instance, with plack enabled: $ koha-create --create-db test - Go through the webinstaller $ koha-plack --enable test $ koha-plack --start test - Have a record - Try attaching a cover image to it. => FAIL: "Denied" error message shows
Tested with 3.22.x commit 978f8aedf3dddb26cbbc44455c239ab10d3f7dd2 and just a few custom patches on top of that (not related to Upload). Yes it is a clean package dev install :) But cannot yet reproduce your problem. I could upload several files one after another. Could you check the temporary upload folder in /tmp: owner, permissions? For this test instance called upgrade, I have: drwxr-xr-x 2 upgrade-koha upgrade-koha 4096 Jul 26 14:55 koha_upgrade_upload What happens if you remove the folder and upload another file or two?
Forgot to say: Yes, it is with plack and memcache.
And with: ProxyPass "/cgi-bin/koha/tools/upload-cover-image.pl" "!" I am wondering: It seems like koha-plack does not restart apache. Is that the source of the problem? Is your problem solved with a restart of apache ??
It might be a local problem. It vanished now and couldn't reproduce on kohadevbox yet. Will re-open if I manage to.