Windows Client crashes when syncing/uploading files

My Windows client is crashing whenever I try to sync, small files less than 1mb seem to be ok but anything larger crashes the client. I am on Windows 11, I have uninstalled the client, deleted all files on the server and reinstalled fresh but still have the issue. I do not really understand these warnings in the overview section, could anything here be causing this issue?

Security & setup warnings

It’s important for the security and performance of your instance that everything is configured correctly. To help you with that we are doing some automatic checks. Please see the linked documentation for more information.

There are some warnings regarding your setup.

  • The reverse proxy header configuration is incorrect, or you are accessing Nextcloud from a trusted proxy. If not, this is a security issue and can allow an attacker to spoof their IP address as visible to the Nextcloud. Further information can be found in the documentation :arrow_upper_right:.

  • The “Strict-Transport-Security” HTTP header is not set to at least “15552000” seconds. For enhanced security, it is recommended to enable HSTS as described in the security tips :arrow_upper_right:.

  • Your installation has no default phone region set. This is required to validate phone numbers in the profile settings without a country code. To allow numbers without a country code, please add “default_phone_region” with the respective ISO 3166-1 code :arrow_upper_right: of the region to your config file.

  • The database is missing some indexes. Due to the fact that adding indexes on big tables could take some time they were not added automatically. By running “occ db:add-missing-indices” those missing indexes could be added manually while the instance keeps running. Once the indexes are added queries to those tables are usually much faster.

    • Missing index “fs_size” in table “oc_filecache”.
    • Missing index “fs_storage_path_prefix” in table “oc_filecache”.
    • Missing index “fs_id_storage_size” in table “oc_filecache”.
    • Missing index “cards_abiduri” in table “oc_cards”.
    • Missing index “calendarobject_calid_index” in table “oc_calendarobjects_props”.
    • Missing index “schedulobj_principuri_index” in table “oc_schedulingobjects”.
    • Missing index “properties_path_index” in table “oc_properties”.
    • Missing index “properties_pathonly_index” in table “oc_properties”.
    • Missing index “job_lastcheck_reserved” in table “oc_jobs”.
  • The database is missing some primary keys. Due to the fact that adding primary keys on big tables could take some time they were not added automatically. By running “occ db:add-missing-primary-keys” those missing primary keys could be added manually while the instance keeps running.

    • Missing primary key on table “oc_federated_reshares”.
    • Missing primary key on table “oc_systemtag_object_mapping”.
    • Missing primary key on table “oc_comments_read_markers”.
    • Missing primary key on table “oc_collres_resources”.
    • Missing primary key on table “oc_collres_accesscache”.
    • Missing primary key on table “oc_filecache_extended”.
  • The database is missing some optional columns. Due to the fact that adding columns on big tables could take some time they were not added automatically when they can be optional. By running “occ db:add-missing-columns” those missing columns could be added manually while the instance keeps running. Once the columns are added some features might improve responsiveness or usability.

    • Missing optional column “reference_id” in table “oc_comments”.
  • Some columns in the database are missing a conversion to big int. Due to the fact that changing column types on big tables could take some time they were not changed automatically. By running ‘occ db:convert-filecache-bigint’ those pending changes could be applied manually. This operation needs to be made while the instance is offline. For further details read the documentation page about this :arrow_upper_right:.

    • federated_reshares.share_id
    • mounts.storage_id
    • mounts.root_id
    • mounts.mount_id
    • share_external.id
    • share_external.parent

Please double check the installation guides :arrow_upper_right:, and check for any errors or warnings in the log.

Check the security of your Nextcloud over our security scan :arrow_upper_right:.

Version

Nextcloud 22.2.5

Your version is up to date.

Troubleshooting for the client: https://docs.nextcloud.com/desktop/3.4/troubleshooting.html

For your server warnings, there are already links to the documentation. The database indexes can improve the speed of database operations, in case of timeouts from server side, this could be linked to your issues.