phpbg / easysync

Synchronize your android phone/tablet with your DAV server, the easy way.
MIT License
94 stars 3 forks source link

App crashes when selecting advanced synchronization settings #40

Open Ke1i opened 1 day ago

Ke1i commented 1 day ago

Bug description Trying to select individual folders to sync on the webdav server via Synchronization settings > Advanced synchronization settings results in a crash.

Smartphone:

samuelchemla commented 1 day ago

Does it crash when toggling enabled/disabled folders ? or when clicking on Advanced synchronization ? Can you also tell what's your webdav server? nextcloud? apache? other?

Ke1i commented 1 day ago

It crashes when I click on the advanced synchronization settings so no I don't even get into the option of selecting folders. Webdav server is a generic one written in Go and I can connect to it just fine using plain http on a non standard port. I wanted to use ocis (owncloud) for the server but the self signed cert was a no go.

Ke1i commented 1 day ago

Said webdav server: https://github.com/hacdias/webdav

samuelchemla commented 1 day ago

There seems to be something wrong with your dav server.

I published a 1.12 release that prevent the crash and provides more details about the problem.

Please wait a few days so it is available on fdroid (or build it yourself) and report back with the error message.

Ke1i commented 19 hours ago

Initially I didn't want to sync everything - that's why I wanted to select some specific folders. Anyway today I created a temporary folder on the server and pointed EasySync to it to sync everything. It worked - with some errors though. So the webdav server isn't the problem. The sync errors I got were some .m4a files failing to copy so maybe you'll want to look into that as well? Attached are some screengrabs.

Screenshot_20241011-140849_Easy_Sync

Screenshot_20241011-144958_Easy_Sync

Screenshot_20241011-140535_Easy_Sync

Screenshot_20241011-140626_MiXplorer

Screenshot_20241011-140645_Easy_Sync

Ke1i commented 19 hours ago

Update I deleted the music files on the server and manually copied them again from the phone to the server. Synchronization completed successfully without any errors. It still crashes though when I go to the advanced synchronization settings.

Screenshot_20241011-150634_Easy_Sync