Opening all databases at start

I’m using V3.0.3: I currently have 5 databases and they are resident in one folder. Up to this version all my databases would open on startup but now only 2 of the 5 open on startup. I can’t find any preferences to control this so any ideas if how I can get things back to the way they were?

Welcome @hedwig47
There are no preferences to control it.

  • On startup of what… DEVONthink or the machine?
  • Where is the database folder you’re using located?

Startup of Devonthink on my MacBook Pro on OS V10.15.1
The databases are in one folder within “Documents” so they get backed up to my Cloud account.
Apologies for my lack of clarity.

No worries!

The databases are in one folder within “Documents” so they get backed up to my Cloud account.

I’m not sure what you specifically mean by this but if you are using System Preferences > Apple ID > iCloud Drive > Options > Desktop & Documents folders you should NOT have your DEVONthink databases in the Documents folder.

You should quit DEVONthink and move them to the Databases folder in your Home directory. (In fact, I’d suggest that as a generally safe thing to do.)

Also, we strongly advocate proper primary backups using TimeMachine (or similar snapshot-style backup applications) and external drives. Also, you should read the recent series of articles we posted: https://www.devontechnologies.com/search?q=backups&from=blog​

Thank you for your advice and guidance I will do as you set out. Your timely response is much appreciated.

You’re very welcome :slight_smile:

I don’t know why DEVONthink 3 doesn’t reopen all your databases (it does over here), but here’s a script you could assign a shortcut to.

-- Open all databases
-- Save the script to "/Users/USER/Library/Application Scripts/com.devon-technologies.think3/Menu/" and add e.g. "___SHIFT + CTRL + A" to the end of the filename

property databaseFolder : "/DEVONthink Datenbanken/"

set allDatabases to paragraphs of (do shell script "cd " & quoted form of databaseFolder & " && ls")

repeat with thisDatabase in allDatabases
	tell application id "DNtp" to open database databaseFolder & thisDatabase
end repeat

Thanks Pete31 for your further input and assistance. Its much appreciated and will be implemented.

…and @hedwig47

While academically a script possible, this would be much more easily done by merely opening the databases desired, then selecting Go > Workspace > Add and creating a workspace for this purpose.

Is there a way to say open without opening databases

Only by closing all databases on quit, e.g. via a smart rule.

Databases that are open upon quoting will reopen on the next launch. You could use File > Close Database > Close All before quitting.