Update 2! Gave up, re-started PC,here’s a paste of what I’ve just put up on the the dt github bug page.
OK…this is getting odd!
Downloaded 3.6.1
Four times it couldn’t complete the installation. Have lost the screenshot I took. Something about opening darktable.exe
Re-started PC.
Installation went ahead fine.
Went to open dt.
Little empty window fleetingly appeared as it usually does. Then nothing.
Tried again. Ditto. Looked in Task Manager and no sign of dt…
If you used darktable 3.8 it should have upgraded the databases and config files. Those upgrades are not backwards compatible, darktable 3.6 won’t understand them and will fail to launch.
You need to go back to your last 3.6 databases. There should be backups named something like ‘before upgrade to 3.8’ for both library.db and data.db in the config folder, copy them on top of the current ones and launch darktable 3.6.
Caveat: you will lose anything you’ve done on 3.8. And if you saved edits to xmp files, those xmp will become our of sync with the database. If you are asked about this, you need to overwrite the xmp with the database version, as 3.6 won’t understand them anyways.
Have you renamed them to “library” and “data”? I think you need to remove or rename the existing “library.db” and “data.db” files and rename your backups to “library.db” and “data.db” (the extension is important).
I don’t use Windows so I suppose there may be some Windows gotchas I’m not aware of.
You probably have Windows set to hide known file extensions so your existing files (for example “library” with a type of “Data Base File”) actually have a .db extension that isn’t shown in Windows explorer.
I see the .lock files…but have checked in task manager and there is no sign of dt. Am I DOOMED ?
Also, I have tried copying the renamed back-up files, but it won’t let me paste them onto the existing library and data files…and I’ve tried deleting the exisiting files but they just pop back up…
There must be a way…but I jave no idea what it is.
PS Have restarted the PC and that makes no difference.
I think uninstalling and reinstalling makes little sense, unless you think the installed software got corrupted – but why would that happen?
Starting with a clean setup (either by moving the existing config + DB files, or pointing darktable to an alternative, debug location using command-line arguments) could help.
Running from the command-line has other benefits, e.g., one can see logged error messages there.
Okay, it seems you have successfully downgraded to 3.6.1. Un-installing and re-installing (as @Cranky has suggested) shouldn’t be needed.
From what I’m reading, especially the:
Suggests that darktable is somehow running in the background. Have you added it to your autostart sometime?
What I would do from this state is:
Restart your PC to make sure darktable isn’t running. (Restart is better than shutdown and power-on)
Open the file explorer and enable all file extensions being shown by removing tge check-mark of “Hide extensions for known file types” (google this term to find dozens of descriptions on how to do this)
Make a backup of your darktable config folder (e.g create a zip file with the current content)
Rename (or at this point simply delete) the data.db and library.db files.
Rename the data.db-pre-3.8.0 and library.db-pre-3.8.0 by clicking on one, press F2 and removing the -pre-3.8.0 part of the filename. Windows will complain that the filetype is being changed, but that’s what we want.
Now open darktable and cross your fingers
Maybe your virus scanner interferes, so you could consider disabled it while your perform above steps.