as off now when i get spammed with this i dont run anything but i think its the cron.php causing this. earlier when i have seen this problem is when i locally moved alot of files in to a user and did a rescan of files.What Nextcloud CLI commands are you running, and why?
I just saw that i had put the
*/10 * * * * php /usr/local/www/nextcloud/occ preview:pre-generate in the crontab system"etc/crontab". i now added it via "crontab -u www -e" or should this not effect?
i dont know if this is run as cli or web
its CLI, just got this after the change "Allowed memory size of 134217728 bytes exhausted (tried to allocate 1826816 bytes) at /usr/local/www/nextcloud/lib/private/legacy/OC_Image.php#649 " so changing it back. so its clearly the www cli that need more than 128M and i cant find where to increase it
Sorry for spam. I now se that it have probably never run because when i try from cli to run:
php /usr/local/www/nextcloud/occ preview:pre-generate
i promtps me to run as www. so it should be in the www crontab and now it a bigger problem in that case