Open AndyXheli opened 1 year ago
I'm having the same issue. Brand new install of NextCloud AIO. I uploaded about 100GB of photos. Whenever I click on the "Photos" link, NextCloud freezes completely. I have to restart the NextCloud container.
This is what I'm seeing in the logs.
OCP\Files\NotPermittedException: Could not create folder "/appdata_ocpq51zbx1fh/preview/5/d/a/0/4/d/6/34800"
When I disable the Photos app, the problem goes away. I've read through multiple threads online, there doesn't seem to be a solution to this.
This issue also happens on my instance which is on Nextcloud 25.0.12.
NC v27.1.5.1, same.
[index] Fehler: OCP\Files\NotPermittedException: Could not create folder "/appdata_ocXXXXXXXXXX/preview/0/1/3/2/c/e/5/170327" at <<closure>>
0. /var/www/nextcloud/lib/private/Files/AppData/AppData.php line 147
OC\Files\Node\Folder->newFolder()
1. /var/www/nextcloud/lib/private/Preview/Storage/Root.php line 74
OC\Files\AppData\AppData->newFolder()
2. /var/www/nextcloud/lib/private/Preview/Generator.php line 613
OC\Preview\Storage\Root->newFolder()
3. /var/www/nextcloud/lib/private/Preview/Generator.php line 139
OC\Preview\Generator->getPreviewFolder()
4. /var/www/nextcloud/lib/private/Preview/Generator.php line 116
OC\Preview\Generator->generatePreviews()
5. /var/www/nextcloud/lib/private/PreviewManager.php line 192
OC\Preview\Generator->getPreview()
6. /var/www/nextcloud/core/Controller/PreviewController.php line 144
OC\PreviewManager->getPreview()
7. /var/www/nextcloud/core/Controller/PreviewController.php line 113
OC\Core\Controller\PreviewController->fetchPreview()
8. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 230
OC\Core\Controller\PreviewController->getPreviewByFileId()
9. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 137
OC\AppFramework\Http\Dispatcher->executeController()
10. /var/www/nextcloud/lib/private/AppFramework/App.php line 183
OC\AppFramework\Http\Dispatcher->dispatch()
11. /var/www/nextcloud/lib/private/Route/Router.php line 315
OC\AppFramework\App::main()
12. /var/www/nextcloud/lib/base.php line 1068
OC\Route\Router->match()
13. /var/www/nextcloud/index.php line 38
OC::handleRequest()
GET /index.phpiew?x=256&y=256&fileId=170327&c=9c23a298484fc79eedeb5442df43d447
from XXX.XXX.XXX.XXX by Username at 2024-01-28T17:46:08+01:00
Related: #289
Nextcloud 27.1.1
App Version 5.3.0
Also happen on photos. https://github.com/nextcloud/photos/issues/1498