Cannot create shared albums or share prexisting albums

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • Nextcloud AIO v10.0.0
  • Operating system and version:
    • 6.12.4-arch1-1 (64-bit)
  • Web server and version :
    • Apache/2.4.62 (Unix)
  • Reverse proxy and version
  • PHP version (e.g, 8.3):
    • Not sure what this is or how to get it
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes
  • When did this problem seem to first start?
    • Not sure, I’ve only just tried to make a shared album
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • replace me
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No, I’m using Caddy-Tailscale

Summary of the issue you are facing:

Hello, when I try to create a shared album or add someone to a shared album I get this error: Failed to update properties of [album name snip] with {“collaborators”:[{“id”:“[user name snip]”,“label”:“[user name snip]”,“type”:0}]}.

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

Existing album

  1. enter album
  2. click share button
  3. click user to share with, and save

New album

  1. click plus
  2. enter name
  3. click add collaborators
  4. click user to share with
  5. click create album

Log entries

Nextcloud

logs were completely bare


the container nextcloud-aio-nextcloud threw this, not sure if it’s related

ArgumentCountError: Too few arguments to function OCA\Passwords\Cron\CheckPasswordsJob::__construct(), 0 passed in /var/www/html/lib/private/BackgroundJob/JobList.php on line 292 and exactly 9 expected in /var/www/html/custom_apps/passwords/lib/Cron/CheckPasswordsJob.php:58
Stack trace:
#0 /var/www/html/lib/private/BackgroundJob/JobList.php(292): OCA\Passwords\Cron\CheckPasswordsJob->__construct()

#1 /var/www/html/lib/private/BackgroundJob/JobList.php(197): OC\BackgroundJob\JobList->buildJob(Array)

#2 /var/www/html/cron.php(148): OC\BackgroundJob\JobList->getNext(false, NULL)

Web Browser

Console tab:

Error: Invalid response: 400 
    qe index.js:2
    Je index.js:2
    a index.js:2
    promise callback*49245/xt< index.js:2
    xt index.js:2
    customRequest index.js:2
    je albums.ts:160
    save AlbumShareModal.vue:132
    click AlbumShareModal.vue:1
    VueJS 4
    click NcButton.mjs:232
    VueJS 33
albums.ts:177:12
    je albums.ts:177
    save AlbumShareModal.vue:132
    click AlbumShareModal.vue:1
    VueJS 4
    click NcButton.mjs:232
    VueJS 33

Web server / Reverse Proxy

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

no relevant logs

Configuration

Nextcloud

{
    "system": {
        "one-click-instance": true,
        "one-click-instance.user-limit": 100,
        "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
            }
        ],
        "check_data_directory_permissions": false,
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "password": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "overwritehost": "nextcloud.wallaby-gopher.ts.net",
        "overwriteprotocol": "https",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "nextcloud.wallaby-gopher.ts.net"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "pgsql",
        "version": "30.0.2.2",
        "overwrite.cli.url": "https:\/\/nextcloud.wallaby-gopher.ts.net\/",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "loglevel": 2,
        "log_type": "file",
        "logfile": "\/var\/www\/html\/data\/nextcloud.log",
        "log_rotate_size": 10485760,
        "log.condition": {
            "apps": [
                "admin_audit"
            ]
        },
        "preview_max_x": 2048,
        "preview_max_y": 2048,
        "jpeg_quality": 60,
        "enabledPreviewProviders": {
            "1": "OC\\Preview\\Image",
            "2": "OC\\Preview\\MarkDown",
            "3": "OC\\Preview\\MP3",
            "4": "OC\\Preview\\TXT",
            "5": "OC\\Preview\\OpenDocument",
            "6": "OC\\Preview\\Movie",
            "7": "OC\\Preview\\Krita",
            "0": "OC\\Preview\\Imaginary"
        },
        "enable_previews": true,
        "upgrade.disable-web": true,
        "mail_smtpmode": "smtp",
        "trashbin_retention_obligation": "auto, 30",
        "versions_retention_obligation": "auto, 30",
        "activity_expire_days": 30,
        "simpleSignUpLink.shown": false,
        "share_folder": "\/Shared",
        "one-click-instance.link": "https:\/\/nextcloud.com\/all-in-one\/",
        "upgrade.cli-upgrade-link": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/2726",
        "updatedirectory": "\/nc-updater",
        "maintenance_window_start": 100,
        "allow_local_remote_servers": true,
        "davstorage.request_timeout": 3600,
        "htaccess.RewriteBase": "\/",
        "dbpersistent": false,
        "auth.bruteforce.protection.enabled": true,
        "ratelimit.protection.enabled": true,
        "files_external_allow_create_new_local": false,
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "preview_imaginary_url": "***REMOVED SENSITIVE VALUE***",
        "preview_imaginary_key": "***REMOVED SENSITIVE VALUE***",
        "memories.db.triggers.fcu": true,
        "memories.exiftool": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/exiftool-amd64-musl",
        "memories.vod.path": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/go-vod-amd64",
        "memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
        "memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
        "memories.gis_type": 2,
        "documentation_url.server_logs": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/5425",
        "DOMAIN": "nextcloud.wallaby-gopher.ts.net"
    }
}

