Can not set password for shares

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

    • 31.0.2
  • Operating system and version (e.g., Ubuntu 24.04):

    • Ubuntu 24 Docker
  • Web server and version (e.g, Apache 2.4.25):

    • Server version: Apache/2.4.62 (Debian)
      Server built: 2024-10-04T15:21:08
  • Reverse proxy and version _(e.g. nginx 1.27.2)

    • traefik 3.3.3 docker
  • PHP version (e.g, 8.3):

    • 8.3.20
  • Is this the first time you’ve seen this error? (Yes / No):

    • YES
  • When did this problem seem to first start?

    • no idea
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)

    • docker compose
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)

    • No

Summary of the issue you are facing:

Can not set a pasword for an external share

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

  1. create a directory
  2. open details
  3. External shares
  4. create public link
  5. customize link
  6. open advanced setting
  7. click on ‘set password’ checkbox …

and nothing happens. Sometimes if a share label is filled in the password box will be checked and the output come up ‘password is set’ but I couldn’t fill it in and nothing is shown and it also doesnt work

Log entries

Nextcloud

[no app in context] Fehlersuche: dirty table reads: SELECT name FROM *PREFIX*authtoken WHERE (uid = :dcValue1) AND (last_activity >= :dcValue2)
GET /ocs/v2.php/apps/notifications/api/v2/notifications
von 192.168.155.133 von immo um 17.04.2025, 17:20:18


#### Web Browser

Same problem on Chromium firefox and edge

Web server / Reverse Proxy

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

PASTE HERE
```{
    "system": {
        "htaccess.RewriteBase": "\/",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "192.168.155.72",
            "cloud.wetznet.de",
            "192.168.155.0\/24"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "31.0.2.1",
        "overwrite.cli.url": "http:\/\/cloud.wetznet.de",
        "overwriteprotocol": "https",
        "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_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "app_install_overwrite": [
            "documents",
            "holiday_calendars",
            "whiteboard",
            "jitsi"
        ],
        "enable_previews": true,
        "enabledPreviewProviders": {
            "0": "OC\\Preview\\PNG",
            "1": "OC\\Preview\\JPEG",
            "2": "OC\\Preview\\GIF",
            "3": "OC\\Preview\\BMP",
            "4": "OC\\Preview\\XBitmap",
            "5": "OC\\Preview\\MP3",
            "6": "OC\\Preview\\TXT",
            "7": "OC\\Preview\\MarkDown",
            "8": "OC\\Preview\\OpenDocument",
            "9": "OC\\Preview\\Krita",
            "10": "OC\\Preview\\HEIC",
            "20": "OC\\Preview\\Movie"
        },
        "updater.secret": "***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "loglevel": 0,
        "theme": ""
    }
}


#### Apps

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

### 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.