keepass2android icon indicating copy to clipboard operation
keepass2android copied to clipboard

[QUESTION] Issue: 'No such File': Empty directories, SFTP via local NAS

Open CraigUK82 opened this issue 4 months ago • 5 comments

Hi,

I've stumbled into an issue where K2A can no longer "see" my local server files and therefore cannot access my password file.

I updated my NAS OS recently to TOS 6.0 (TerraMaster F4-423) and I have always used SFTP just fine with K2A.

I use the correct credentials to login, and the connection is successful. My file password and fingerprint is successful (there is a local backup on my phone) but when trying to sync the file, I have started to get the error 'no such file'.

I've spent some time searching, including the forum, and tried the suggested single slash / to bring up the file explorer. I can see directories in my root folder, but they are incorrectly empty. It looks like a permission issue, but considering I'm using the correct credentials for my server, of which there's no issues from my Linux machines, I'm confused.

I installed a different app on my phone to test SFTP, and I can successfully login using it with the same credentials, being able to fully browse the NAS and see my password file just fine. I can't work out why K2A cannot.

Any help would be appreciated, thanks.

What version of Keepass2Android are you using? 1.12r5

CraigUK82 avatar Sep 05 '25 23:09 CraigUK82

can you see anything in the log of the NAS?

PhilippC avatar Sep 10 '25 12:09 PhilippC

Hi,

Thanks for replying. I'm going to have a look over the weekend, likely on Sunday and I'll come back here.

Cheers.

Ps

When responding there's a forced option of closing the thread but doesn't look like I can keep it open? Confused.

CraigUK82 avatar Sep 11 '25 23:09 CraigUK82

Hi,

Thanks for reopening.

I've done some testing and the log shows a successful SSH connection as soon as I select the database in the app, before entering password.

There's nothing else really in the log that would help, my phone's local IP and client port 59492, 59462, 59456, 59438 and 59436 are listed within seconds of each other.

I have a simple firewall rule on the NAS to only allow all local IPs, but I've tested with the firewall off and the result is the same.

To note, I'm now using an updated app version 1.13-r1.

Thanks.

CraigUK82 avatar Sep 18 '25 20:09 CraigUK82

Can you maybe record a video of what you're doing? You can share it privately if you prefer ([email protected])

PhilippC avatar Sep 26 '25 08:09 PhilippC

I'll drop you a video via email a few minutes after this post, many thanks, appreciate your time.

CraigUK82 avatar Sep 26 '25 09:09 CraigUK82