-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: TypeError: fileInfo1[key].localeCompare
is not a function - Error while opening an image on browser
#2564
Comments
fileInfo1[key].localeCompare
is not a function - Error while opening an image on browser
Please provide an example folder structure and sorting order with which this can be reproduced. This probably depends on what else is present in the folder, not just the file to be opened. |
Note: in Side note: this is an error in the Viewer app (which has its own issue tracker). |
Hi, the file in it was photo and video uploaded from an android smartphone, so this is some filename example (are underd of file, so is difficult to report everyone): -rwxrwx--- 1 www-data www-data 6491196 Sep 6 05:08 IMG_20240906_070857474.jpg trying to disinstall and reinstall it didn't solve the problem. Instead I solved he problem (for now) by cancelling the folder, creating a new one with the name "Foto" and then re-upload everything from the smartphone. Maybe there was one file that create this problem that I didn't re-create by uploading everything from zero? If the problem re-apper I'll check better filename. |
Bug description
From PC (windows) /Smartphone (Android) chrome browser, only on the directory /Camera of user admin, I can see the image/video in the folder (the thumbs) but when I click on it to expand I have a black windows and the error below.
Image/video in other folder of the same user are ok.
Image/video in other folder of other user are ok.
Priviledge and ownership of the image/video seems the same of both image viewed and not viewed:
-rwxrwxr-x 1 www-data www-data
The same image/video on Android app is open without any problem.
I try by deleting nextcloud, reinstalling it, re-put the image folder in it, re-create the previwe, but the problem persist.
I try by deleting the chrome cache, by opening an incognito windows, but the problem persist.
The folder is the main folder with a big number of photo and video, but I have another user with another big folder that don't have this problem. So I'm not recognizing any pattern for now.
Logs and error
Chrome console log (error):
Chrome network log (seems not error in it):
Describe your Environment
Kubernetes distribution: K3S with 3 node, 1 Raspberry PI 5 (ARM) and 2 intel i5 node. Nextcloud run on the Raspberry PI 5.
Helm Version (or App that manages helm):
Helm Chart Version: version.BuildInfo{Version:"v3.15.2", GitCommit:"1a500d5625419a524fdae4b33de351cc4f58ec35", GitTreeState:"clean", GoVersion:"go1.22.4"}
values.yaml:
I'm using local-path PVC on the root disk (an SSD attached by USB 3).
Only app installed on top of the helm chart are imagepreview and memories.
Also this is the config.php:
Steps to reproduce
I wasn't able to reproduce a pattern: Just clicking on an image/video on a specific folder in the brower and it open a black windows instead of the image/video itself.
Expected behavior
When you click on the image you should view the "bigger version", if you click on a video, it should start the video reproduction.
Nextcloud Server version
29
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.3
Web server
Apache (supported)
Database engine version
SQlite
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
No response
List of activated Apps
No response
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response
The text was updated successfully, but these errors were encountered: