mirror of
https://github.com/1Remote/1Remote.git
synced 2026-04-25 13:36:03 +03:00
[GH-ISSUE #1040] Database file in network share #1782
Labels
No labels
area-configuration
area-ct-app
area-ct-rdp
area-ct-remoteapp
area-ct-ssh
area-ct-vnc
area-launcher
area-list
area-tags
area-teamwork
bug
chore
dependencies
general-build/ci
general-performance
general-refactor
general-security
general-supportive
general-ux
meta-documentation
meta-enhancement
meta-enhancement
meta-feature
meta-help-wanted
meta-unknown-error
priority-hi
priority-low
pull-request
question
resolution-duplicate
resolution-invalid
resolution-wontfix
stale
task-put-off
task-still-considering
task-working-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/1Remote#1782
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @spout on GitHub (Nov 26, 2025).
Original GitHub issue: https://github.com/1Remote/1Remote/issues/1040
Originally assigned to: @VShawn on GitHub.
Hello,
I made a copy of %APPDATA%\1Remote\1Remote.db to \samba\share\folder\1Remote.db and this doesn't work :
If the samba share is mounted with drive, it works.
net use f: \\samba\share\folderSame kind of problem with redirected folders : \acme.local\dfs\Redirected\firstname.lastname\Documents\1Remote\1Remote.db
@VShawn commented on GitHub (Dec 1, 2025):
I did not expect that there would be an issue with using addresses starting with
//in the SQLite database. I have attempted to fix it, but testing has not been conducted yet.@VShawn commented on GitHub (Dec 12, 2025):
After some attempts, I found that it is currently not possible to directly read database files stored via UNC paths (i.e., paths starting with
//). To address this issue, I suggest mapping the SMB path to a network drive(i.e. Z:/). This way, you can access the database files through the mapped network drive, avoiding potential problems that may arise from directly using UNC paths.@VShawn commented on GitHub (Dec 12, 2025):
oh when I tried searching in a language other than English, I made an unexpected discovery.
THX to the blog: https://note.dokeep.jp/post/csharp-sqlite-unc-path/
@spout commented on GitHub (Dec 12, 2025):
@VShawn OK for mapping the SMB path to a network drive. But I'm using redirected folders and DFS for Windows users profiles (which is the recommended way than roaming profiles) and for example if I want to put the DB in the Documents folders, the file will be located :
\\acme.local\dfs\Redirected\firstname.lastname\Documents\1Remote\1Remote.dbThanks for your investigations 😄