BookBounty: Bookbounty - permission error in unraid CA container?

Hi, I’m not a software engineer so apologies if this is the wrong way to raise an issue. On the latest version of BookBounty (at least the latest on the Unraid Community App Store), I’ve noticed that the application will run for about 30 seconds post initialisation and then stop. I’ve inspected the log files for the container and there’s a CHOWN issue - extract from the logs is below:

chown: /bookbounty: Operation not permitted
chown: /bookbounty: Operation not permitted
su-exec: setgroups(100): Operation not permitted
Running BookBounty...

Basically, that chown operation is running recursively through the directory structure and throwing the same “Operation not permitted” message for each author / book folder. I’ve had a look at the container configuration and noted that the PUID and PGID variables aren’t declared (based on the readme they should be 1000 / 1000 respectively). I’ve added these manually to see if it corrects the error, but it hadn’t worked.

Bookbounty has been absolutely rock solid for me for months, so I assume it’s something that snuck in during the latest update. Hopefully this helps, and if I am being a dumbass please let me know!

EDIT: I just checked my Uptime Kuma instance - BookBounty went down at 15:01 UTC yesterday (13/11/24), which I believe coincides with the latest release.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 2
  • Comments: 19 (9 by maintainers)

Most upvoted comments

Basically the same problem for me, also in Unraid, also running Bookbounty fine in a docker container for a while until a recent update.

When I try to start the container, I get a series of errors in the logs and then the container stops:

