Open prsnbrg opened 5 years ago
Hi, What is the OS of your server ?
System OS: Raspbian GNU/Linux 9 Webserver: Apache/2.4.25 (Raspbian) PHP: 7.0.33-7+0~20190503101027.13+stretch ~1.gbp26f991 MySQL: 10.1.38-MariaDB-0+deb9u1
Installed packages for unpacking: p7zip, p7zip-full, php-zip, php7.0-zip, unzip, zip, unar, unrar-free
Can you try this version https://github.com/PaulLereverend/NextcloudExtract/releases/download/1.2.1.0/extract.tar.gz
Now that's the mistake:
{"reqId":"fkld3u6PHKrSqgqqnuSB","level":3,"time":"2019-07-11T13:59:22+02:00","remoteAddr":"192.168.0.55","user":"root","app":"PHP","method":"POST","url":"\/owncloud\/index.php\/apps\/extract\/ajax\/extractRar.php","message":"Undefined variable: PATH at \/var\/www\/owncloud\/apps\/extract\/lib\/Controller\/ExtractionController.php#147"}
But I think it's going in the right direction, thank you.
Hi, Sorry for the delay, i'm back and I will fix this asap
Hey, when do you think you'll fix it?
Hi ! Sorry for the delay. Should be fixed in latest update 247a7aa. Feel free to tell me if it's not working.
Hey, unrar is a paid package, I have decided to unrar-free.
When testing with a .rar archive from the internet it could not be unpacked.
This is the error:
{"reqId":"WLRrt5FxZc7UezDCRNKd","level":3,"time":"2019-07-06T14:35:49+02:00","remoteAddr":"192.168.0.205","user":"root","app":"PHP","method":"POST","url":"\/owncloud\/index.php\/apps\/extract\/ajax\/extractRar.php","message":"Undefined offset: 0 at \/var\/www\/owncloud\/apps\/extract\/lib\/Controller\/ExtractionController.php#144"}
Same error at Nextcloud:
{"reqId":"SZx7o6sdNphI4axLFwUl","level":3,"time":"2019-07-11T11:30:40+00:00","remoteAddr":"192.168.0.55","user":"root","app":"PHP","method":"POST","url":"\/nextcloud\/index.php\/apps\/extract\/ajax\/extractRar.php","message":"Undefined offset: 0 at \/var\/www\/nextcloud\/apps\/extract\/lib\/Controller\/ExtractionController.php#147","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/75.0.3770.100 Safari\/537.36","version":"15.0.10.0"}
I use ownCloud 10.1.1. I have no problems with .zip archives.