Nextcloud 30.0.2 with ubuntu 20.x Syncing issues

Hello Sir,

I have a nginx proxy at the front and then a server with nextcloud. My users are often complaining that nextcloud starts syncing from the beginning some times and doesn’t sync changes only. How can i diagnose the issue and fix the problem?

Br,
Usman

Hello Usman,

Your issue with files resyncing in Nextcloud could have multiple causes. To help you effectively, we need more details about your setup and configuration. Please try to answer the following questions:

  1. Nextcloud Version: You mentioned using Nextcloud 30.0.2. Are you sure all apps and modules are up-to-date? Also, check the logs for any errors or warnings.

  2. Type of Installation:

    • Are you using Nextcloud Snap, Docker, AIO, or a traditional installation? Each method has specific requirements or limitations.
    • If you’re using Docker or AIO, what are your proxy and port forwarding configurations?
    • If it’s Snap, are you on the latest version of the package?
  3. Server Configuration:

    • What exact version of Ubuntu are you using (20.04 or 20.10)?
    • Are there any specific settings in your Nginx proxy? If not, I recommend adding the following advanced settings to your Nginx configuration:
      client_body_buffer_size 512k;
      proxy_read_timeout 86400s;
      client_max_body_size 0;
      
      These settings can help handle larger file uploads and prevent timeouts during syncing.
  4. Syncing Issue:

    • Does this problem occur only for certain users or for everyone?
    • Are your users utilizing the desktop client or just the web interface?
    • Are there any interruptions in the internet connection during syncing?
  5. Logs:

    • Have you checked the Nextcloud logs (located in data/nextcloud.log or via the Admin interface)?
    • What do the desktop client logs show? They can often reveal why resyncing starts from scratch.
  6. Client Setup:

    • Are all your users on the same version of the desktop client? Older client versions can sometimes cause issues.

With this information, we can better diagnose the issue and provide a more specific solution.

  1. Yes everything is up to date.
  2. It is direct installation on ubuntu 22.x no docker snap etc.
  3. Distributor ID: Ubuntu
    Description: Ubuntu 22.04.5 LTS
    Release: 22.04
    Codename: jammy
    client_max_body_size 1000m;
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;
    }
    add_header Strict-Transport-Security “max-age=15552000; includeSubDomains” always;
    }
  4. Problem is with every user. They are using desktop client the latest one it auto updates. No internet is quite stable
  5. Can you be more specific about logs because i get alot of info there?

Check your Nginx proxy settings for timeouts or caching issues. Ensure WebDAV support is correctly configured. On Next cloud, review logs (nextcloud.log) for errors and verify the sync client’s version is up to date.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.