When installing a fresh Nexcloud on my hosting provider (infomaniak.com), I noticed that I can’t upload files or folders. So I re-install, without any changes. Then I searched the web for answers without success. After a few hours of searching, I decided to retry installation with a previous version (so 31.0.2 instead of 31.0.3 the latest), once again without changes.
At that point, I decide to test with various browser. The result is: with Firefox based browser I can’t use the upload function but with Chrome based browser it works fine.
I search the internet long and hard without finding any solution. Do you have any idea on how to fix this?
I answered as best as I could with info. I’ll gladly complete if needed. Thanks
The Basics
- Nextcloud Server version (e.g., 29.x.x):
- Nextcloud Hub 10 (31.0.3)
- Operating system and version (e.g., Ubuntu 24.04):
- Mutualised web hosting
- Web server and version (e.g, Apache 2.4.25):
- Mutualised web hosting
- Reverse proxy and version _(e.g. nginx 1.27.2)
- Mutualised web hosting
- PHP version (e.g, 8.3):
- 8.4
- Is this the first time you’ve seen this error? (Yes / No):
- Yes
- When did this problem seem to first start?
- New install on version 31
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
- Infomaniak One-click install
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
- No
Summary of the issue you are facing:
When firefox based browser clicking on uploading files or on Upload folder doesn’t work. No “open files” windows is opening, no error message either on the web interface notifications or in the log.
The same behaviour can be found on any upload feature like upload an user image (user or contact settings), a logo or a background (apparence settings).
No issues on Chrome based web browser.
Steps to replicate it (hint: details matter!):
- On a firefox based browser
- In files app clic “+New”
- Clic on upload
- Nothing happen
Log entries
Nextcloud
1 minute of log when I did nothing but try from Zen Browser (FF based), Water Fox (FF based) and Firefox, Chromium (Chrome based). I tried later with Brave (chrome based) but same log entry.
Web Browser
Firefox 137.0.2 console
TypeError: browsingContext.currentWindowGlobal is null parent-process-document-event.js:105:9
onStateChange resource://devtools/server/actors/resources/parent-process-document-event.js:105
Error: Missing host permission for the tab 7 undefined
Web server / Reverse Proxy
N/A
Configuration
Nextcloud
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"***REMOVED SENSITIVE VALUE***",
"***REMOVED SENSITIVE VALUE***"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "31.0.3.2",
"overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "y3y0_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"maintenance": false,
"updater.secret": "***REMOVED SENSITIVE VALUE***",
"theme": "",
"loglevel": 0
}
}
Apps
Enabled:
- activity: 4.0.0
- app_api: 5.0.2
- bruteforcesettings: 4.0.0
- circles: 31.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_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
- 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
- survey_client: 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_status: 1.11.0
- viewer: 4.0.0
- weather_status: 1.11.0
- webhook_listeners: 1.2.0
- workflowengine: 2.13.0
Disabled:
- admin_audit: 1.21.0
- encryption: 2.19.0
- files_external: 1.23.0
- suspicious_login: 9.0.1
- twofactor_nextcloud_notification: 5.0.0
- twofactor_totp: 13.0.0-dev.0
- user_ldap: 1.22.0