Client not syncing unless a browser session is logged in

Expected behaviour

I’m guessing the Windows client should sync new files without having to have the owncloud website open. The files I’m trying to sync is “external storage” located in a local directory on the server but outside the webserver document root.

Actual behaviour

Nothing is synced no matter how long I wait. The owncloud windows client shows a green check and no errors. If I open a web browser and login to my owncloud, a pop-up immediately appears and all changes are synced. If I navigate off the owncloud site then sycing stops.

Steps to reproduce

  1. Install and configure client.
  2. Start client.
  3. Drink a beer and watching nothing happen.
  4. Log in to the owncloud web portal. Watch files sync.

Server configuration

Operating system: Centos 8

Web server: Centos 8 hppd.

Database: mysql

PHP version: Not sure

ownCloud version: Stable version installed two weeks ago.

Storage backend (external storage):

Client configuration

Client version: 2.6.3 (build 13551)

Operating system: Windows 10 pro

OS language: English

Qt version used by client package (Linux only, see also Settings dialog):

Client package (From ownCloud or distro) (Linux only):

Installation path of client:

Logs

Please use Gist (https://gist.github.com/) or a similar code paster for longer
logs.

Template for output < 10 lines

  1. Client logfile: Output of owncloud --logwindow or owncloud --logfile log.txt
    (On Windows using cmd.exe, you might need to first cd into the ownCloud directory)
    (See also http://doc.owncloud.org/desktop/2.2/troubleshooting.html#client-logfile )

  2. Web server error log:

  3. Server logfile: ownCloud log (data/owncloud.log):

Hi,

The problem is that ownCloud does not automatically propagate changes from external storage to the sync client. However, we have an app and a service exactly for your issue. It’s called Windows Network Drive and WND Listener. The listener listens for changes and propagates them to the sync client.

https://marketplace.owncloud.com/apps/windows_network_drive

You can use occ files:sync as a cron job to scan your system for new files in regular intervals. This is a workaround and can last a long time depending on the amount of your files.

1 Like

Ok, that’s an idea. Does it support virtual file syncing?

Thank-you for the reply!

The current state of VFS is -
Windows = technical preview
Linux = experimental
mac OS = experimental

So if you have Windows as your client system - you can try it out.