2020-07-09T14:48:57+00:00 In Root.php line 205:
2020-07-09T14:48:57+00:00
2020-07-09T14:48:57+00:00 [OCP\Files\NotFoundException]
2020-07-09T14:48:57+00:00 /mon/files/JulyPaddy/Fotos
2020-07-09T14:48:57+00:00
2020-07-09T14:48:57+00:00
2020-07-09T14:48:57+00:00 Exception trace:
2020-07-09T14:48:57+00:00 at /config/www/nextcloud/lib/private/Files/Node/Root.php:205
2020-07-09T14:48:57+00:00 OC\Files\Node\Root->get() at /config/www/nextcloud/lib/private/Files/Node/Folder.php:138
2020-07-09T14:48:57+00:00 OC\Files\Node\Folder->get() at /config/www/nextcloud/apps/previewgenerator/lib/Command/Generate.php:144
2020-07-09T14:48:57+00:00 OCA\PreviewGenerator\Command\Generate->generatePathPreviews() at /config/www/nextcloud/apps/previewgenerator/lib/Command/Generate.php:115
2020-07-09T14:48:57+00:00 OCA\PreviewGenerator\Command\Generate->execute() at /config/www/nextcloud/3rdparty/symfony/console/Command/Command.php:255
2020-07-09T14:48:57+00:00 Symfony\Component\Console\Command\Command->run() at /config/www/nextcloud/3rdparty/symfony/console/Application.php:1012
2020-07-09T14:48:57+00:00 Symfony\Component\Console\Application->doRunCommand() at /config/www/nextcloud/3rdparty/symfony/console/Application.php:272
2020-07-09T14:48:57+00:00 Symfony\Component\Console\Application->doRun() at /config/www/nextcloud/3rdparty/symfony/console/Application.php:148
2020-07-09T14:48:57+00:00 Symfony\Component\Console\Application->run() at /config/www/nextcloud/lib/private/Console/Application.php:215
2020-07-09T14:48:57+00:00 OC\Console\Application->run() at /config/www/nextcloud/console.php:100
2020-07-09T14:48:57+00:00 require_once() at /config/www/nextcloud/occ:11
2020-07-09T14:48:57+00:00
2020-07-09T14:48:57+00:00 preview:generate-all [-p|--path [PATH]] [--] [<user_id>]
I had a look at the PHP code in Root.php line 205 and it seems like this error points to an issue with the path. Nextcloud cannot find the path.
This is strange as i can navigate with Nextcloud to the photos via the file browser.
I really dont know what to do with this.
No errors. It starts to generate previews in one of my folders and then suddenly does not continue. No error at all.
When i start it again it continues a little further down the folder structure. I can do this over and over and it continues just a bit more every time.
Sounds strange i know. But thatâs the behaviour i can see.
I restarted the process like 10 times and now got an error:
PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 11526280 bytes) in /config/www/nextcloud/lib/private/legacy/OC_Image.php on line 649
Addition:
After checking the log in nextcloud it turns out that this error is thrown everytime that preview-generate-all stops. Just the console does not report this error everytime.
I changed it to 1024MB now. Still getting the error:
PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 5529760 bytes) in /config/www/nextcloud/lib/private/legacy/OC_Image.php on line 649
PHP Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 10641088 bytes) in /config/www/nextcloud/lib/private/legacy/OC_Image.php on line 649
I also checked memory usage of the php7 thread and it goes up to 27% which is about 2 Gig of RAM usage. So in fact it really uses up the memory.
So preview-generate seems to need more memory the bigger the folder structure is. It is not that huge for me. Something around 2 TB of different type of data (photos, movies, apps âŚ).
Is that normal behaviour?
Ok I restarted the generate:preview-all command a felt million times and it ran through all folders fine and created the thumbs that are probably visible when navigating to the folders.
But the described behaviour above still persists. So the problem did not go away.
Nothing shown in âmy photosâ expect for the pictures inside the nextcloud generated âphotosâ folder
I cannot create a public share in my photo storage location as stated in my last comment. No idea why.
At least i found a solution for this. There are extended settings for external storage a bit hidden with the 3 dots when configuring the external storage. I have activated sharing in there and now i can also do a public share on these.
After doing some research i believe the reason for photos not showing up in the âphotosâ app gallery is that external storage is not supported by this app:
I found no fix. If this it the reason (and i think it is), photos is broken for me. I expect it is for a lot of other users.
For me the way with âapps/filesâ and with âapps/photosâ works.
In âapps/photosâ i can go to âapps/photos/albumsâ and i find the âlocal directoryâ and in the directory the subdirectorys with the photos.