Upgraded to 32.0.1.2 on shared linux hosting and a couple of issues

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. :heart:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 32.0.1.2
  • Operating system and version (e.g., Ubuntu 24.04):
    • cloudlinux
  • Web server and version (e.g, Apache 2.4.25):
    • litespeed
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • n/a
  • PHP version (e.g, 8.3):
    • 8/2
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes
  • When did this problem seem to first start?
    • After 32.0.1.2 upgrade
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • Manual
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • unsure

Summary of the issue you are facing:

[After Upgrade, when clicking on a KeePassXC.kdbx in the Files App, KeeWeb used to open the database, now it presents an open dialog]

Steps to replicate it (hint: details matter!):

  1. Extract 32.0.1.2 archive
  2. Replace config files from previous version
  3. Login as admin and restore all the lost apps
  4. Login as non-admin and browse to Files App
  5. Locate the KeePassXC.kdbx file
  6. in the … menu, select ‘Open with Keeweb’
  7. Keeweb opens but displays Open Dialog (it used to open the kdbx file itself)

Basically, I don’t seem to be able to use KeeWeb to open the database stored in NextCloud, I used to be able to.

Tried updating mimetypes using OCC, tried updating .htaccess with OCC.

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

$ php occ config:list system                                                                                                                                                                                                                                                        
{                                                                                                                                                                       
    "system": {                                                                                                                                                                                                                 
        "installed": true,                                                                                                                                                                                                                                                  
        "dbtype": "mysql",                                                                                                                                                                                                                                                  
        "dbname": "***REMOVED SENSITIVE VALUE***",                                                                                                                                                                                                                                                                             
        "dbuser": "***REMOVED SENSITIVE VALUE***",                                                                                                                                                                                                                                                                             
        "dbpassword": "***REMOVED SENSITIVE VALUE***",                                                                                                                                                                                                                                                                         
        "dbhost": "***REMOVED SENSITIVE VALUE***",                                                                                                                                                                                                                                                                             
        "dbtableprefix": "oc_",                                                                                                                                                                                                                                                                 
        "forcessl": false,                                                                                                                                                                                                                                                  
        "theme": "",                                                                                                                                                                                                                                
        "3rdpartyroot": "",                                                                                                                                                                                                                                                     
        "3rdpartyurl": "",                                                                                                                                                                                                                                                  
        "blacklisted_files": [                                                                                                                                                                                                                                                              
            ".htaccess"                                                                                                                                                                                                                                         
        ],                                                                                                                                                                                                  
        "default_language": "en",                                                                                                                                                                                                                                                                       
        "default_locale": "en_AU",                                                                                                                                                                                                                                                                          
        "default_phone_region": "AU",                                                                                                                                                                                                                                                                                   
        "overwritehost": "",                                                                                                                                                                                                                                                        
        "overwriteprotocol": "https",                                                                                                                                                                                                                                                                                   
        "overwritewebroot": "",                                                                                                                                                                                                                                                                 
        "overwritecondaddr": "",                                                                                                                                                                                                                                                                    
        "overwrite.cli.url": "https:\/\/cloud.remotely-helpful.info\/",                                                                                                                                                                                                                                                        
        "htaccess.RewriteBase": "\/",                                                                                                                                                                                                                                                                                   
        "defaultapp": "dashboard",                                                                                                                                                                                                                                                                          
        "knowledgebaseenabled": true,                                                                                                                                                                                                                                                                                   
        "knowledgebaseurl": "https:\/\/api.apps.nextcloud.com\/v1",                                                                                                                                                                                                                                                            
        "appstoreenabled": true,                                                                                                                                                                                                                                                                    
        "apps_paths": [                                                                                                                                                                                                                                         
            {                                                                                                                                                                                                           
                "path": "\/home4\/remotely\/public_html\/cloud\/apps",                                                                                                                                                                                                                                                         
                "url": "\/apps",                                                                                                                                                                                                                                                                    
                "writable": true                                                                                                                                                                                                                                                                    
            }                                                                                                                                                                                                           
        ],                                                                                                                                                                                                  
        "mail_smtpdebug": false,                                                                                                                                                                                                                                                                    
        "mail_smtpmode": "smtp",                                                                                                                                                                                                                                                                    
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",                                                                                                                                                                                                                                                                      
        "mail_smtpport": "465",                                                                                                                                                                                                                                                                 
        "mail_smtptimeout": 10,                                                                                                                                                                                                                                                                 
        "mail_smtpauthtype": "LOGIN",                                                                                                                                                                                                                                                                                   
        "appcodechecker": true,                                                                                                                                                                                                                                                                 
        "log_type": "nextcloud",                                                                                                                                                                                                                                                                    
        "logfile": "\/home4\/remotely\/cloud\/logs\/nextcloud.log",                                                                                                                                                                                                                                                            
        "loglevel": 0,                                                                                                                                                                                                                                      
        "logdateformat": "F d, Y H:i:s",                                                                                                                                                                                                                                                                                       
        "logtimezone": "Australia\/Sydney",                                                                                                                                                                                                                                                                                    
        "log_rotate_size": 104857600,                                                                                                                                                                                                                                                                                   
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",                                                                                                                                                                                                                                                                       
        "hashingCost": 10,                                                                                                                                                                                                                                                  
        "trashbin_retention_obligation": "180, auto",                                                                                                                                                                                                                                                                          
        "allow_user_to_change_display_name": true,                                                                                                                                                                                                                                                                             
        "xframe_restriction": true,                                                                                                                                                                                                                                                                             
        "custom_csp_policy": "default-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-src *; img-src *; font-src 'self' data:;                                                                                                                                                            media-src *",                                                                                                                                                                                                           
        "customclient_desktop": "",
        "customclient_android": "",
        "customclient_ios": "",
        "remember_login_cookie_lifetime": 1296000,
        "session_keepalive": true,
        "updatechecker": true,
        "updater.server.url": "***REMOVED SENSITIVE VALUE***",
        "updater.release.channel": "stable",
        "has_internet_connection": true,
        "writable_appsdir": true,
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "version": "32.0.1.2",
        "maxZipInputSize": "838860800",
        "allowZipDownload": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "trusted_domains": [
            "cloud.remotely-helpful.info",
            "cloud.remotely-helpful.com",
            "remotely-helpful.info",
            "remotely-helpful.com",
            "remotelyhelpful.info",
            "remotelyhelpful.com",
            "remotelyhelpful.info.au",
            "remotelyhelpful.com.au",
            "remotely-helpful.info.au",
            "remotely-helpful.com.au",
        ],
        "secret": "***REMOVED SENSITIVE VALUE***",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "appstore.experimental.enabled": true,
        "mail_smtpauth": true,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "app_install_overwrite": [
            "keeweb",
            "apporder",
            "calendar",
            "contacts",
            "external",
            "camerarawpreviews",
            "tasks",
            "bookmarks",
            "occweb",
            "extract",
            "gpxedit",
            "issuetemplate",
            "files_texteditor",
            "files_markdown",
            "side_menu",
            "files_rightclick"
        ],
        "mysql.utf8mb4": true,
        "enabledPreviewProviders": [
            "OC\\Preview\\PNG",
            "OC\\Preview\\JPEG",
            "OC\\Preview\\GIF",
            "OC\\Preview\\HEIC",
            "OC\\Preview\\BMP",
            "OC\\Preview\\XBitmap",
            "OC\\Preview\\MP3",
            "OC\\Preview\\TXT",
            "OC\\Preview\\MarkDown",
            "OC\\Preview\\OpenDocument",
            "OC\\Preview\\Krita"
        ],
        "tempdirectory": "\/home4\/remotely\/tmp\/NextCloud",
        "twofactor_enforced": "true",
        "twofactor_enforced_groups": [],
        "twofactor_enforced_excluded_groups": [
            "no2FA"
        ],
        "maintenance_window_start": 100,
        "mail_sendmailmode": "smtp"
    }
}

