keepassvault icon indicating copy to clipboard operation
keepassvault copied to clipboard

Cannot create a new kdbx file using webdav

Open dogs-1985 opened this issue 8 months ago • 3 comments

Overview

It prompted me message "File not found null".

How to reproduce

  1. Clear App setting.
  2. Open the App.
  3. Press on + button and select New file.
  4. Storage type select WebDav.
  5. Keyin nextcloud server, key in credential, press on tick button.
  6. Screen show all the directory.
  7. Don't select any directory, click on tick button to finish. (Note: Select 1 of the folder will become blank screen)
  8. Key in the kdbx name, and password.
  9. Click on tick button.

Version

1.13.0

Android Version

Android 15

Device Model

Xiaomi 13T Pro

dogs-1985 avatar Mar 20 '25 03:03 dogs-1985

Hi, @dogs-1985 Do you have "Report" button on this screen (It is located under error message)? Could you click on "Report" -> "Copy" and attach the stacktrace to this issue?

Image

aivanovski avatar Mar 20 '25 08:03 aivanovski

Hi, @dogs-1985 Do you have "Report" button on this screen (It is located under error message)? Could you click on "Report" -> "Copy" and attach the stacktrace to this issue? Image

Sorry for the late reply. Here's the error log.

File not found null com.ivanovsky.passnotes.data.repository.file.remote.exception.RemoteFSFileNotFoundException: File not found null at com.ivanovsky.passnotes.data.repository.file.remote.RemoteApiClientAdapter.throwExceptionFromError(RemoteApiClientAdapter.kt:77) at com.ivanovsky.passnotes.data.repository.file.remote.RemoteApiClientAdapter.getParent(RemoteApiClientAdapter.kt:28) at com.ivanovsky.passnotes.data.repository.file.remote.RemoteFileSystemProvider.openFileForWrite(RemoteFileSystemProvider.java:558) at com.ivanovsky.passnotes.data.repository.keepass.kotpass.KotpassDatabase.commitTo(KotpassDatabase.kt:174) at com.ivanovsky.passnotes.data.repository.keepass.kotpass.KotpassDatabase.commit(KotpassDatabase.kt:159) at com.ivanovsky.passnotes.data.repository.keepass.kotpass.KotpassDatabase$Companion.new(KotpassDatabase.kt:525) at com.ivanovsky.passnotes.data.repository.keepass.KeepassDatabaseRepository.createNew(KeepassDatabaseRepository.kt:178) at com.ivanovsky.passnotes.domain.interactor.newdb.NewDatabaseInteractor$createNewDatabaseAndOpen$2.invokeSuspend(NewDatabaseInteractor.kt:44) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108) at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115) at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

dogs-1985 avatar Mar 21 '25 23:03 dogs-1985

Hi, @dogs-1985

Sorry, I'm a bit late. I've tested the app against opendrive.com, which provides access via WebDav. It looks like everything works fine. I assume the issue is related to the compatibility with Nextcloud server and I need an access to the Nextcloud server in order to fix it.

Do you know how to setup Nextcloud via docker for a WebDav access? I think this problem would be one-liner somewhere, but I'm a bit lazy in learning Nextcloud. So, If you can provide an easy setup - I can fix the problem.

aivanovski avatar Apr 05 '25 09:04 aivanovski