syncing not happening when expected

,
Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. :heart:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • NextcloudPi version v1.55.3
  • Operating system and version (e.g., Ubuntu 24.04):
    • Armbian-unofficial 24.8.2 Bookworm \l . 6.6.45-current-bcm2711 (aarch64)
  • Web server and version (e.g, Apache 2.4.25):
    • Apache/2.4.62 (Debian)
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • (I can’t figure out how to get this information. Whatever was shipping with the NCP image last September?)
  • PHP version (e.g, 8.3):
    • 8.3.11
  • Is this the first time you’ve seen this error? (Yes / No):
    • no
  • When did this problem seem to first start?
    • maybe since installation, September 2024
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • NCP
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • no

Summary of the issue you are facing:

Nextcloudpi is the server. It runs on a Pi 4. There are 4 clients: 2 MacBooks, one Ubuntu, and one iPhone. We use Gnucash. The data file is in my Nextcloud account. My wife’s account shares the data file. sometimes Gnucash loses her recent entries. Not always. No data file conflict is appearing in the Gnucash folder. (We used to use Dropbox for this purpose. Dropbox once last year recorded a conflict in the Gnucash folder.)

This feels like, she puts in her transactions, files them, closes the program, then I open it on my machine, and my work overwrites what she did.

So it feels like Nextcloud isn’t syncing correctly – her version isn’t synced through the server when I open my version, I write mine, and hers disappears.

Is this a reasonable diagnosis of what is happening? is there a way to fix it?

Our current attempt to fix this is to sync Nextcloud every time we use the program, both before and after its use. But shouldn’t Nextcloud be doing this?

I notice also that synchronization seems to get stuck sometimes: I file something on one machine, look on another, and the client on the other machine says it’s checking. These are not big files (maybe 200k maximum).

Most of the time Nextcloud works as expected and it’s a beautiful thing.

Steps to replicate it (hint: details matter!):

  1. client A updates a shared file
  2. client B updates the same shared file

I can’t replicate this reliably; it works fine when I have the two machines in front of me, but then weeks later it turns out she’s missing transactions.

Why does she lose transactions and I don’t? I use the program more often than she does.

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

PASTE HERE

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

PASTE

Web server / Reverse Proxy

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

PASTE HERE

Apps

The output of occ app:list (if possible).

Tips for increasing the likelihood of a response

  • Use the preformatted text formatting option in the editor for all log entries and configuration output.
  • If screenshots are useful, feel free to include them.
    • If possible, also include key error output in text form so it can be searched for.
  • Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.