Syncing / refreshing file list for Google Drive external storage only works with files added via OwnCloud. When files are uploaded to GoogleDrive OwnCloud Desktop Client ignores them. The iOS mobile app client DOES update to show files added via Google Drive.
Expected behaviour
Files added to Google Drive (via Google Drive UI) should be downloaded by Google Drive added as external storage in OwnCloud account.
Actual behaviour
Files added to Google Drive (via Google Drive UI) do not get synced to Google Drive added to OwnCLoud as external storage.
Yes. The WebUI will work as well. Web and iOS will issue a listing of the folder when you browse into it. The desktop client works differently, for performance reasons.
You will need to do a file scan periodically in order to have the files show up. You can adjust this based on the performance you watch.
We did look for a customer and couldn’t identify a notify service in the API. Thats how we solved it for large companies for WND and also OneDrive. There we have a notification service running which automatically fetches the changes and puts them into the ownCloud database every 2 minutes, so the desktop client can sync.
Thanks for confirming this limitation. I have tried quitting and relaunching the client - it scans, but still does not find files added directly through Google Drive. I have activated ‘Force sync now’ from the drop down menu on the top right of the client window - it scans, but still does not find files added directly through Google Drive.
I did see that documentation and it looked like it was addressing my exact issue - but because the issue is only with the client (not the web UI and iOS app) - I don’t think it is.
Yes. There is nothing you can do from the client side. After the first sync the client checks against the filecache database of the server, otherwise it would take too long. And as long as you don’t browse in the mobile or web clients into the folder or do a file scan on the server side you will not see any changes.
Actually you could put a new file into the folder you like to see changes in and then it would also see the changes, I think - but please try, not 100% sure on this one.
I finally managed to get cron to execute the command. I could only get it to work on my CENTOS setup by specifying the full path to php (instead of just having ‘php’). It appears I didn’t need to use sudo.