Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editing notes from Desktop Sync Client creates "File could not be synced" error #806

Closed
MillironX opened this issue Jan 20, 2022 · 1 comment
Labels
bug Something isn't working need to reproduce Issue that has not been reproduced

Comments

@MillironX
Copy link

MillironX commented Jan 20, 2022

Previously reported as nextcloud/notes-android#1451

Editing notes that have been uploaded from the Nextcloud desktop sync client in either the Server app or the Android app will result in a "File could not be synced due to an error" in the Nextcloud desktop sync client

Steps to reproduce

  1. Setup the Desktop sync client on one or more computers

  2. Create a new note on the Desktop computer

     echo "# Note From Desktop\n\nThe quick brown fox..." >> ~/Nextcloud/Notes/"Note From Desktop.txt"
  3. In the Server Notes app, select "Note From Desktop" in the sidebar, and add the text "Does this work?" to the note body

    Editing on server

  4. Wait for the change to be propagated to the Desktop sync client

Expected behavior

The file ~/Nextcloud/Notes/Note From Desktop.txt on the desktop computer should say

# Note From Desktop

The quick brown fox...

Does this work?

Note that if the edit in step 4 is made from another synced Desktop computer, then the expected behavior is observed.

Actual behavior

The Desktop sync client reports

Note From Desktop.txt could not be synced due to an error

Examining the error report in the settings dialog reveals

Note/Note From Desktop.txt: The downloaded file does not match the checksum, it will be resumed <CHECKSUM> != <CHECKSUM>

The server app reflects the correct state of the files, however.

Screenshots

Nextcloud Notification

Nextcloud Settings Dialog

Server

Please complete the following information.

  • Notes app version: 4.2.0
  • Nextcloud version: 21.0.1
  • OS: Debian 10
  • Web server: Apache2
  • PHP version: 7.3.31-1
  • Database: MySQL 10.3.31-MariaDB-0

Nextcloud configuration:

{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "nextcloud.millironx.com"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "21.0.1.1",
        "overwrite.cli.url": "https:\/\/nextcloud.millironx.com\/",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "default_phone_region": "US",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "htaccess.RewriteBase": "\/",
        "versions_retention_obligation": "auto",
        "app_install_overwrite": [
            "ocsms"
        ],
        "objectstore": {
            "class": "\\OC\\Files\\ObjectStore\\S3",
            "arguments": {
                "bucket": "nextcloud.millironx.com.storage",
                "autocreate": true,
                "key": "***REMOVED SENSITIVE VALUE***",
                "secret": "***REMOVED SENSITIVE VALUE***",
                "hostname": "us-east-1.linodeobjects.com",
                "port": 443,
                "use_ssl": true,
                "region": "us-east-1"
            }
        },
        "maintenance": false
    }
}

Client

Please complete the following information.

  • Browser (incl. version): Firefox 94
  • OS: Fedora 35 (x86-64)
@korelstar
Copy link
Member

I can't reproduce this issue. Since the error occurs in the desktop app, I think you should open an issue over there. I'm not very familiar with the desktop app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need to reproduce Issue that has not been reproduced
Projects
None yet
Development

No branches or pull requests

2 participants