Current configuration: My exe is under C:/stash, my config-file (along with the DB and all the others) is under user/.stash. (It’s the other install option instead of putting exe and config in the same directory).
For a second instance I copied the exe in a new directory C:/stash2 renaming it to stash2.exe.
I copied the config-file in a new directory user/.stash2 - modifying the file with a new port number and adjusting the new path of the new config.
But when I start stash2.exe it leads me to the current database instead of creating a new one. What am I doing wrong?
You have to specify which config file to use if not using the default with -c or --config flag, so you would do something like stash-win.exe -c C:\username\.stash2\config.yml.
If you want to double-click something instead of the command line, you can make a short cut with the command line options: https://superuser.com/a/1362498
Thanks a lot, that indeed worked!
But - directory .stash2 has only the config2.yml + config2.yml.(some numbers) + the sqlite-files (no subdirectories as blobs, cache generated and no ffmpeg files). The video files are displayed in this second instance but without thumbnails and I also cannot add them (message confirms thumbnail generated but no display).
Okay, now I simply copied the missing files/directories mentioned above from the first instance (.stash) into the second (.stash2) and thumbnails are generated.
But with the launching there comes also a windows message "Error: … “only one usage of each socket address … is normally permitted” - although the two instances have different port numbers. Strange …
Maybe need specify the port flag --port ####, the default is 9999, but use two different numbers for each instance.
Also make sure the path/directories are all correct for each in Settings->System.