Nextcloud not sync'ing; have I got chown and chmod correct?

  • Nextcloud Server version
    30.0.6 installed from .zip file
  • Nextcloud Desktop client version
    3.7.3 installed by apt-get
  • Operating system and version
    Raspberry pi OS Debian 12 (Bookworm} - client and server separate devices, both on same LAN. Client is a Pi 4, server is a Pi 3. In both cases the relevant files are carried on USB3 external drives; client is LVM, server is /dev/sda1.

Summary of the issue you are facing:

On the client that I’m trying to sync from, the folders/files are owned howard:howard and mode 755/644. On the server the filed are owned www-data:www-data and were mode 755/644. The nextcloud account is in the name of howard. However, user howard is member of group www-data on the server so I changed the mode of the account recursively to 775/664.

When i hover on the nextcloud client taskbar icon I get “Preparing to sync” and it looks like it’s sync’ing, but eventually crashes the disk mount on the server.

Should I change the server recursively to howard:howard or to www-data:howard, or what are the correct settings?