Open kapitan-iglu opened 3 years ago
So I checked Extract app also in NextCloud versions 15.0.14, 16.0.12, 17.0.10, 18.0.12 and it's behaving in the same way. Extract v1.3.0, NextCloud v18.0.12.
Zip archive is not extracted, only parent folder is created. Errors from NextCloud log:
[PHP] Error: ZipArchive::extractTo(): Invalid or uninitialized Zip object at /var/www/owncloud/apps/extract/lib/Controller/ExtractionController.php#118
POST /owncloud/index.php/apps/extract/ajax/extract.php
at 2021-01-09T13:49:17+00:00
[PHP] Error: ZipArchive::close(): Invalid or uninitialized Zip object at /var/www/owncloud/apps/extract/lib/Controller/ExtractionController.php#119
POST /owncloud/index.php/apps/extract/ajax/extract.php
at 2021-01-09T13:49:17+00:00
Filesystem content:
drwxr-xr-x 2 www-data www-data 10 Jan 9 14:49 aaa
-rw-r--r-- 1 www-data www-data 2814695 Oct 11 17:58 aaa.zip
Content of .tar.gz
is successfully extracted to new subfolder (with name based on archive filename without extension, (checked on filesystem) but in NextCloud Files View there is no new folder visible. No errors in log. Notice different parent folder permissions:
drwx------ 3 www-data www-data 24 Jan 9 14:53 www
-rw-r--r-- 1 www-data www-data 168765 Oct 13 22:47 www.tar.gz
Hi Do you have the zip extension installed and enabled ?
Can you give more informations about your system : Do you use snap ? Which version of php do you use ?
Hi,
according to README I've installed apt-get install unrar p7zip p7zip-full
:
Debian 8, no snap, php7.3 -i
:
PHP Version => 7.3.16-1
...
zip
Zip => enabled
Zip version => 1.15.4
Libzip headers version => 1.5.1
Libzip library version => 1.5.1
...
zlib
ZLib Support => enabled
Stream Wrapper => compress.zlib://
Stream Filter => zlib.inflate, zlib.deflate
Compiled Version => 1.2.8
Linked Version => 1.2.8
...
bz2
BZip2 Support => Enabled
Stream Wrapper support => compress.bzip2://
Stream Filter support => bzip2.decompress, bzip2.compress
BZip2 Version => 1.0.6, 6-Sept-2010
...
What is minimal compatible/supported NextCloud version? On my very old v14.0.14 instalation its behaving very strange:
.tar.gz
is extracted to the "name_of_archive_file" folder (checked on filesystem) but in nextcloud Files the folder is empty.zip
is not extracted, only parent folder is createdWhat logs should I examine/provide?