Skip to content

"Error syncing notes" #146

@smoofra

Description

@smoofra

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.

Steps to reproduce

  1. Updated to notes client 4.4.0
  2. Notes don't sync. I can log in to my server, but not see any of my notes.

Expected behaviour

App should be able to sync notes.

Actual behaviour

Login flow works, but the app cannot retrieve any notes.

Server configuration

Web server: apatche
Database: MySQL
PHP version: 8.4
Nextcloud version: 31.0.5

List of activated apps ``` root@odin:/data/nextcloud# occ app:list Enabled: - activity: 4.0.0 - app_api: 5.0.2 - bookmarks: 15.1.0 - circles: 31.0.0 - cloud_federation_api: 1.14.0 - comments: 1.21.0 - contacts: 7.1.3 - contactsinteraction: 1.12.0 - dashboard: 7.11.0 - dav: 1.33.0 - federatedfilesharing: 1.21.0 - federation: 1.21.0 - files: 2.3.1 - files_downloadlimit: 4.0.0 - files_external: 1.23.0 - files_pdfviewer: 4.0.0 - files_reminders: 1.4.0 - files_sharing: 1.23.1 - files_trashbin: 1.21.0 - files_versions: 1.24.0 - firstrunwizard: 4.0.0 - logreader: 4.0.0 - lookup_server_connector: 1.19.0 - nextcloud_announcements: 3.0.0 - notes: 4.12.1 - notifications: 4.0.0 - oauth2: 1.19.1 - password_policy: 3.0.0 - photos: 4.0.0-dev.1 - privacy: 3.0.0 - profile: 1.0.0 - provisioning_api: 1.21.0 - qownnotesapi: 25.2.0 - recommendations: 4.0.0 - related_resources: 2.0.0 - serverinfo: 3.0.0 - settings: 1.14.0 - sharebymail: 1.21.0 - support: 3.0.0 - survey_client: 3.0.0 - systemtags: 1.21.1 - tasks: 0.16.1 - text: 5.0.0 - theming: 2.6.1 - twofactor_backupcodes: 1.20.0 - updatenotification: 1.21.0 - user_status: 1.11.0 - viewer: 4.0.0 - weather_status: 1.11.0 - webhook_listeners: 1.2.0 - workflowengine: 2.13.0 Disabled: - admin_audit: 1.21.0 - bruteforcesettings: 4.0.0 (installed 1.5.0) - encryption: 2.19.0 - richdocuments: 8.7.1 (installed 8.7.1) - richdocumentscode: 25.4.202 (installed 25.4.202) - suspicious_login: 9.0.1 - twofactor_nextcloud_notification: 5.0.0 - twofactor_totp: 13.0.0-dev.0 - user_ldap: 1.22.0 - whiteboard: 1.1.0 (installed 1.1.0) ```
Nextcloud configuration
{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "files_external_allow_create_new_local": true,
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "odin.elder-gods.org"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "https:\/\/odin.elder-gods.org\/nextcloud",
        "version": "31.0.6.2",
        "logtimezone": "UTC",
        "installed": true,
        "theme": "",
        "loglevel": 1,
        "maintenance": false,
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "mysql.utf8mb4": true,
        "mail_smtpmode": "sendmail",
        "mail_smtpauthtype": "LOGIN",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "default_phone_region": "us",
        "updater.release.channel": "stable",
        "maintenance_window_start": 6,
        "filelocking.enabled": true,
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 0
        }
    },
    "apps": {
        "activity": {
            "enabled": "yes",
            "installed_version": "4.0.0",
            "types": "filesystem"
        },
        "app_api": {
            "enabled": "yes",
            "installed_version": "5.0.2",
            "types": ""
        },
        "backgroundjob": {
            "lastjob": "6609"
        },
        "bookmarks": {
            "enabled": "yes",
            "installed_version": "15.1.0",
            "signed": "true",
            "types": ""
        },
        "bruteforcesettings": {
            "enabled": "no",
            "installed_version": "1.5.0",
            "types": ""
        },
        "calendar": {
            "enabled": "no",
            "installed_version": "2.0.2",
            "signed": "true",
            "types": ""
        },
        "camerarawpreviews": {
            "enabled": "no",
            "installed_version": "0.7.3",
            "types": "filesystem"
        },
        "circles": {
            "enabled": "yes",
            "installed_version": "31.0.0",
            "loopback_tmp_path": "\/nextcloud",
            "loopback_tmp_scheme": "https",
            "maintenance_run": "0",
            "maintenance_update": "{\"maximum\":3,\"3\":1750261501,\"2\":1750264502,\"1\":1750264502,\"4\":1652925658,\"5\":1652497202}",
            "migration_22": "1",
            "migration_22_1": "1",
            "migration_run": "0",
            "types": "filesystem,dav"
        },
        "cloud_federation_api": {
            "enabled": "yes",
            "installed_version": "1.14.0",
            "types": "filesystem"
        },
        "comments": {
            "enabled": "yes",
            "installed_version": "1.21.0",
            "types": "logging"
        },
        "configreport": {
            "enabled": "no",
            "installed_version": "0.1.1",
            "types": "filesystem"
        },
        "contacts": {
            "enabled": "yes",
            "installed_version": "7.1.3",
            "signed": "true",
            "types": "dav"
        },
        "contactsinteraction": {
            "enabled": "yes",
            "installed_version": "1.12.0",
            "types": "dav"
        },
        "core": {
            "backgroundjobs_mode": "cron",
            "enable_external_storage": "yes",
            "enterpriseLogoChecked": "yes",
            "files_metadata_installed": "1",
            "installed.bundles": "[\"CoreBundle\"]",
            "installedat": "1501706588.8984",
            "lastcron": 1750264502,
            "lastupdateResult": "[]",
            "lastupdatedat": 1750255840,
            "metadataGenerationDone": true,
            "moveavatarsdone": "yes",
            "previewsCleanedUp": "1",
            "public_files": "files_sharing\/public.php",
            "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php",
            "scss.variables": "08343dd3f787291558383b46e1b489fb",
            "theming.variables": "32ef7dc01a3ffbcbbaf8fb9483f9bd03",
            "updater.secret.created": 1731686955,
            "vendor": "nextcloud",
            "files_metadata": {
                "photos-original_date_time": {
                    "value": null,
                    "type": "int",
                    "etag": "",
                    "indexed": true,
                    "editPermission": 0
                },
                "photos-size": {
                    "value": null,
                    "type": "array",
                    "etag": "",
                    "indexed": false,
                    "editPermission": 0
                },
                "photos-exif": {
                    "value": null,
                    "type": "array",
                    "etag": "",
                    "indexed": false,
                    "editPermission": 0
                },
                "photos-ifd0": {
                    "value": null,
                    "type": "array",
                    "etag": "",
                    "indexed": false,
                    "editPermission": 0
                },
                "photos-gps": {
                    "value": null,
                    "type": "array",
                    "etag": "",
                    "indexed": false,
                    "editPermission": 0
                },
                "photos-place": {
                    "value": null,
                    "type": "string",
                    "etag": "",
                    "indexed": true,
                    "editPermission": 0
                },
                "files-live-photo": {
                    "value": null,
                    "type": "string",
                    "etag": "",
                    "indexed": false,
                    "editPermission": 1
                },
                "blurhash": {
                    "value": null,
                    "type": "string",
                    "etag": "0d0584cc03254d9f46c2ec14e48000e5",
                    "indexed": false,
                    "editPermission": 0
                }
            },
            "oc.integritycheck.checker": []
        },
        "dashboard": {
            "enabled": "yes",
            "installed_version": "7.11.0",
            "types": ""
        },
        "dav": {
            "buildCalendarReminderIndex": "yes",
            "buildCalendarSearchIndex": "yes",
            "builtSocialSearchIndex": "yes",
            "chunks_migrated": "1",
            "enabled": "yes",
            "installed_version": "1.33.0",
            "needs_system_address_book_sync": "no",
            "regeneratedBirthdayCalendarsForYearFix": "yes",
            "types": "filesystem"
        },
        "federatedfilesharing": {
            "enabled": "yes",
            "installed_version": "1.21.0",
            "types": ""
        },
        "federation": {
            "enabled": "yes",
            "installed_version": "1.21.0",
            "types": "authentication"
        },
        "files": {
            "cronjob_scan_files": "500",
            "enabled": "yes",
            "installed_version": "2.3.1",
            "mimetype_version": "31.0.4.1",
            "types": "filesystem"
        },
        "files_downloadlimit": {
            "enabled": "yes",
            "installed_version": "4.0.0",
            "types": ""
        },
        "files_external": {
            "allow_user_mounting": "no",
            "enabled": "yes",
            "installed_version": "1.23.0",
            "types": "filesystem",
            "user_mounting_backends": "dav,owncloud,sftp,amazons3,dropbox,googledrive,swift,\\OC\\Files\\Storage\\SFTP_Key"
        },
        "files_pdfviewer": {
            "enabled": "yes",
            "installed_version": "4.0.0",
            "types": ""
        },
        "files_reminders": {
            "enabled": "yes",
            "installed_version": "1.4.0",
            "types": ""
        },
        "files_rightclick": {
            "enabled": "no",
            "installed_version": "1.6.0",
            "types": ""
        },
        "files_sharing": {
            "enabled": "yes",
            "installed_version": "1.23.1",
            "types": "filesystem"
        },
        "files_texteditor": {
            "enabled": "no",
            "installed_version": "2.8.0",
            "types": ""
        },
        "files_trashbin": {
            "enabled": "yes",
            "installed_version": "1.21.0",
            "types": "filesystem,dav"
        },
        "files_versions": {
            "enabled": "yes",
            "installed_version": "1.24.0",
            "types": "filesystem,dav"
        },
        "firstrunwizard": {
            "enabled": "yes",
            "installed_version": "4.0.0",
            "types": ""
        },
        "gallery": {
            "enabled": "no",
            "installed_version": "18.4.0",
            "types": ""
        },
        "garagedoor": {
            "enabled": "no",
            "installed_version": "0.0.1",
            "types": ""
        },
        "logreader": {
            "enabled": "yes",
            "installed_version": "4.0.0",
            "shownLevels": "[2,3,4]",
            "types": "logging"
        },
        "lookup_server_connector": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": "authentication"
        },
        "market": {
            "enabled": "no",
            "installed_version": "0.1.0",
            "signed": "true",
            "types": ""
        },
        "news": {
            "enabled": "no",
            "installed_version": "12.0.4",
            "types": ""
        },
        "nextcloud_announcements": {
            "enabled": "yes",
            "installed_version": "3.0.0",
            "pub_date": "Thu, 24 Oct 2019 00:00:00 +0200",
            "types": "logging"
        },
        "notes": {
            "enabled": "yes",
            "installed_version": "4.12.1",
            "types": ""
        },
        "notifications": {
            "enabled": "yes",
            "installed_version": "4.0.0",
            "types": "logging"
        },
        "oauth2": {
            "enabled": "yes",
            "installed_version": "1.19.1",
            "types": "authentication"
        },
        "password_policy": {
            "enabled": "yes",
            "installed_version": "3.0.0",
            "types": "authentication"
        },
        "photos": {
            "enabled": "yes",
            "installed_version": "4.0.0-dev.1",
            "lastPlaceMappedUser": "mgwyer",
            "lastPlaceMappingDone": "true",
            "types": "dav,authentication"
        },
        "privacy": {
            "enabled": "yes",
            "installed_version": "3.0.0",
            "readableLocation": "us",
            "types": ""
        },
        "profile": {
            "enabled": "yes",
            "installed_version": "1.0.0",
            "types": ""
        },
        "provisioning_api": {
            "enabled": "yes",
            "installed_version": "1.21.0",
            "types": "prevent_group_restriction"
        },
        "qownnotesapi": {
            "enabled": "yes",
            "installed_version": "25.2.0",
            "types": ""
        },
        "recommendations": {
            "enabled": "yes",
            "installed_version": "4.0.0",
            "types": ""
        },
        "related_resources": {
            "enabled": "yes",
            "installed_version": "2.0.0",
            "types": ""
        },
        "richdocuments": {
            "disable_certificate_verification": "yes",
            "enabled": "no",
            "installed_version": "8.7.1",
            "public_wopi_url": "https:\/\/odin.elder-gods.org",
            "types": "filesystem,prevent_group_restriction",
            "wopi_allowlist": "192.168.1.1",
            "wopi_url": "https:\/\/odin.elder-gods.org\/nextcloud\/apps\/richdocumentscode\/proxy.php?req="
        },
        "richdocumentscode": {
            "enabled": "no",
            "installed_version": "25.4.202",
            "types": ""
        },
        "richdocumentscode_arm64": {
            "enabled": "no",
            "installed_version": "6.4.14",
            "types": ""
        },
        "serverinfo": {
            "cached_count_appdata_files": 2920868,
            "cached_count_filecache": 3967264,
            "cached_count_storages": "7",
            "enabled": "yes",
            "installed_version": "3.0.0",
            "size_appdata_storage": 6257987105,
            "types": ""
        },
        "settings": {
            "enabled": "yes",
            "installed_version": "1.14.0",
            "types": ""
        },
        "sharebymail": {
            "enabled": "yes",
            "installed_version": "1.21.0",
            "types": "filesystem"
        },
        "support": {
            "SwitchUpdaterServerHasRun": "yes",
            "enabled": "yes",
            "installed_version": "3.0.0",
            "types": "session"
        },
        "survey_client": {
            "enabled": "yes",
            "installed_version": "3.0.0",
            "last_report": "{\"id\":\"ochwnddk4sge\",\"items\":[[\"server\",\"version\",\"30.0.2.2\"],[\"server\",\"code\",\"other\"],[\"server\",\"enable_avatars\",\"yes\"],[\"server\",\"enable_previews\",\"yes\"],[\"server\",\"memcache.local\",\"\\\\OC\\\\Memcache\\\\APCu\"],[\"server\",\"memcache.distributed\",\"none\"],[\"server\",\"asset-pipeline.enabled\",\"no\"],[\"server\",\"filelocking.enabled\",\"yes\"],[\"server\",\"memcache.locking\",\"\\\\OC\\\\Memcache\\\\Redis\"],[\"server\",\"debug\",\"no\"],[\"server\",\"cron\",\"cron\"],[\"php\",\"version\",\"8.3.11\"],[\"php\",\"memory_limit\",-1],[\"php\",\"max_execution_time\",0],[\"php\",\"upload_max_filesize\",2097152],[\"database\",\"type\",\"mysql\"],[\"database\",\"version\",\"8.0.40\"],[\"database\",\"size\",1681367040],[\"apps\",\"activity\",\"3.0.0\"],[\"apps\",\"app_api\",\"4.0.0\"],[\"apps\",\"bookmarks\",\"15.0.4\"],[\"apps\",\"bruteforcesettings\",\"disabled\"],[\"apps\",\"calendar\",\"disabled\"],[\"apps\",\"camerarawpreviews\",\"disabled\"],[\"apps\",\"circles\",\"30.0.0\"],[\"apps\",\"cloud_federation_api\",\"1.13.0\"],[\"apps\",\"comments\",\"1.20.1\"],[\"apps\",\"configreport\",\"disabled\"],[\"apps\",\"contacts\",\"6.1.1\"],[\"apps\",\"contactsinteraction\",\"1.11.0\"],[\"apps\",\"dashboard\",\"7.10.0\"],[\"apps\",\"dav\",\"1.31.1\"],[\"apps\",\"federatedfilesharing\",\"1.20.0\"],[\"apps\",\"federation\",\"1.20.0\"],[\"apps\",\"files\",\"2.2.0\"],[\"apps\",\"files_downloadlimit\",\"3.0.0\"],[\"apps\",\"files_external\",\"1.22.0\"],[\"apps\",\"files_pdfviewer\",\"3.0.0\"],[\"apps\",\"files_reminders\",\"1.3.0\"],[\"apps\",\"files_rightclick\",\"disabled\"],[\"apps\",\"files_sharing\",\"1.22.0\"],[\"apps\",\"files_texteditor\",\"disabled\"],[\"apps\",\"files_trashbin\",\"1.20.1\"],[\"apps\",\"files_versions\",\"1.23.0\"],[\"apps\",\"firstrunwizard\",\"3.0.0\"],[\"apps\",\"gallery\",\"disabled\"],[\"apps\",\"garagedoor\",\"disabled\"],[\"apps\",\"logreader\",\"3.0.0\"],[\"apps\",\"lookup_server_connector\",\"1.18.0\"],[\"apps\",\"market\",\"disabled\"],[\"apps\",\"news\",\"disabled\"],[\"apps\",\"nextcloud_announcements\",\"2.0.0\"],[\"apps\",\"notes\",\"4.11.0\"],[\"apps\",\"notifications\",\"3.0.0\"],[\"apps\",\"oauth2\",\"1.18.1\"],[\"apps\",\"password_policy\",\"2.0.0\"],[\"apps\",\"photos\",\"3.0.2\"],[\"apps\",\"privacy\",\"2.0.0\"],[\"apps\",\"provisioning_api\",\"1.20.0\"],[\"apps\",\"qownnotesapi\",\"24.11.0\"],[\"apps\",\"recommendations\",\"3.0.0\"],[\"apps\",\"related_resources\",\"1.5.0\"],[\"apps\",\"richdocuments\",\"8.5.3\"],[\"apps\",\"richdocumentscode\",\"24.4.1002\"],[\"apps\",\"richdocumentscode_arm64\",\"disabled\"],[\"apps\",\"serverinfo\",\"2.0.0\"],[\"apps\",\"settings\",\"1.13.0\"],[\"apps\",\"sharebymail\",\"1.20.0\"],[\"apps\",\"support\",\"2.0.0\"],[\"apps\",\"survey_client\",\"2.0.0\"],[\"apps\",\"systemtags\",\"1.20.0\"],[\"apps\",\"tasks\",\"0.16.1\"],[\"apps\",\"templateeditor\",\"disabled\"],[\"apps\",\"text\",\"4.1.0\"],[\"apps\",\"theming\",\"2.5.0\"],[\"apps\",\"twofactor_backupcodes\",\"1.19.0\"],[\"apps\",\"updatenotification\",\"1.20.0\"],[\"apps\",\"user_status\",\"1.10.0\"],[\"apps\",\"viewer\",\"3.0.0\"],[\"apps\",\"weather_status\",\"1.10.0\"],[\"apps\",\"webhook_listeners\",\"1.1.0-dev\"],[\"apps\",\"whiteboard\",\"disabled\"],[\"apps\",\"workflowengine\",\"2.12.0\"],[\"stats\",\"num_files\",3955727],[\"stats\",\"num_users\",2],[\"stats\",\"num_storages\",7],[\"stats\",\"num_storages_local\",5],[\"stats\",\"num_storages_home\",2],[\"stats\",\"num_storages_other\",0],[\"stats\",\"num_comments\",0],[\"stats\",\"num_comment_markers\",0],[\"stats\",\"num_systemtags\",7],[\"stats\",\"num_systemtags_mappings\",21],[\"files_sharing\",\"num_shares\",6],[\"files_sharing\",\"num_shares_user\",2],[\"files_sharing\",\"num_shares_groups\",0],[\"files_sharing\",\"num_shares_link\",4],[\"files_sharing\",\"num_shares_link_no_password\",4],[\"files_sharing\",\"num_fed_shares_sent\",0],[\"files_sharing\",\"num_fed_shares_received\",0],[\"files_sharing\",\"permissions_3_1\",4],[\"files_sharing\",\"permissions_0_31\",2],[\"encryption\",\"enabled\",\"no\"],[\"encryption\",\"default_module\",\"no\"]]}",
            "last_sent": "1735007105",
            "types": ""
        },
        "systemtags": {
            "enabled": "yes",
            "installed_version": "1.21.1",
            "types": "logging"
        },
        "tasks": {
            "enabled": "yes",
            "installed_version": "0.16.1",
            "types": ""
        },
        "templateeditor": {
            "enabled": "no",
            "installed_version": "0.1",
            "types": ""
        },
        "text": {
            "enabled": "yes",
            "installed_version": "5.0.0",
            "types": "dav"
        },
        "theming": {
            "enabled": "yes",
            "installed_version": "2.6.1",
            "types": "logging"
        },
        "twofactor_backupcodes": {
            "enabled": "yes",
            "installed_version": "1.20.0",
            "types": ""
        },
        "updatenotification": {
            "bookmarks": "15.0.4",
            "bruteforcesettings": "1.5.0",
            "calendar": "1.6.5",
            "camerarawpreviews": "0.7.3",
            "contacts": "7.1.3",
            "core": "31.0.6.2",
            "enabled": "yes",
            "files_pdfviewer": "1.2.1",
            "files_rightclick": "0.15.1",
            "installed_version": "1.21.0",
            "notes": "4.12.1",
            "qownnotesapi": "24.11.0",
            "richdocuments": "8.7.1",
            "richdocumentscode": "24.4.1002",
            "theming": "1.4.5",
            "types": "",
            "update_check_errors": "0"
        },
        "user_status": {
            "enabled": "yes",
            "installed_version": "1.11.0",
            "types": ""
        },
        "viewer": {
            "enabled": "yes",
            "installed_version": "4.0.0",
            "types": ""
        },
        "weather_status": {
            "enabled": "yes",
            "installed_version": "1.11.0",
            "types": ""
        },
        "webhook_listeners": {
            "enabled": "yes",
            "installed_version": "1.2.0",
            "types": "filesystem"
        },
        "whiteboard": {
            "enabled": "no",
            "installed_version": "1.1.0",
            "types": ""
        },
        "workflowengine": {
            "enabled": "yes",
            "installed_version": "2.13.0",
            "types": "filesystem"
        }
    }
}

Browser

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions