Bug 13902

Summary: Add --force option to koha-create and koha-remove commands
Product: Koha Reporter: Mason James <mtj>
Component: Command-line UtilitiesAssignee: Mason James <mtj>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16291
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9754
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Mason James 2015-03-25 04:32:00 UTC
Add --force option to koha-create and koha-remove commands
Comment 1 Mason James 2016-04-19 03:55:06 UTC
(In reply to Mason James from comment #0)
> Add --force option to koha-create and koha-remove commands

hmm, i had an interesting experience related to this BZ...


a koha-remove failed to delete a /etc/koha/sites/aaa1 dir, as the dir contained an unexpected foo.backup file

on a reboot, the /etc/init.d/koha-common script then failed to run koha-create-dirs on all other koha instances alphabetically after 'aaa1'

this caused zebrasrv to fail on all following instances?!
Comment 2 Mason James 2016-05-18 02:06:21 UTC
(In reply to Mason James from comment #1)
> (In reply to Mason James from comment #0)
> > Add --force option to koha-create and koha-remove commands
> 
> hmm, i had an interesting experience related to this BZ...
> 
> 
> a koha-remove failed to delete a /etc/koha/sites/aaa1 dir, as the dir
> contained an unexpected foo.backup file
> 
> on a reboot, the /etc/init.d/koha-common script then failed to run
> koha-create-dirs on all other koha instances alphabetically after 'aaa1'
> 
> this caused zebrasrv to fail on all following instances?!

this BZ is basically a dupe of bug 16291
Comment 3 Mason James 2016-05-18 02:06:54 UTC

*** This bug has been marked as a duplicate of bug 16291 ***