Share not working with 31.0.4 and Nginx Proxy Manager - proxy issue

In the last week, I have encountered a problem with NC 31.0.4 and my reverse proxy, Nginx Proxy Manager (NPM). (Strangely, I had no problems with this a week ago!) I can load and run NC normally, and am confident that my config is correct because I have run NC for years behind NPM. However, now, when I choose either the share icon or the 3 dots, and choose “Open Details”. The sidebar opens and spins forever. After researching, I realize that it relates to NPM because I find the following:

This URL behaves as expected. (It is the direct local URL bypassing NPM):

https://privateURL/apps/files/files/26?dir=/&opendetails=true

This URL (through NPM) shows the symptoms above.

https://publicURL/apps/files/files/26?dir=/&opendetails=true

Based on Gemini and this URL, I have added the following to the “Custom Nginx Configuration” box:

proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;
proxy_max_temp_file_size 0; # Optional: Disable writing to disk for very large files
client_body_buffer_size 512k;
proxy_read_timeout 86400s;
client_max_body_size 0;

Unfortunately, the problem persists. Does anyone have any suggestions on other configurations that I should change to address this?

TIA!

I realize that the config might be helpful so here’s that:

{
“system”: {
“instanceid”: “REMOVED SENSITIVE VALUE”,
“passwordsalt”: “REMOVED SENSITIVE VALUE”,
“secret”: “REMOVED SENSITIVE VALUE”,
“trusted_proxies”: “REMOVED SENSITIVE VALUE”,
“overwritecondaddr”: “ProxyIPAddress”,
“trusted_domains”: {
“1”: “publicURL (without https://)”,
“2”: “privateURL(without https://)”,
“3”: “LocalIP”,
“4”: “ProxyIP”
},
“memcache.locking”: “\OC\Memcache\Redis”,
“memcache.distributed”: “\OC\Memcache\Redis”,
“memcache.local”: “\OC\Memcache\APCu”,
“datadirectory”: “REMOVED SENSITIVE VALUE”,
“overwrite.cli.url”: “Full Public URL”,
“dbtype”: “mysql”,
“version”: “31.0.4.1”,
“dbname”: “REMOVED SENSITIVE VALUE”,
“dbhost”: “REMOVED SENSITIVE VALUE”,
“dbtableprefix”: “oc_”,
“dbuser”: “REMOVED SENSITIVE VALUE”,
“dbpassword”: “REMOVED SENSITIVE VALUE”,
“logtimezone”: “UTC”,
“installed”: true,
“mail_smtpmode”: “smtp”,
“loglevel”: 2,
“default_phone_region”: “US”,
“maintenance”: false,
“htaccess.RewriteBase”: “/”,
“theme”: “”,
“mail_smtpauthtype”: “LOGIN”,
“mail_from_address”: “REMOVED SENSITIVE VALUE”,
“mail_domain”: “REMOVED SENSITIVE VALUE”,
“mail_smtpauth”: 1,
“mail_smtphost”: “REMOVED SENSITIVE VALUE”,
“mail_smtpport”: “587”,
“mail_smtpname”: “REMOVED SENSITIVE VALUE”,
“mail_smtppassword”: “REMOVED SENSITIVE VALUE”,
“updater.release.channel”: “stable”,
“twofactor_enforced”: “false”,
“twofactor_enforced_groups”: ,
“twofactor_enforced_excluded_groups”: ,
“twofactor_enforced_excluded_groups”: ,
“mail_sendmailmode”: “smtp”,
“mysql.utf8mb4”: true,
“maintenance_window_start”: 6
}
}

Checking out developer tools, I see the following:

Another update:

index.junk.mjs was triggered by the Activity so I deactivated that and everything functioned as expected. However, I want the app so re-enabled it and now things are working fully.

I have no idea why enabling and disabling the Activity seemed to address the issue. I am scratching my head about what happened and why this action fixed it. :man_shrugging:

style-CmLvDuwV.chunk.mjs is from v30.0.8.

Two suggestions:

  • Make sure Asset caching is off in NPM
  • Try a different browser / clear your browser cache / use private mode

If it continues, share more about your environment and how you updated - such as by filling out the support template. :wink:

Thank you! I disabled caching and will keep an eye out for the issue going forward. If it returns, I will complete the form.