Closed alteadev closed 6 years ago
what command ??
-u ???
was able to install under /nextcloud/apps
in gui, under apps/disabled apps, i can find camerapreview and hit the activate button but get : Could not download app camerarawpreviews and in logging i get: Error | PHP | Invalid argument supplied for foreach() at /var/www/html/lib/private/Installer.php#406 Error | core | Could not download app camerarawpreviews | 2018-02-12T02:45:48+0100
ok, it's late, i am tired ... almost kill the serveur... getting a seg fault and php-fpm crashing
serveur error 503 when accessing my nextcloud
removing /etc/php/7.0/cli/conf.d/20-imagick.ini
control regain, server ok.
going to sleep.
@stratege1401 Hello, when you have put the camerarawpreviews folder inside your apps folder, instead of activating through the gui, you should try "php occ app:enable CameraRawPreviews" as the same user as your web server. Also some distros have problems with imagick and php7.
Hello thanks for answer...
My /var/www/html is my nextcloud root directorie ( some laziness during install on my prototype). CameraRawPreviews folder is under /html/apps ls -la show www-data:www-data with drwxr-xr-x Problem, acting as root php occ app:enable CameraRawPreviews give "could not open input files occ" and if try doing a su www-data I can't as user not available due to nologin constraints...
My final hardware should have been delivered this Monday but is late because weather is bad in France ( 5 cm of snow near Paris and road traffic goes to hell !!!!!! )
So I will try again tomorrow doing a nice imagick install on Debian
Under debian 9.3, you might have trouble with some users getting message "user unavailable". This is due to the nologing. to bypass this use this temporary solution: su -l www-data -s /bin/bash ( with www-dat the users with nologin )
imagick module for php -----> OK exiftool command needs to be available---> OK Probably memory_limit quite high ---> OK
modified php.ini 'enabledPreviewProviders' => array( 'OCA\CameraRawPreviews\RawPreview', 'OCA\CameraRawPreviews\IndesignPreview' // for indesign files (.indd) ),
file loc /html/occ /html/apps/camerarawpreviews
STILL, i am getting a nice red square with:
www-data@nextcloud:~/html$ php occ app:enable camerarawpreviews
[Exception] App not found
app:enable [-g|--groups GROUPS] [--]
also, broke my gallery, as no pictures is now displayed.
Revert to original config.php fix-it
Still unable to enable :))
Pull latest master. I think potensial issues are fixed now. Make sure the app folder is lower case "camerarawpreviews".
In order to be able to activate the App, you should rename the App folder "CameraRawPreviews" inside the NextCloud Apps folder.
To activate:
sudo -u www-data php occ app:enable CameraRawPreviews