Hiya,
I’m trying to configure Preview Generator in my nextcloud box
I enabled the app from nextcloud app store
Went to ssh to execute the following command
sudo -u www-data php /snap/nextcloud/current/htdocs/occ preview:generate-all
and the message I get is
sudo: php: command not found
which is weird. Isn’t it supposed to be installed already?
One more question. it’s been recommended to use the “screen” command to run the Preview Generation process in the background while in ssh. though the “screen” command cannot be found in snap. I will have to apt-get it. Is it fine to do so in nextcloud box [which is essentially an ubuntu snappy core]?