PHP module zip not installed.
Closed this issue · 7 comments
The actual image seems to miss the PHP zip module:
nextcloud_1 | PHP Warning: PHP Startup: Unable to load dynamic library 'zip.so' (tried: /usr/lib/php/extensions/no-debug-non-zts-20180731/zip.so (Error loading shared library libzip.so.5: No such file or directory (needed by /usr/lib/php/extensions/no-debug-non-zts-20180731/zip.so)), /usr/lib/php/extensions/no-debug-non-zts-20180731/zip.so.so (Error loading shared library /usr/lib/php/extensions/no-debug-non-zts-20180731/zip.so.so: No such file or directory)) in Unknown on line 0
nextcloud_1 | PHP module zip not installed.
nextcloud_1 | Please ask your server administrator to install the module.
nextcloud_1 |
nextcloud_1 | An unhandled exception has been thrown:
nextcloud_1 | Exception: Environment not properly prepared. in /nextcloud/lib/private/Console/Application.php:166
nextcloud_1 | Stack trace:
nextcloud_1 | #0 /nextcloud/console.php(95): OC\Console\Application->loadCommands(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
nextcloud_1 | #1 /nextcloud/occ(11): require_once('/nextcloud/cons...')
nextcloud_1 | PHP Warning: PHP Startup: Unable to load dynamic library 'zip.so' (tried: /usr/lib/php/extensions/no-debug-non-zts-20180731/zip.so (Error loading shared library libzip.so.5: No such file or directory (needed by /usr/lib/php/extensions/no-debug-non-zts-20180731/zip.so)), /usr/lib/php/extensions/no-debug-non-zts-20180731/zip.so.so (Error loading shared library /usr/lib/php/extensions/no-debug-non-zts-20180731/zip.so.so: No such file or directory)) in Unknown on line 0
nextcloud_1 | [25-Dec-2018 17:11:31] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library 'zip.so' (tried: /usr/lib/php/extensions/no-debug-non-zts-20180731/zip.so (Error loading shared library libzip.so.5: No such file or directory (needed by /usr/lib/php/extensions/no-debug-non-zts-20180731/zip.so)), /usr/lib/php/extensions/no-debug-non-zts-20180731/zip.so.so (Error loading shared library /usr/lib/php/extensions/no-debug-non-zts-20180731/zip.so.so: No such file or directory)) in Unknown on line 0
nextcloud_1 | #2 {main}PHP module zip not installed.
nextcloud_1 | Please ask your server administrator to install the module.
Having the same issue. Is zip.so available for php 7.3?
I now use the daily image. Which works for now (NC15), but that one misses imagick (but that's not critical).
@waja I already tried to enable libzip-dev on the nginx-php image earlier today. But with no success. I rolled back to php 7.2 for nextcloud 15, so it can be used again and I will look into it after the christmas days.
@tbrasser I have now imagick enabled for nextcloud daily. Images are in the build process now.
@waja I already tried to enable libzip-dev on the nginx-php image earlier today. But with no success. I rolled back to php 7.2 for nextcloud 15, so it can be used again and I will look into it after the christmas days.
Maybe I find time on 35c3 to investigate further. Will keep you updated.
Even it might be a good idea to switch daily first to PHP 7.3.
Thanks for your PR. Images are up now.