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

Changing the folder with data does not work in any way #237

Closed
1 of 6 tasks
jintaxi opened this issue Mar 8, 2024 · 1 comment
Closed
1 of 6 tasks

Changing the folder with data does not work in any way #237

jintaxi opened this issue Mar 8, 2024 · 1 comment
Labels

Comments

@jintaxi
Copy link

jintaxi commented Mar 8, 2024

Relevant components

  • Standalone tray application (based on Qt Widgets)
  • Plasmoid/applet for Plasma desktop
  • Dolphin integration
  • Command line tool (syncthingctl)
  • Integrated Syncthing instance (libsyncthing)
  • Backend libraries

Environment and versions

  • Versions of syncthingtray, qtutilities and c++utilities: syncthingtray-qt5-1.5.0-x86_64-w64-mingw32.exe.zip, not used (i think), not used (i think)
  • Qt version: 5.15.12
  • C++ compiler (name and version): not used (i think)
  • C++ standard library (name and version): not used (i think)
  • Operating system (name and version): 23H2 22631.3007

Bug description
In the original version of Syncthing, there is a -data flag that says where to store the database of indexed files
(index-v 0.14.0.db for the current version of Syncthing 1.27.4). SyncthingTray also has an option that allows you to change the database storage directory. But this option does not work.

Steps to reproduce
0. Delete the existing index-v 0.14.0.db folder

  1. Switch SyncthingTray to portable mode
  2. Use the Syncthing version built into SyncthingTray
    3.1 Try to change either in Settings -> Startup -> Syncthing launcher -> Data Directory
    3.2 or in the ini libSyncthingDataDir file

Expected behavior
SyncthingTray will store the database of indexed files in the specified folder (as it happens with the -data flag in the original Syncthing)

Screenshots
image

\/ \/ \/

image

@Martchus
Copy link
Owner

Martchus commented Mar 9, 2024

Thanks for reporting. This was fortunately just a simple mistake which is fixed now (see commit referenced by GitHub).

@Martchus Martchus closed this as completed Mar 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants