How-To Install / use

Hi everyone,

can someone help or guide me to how to get this installed. Sorry for the stupid question but I am quite knew here and the only documentation I Could find on the GIT is:

  • Install directly from within your Nextcloud from the app store
  • Clone this repository in you Nextcloud app folder

But how? I do not find anything in the NExtcloud Apps. And why Cloning afterwards?

Thanks a lot

S

cd <nextcloud-folder>/apps
git clone https://github.com/rullzer/previewgenerator.git
chown -R www-data:www-data previewgenerator   # or whatever the webserver user is 

and then activate it via the web frontend.

1 Like

Hi Reiner,

thanks a lot. This was really straight forward…Maybe make sense to just replace the instructions on teh GIT with yours.

Now next question. You have to create y cronjob. I found this topic here:

Unfortunately there’s no solution described on how the cronjob is created.
Can you help me with that onece more. Sorry for stupid question

Thanks S

root@your-maschine# crontab -e -u www-data # or your webserver user
insert the following line:
*/15 * * * * php -f <path-to-your-nextcloud-www-folder>/occ preview:pre-generate > /dev/null 2>&1

update the manual: you can edit the readme accordingly and open an issue