Impossible to export config backups when using Debian packages
Hi all, /cgi-bin/koha/tools/export.pl can be configured to allow you to "Export database" and "Export configuration". These files are typically generated by a cron running "koha-run-backups --days 2 --output /var/spool/koha". However, only the database can be exported. The configuration cannot due to permission issues. See the following terminal output: root@kohadevbox:koha(bug26791)$ ls -l /var/spool/koha/kohadev/ total 4856 -rw-r----- 1 root kohadev-koha 1001326 Nov 16 10:23 kohadev-2020-11-16.sql.gz -rw------- 1 root root 3968315 Nov 16 10:23 kohadev-2020-11-16.tar.gz I reckon that we either need to 1) fix the permissions to allow the web download, or 2) remove the web download option I thought there was a Bugzilla issue for this but I couldn't find it, so I thought that I'd email the listserv to see what people think (and if anyone knows the bug reference number). David Cook Software Engineer Prosentient Systems 72/330 Wattle St Ultimo, NSW 2007 Australia Office: 02 9212 0899 Online: 02 8005 0595
Den 16.11.2020 11:36, skrev dcook@prosentient.com.au:
I thought there was a Bugzilla issue for this but I couldn't find it, so I thought that I'd email the listserv to see what people think (and if anyone knows the bug reference number).
There are several: Bug 8437 - Large database backups and large exports from export.pl fail under plack https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8437 Released in versions 20.11.00, 20.05.06 Earlier versions of this had a fix for the permissions, but they have not been pushed: https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=11354 Bug 14564 - Export configuration: Unfortunately, no backups are available https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14564 Status: REOPENED Bug 22143 - Fix permission and owner of configuration backups https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22143 Status: RESOLVED DUPLICATE of bug 14564 Best regards, Magnus Libriotech AS
Thanks, Magnus. You're a champion. I've resurrected, renamed, and signed off https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14564 (Bug 14564 - Incorrect permissions prevent web download of configuration backups). David Cook Software Engineer Prosentient Systems 72/330 Wattle St Ultimo, NSW 2007 Australia Office: 02 9212 0899 Online: 02 8005 0595 -----Original Message----- From: Koha-devel <koha-devel-bounces@lists.koha-community.org> On Behalf Of Magnus Enger Sent: Monday, 16 November 2020 10:38 PM To: koha-devel@lists.koha-community.org Subject: Re: [Koha-devel] Impossible to export config backups when using Debian packages Den 16.11.2020 11:36, skrev dcook@prosentient.com.au:
I thought there was a Bugzilla issue for this but I couldn't find it, so I thought that I'd email the listserv to see what people think (and if anyone knows the bug reference number).
There are several: Bug 8437 - Large database backups and large exports from export.pl fail under plack https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8437 Released in versions 20.11.00, 20.05.06 Earlier versions of this had a fix for the permissions, but they have not been pushed: https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=11354 Bug 14564 - Export configuration: Unfortunately, no backups are available https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14564 Status: REOPENED Bug 22143 - Fix permission and owner of configuration backups https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22143 Status: RESOLVED DUPLICATE of bug 14564 Best regards, Magnus Libriotech AS _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
participants (2)
-
dcook@prosentient.com.au -
Magnus Enger