Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PCloud URI gets broken after refresh #1861

Closed
Trivaris opened this issue Jun 23, 2024 · 1 comment
Closed

PCloud URI gets broken after refresh #1861

Trivaris opened this issue Jun 23, 2024 · 1 comment
Labels
bug FileSync Linked to FileSync app out of scope

Comments

@Trivaris
Copy link

Describe the bug

The Database.kdbx cannot be opened due to

Permission Denial: opening provider com.pcloud.content.PCloudDocumentProvider from ProcessRecor....

after having it open and then closing the KeePassDX App.
All Solutions and Workarounds in the Wiki have been tried but they are either non-viable (like constantly having to reselect the file) or did not work.

A possible fix could be setting the path to /storage/5315-3157/database.kdbx which was found out by searching with mix-explorer. However this is not possible with DocumentsUI.

To Reproduce

Steps to reproduce the behavior:

  1. Click Open existing Vault
  2. Click PCloud Icon
  3. Select database.kdbx
  4. Open Database with Password
  5. Close KeyPassDX Application
  6. Open KeyPassDX Application after some time
  7. Database cannot be opened.

7.5 Name does not say Database.kdbx, but /documents/{random string}

Expected behavior

  1. Database opens like normal

A clear and concise description of what you expected to happen.

KeePass Database

  • Created with: [Windows KeePass 2.42]
  • Version: [?]
  • Location: [PCloud root]
  • File provider (content:// URI): [content://com.pcloud.pcloud.documents]
  • Size: [189kb]
  • Contains attachment: [Yes]

KeePassDX:

  • Version: [4.0.6]
  • Build: [Pro]
  • Language: [English]

Android:

  • Device: [Redmi Note 10 Pro]
  • Version: [LineageOS 21]

Additional context

Add any other context about the problem here.

@Trivaris Trivaris added the bug label Jun 23, 2024
@J-Jamet
Copy link
Member

J-Jamet commented Jun 23, 2024

Unfortunately this type of problem cannot be solved from KeePassDX. If you've read the wiki, you'll understand that it's the PCloud application's file provider that breaks the link and raises the exception.

There are three solutions:

  • Reselect the file. I don't know why you say it's unviable, on a computer you do it all the time to select a file from its location.
  • Contact the PCloud application developers to change the behavior of the URI channel so that it doesn't close automatically.
  • Design an application that contains the PCloud API and better manages exposed URIs -> Add PCloud API FileSync#6

@J-Jamet J-Jamet added out of scope FileSync Linked to FileSync app labels Jun 23, 2024
@J-Jamet J-Jamet closed this as completed Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug FileSync Linked to FileSync app out of scope
Projects
None yet
Development

No branches or pull requests

2 participants