moneymanagerex / android-money-manager-ex

Manage your finances on-the-go, encrypted for security, and sync via your cloud
http://android.moneymanagerex.org/
GNU General Public License v3.0
485 stars 187 forks source link

can not use and sync via dropbox #1707

Closed fraput closed 3 months ago

fraput commented 3 months ago

Describe the bug If i install ammx-2024.05.09-release.apk (on my smarthone i will asked new account or existing - or use yor cloud) when i go to my dropox-app an chose my-file.mmb the file can no be opend - look sreenshots - dropbox can not give a pre-view, by klick open, there is mmx not in the option's to choose (only 3 other aps are offered - look screenshot) - so the way as descriptet is not usable!

an alternate way i hace testete does also not work! if i use a own folder (\dropsync\mmex\my-fle.mmb) wich ist synchronised by dropsync, then i can first open the file wich is from my ubuntu-desktop. Then the mmx-app stores the file in /storage/emilated/0/android/sata/com.money.manager.ex/files/database/my-file.mmb if i say upload, ther is no new file in my dropsync-folder

Screenshots Screenshot_20240609_184021 Screenshot_20240609_184107 Screenshot_20240609_184113

Device Information:

guanlisheng commented 3 months ago

please get synchronization enabled, refer to https://moneymanagerex.org/docs/features/usecloud/

fraput commented 3 months ago

This does not work!

Look Screenshots: I have made a change in the File, then my Ubuntu-Dropbox does upload the new file immediately. (i have also testet to use the file on my local dropsync-foleer wich sync himself with teh dropbox)

both ways i have tried: but the mmx app use "ONLY" the file in the local storage as written in the first message /storage/emilated/0/android/sata/com.money.manager.ex/files/database/my-file.mmb - see screenshot

Screenshot_20240610_134627 Screenshot_20240610_134635 Screenshot_20240610_134654 Screenshot_20240610_134704 Screenshot_20240610_134934

guanlisheng commented 3 months ago

without detailed configurations and steps, it is hard to understand how you verified the sync...

with your android mmex, can you re-open the files from your dropbox folder again? to see whether the number looks correct?

https://github.com/moneymanagerex/android-money-manager-ex/issues/1703 and https://github.com/moneymanagerex/android-money-manager-ex/issues/1705 might explain sth you were looking for.

fraput commented 3 months ago

wich mor info you need - i think i have given oll infos - look at the screenshots :

i tray explain again:

1) on ubuntu 24.04 with MMEX 1.8.0 i have my File 20240609-Test-Android-Kopie.mmb 2) the mmb-file ist storaged in my home folder ./Dropbox/dropsync/mmx/20240609-Test-Android-Kopie.mmb 3) the folder ./Dropbox allways do automatic sync the local file with the Dropboc-Cloud - immediately with every change

4) i remove and install new ammx-2024.05.09-release.apk 5) ammx lets create a new db, or open a existing file on my device 5a) the file is not on the device - it is on the dropbox, in this case ... 5b) the app give order to open the file in my cloud (wich ist dropbox) 6) if i now go to my app-dropbox i chose there the folder /dropsync/ 6a) if i would open the file 20240609-Test-Android-Kopie.mmb in the dropbox there my phone only give three apps (PassWallet / Google Wallet / Keepass2Android) to open the file. 6b) Ammx is installed but my phon can not handle the mmb-file - my phone does ammx not recognice as a app for open mmb-files ... does ammx by installing herself not set the necessary infos in my phone to open mmb-files? 6c) so i can not start my file from dropbox 6c) is ther the problem - how tells ammx my phon to open mmb-files?

in the #1703 - ther is a info, that the user installed the app over f-droid on a other decive - is the apk-file from here for installig under google without f-droid not right designed?

guanlisheng commented 3 months ago

The APK file from GitHub and f-droid are the same. these configurations are helpful, great if you could provide your android dropbox version.

can you continue 5b to re-open the files from your Dropbox folder to see whether the number looks correct?

fraput commented 3 months ago

first of all thank you for your efforts and patience

Dropbox-App Version 380.2.2

i don't understand what re-opening should show ? there is no number i get only a popup message to chose on of the three options, PassWallet or Google Wallet od Keepass2Andriod (behind the popup is only a draw with a horse no text) - see scrennshot, and there is no option to continue , ther is no number - i only can stop with return

Screenshot_20240611_202148-1

guanlisheng commented 3 months ago

in your Android mmex, main menu -> open database -> other...

Dropbox here is just cloud storage, so far, there is no linkage between the database file and Android mmex yet.

your configurations are clear, great if you could share more steps to reproduce the "issue"

fraput commented 3 months ago

wich number should look correct?

because i can not open the mmb-file from the dropbox-cloud - look at the screenshot in the last message - so i get no main menu -> open database -> other...

i only can make a new local db-file - but that is not what i want . i want use the existing file storaged in dropbox!

so i got no mainmenue with

in my description 5b) it stop to work! that apperas in the app Screenshot_20240612_211815

is my next step right? (my description 6..) i open my app-dropbox and go to the folder with my mmb file if i want open the file then i got this Screenshot_20240611_202148-1 here i only can use return - and so i again by the step 5b)

is there a other way to open the file in the cloud-dropbox-folder?

to your message "main menue - opend databas ...." for testing, i have now seved my file in a local folder on my phone and open it with the second butten (or you can select an existing file from your device Open database) the screenshot from this way: Screenshot_20240612_213743

to your info "ther is no linkage at this time:" how get a linkage between the database file and Android mmex? if there the app could create a linkage, then i think it would work?

PS: in a very old version von android-mmx - some years ago, there was it possible to open the app withot creating a new file or without open a existing file. there was a menue-item "Dropbox", then mmx opens a menue to login with mail and pw of the dropbox an then was to chose the folder and file in the droppox-folder and it works.

guanlisheng commented 3 months ago

forget about the linkage, it is for something else. please ignore old version as well, as latest version support other data providers (e.g. google Drive) as well.

@fraput back to your request here i want to use the existing file stored in dropbox! clicking main menu -> open database -> other will have a file explore and you should find Dropbox option there.

here we go an example to open file stored in Synology Drive. mmex_nas

guanlisheng commented 3 months ago

I'm confused as your first comment showed that the database file is from Dropbox.

main menu -> open database -> other will open the file from any available data provider, then mmex sync and data provider will handle sync periodically

fraput commented 3 months ago

oh sorry, so it works.

if mmx start, there are 2 big buttons one for create and one for existing.

for files on a cloud the information for opening is UNDER the second button, so it sings me not use the above butten "existing". so i have opend die droppox app - i have wirtten this!

i think the info to open cloud-files also over the button "existing" (and ther serach for the cloud is not) would be necessary to - so it avoid misunderstanding.

I have intrpratet the infos for cloud no so as it was considered.

Sorry for the complicate way to clear the problem and thanks for your patience with me.

1000 Thanks!

guanlisheng commented 3 months ago

great and thanks @fraput.

any suggestion on the desc to avoid misunderstanding?

here you go an article on mmex + Synology drive, feedback is welcomed. https://moneymanagerex.org/blog/mmex-cloud-storage-with-synology-drive/