Apps

Enabled:
  - activity: 3.0.0
  - admin_audit: 1.20.0
  - app_api: 4.0.0
  - bruteforcesettings: 3.0.0
  - calendar: 5.0.6
  - circles: 30.0.0
  - cloud_federation_api: 1.13.0
  - comments: 1.20.1
  - contacts: 6.1.1
  - contactsinteraction: 1.11.0
  - dashboard: 7.10.0
  - dav: 1.31.1
  - deck: 1.14.2
  - federatedfilesharing: 1.20.0
  - federation: 1.20.0
  - files: 2.2.0
  - files_antivirus: 5.6.1
  - files_downloadlimit: 3.0.0
  - files_fulltextsearch: 30.0.0
  - files_pdfviewer: 3.0.0
  - files_reminders: 1.3.0
  - files_sharing: 1.22.0
  - files_trashbin: 1.20.1
  - files_versions: 1.23.0
  - firstrunwizard: 3.0.0
  - fulltextsearch: 30.0.0
  - fulltextsearch_elasticsearch: 30.0.0
  - logreader: 3.0.0
  - lookup_server_connector: 1.18.0
  - mail: 4.0.9
  - maps: 1.5.0
  - memories: 7.4.1
  - nextcloud-aio: 0.7.0
  - nextcloud_announcements: 2.0.0
  - notes: 4.11.0
  - notifications: 3.0.0
  - notify_push: 0.7.0
  - oauth2: 1.18.1
  - password_policy: 2.0.0
  - phonetrack: 0.8.1
  - photos: 3.0.2
  - previewgenerator: 5.7.0
  - privacy: 2.0.0
  - provisioning_api: 1.20.0
  - recognize: 8.2.0
  - recommendations: 3.0.0
  - related_resources: 1.5.0
  - richdocuments: 8.5.3
  - serverinfo: 2.0.0
  - settings: 1.13.0
  - sharebymail: 1.20.0
  - spreed: 20.1.0
  - support: 2.0.0
  - survey_client: 2.0.0
  - systemtags: 1.20.0
  - tasks: 0.16.1
  - text: 4.1.0
  - theming: 2.5.0
  - twofactor_admin: 4.7.1
  - twofactor_backupcodes: 1.19.0
  - twofactor_totp: 12.0.0-dev
  - user_status: 1.10.0
  - viewer: 3.0.0
  - weather_status: 1.10.0
  - webhook_listeners: 1.1.0-dev
  - workflowengine: 2.12.0
Disabled:
  - admin_notifications: 1.0.2 (installed 1.0.2)
  - encryption: 2.18.0
  - files_external: 1.22.0
  - files_trackdownloads: 1.11.0 (installed 1.11.0)
  - passwords: 2024.12.21 (installed 2024.12.21)
  - suspicious_login: 8.0.0
  - twofactor_nextcloud_notification: 4.0.0
  - user_ldap: 1.21.0

Let me know if you need anything else to help, thanks!

I don’t think it is related. The error in the log looks more like this from the password-app. According to your app list, you have deactivated the passwords app. If you don’t need the app, I would uninstall it, then at least you’ll be rid of the error message from the log.

I think it might the browser error, yeah. I would like to remove passwords, but I’m waiting for the app delete bug to get fixed because I’m not comfortable with a manual patch. Clicking remove doesn’t do anything and when I run the below it just says it’s not installed.

docker exec --user www-data -it nextcloud-aio-nextcloud php occ App:remove Passwords 
Passwords is not installed