Skip to content
This repository has been archived by the owner on Sep 30, 2021. It is now read-only.

[BUG] Backup created, but where? #2876

Open
Offerel opened this issue Feb 28, 2020 · 8 comments
Open

[BUG] Backup created, but where? #2876

Offerel opened this issue Feb 28, 2020 · 8 comments

Comments

@Offerel
Copy link

Offerel commented Feb 28, 2020

I tried to backup the app settings, which seems to be successfully. However, there is no hint, where this file is saved. I cant find the file with the file explorer.

FastHub Version: 4.7.3
**Android Version: ** 10
Device Information:

  • MANUFACTURER: Samsung
  • BRAND: Samsung
  • MODEL: Galaxy S9

@doamatto
Copy link

doamatto commented Mar 3, 2020

I can't reproduce it; says the file location below the backup button for me.

@Offerel
Copy link
Author

Offerel commented Mar 3, 2020

Ahhh ok. Indeed, I can see the same path in the description. Must have overlooked this completely. If I backup the settings, it says also that process is successfully, but I couldn't find the backup. I miss the whole directory on my device.

@yakov116 yakov116 closed this as completed Mar 3, 2020
@Offerel
Copy link
Author

Offerel commented Mar 3, 2020

Why do you close this? The backup isn't created at the given path. The whole directory doesn't exist.

@yakov116 yakov116 reopened this Mar 3, 2020
@doamatto
Copy link

doamatto commented Mar 4, 2020

Seems to still be just you then. I opened Amaze FM and selected by Internal Storage (which is identified by Android as /storage/emulated/0 and could navigate into the FastHub directory, where backup.json was stored.

@Offerel
Copy link
Author

Offerel commented Mar 4, 2020

Hmm maybe some special problem with how Samsung uses storage access under Android 10?

What makes me wonder is, that the toast message say, that the backup is created successfully. At least with Solid Explorer, I can also manually create Files and Folders at /storage/emulated/0.

@doamatto
Copy link

doamatto commented Mar 4, 2020

Possibly; have you tried using a different file explorer like Amaze or the My Files app (from Samsung) to navigate to that directory and see if it's empty?

@Offerel
Copy link
Author

Offerel commented Mar 4, 2020

At least i tried the Samsung one. The directory FastHub doesnt exist on the device after i created a backup with FastHub. However i can create this directory manually and it stays there. But if i now create a backup with FastHub, the directory stays empty.

Maybe i have a similar problem with another app called NewPipe. andOTP/andOTP#490. All other apps seems to work as expected. I have no problems to create files/folders. If i take photos they are created in /storage/emulated/0/DCIM/Camera as they should. I have no idea how i can test more things, again it makes me wonder that i get the toast message that the backup is created successfully. I have no skills in Android programming but at least in PHP i get only a success, when the save function returns success. Maybe its possible to get the real file path where the file is created. If i remember correctly, /storage/emulated/0 is only a symlink. If i have the real path, maybe i can check it with some adb coommand (if thats available).

@k0shk0sh
Copy link
Owner

k0shk0sh commented Mar 4, 2020

I reckon its android 10 issue.

I'm currently on vacation and coming back home next week, I'll look into it and if I fix this then probably the download will work as well

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants