I can confirm this problem with the occ preview:pre-generate command with an MP3 file w/o cover. In my case it is one file of a series of single channel frequency tone files from FreeMosquitoRingtones.org.
Iâm getting following error on nextcloud box after preview:generate-all and preview: pre-generate
ERROR: ld.so: object â/usr/lib/arm-linux-gnueabihf/libarmme
.soâ from /etc/ld.so.preload cannot be preloaded (cannot op
n shared object file): ignored.
The process control (PCNTL) extensions are required in case
you want to interrupt long running commands - see http://ph
.net/manual/en/book.pcntl.php
[Symfony\Component\Console\Exception\CommandNotFoundExcep
ion]
There are no commands defined in the âpreviewâ namespace.
I reenabled the app and rebooted the server. Still the same error⊠Someone else opened an issue with the same error on different commands on nextcloud-snap githubâŠ
What in case we copy files into a nextcloud userâs folder directly on the file system - is it succicient to run files:scan to get them added to the mentioned list?
As a result, in my /preview catalog only 2 files (for each *.jpg) are generated instead of ten or more files (170-170crop.png and 256-170max.png). This greatly accelerated my server based on Pi.
But if I manualy delete files from Linus file system, NC donât understand this. What method may be used for cleaning database records?
Since the generation of images takes time on a slower board like a RP3 and the preview command is in a cron job, what happens if I set the cron for every hour and the cron runs the job again while the previous job has not completed? Will it detect that the job is already running and exit gracefully?
Sorry for digging this thread up, but does anyone here have experience with hosted systems i.e. from all-inkl.de?
My nextcloud instance is running on one of their hosted packages and my suspicion ist that there is no way I can run the cronjobs needed there without terminal access?
Youâll need the hosting package âPrivatPlusâ in order to be able to use cronjobs.
When you only have the package âPrivatâ, there are no cronjobs available (see here).
Add a (system) cron job for ./occ preview:pre-generate
Idk how to go from there.
Should I copy the ./occ preview:pre-generate in the cron.php? And if yes, where?
I tried so find some videos about it, tbh now Iâm even more confusedâŠthank you for your help guys
Thank you, seems like Iâm not allowed to run this command on all-inkl:
Array
(
[0] => sh: ./occ: Permission denied
)
Does anyone have a recommendation for a hoster that allows this? Nextcloud run awfully slow, I use it for my private photo database and right now, there are around 200 GB of photos in it.
UPDATE: If anyone has the same problem: all-inkl support did edit my script so that it works:
Turns out Iâm not on a server with OPchache enabled, that also contributes to the slow performance, they will move me to a server with OPcache enabled.
Thank you all for your support