-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Description
⚠️ This issue respects the following points: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
Bug description
We have uploaded a bunch of images and created a public share link. All image previews are presented, but when you click on (some) of the images, those images are not showing up. The loading screen keeps visible. Even if you copy the image to another storage location and request it as a logged-in user, the image keeps loading when being requested. We re-uploaded them, and the problem is gone. I could not find any error on the server side, and the Firefox debug mode showed that there were no failed or hanging connections. The only error we got is the following Javascript error in the browser:
TypeError: o.replace is not a function
RA previewUtils.ts:30
getPreviewIfAny PreviewUrl.js:53
previewPath PreviewUrl.js:16
VueJS 3
data Images.vue:187
VueJS 7
ou vue-async-computed.esm.js:207
created vue-async-computed.esm.js:159
VueJS 33
openFileInfo Viewer.vue:691
openFile Viewer.vue:640
file Viewer.vue:452
VueJS 11
open Viewer.js:313
Ql viewerAction.ts:49
execDefaultAction FileEntryMixin.ts:296
click FileEntry.vue:5
VueJS 33
vue.runtime.esm.js:3065:16
VueJS 6
ou vue-async-computed.esm.js:207
created vue-async-computed.esm.js:159
VueJS 33
openFileInfo Viewer.vue:691
openFile Viewer.vue:640
file Viewer.vue:452
VueJS 11
open Viewer.js:313
Ql viewerAction.ts:49
execDefaultAction FileEntryMixin.ts:296
click FileEntry.vue:5
VueJS 33
This error does not occur on the re-uploaded image. I am not sure if this is the root cause. It seems that previewing is involved, and I repaired and deleted all preview images, but the problem remains.
I think that there is little chance to reproduce the error, but maybe someone will get an idea of what could be the cause of the problem. It "feels" like a problem on the client side, but different people with different browsers are facing the same issue with the same images.
Steps to reproduce
- Upload an image
- Click on the image for larger viewing
I am not sure, if there is a way to reproduce that error deterministically.
Expected behavior
All uploaded images are shown in a larger size when being clicked on them.
Nextcloud Server version
31
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.3
Web server
Apache (supported)
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
Updated from a MINOR version (ex. 32.0.1 to 32.0.2)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
- Default user-backend (database)
- LDAP/ Active Directory
- SSO - SAML
- Other
Configuration report
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"nextcloud.mycompany.de",
"nextcloud.lx.mycompany.de"
],
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"proxy": "proxy.mycompany.de:3128",
"proxyexclude": [
"127.0.0.0\/8",
"localhost",
".mycompany.de"
],
"objectstore": {
"class": "\\OC\\Files\\ObjectStore\\S3",
"arguments": {
"bucket": "nextcloud",
"concurrency": 8,
"uploadPartSize": 268435456,
"autocreate": false,
"verify_bucket_exists": false,
"key": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"hostname": "s3-sb.mycompany.de",
"port": 443,
"use_ssl": true,
"use_path_style": true,
"proxy": false
}
},
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "pgsql",
"version": "31.0.6.2",
"overwritehost": "nextcloud.mycompany.de",
"overwriteprotocol": "https",
"overwrite.cli.url": "https:\/\/nextcloud.mycompany.de",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"remember_login_cookie_lifetime": 1296000,
"session_lifetime": 86400,
"session_keepalive": true,
"auto_logout": true,
"mail_smtpmode": "smtp",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "25",
"mail_sendmailmode": "smtp",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"default_locale": "de_DE",
"default_phone_region": "DE",
"filelocking.enabled": true,
"htaccess.RewriteBase": "\/",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"memcache.local": "\\OC\\Memcache\\APCu",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 6379,
"user": "nextcloud",
"password": "***REMOVED SENSITIVE VALUE***"
},
"theme": "",
"loglevel": 0,
"maintenance": false,
"maintenance_window_start": 1,
"ldapProviderFactory": "\\OCA\\User_LDAP\\LDAPProviderFactory",
"updater.release.channel": "stable"
}
}List of activated Apps
Enabled:
- activity: 4.0.0
- app_api: 5.0.2
- bruteforcesettings: 4.0.0
- cloud_federation_api: 1.14.0
- comments: 1.21.0
- contactsinteraction: 1.12.0
- dashboard: 7.11.0
- dav: 1.33.0
- federatedfilesharing: 1.21.0
- federation: 1.21.0
- files: 2.3.1
- files_downloadlimit: 4.0.0
- files_external: 1.23.0
- files_pdfviewer: 4.0.0
- files_reminders: 1.4.0
- files_sharing: 1.23.1
- files_trashbin: 1.21.0
- files_versions: 1.24.0
- firstrunwizard: 4.0.0
- groupfolders: 19.1.0
- impersonate: 2.0.0
- logreader: 4.0.0
- lookup_server_connector: 1.19.0
- nextcloud_announcements: 3.0.0
- notifications: 4.0.0
- oauth2: 1.19.1
- password_policy: 3.0.0
- photos: 4.0.0-dev.1
- privacy: 3.0.0
- profile: 1.0.0
- provisioning_api: 1.21.0
- recommendations: 4.0.0
- related_resources: 2.0.0
- serverinfo: 3.0.0
- settings: 1.14.0
- sharebymail: 1.21.0
- support: 3.0.0
- systemtags: 1.21.1
- text: 5.0.0
- theming: 2.6.1
- twofactor_backupcodes: 1.20.0
- updatenotification: 1.21.0
- user_ldap: 1.22.0
- user_status: 1.11.0
- viewer: 4.0.0
- webhook_listeners: 1.2.0
- workflowengine: 2.13.0
Disabled:
- admin_audit: 1.21.0
- circles: 31.0.0 (installed 30.0.0-dev)
- encryption: 2.19.0
- files_antivirus: 6.0.2 (installed 6.0.2)
- files_retention: 2.0.1 (installed 2.0.1)
- files_rightclick: 0.15.1 (installed 1.6.0)
- previewgenerator: 5.8.0 (installed 5.8.0)
- survey_client: 3.0.0 (installed 2.0.0)
- suspicious_login: 9.0.1
- twofactor_nextcloud_notification: 5.0.0
- twofactor_totp: 13.0.0-dev.0
- weather_status: 1.11.0 (installed 1.1.0)Nextcloud Signing status
No errors have been found.Nextcloud Logs
I could not find any error message that seems to be related with the reported issue.