MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Bugs and Requests => Topic started by: opotoiki on 2015-03-08, 03:53:29

Title: Database Restore Failed "Could not unzip file"
Post by: opotoiki on 2015-03-08, 03:53:29
(http://s19.postimg.org/moumt1zsj/restore_db_error.png)

backup format in tgz
any clue how to fix this error?

server
Quote
A. Kloxo-MR: 7.0.0.b-2015030101
1. MySQL: MariaDB-server-10.0.17-1.el6.x86_64
Title: Re: Database Restore Failed "Could not unzip file"
Post by: MRatWork on 2015-03-08, 05:40:26
Try with rename file from .tgz to .tar.gz, move to /tmp, extract. After that, open phpmyadmin and select database, import, choose 'Select from the web server upload directory /tmp/:'.
Title: Re: Database Restore Failed "Could not unzip file"
Post by: opotoiki on 2015-03-08, 06:11:09
thank you sir, I have done with the manual db restore.
I just report the bug that I found, maybe you can fix for the next release.
Title: Re: Database Restore Failed "Could not unzip file"
Post by: MRatWork on 2015-03-08, 06:41:09
As I know, Kloxo-MR still don't know '.tgz' but '.tar.gz'. Also don't know '.tbz2' and 'tar.bz2'.

In your issue try rename '.tgz' to 'tar.gz'.

I will fix this issue and also detecting 'tar.bz2'.
Title: Re: Database Restore Failed "Could not unzip file"
Post by: opotoiki on 2015-03-08, 08:10:42
yes I think that the problem is,
why Kloxo-MR use .tgz extension when we click "Get Backup"? whereas they cannot handle it when we restoring back. I'm sure you know more than me and thank you for your attention.