Akylas / OSS-DocumentScanner

Android document document scanning app
https://www.akylas.fr
MIT License
714 stars 25 forks source link

Syncing Issues #9

Closed DickinsonSa closed 1 month ago

DickinsonSa commented 9 months ago

Hi,

Fantastic little app - many thanks and well done.

Would you mind clearing something up please...?

I set up the webdav sync, clicked on test and got the 'successful' reply. However, the sync circle is dimmed out and it just doesn't seem to sync any documents.

Have I missed doing something?

Version 1.0.2 build 3 Android 10

Thanks.

farfromrefug commented 9 months ago

@DickinsonSa thanks for the kind words.
so yes if the test passes your documents should sync on your WebDAV folder(in an app specific format). so you know. a sync should happen on doc add/remove/update. in this case the doc should be updated on your WebDAV folder. so it is only one way sync. you can force the 2/way sync by manually pressing the sync button on the main page. i will test it all again here to see if it works.

DickinsonSa commented 9 months ago

Appreciate the speedy feedback. Thanks for rechecking.

farfromrefug commented 9 months ago

Appreciate the speedy feedback. Thanks for rechecking.

I fixed it it will be released between today and tomorrow

DickinsonSa commented 9 months ago

You're a little star!

Thanks for fixing it so quickly.

I'll give it a test and update how I get on so can close this one then.

Great work on the project - best scanner I've used in a long time.

Cheers.

DickinsonSa commented 9 months ago

I got the latest update, but I'm still not seeing it sync anything. Could I have missed something?

Still getting a 'success' when doing the test.

It's there a log anywhere?

farfromrefug commented 9 months ago

@DickinsonSa OK that s not normal then. no log in the current version but I can add some in the next build. then you ll share it with adb logcat . good with you ?

DickinsonSa commented 9 months ago

Sounds like a plan. Thanks for that.

DickinsonSa commented 9 months ago

Or - if it's easier, drop the scans into a folder in 'downloads' - whatever suits you sir.

farfromrefug commented 9 months ago

@DickinsonSa If what you want are PDF in download folder you can already do that with the action bar PDF button. syncing is there so that you get back your document if you uninstall/install the app

farfromrefug commented 9 months ago

@DickinsonSa could you please install this build. That build has sentry enabled (personal hosted sentry instance).

DickinsonSa commented 9 months ago

Hi,

Initially got a 'failed to create folder' message on start up.

When long pressing on version number got...

Error / Test error - pressed 'ok'.

Thanks, hope it helps.

Cheers

16 Dec 2023 18:04:03 farfromrefuge @.***>:

@DickinsonSa[https://github.com/DickinsonSa] could you please install this[http://gofile.me/4pKGL/5dacOArni] build. That build has sentry enabled (personal hosted sentry instance).

  • Try to add a new document,
  • wait like 30s
  • then go to settings and long press the version number
  • kill and restart the app.
  • I should get a bug report showing me the sync logs Thanks!

— Reply to this email directly, view it on GitHub[https://github.com/Akylas/com.akylas.documentscanner/issues/9#issuecomment-1858889637], or unsubscribe[https://github.com/notifications/unsubscribe-auth/A5MXSZQGA6GQR4HRA3M2RM3YJXPBHAVCNFSM6AAAAABARMXRS6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJYHA4DSNRTG4]. You are receiving this because you were mentioned. [Tracking image][https://github.com/notifications/beacon/A5MXSZXYIKNZOI2FQNQPAFLYJXPBHA5CNFSM6AAAAABARMXRS6WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTOZRT2K.gif]

farfromrefug commented 9 months ago

@DickinsonSa i got an error report just now which i think is from you (Huawei P20 android 10 ? ) If so it tells me that you dont have the right create a folder in your webdav config. It can mean multiple things. What is your webdav server? is it something like nextcloud? a nas? It could either be that you actually cant create folders But it could also comes from the fact that right now the only authentication i support is Basic authentication. Maybe your server uses a different tech ? like digest or token?

DickinsonSa commented 9 months ago

Hi,

I'm running webdav on Hetzner storage share - if that helps.

I saw the folder error, but it didn't make sense - I already created the folder for the scan output.

Wasn't sure if I'd configured the folder path correctly, but it did give me a 'success' message - so I assumed all OK.

Thanks for looking.

I can give you the storage share address if it helps.

Cheers

16 Dec 2023 18:14:23 farfromrefuge @.***>:

@DickinsonSa[https://github.com/DickinsonSa] i got an error report just now which i think is from you (Huawei P20 android 10 ? ) If so it tells me that you dont have the right create a folder in your webdav config. It can mean multiple things. What is your webdav server? is it something like nextcloud? a nas? It could either be that you actually cant create folders But it could also comes from the fact that right now the only authentication i support is Basic authentication. Maybe your server use a different tech ? like digest or token?

— Reply to this email directly, view it on GitHub[https://github.com/Akylas/com.akylas.documentscanner/issues/9#issuecomment-1858894955], or unsubscribe[https://github.com/notifications/unsubscribe-auth/A5MXSZT4ASJMLJRD4SNAINTYJXQH5AVCNFSM6AAAAABARMXRS6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJYHA4TIOJVGU]. You are receiving this because you were mentioned. [Tracking image][https://github.com/notifications/beacon/A5MXSZVSXUVHLI4G74KLMS3YJXQH5A5CNFSM6AAAAABARMXRS6WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTOZR6GW.gif]

farfromrefug commented 9 months ago

@DickinsonSa ok i think we will need to work closer on this. My need you to create a me a test account just so that i can test myself. THen you could remove it. Could you send me a mail at contact at akylas dot fr so that we can work it out?

DickinsonSa commented 9 months ago

Hi,

Yes, I'll do that, unfortunately I'm away from home at the moment but should get back on Monday.

Is that alright with you?

I really appreciate you taking the time to sort this and  will help any way I can.

Cheers


16 Dec 2023 18:21:55 farfromrefuge @.***>:

@DickinsonSa[https://github.com/DickinsonSa] ok i think we will need to work closer on this. My need you to create a me a test account just so that i can test myself. THen you could remove it. Could you send me a mail at contact at akylas dot fr so that we can work it out?

— Reply to this email directly, view it on GitHub[https://github.com/Akylas/com.akylas.documentscanner/issues/9#issuecomment-1858899133], or unsubscribe[https://github.com/notifications/unsubscribe-auth/A5MXSZX3MSXGJCRDF3JLRWDYJXREHAVCNFSM6AAAAABARMXRS6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJYHA4TSMJTGM]. You are receiving this because you were mentioned. [Tracking image][https://github.com/notifications/beacon/A5MXSZVRKKQ3D57UXGGLRVTYJXREHA5CNFSM6AAAAABARMXRS6WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTOZSGL2.gif]

farfromrefug commented 9 months ago

@DickinsonSa no problem whenever you can. enjoy your week end