<div dir="ltr"><div dir="ltr"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>On Tue, 17 Nov 2020 at 16:07, Jonathan Druart <<a href="mailto:jonathan.druart@bugs.koha-community.org">jonathan.druart@bugs.koha-community.org</a>> wrote:<br></div></div></div></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Sorry then, no idea what's happening.<br>
I can only confirm it works for me on master!<br>
<br>
I'd try to remove the /dev/null redirection<br>
60  koha-dump "$name" > /dev/null<br></blockquote><div><br></div><div>I had done that earlier it was showing the following text and immediately exiting the script<br><br>Dumping Koha site medica:<br></div><div> </div><div>thanks to @Joubu's pointer, it made me look more closely at the dump_instance() function in the koha-dump. apparently the following line was the reason behind the script's sudden termination:<br><br>mysqlhost="$( xmlstarlet sel -t -v 'yazgfs/config/hostname' $kohaconfig )"<br><br>In the end it was the given instance's empty 'yazgfs/config/hostname' node. Filling it with 'localhost' sorted out the issue.</div><div><br></div><div>cheers</div><div>-Indranil</div></div></div>