Apps

The output of occ app:list (if possible).
$ php occ app:list
Enabled:

  • activity: 5.0.0-dev.0
  • admin_audit: 1.22.0
  • calendar: 6.0.2
  • cloud_federation_api: 1.16.0
  • contacts: 8.0.4
  • dashboard: 7.12.0
  • dav: 1.34.2
  • federatedfilesharing: 1.22.0
  • files: 2.4.0
  • files_downloadlimit: 5.0.0-dev.0
  • files_markdown: 2.4.1
  • files_pdfviewer: 5.0.0-dev.0
  • files_reminders: 1.5.0
  • files_sharing: 1.24.0
  • keeweb: 0.6.22
  • lookup_server_connector: 1.20.0
  • notes: 4.12.3
  • notifications: 5.0.0-dev.0
  • oauth2: 1.20.0
  • photos: 5.0.0-dev.1
  • privacy: 4.0.0-dev.0
  • profile: 1.1.0
  • provisioning_api: 1.22.0
  • related_resources: 3.0.0-dev.0
  • serverinfo: 4.0.0-dev.0
  • settings: 1.15.1
  • side_menu: 5.1.3
  • tasks: 0.17.0
  • text: 6.0.1
  • theming: 2.7.0
  • twofactor_backupcodes: 1.21.0
  • twofactor_totp: 14.0.0
  • updatenotification: 1.22.0
  • viewer: 5.0.0-dev.0
  • workflowengine: 2.14.0

Upgraded to php 8.3, no effect.

Also, KeeWeb will open the KeePassXC database on the nextcloud server via WebDAV, but that is a whole lot of typing compared to simply opening the database from the Files app.