Closed BerentM closed 1 year ago
What version of Nextcloud are you running? Are you making use of the files_external app?
Nextcloud is on version 25.0.2 ~No, i don't use files_external app, i checked that via Nextcloud GUI.~
While looking for tool to get list of all installed apps, i found another ./occ command that ends with similar error.
docker exec nextcloud ./occ app:list
So there might be more general problem with my instance, that is not related to preview generator.
EDIT: i found file called files_external inside apps folder
docker exec nextcloud ls apps | grep exter
files_external
Something weird is going on with your instance or your file system. May I ask on which file system your instance (/var/www/html/
) is stored?
It seems like all file names and paths are lower cased and that is breaking the autoloader. E.g. /var/www/html/apps/files_external/lib/service/globalstoragesservice.php
should be /var/www/html/apps/files_external/lib/Service/GlobalStoragesService.php
I run Nextcloud on Raspbery Pi 4B with plugged external SSD disc.
I mount it with fstab: UUID=B278-A8E7 /mnt/data exfat defaults,uid=1000,gid=1000,dmask=007 0 0
And then i additionaly run sudo bindfs -u 1000 -g 1000 /mnt/data/ /home/mateo/docker/nextcloud_data/
because i had issues with starting nextcloud, if it tried to store data in /mnt/data.
Maybe logger messes up with paths, they look legit on my instance
I have no name!@6365085dc379:/var/www/html/apps/files_external/lib/Service$ ls -la
total 1408
drwxrwx--- 2 1000 1000 131072 Dec 18 12:14 .
drwxrwx--- 12 1000 1000 131072 Dec 18 12:14 ..
-rwxr-xr-x 1 1000 1000 10082 Dec 18 12:14 BackendService.php
-rwxr-xr-x 1 1000 1000 18780 Dec 18 12:14 DBConfigService.php
-rwxr-xr-x 1 1000 1000 6095 Dec 18 12:14 GlobalStoragesService.php
-rwxr-xr-x 1 1000 1000 1294 Dec 18 12:14 ImportLegacyStoragesService.php
-rwxr-xr-x 1 1000 1000 7745 Dec 18 12:14 LegacyStoragesService.php
-rwxr-xr-x 1 1000 1000 16447 Dec 18 12:14 StoragesService.php
-rwxr-xr-x 1 1000 1000 6446 Dec 18 12:14 UserGlobalStoragesService.php
-rwxr-xr-x 1 1000 1000 4616 Dec 18 12:14 UserStoragesService.php
-rwxr-xr-x 1 1000 1000 1658 Dec 18 12:14 UserTrait.php
I have no name!@6365085dc379:/var/www/html/apps/files_external/lib/Service$ pwd
/var/www/html/apps/files_external/lib/Service
It's strange, but after renaming/deleting the apps/files_external folder, the occ commands started working 😄 Your first comment about files_external + this one directed me to this fix. I don't understand why it started to work, but it works for now.
That is great to hear! I'll close the issue.
Got with the same issue. Seems like I ran docker on a case insensitive file system (MAC OS APFS), and the Preview Generator app cause the same trouble.
Hello, i run Nextcloud inside official docker container
After adding Preview Generator app via Nextcloud interface i tried to run:
docker exec nextcloud ./occ preview:generate-all -vvv
It ends with an error that I have not been able to find online. I am looking for some guidance on this.