Unable to share with delete permission

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

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
  • Operating system and version (e.g., Ubuntu 24.04):
    • Ubuntu 24.04.3
  • Web server and version (e.g, Apache 2.4.25):
    • 2.4.58
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • replace me
  • PHP version (e.g, 8.3):
    • 8.3.6
  • Is this the first time you’ve seen this error? (Yes / No):
    • yes
  • When did this problem seem to first start?
    • We realized that we had a problem since updated to NC 32.0.1
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • classic
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • no

Summary of the issue you are facing:

Hi, I have a problem when it comes to sharing a folder. If I want to set permissions to allow sharing and deletion, I get an error message, and if I set read, create, edit, delete, sharing. I got the message: “Error creating the share: Cannot increase permissions of…” Any idea?

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

In the detail panel, I choose a group and set custom permission with read, create, edit, delete, sharing.

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

{"reqId":"fZhLXY5qj0DAjLZGSXaR","level":2,"time":"2025-11-03T22:52:00+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"Transaction took 1176.5508790016s","userAgent":"--","version":"32.0.1.2","exception":{"Exception":"Exception","Message":"Transaction took 1176.5508790016s","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/DB/ConnectionAdapter.php","line":135,"function":"commit","class":"OC\\DB\\Connection","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Utils/Scanner.php","line":284,"function":"commit","class":"OC\\DB\\ConnectionAdapter","type":"->"},{"file":"/var/www/nextcloud/apps/files/lib/Command/ScanAppData.php","line":101,"function":"scan","class":"OC\\Files\\Utils\\Scanner","type":"->"},{"file":"/var/www/nextcloud/apps/files/lib/Command/ScanAppData.php","line":136,"function":"scanFiles","class":"OCA\\Files\\Command\\ScanAppData","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/console/Command/Command.php","line":326,"function":"execute","class":"OCA\\Files\\Command\\ScanAppData","type":"->"},{"file":"/var/www/nextcloud/core/Command/Base.php","line":218,"function":"run","class":"Symfony\\Component\\Console\\Command\\Command","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/console/Application.php","line":1078,"function":"run","class":"OC\\Core\\Command\\Base","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/console/Application.php","line":324,"function":"doRunCommand","class":"Symfony\\Component\\Console\\Application","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/console/Application.php","line":175,"function":"doRun","class":"Symfony\\Component\\Console\\Application","type":"->"},{"file":"/var/www/nextcloud/lib/private/Console/Application.php","line":187,"function":"run","class":"Symfony\\Component\\Console\\Application","type":"->"},{"file":"/var/www/nextcloud/console.php","line":90,"function":"run","class":"OC\\Console\\Application","type":"->"},{"file":"/var/www/nextcloud/occ","line":33,"args":["/var/www/nextcloud/console.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/DB/Connection.php","Line":861,"message":"Transaction took 1176.5508790016s","exception":[],"timeSpent":1176.5508790016174,"CustomMessage":"Transaction took 1176.5508790016s"},"id":"690933ea741ff"}



{"reqId":"fqY6rAmmKiFlF2OLDOtZ","level":2,"time":"2025-11-03T22:34:55+00:00","remoteAddr":"107.159.56.165","user":"patrick","app":"PHP","method":"GET","url":"/index.php/apps/groupfolders/folders?offset=0&limit=51&orderBy=mount_point","message":"Undefined array key 0 at /var/www/nextcloud/lib/private/AppFramework/Http.php#106","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:144.0) Gecko/20100101 Firefox/144.0","version":"32.0.1.2","data":{"app":"PHP"},"id":"690933ea80192"}



{"reqId":"O0nk4AscMnL1xrhNysdv","level":2,"time":"2025-11-03T21:56:38+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":"failed to create instance of background job: OCA\\GroupFolders\\BackgroundJob\\ExpireGroupTrash","userAgent":"--","version":"32.0.1.2","exception":{"Exception":"OC\\AppFramework\\Utility\\QueryNotFoundException","Message":"Could not resolve OCA\\GroupFolders\\BackgroundJob\\ExpireGroupTrash! Class \"OCA\\GroupFolders\\BackgroundJob\\ExpireGroupTrash\" does not exist","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":140,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/ServerContainer.php","line":154,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":45,"function":"query","class":"OC\\ServerContainer","type":"->"},{"file":"/var/www/nextcloud/lib/public/Server.php","line":37,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/JobList.php","line":322,"function":"get","class":"OCP\\Server","type":"::"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/JobList.php","line":201,"function":"buildJob","class":"OC\\BackgroundJob\\JobList","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/JobList.php","line":260,"function":"getNext","class":"OC\\BackgroundJob\\JobList","type":"->"},{"file":"/var/www/nextcloud/core/Command/Background/JobWorker.php","line":104,"function":"getNext","class":"OC\\BackgroundJob\\JobList","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/console/Command/Command.php","line":326,"function":"execute","class":"OC\\Core\\Command\\Background\\JobWorker","type":"->"},{"file":"/var/www/nextcloud/core/Command/Base.php","line":218,"function":"run","class":"Symfony\\Component\\Console\\Command\\Command","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/console/Application.php","line":1078,"function":"run","class":"OC\\Core\\Command\\Base","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/console/Application.php","line":324,"function":"doRunCommand","class":"Symfony\\Component\\Console\\Application","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/console/Application.php","line":175,"function":"doRun","class":"Symfony\\Component\\Console\\Application","type":"->"},{"file":"/var/www/nextcloud/lib/private/Console/Application.php","line":187,"function":"run","class":"Symfony\\Component\\Console\\Application","type":"->"},{"file":"/var/www/nextcloud/console.php","line":90,"function":"run","class":"OC\\Console\\Application","type":"->"},{"file":"/var/www/nextcloud/occ","line":33,"args":["/var/www/nextcloud/console.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","Line":129,"message":"failed to create instance of background job: OCA\\GroupFolders\\BackgroundJob\\ExpireGroupTrash","exception":[],"CustomMessage":"failed to create instance of background job: OCA\\GroupFolders\\BackgroundJob\\ExpireGroupTrash"},"id":"690933eb5342d"}

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

PASTE

Web server / Reverse Proxy

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE

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!):

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "nxworld.club",
            "192.168.1.3"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "check_data_directory_permissions": true,
        "dbtype": "mysql",
        "version": "32.0.1.2",
        "overwrite.cli.url": "https:\/\/nxworld.club",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "allow_local_remote_servers": true,
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "maintenance": false,
        "theme": "",
        "loglevel": 0,
        "default_phone_region": "CA",
        "app_install_overwrite": [
            "cookbook",
            "previewgenerator",
            "socialsharing_email",
            "souvenirs",
            "dashboardcharts",
            "dropit",
            "impersonate",
            "files_reader",
            "webhooks",
            "quicknotes",
            "holiday_calendars",
            "news"
        ],
        "memories.vod.path": "\/var\/www\/nextcloud\/apps\/memories\/bin-ext\/go-vod-amd64",
        "memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
        "memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
        "memories.db.triggers.fcu": true,
        "maintenance_window_start": 1,
        "memories.gis_type": 1,
        "enabledPreviewProviders": [
            "OC\\Preview\\Movie",
            "OC\\Preview\\TIFF",
            "OC\\Preview\\HEIC",
            "OC\\Preview\\Image"
        ],
        "preview_max_memory": 512,
        "preview_max_x": 4096,
        "preview_max_y": 4096,
        "memories.exiftool": "\/var\/www\/nextcloud\/apps\/memories\/bin-ext\/exiftool-amd64-glibc",
        "memories.vod.disable": false,
        "files.chunked_upload.max_size": 1048000,
        "memories.vod.nvenc": true,
        "memories.vod.nvenc.temporal_aq": true,
        "config_preset": 2
    }
}

