Closed facorazza closed 3 years ago
I tried to remove all libjpeg libraries:
apt purge -y libjpeg-dev libjpeg62-turbo && apt autoremove -y
then I tried to reinstall libjpeg62 again:
apt install -y libjpeg62-turbo
and tried to generate the previews. Then I got:
/# ncc preview:generate-all --path="/my/files/path"
PHP module GD not installed.
Please ask your server administrator to install the module.
An unhandled exception has been thrown:
Exception: Environment not properly prepared. in /data/nextcloud/lib/private/Console/Application.php:168
Stack trace:
#0 /data/nextcloud/console.php(99): OC\Console\Application->loadCommands(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#1 /data/nextcloud/occ(11): require_once('/data/nextcloud...')
So I installed GD:
apt install php7.3-gd
Now I don't get the error anymore and the NEF previews work fine.
If I try to generate previews I get this error.
I'm on Debian 10. Online I saw people uninstalling and reinstalling libjpeg 6 and 8 but I'm on Debian 10 and these are the packages available:
I tried to install libjpeg-dev to no avail.
Is it an issue with imagemagick?