Skip to content

Card attachments do not allow file operations and cause desktop sync issues #7713

Closed

Description

@benniekiss

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Describe the bug

With the deck app enabled, I can no longer perform any file operations on a file or folder after linking it to a card attachment. This includes renaming and deleting files within a folder. It also results in desktop-app sync issues, where the folder no longer syncs properly and causes local conflicts.

Disabling the deck app restores complete functionality.

I'll also note that I have not found that removing the attachment has any effect.

  1. enable the deck app
  2. create a card with an attachment to a file or folder
  3. Try to rename or delete the same file or make modifications to the folder

Expected behaviour

File operations should not be impacted.

Actual behaviour

File operations fail, and desktop syncing fails

Server configuration

Operating system:

Linux 6.18.13-200.fc43.x86_64 x86_64

Web server:

Database:

PostgreSQL 18.3

PHP version:

8.4.16

Nextcloud version: (see Nextcloud admin page)

33

Deck version:

1.17.0

Updated from an older Nextcloud/ownCloud or fresh install:

upgrade from 32

Where did you install Nextcloud from:

Linuxserver container

Are you using external storage, if yes which one: local/s3/smb/sftp/...

No.

Are you using encryption: yes/no

Tested with server side encryption enabled and disabled.

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/Saml/...

OIDC user backend.

Client configuration

Browser:

Firefox

Operating system:

macOS

Logs

Web server error log

Web server error log
Insert your webserver log here

Nextcloud log (data/nextcloud.log)

Nextcloud log

Full logs are too big to upload here. These lines seem to be noteworthy:

TypeErrorOCA\Deck\Db\CardMapper::findBoardId(): Argument #1 ($id) must be of type int, string given, called in /config/www/nextcloud/apps/deck/lib/Sharing/DeckShareProvider.php on line 984

TypeErrorOCA\Deck\Db\CardMapper::findBoardId(): Argument #1 ($id) must be of type int, string given, called in /config/www/nextcloud/apps/deck/lib/Sharing/DeckShareProvider.php on line 984

Browser log

Browser log
[ERROR] files: Error while deleting a file 
Object { app: "files", uid: "adc60bf15cd24bb089ed2621e4b703fbe2356361a8832e7b9a6a60d0371b2569", level: 0, error: AxiosError, source: "https://<redacted_domain>/remote.php/dav/files/<redacted_path>", node: {…} }
[index.mjs:47:17](webpack:///nextcloud/node_modules/@nextcloud/logger/dist/index.mjs)
[DEBUG] files: VirtualList: resizeObserver updated 
Object { app: "files", uid: "adc60bf15cd24bb089ed2621e4b703fbe2356361a8832e7b9a6a60d0371b2569", level: 0 }
[index.mjs:38:17](webpack:///nextcloud/node_modules/@nextcloud/logger/dist/index.mjs)
[DEBUG] files: VirtualList: resizeObserver updated 
Object { app: "files", uid: "adc60bf15cd24bb089ed2621e4b703fbe2356361a8832e7b9a6a60d0371b2569", level: 0 }
[index.mjs:38:17](webpack:///nextcloud/node_modules/@nextcloud/logger/dist/index.mjs)
[DEBUG] files: VirtualList: resizeObserver updated 
Object { app: "files", uid: "adc60bf15cd24bb089ed2621e4b703fbe2356361a8832e7b9a6a60d0371b2569", level: 0 }
[index.mjs:38:17](webpack:///nextcloud/node_modules/@nextcloud/logger/dist/index.mjs)
[DEBUG] files: VirtualList: resizeObserver updated 
Object { app: "files", uid: "adc60bf15cd24bb089ed2621e4b703fbe2356361a8832e7b9a6a60d0371b2569", level: 0 }
[index.mjs:38:17](webpack:///nextcloud/node_modules/@nextcloud/logger/dist/index.mjs)
This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”. [blank](about:blank)
XHR
DELETE
https://<redacted_domain>/remote.php/dav/files/<redacted_path>
[HTTP/2 500  141ms]

[ERROR] files: Error while deleting a file 
Object { app: "files", uid: "<redacted_uid>", level: 0, error: AxiosError, source: "https://<redacted_domain>/remote.php/dav/files/<redacted_path>", node: {…} }

Activity

  1. benniekiss commented on Mar 5, 2026

    @benniekiss
    Author

    Looking over #7708, this may be resolved by that PR

  2. benniekiss commented on Mar 8, 2026

    @benniekiss
    Author

    I'll also note that I have not found that removing the attachment has any effect.

    This was actually incorrect. Removing the attachment restores file operations and prevents sync issues. For now, this is an acceptable work around until the issue is fixed.

  3. benniekiss commented on May 3, 2026

    @benniekiss
    Author

    Still experiencing the issue on Deck v1.17.1 and nextcloud v 33.03

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions