Dropbox Sync to Android

Discussions about the smartphone versions
Post Reply
drivera
Posts: 3
Joined: Wed Aug 31, 2022 15:48

Dropbox Sync to Android

Post by drivera »

Hi!

In trying to do my Dropbox-based sync from Desktop to Android, I noticed that if the DrivelogSync.xml file isn't there, and doesn't reflect the correct size of the DB being synchronized, then the Android app will refuse to download the log ("Path not found") and thus execute the sync.

This file is also not generated when the sync is requested - only the SQLite SQL file is generated, so I have to manually edit the DivelogSync.xml file to reflect the newly-updated database to be synchronized.

Beyond that, it works just fine ...

Is this by design? Am I missing something egregiously simple? :)

Thanks!
divinglog
Site Admin
Posts: 5855
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: Dropbox Sync to Android

Post by divinglog »

This file should be generated and updated with every sync to the cloud. Can you try to delete the "Divelog" folder from the Dropbox folder and do a new upload from the Desktop version to Dropbox? It should create the folder an the .sql and DivelogSync.xml file.

Make sure the Dropbox folder is correctly configured by clicking the gear icon in the Desktop version in the sync dialog and select the Dropbox root folder manually.

If the .xml file is not generated or updated but the .sql file is uploaded, a security software might block Diving Log from writing to the Dropbox folder.

If you're using the iOS app, it is normal that the DivelogSync.xml file is not updated, because this is not possible on iOS. But syncing should still work, even if the .xml file is not updated. It's just some information about the last sync time and device.
drivera
Posts: 3
Joined: Wed Aug 31, 2022 15:48

Re: Dropbox Sync to Android

Post by drivera »

So ... I was using the sync feature wrong.

When doing a "direct to Dropbox" upload, things work just fine and the files are created. I was using the (older?) "Sync to Android" feature, and saving the resulting "Logbook.sql" into the Dropbox sync folder "manually". This approach doesn't render the XML file (perhaps it also should?).

Sync to Dive Mate did work just fine, though.

Thanks for the help!
divinglog
Site Admin
Posts: 5855
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: Dropbox Sync to Android

Post by divinglog »

Sync to Android is supposed to sync directly to the USB connected phone, so no XML file is needed. Sometimes USB syncing does not work, however. Here are the two different methods explained:

https://www.divinglog.com/blog/?page_id=2024
Post Reply