Apps

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

Enabled:

  • activity: 5.0.0-dev.0
  • analytics: 6.0.1
  • app_api: 32.0.0
  • bookmarks: 16.0.0
  • bruteforcesettings: 5.0.0-dev.0
  • calendar: 6.0.2
  • cloud_federation_api: 1.16.0
  • comments: 1.22.0
  • contacts: 8.0.5
  • contactsinteraction: 1.13.1
  • cookbook: 0.11.5
  • dashboard: 7.12.0
  • dav: 1.34.2
  • federatedfilesharing: 1.22.0
  • federation: 1.22.0
  • files: 2.4.0
  • files_downloadlimit: 5.0.0-dev.0
  • files_external: 1.24.0
  • files_pdfviewer: 5.0.0-dev.0
  • files_reminders: 1.5.0
  • files_sharing: 1.24.0
  • files_trashbin: 1.22.0
  • files_versions: 1.25.0
  • firstrunwizard: 5.0.0-dev.0
  • forms: 5.2.2
  • iframewidget: 0.8.5
  • impersonate: 3.0.0
  • integration_giphy: 2.1.0
  • integration_github: 3.2.1
  • integration_onedrive: 3.4.0
  • integration_openai: 3.7.1
  • integration_openstreetmap: 3.0.0
  • integration_reddit: 2.1.0
  • logreader: 5.0.0-dev.0
  • lookup_server_connector: 1.20.0
  • memories: 7.7.0
  • metadata: 0.23.0
  • news: 27.1.0
  • nextcloud_announcements: 4.0.0-dev.0
  • notes: 4.12.3
  • notifications: 5.0.0-dev.0
  • oauth2: 1.20.0
  • password_policy: 4.0.0-dev.0
  • photos: 5.0.0-dev.1
  • previewgenerator: 5.10.0
  • privacy: 4.0.0-dev.0
  • profile: 1.1.0
  • provisioning_api: 1.22.0
  • recognize: 10.0.5
  • recommendations: 5.0.0-dev.0
  • related_resources: 3.0.0-dev.0
  • richdocuments: 9.0.1
  • richdocumentscode: 25.4.504
  • serverinfo: 4.0.0-dev.0
  • settings: 1.15.1
  • sharebymail: 1.22.0
  • support: 4.0.0-dev.0
  • survey_client: 4.0.0-dev.0
  • systemtags: 1.22.0
  • tasks: 0.17.0
  • text: 6.0.1
  • theming: 2.7.0
  • twofactor_backupcodes: 1.21.0
  • twofactor_nextcloud_notification: 6.0.0-dev.0
  • twofactor_totp: 14.0.0
  • updatenotification: 1.22.0
  • user_status: 1.12.0
  • viewer: 5.0.0-dev.0
  • weather_status: 1.12.0
  • webhook_listeners: 1.3.0
  • workflowengine: 2.14.0
    Disabled:
  • admin_audit: 1.22.0
  • circles: 32.0.0 (installed 32.0.0)
  • encryption: 2.20.0
  • files_rightclick: 0.15.1 (installed 1.6.0)
  • google_synchronization: 4.1.0 (installed 4.1.0)
  • guests: 4.6.0 (installed 4.6.0)
  • holiday_calendars: 0.3.0 (installed 0.3.0)
  • quicknotes: 0.8.30 (installed 0.8.30)
  • suspicious_login: 10.0.0-dev.0 (installed 5.0.0)
  • user_ldap: 1.23.0
  • webhooks: 0.4.3 (installed 0.4.3)

Tips for increasing the likelihood of a response

  • Use the preformatted text formatting option in the editor for all log entries and configuration output.
  • If screenshots are useful, feel free to include them.
    • If possible, also include key error output in text form so it can be searched for.
  • Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.