Summary: | koha-rebuild-zebra should check directory ownership | ||
---|---|---|---|
Product: | Koha | Reporter: | Jared Camins-Esakov <jcamins> |
Component: | Packaging | Assignee: | Bugs List <koha-bugs> |
Status: | NEW --- | QA Contact: | |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | jcharaoui, reed, robin |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: |
Description
Jared Camins-Esakov
2012-10-26 15:47:58 UTC
+1 -- the check should look at least into /var/lib/koha/<user>, /var/lock/koha/<user> and directories and files under those. I struggled for a while before finding a permission problem under /var/lock/koha/<user>. Bad ownership on a lockfile was causing reindexing to failing silently, even with "-v -v". Yes, we have a lot of failing silently, or exploding in a ball of meaningless errors going on in those scripts. I'd like to make a small script library that allows things (like this) to be sanity checked, and to provide useful tips for fixing things when they do get out of wack (which shouldn't happen, but sometimes does.) Can't set this back to new if it's been accidentally marked something else. Anyway, we now have a script library this sort of thing could happen in. |