chown: /bookbounty/.git/objects/70: Operation not permitted chown: /bookbounty/.git/objects/74/ced2b5a5e333e534e44258f68da5bfdd43f73e: Operation not permitted chown: /bookbounty/.git/objects/74: Operation not permitted chown: /bookbounty/.git/objects/74: Operation not permitted chown: /bookbounty/.git/objects/7e/d3cbf300f1202f5532d32ba97fe6ca2a7aebdb: Operation not permitted chown: /bookbounty/.git/objects/7e: Operation not permitted chown: /bookbounty/.git/objects/7e: Operation not permitted chown: /bookbounty/.git/objects/80/06dcac49c75bd7cf8ea38975a2406258653815: Operation not permitted chown: /bookbounty/.git/objects/80/a1258f39dd022daae6b0212082939bf1c9802d: Operation not permitted chown: /bookbounty/.git/objects/80: Operation not permitted chown: /bookbounty/.git/objects/80: Operation not permitted chown: /bookbounty/.git/objects/91/7dbcada23489b02daf4e2455abe885426514ed: Operation not permitted chown: /bookbounty/.git/objects/91: Operation not permitted chown: /bookbounty/.git/objects/91: Operation not permitted chown: /bookbounty/.git/objects/93/db8427ecb7df317ec76f32217bff97c8fa573d: Operation not permitted chown: /bookbounty/.git/objects/93: Operation not permitted chown: /bookbounty/.git/objects/93: Operation not permitted chown: /bookbounty/.git/objects/a6/12ad9813b006ce81d1ee438dd784da99a54007: Operation not permitted chown: /bookbounty/.git/objects/a6: Operation not permitted chown: /bookbounty/.git/objects/a6: Operation not permitted chown: /bookbounty/.git/objects/b1/c1438078e0697749cda8794afb75d0d2b77433: Operation not permitted chown: /bookbounty/.git/objects/b1: Operation not permitted chown: /bookbounty/.git/objects/b1: Operation not permitted chown: /bookbounty/.git/objects/c4/9821325e50928a694441daee3e508bf1e18662: Operation not permitted chown: /bookbounty/.git/objects/c4: Operation not permitted chown: /bookbounty/.git/objects/c4: Operation not permitted chown: /bookbounty/.git/objects/c6/4c9cd493ac494974c5d127bb32cf0375d89cd9: Operation not permitted chown: /bookbounty/.git/objects/c6: Operation not permitted chown: /bookbounty/.git/objects/c6: Operation not permitted chown: /bookbounty/.git/objects/d4/4047b87b30026290eb844ade61c5caffce0cb5: Operation not permitted chown: /bookbounty/.git/objects/d4: Operation not permitted chown: /bookbounty/.git/objects/d4: Operation not permitted chown: /bookbounty/.git/objects/f5/142e84fa2defc930f4aee98b0deb92a57a2b95: Operation not permitted chown: /bookbounty/.git/objects/f5/ce27e54112a95ae2c552db291ebf5a3da9157a: Operation not permitted chown: /bookbounty/.git/objects/f5: Operation not permitted chown: /bookbounty/.git/objects/f5: Operation not permitted chown: /bookbounty/.git/objects/info: Operation not permitted chown: /bookbounty/.git/objects/info: Operation not permitted chown: /bookbounty/.git/objects/pack: Operation not permitted chown: /bookbounty/.git/objects/pack: Operation not permitted chown: /bookbounty/.git/objects: Operation not permitted chown: /bookbounty/.git/objects: Operation not permitted chown: /bookbounty/.git/refs/heads/main: Operation not permitted chown: /bookbounty/.git/refs/heads: Operation not permitted chown: /bookbounty/.git/refs/heads: Operation not permitted chown: /bookbounty/.git/refs/remotes/origin/main: Operation not permitted chown: /bookbounty/.git/refs/remotes/origin: Operation not permitted chown: /bookbounty/.git/refs/remotes/origin: Operation not permitted chown: /bookbounty/.git/refs/remotes: Operation not permitted chown: /bookbounty/.git/refs/remotes: Operation not permitted chown: /bookbounty/.git/refs/tags: Operation not permitted chown: /bookbounty/.git/refs/tags: Operation not permitted chown: /bookbounty/.git/refs: Operation not permitted chown: /bookbounty/.git/refs: Operation not permitted chown: /bookbounty/.git/shallow: Operation not permitted chown: /bookbounty/.git: Operation not permitted chown: /bookbounty/.git: Operation not permitted chown: /bookbounty/.github/workflows/main.yml: Operation not permitted chown: /bookbounty/.github/workflows: Operation not permitted chown: /bookbounty/.github/workflows: Operation not permitted chown: /bookbounty/.github: Operation not permitted chown: /bookbounty/.github: Operation not permitted chown: /bookbounty/Dockerfile: Operation not permitted chown: /bookbounty/LICENSE: Operation not permitted chown: /bookbounty/README.md: Operation not permitted chown: /bookbounty/gunicorn_config.py: Operation not permitted chown: /bookbounty/requirements.txt: Operation not permitted chown: /bookbounty/src/BookBounty.py: Operation not permitted chown: /bookbounty/src/static/bookbounty.png: Operation not permitted chown: /bookbounty/src/static/dark.png: Operation not permitted chown: /bookbounty/src/static/libgen.png: Operation not permitted chown: /bookbounty/src/static/light.png: Operation not permitted chown: /bookbounty/src/static/logo.png: Operation not permitted chown: /bookbounty/src/static/readarr.svg: Operation not permitted chown: /bookbounty/src/static/script.js: Operation not permitted chown: /bookbounty/src/static/style.css: Operation not permitted chown: /bookbounty/src/static: Operation not permitted chown: /bookbounty/src/static: Operation not permitted chown: /bookbounty/src/templates/base.html: Operation not permitted chown: /bookbounty/src/templates: Operation not permitted chown: /bookbounty/src/templates: Operation not permitted chown: /bookbounty/src: Operation not permitted chown: /bookbounty/src: Operation not permitted chown: /bookbounty/thewicklowwolf-init.sh: Operation not permitted chown: /bookbounty/downloads: Operation not permitted chown: /bookbounty/downloads: Operation not permitted chown: /bookbounty: Operation not permitted chown: /bookbounty: Operation not permitted su-exec: setgroups(100): Operation not permitted Running BookBounty…

Edit: I can’t say it with complete confidence because it’d been a week or so since I’d used the tool, but I think it was today’s update (13 hours ago as of the time of posting - latest tag) that caused the problem.