http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12120 --- Comment #1 from Mason James <mtj@kohaaloha.com> --- Created attachment 42279 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42279&action=edit Bug 12120: Add --tempdir arg to rebuild_zebra.pl Sometimes zebra indexing will fail when the filesystem of the /tmp dir is too small for the indexing temp file ie: a 20 gig temp file is needed, and /tmp is only 1 gig :( in this situation, it is necessary to tell rebuild_zebra.pl to use a different filesystem with the required space. Test plan... run 3 zebra indexing tests, with different args 1/ test an index, with no args $ sudo koha-shell -c ' /home/mason/git/koha/master/misc/migration_tools/rebuild_zebra.pl -b -v -z' koha1 | grep 'export directory' the export directory /tmp/jp1d1RmCzL has been deleted. 2/ test an index, with a --tempdir arg $ sudo koha-shell -c ' /home/mason/git/koha/master/misc/migration_tools/rebuild_zebra.pl -b -v -z --tempdir /tmp1/aa1' koha1 | grep 'export directory' the export directory /tmp1/aa1/FEOKJIzPcA has been deleted. 3/ test an index, with both --tempdir and -d (directory) args $ sudo koha-shell -c ' /home/mason/git/koha/master/misc/migration_tools/rebuild_zebra.pl -b -v -z --tempdir /tmp1/aa1 -d bb1' koha1 | grep 'export directory' the export directory /tmp1/aa1/bb1 has been deleted. Note that the 'export directory' path is as expected, for each test run -- You are receiving this mail because: You are watching all bug changes.