Page 1 of 1

Indigo broken: "failed to find database file"

PostPosted: Sun May 06, 2018 5:39 pm
by ZachBenz
One of my Indigo installs suddenly has stopped being able to load Indigo database files. It claims that it 'failed to find database file' (see attached images). If I ask it to create a new database file, it creates it on disk, then immediately claims it can't find/open it. I tried completely removing Indigo from my system (both the application and everything under /Library/Application Support/Perceptive Automation), downloading a fresh installer, and re-installing...but same results.

I'm out of ideas... it is currently in an unusable state. :cry:

Re: Indigo broken: "failed to find database file"

PostPosted: Sun May 06, 2018 8:06 pm
by jay (support)
Run disk repair on your disk - seems like you are having some serious disk issues.

Re: Indigo broken: "failed to find database file"

PostPosted: Mon May 07, 2018 7:19 pm
by ZachBenz
jay (support) wrote:
Run disk repair on your disk - seems like you are having some serious disk issues.


Thanks - I just tried this, and everything is fine disk wise.

After trying the disk first aid/fsck a couple of times and not getting any errors, I also tried copying over a fresh, working database from another system... and still got the "failed to find database file" error. Also didn't seem to matter what directory I put the database file in.

It's all very odd... problems seemed to come out of nowhere, and I haven't noticed any other problems on the Mac in question (a MacBook Pro that I use for development)

Re: Indigo broken: "failed to find database file"

PostPosted: Tue May 08, 2018 8:57 am
by jay (support)
System details please: Indigo version, macOS version, how the disk is formatted, encryption, etc.

Re: Indigo broken: "failed to find database file"

PostPosted: Tue May 08, 2018 9:03 am
by matt (support)
Create a new Indigo database file and let it give you the error again, then copy/paste the Event Log result from that.

Also, launch the Terminal application and do the following:

Code: Select all
id
cd /Library/Application\ Support/Perceptive\ Automation/Indigo\ 7/
ls -al
cd Databases
ls -al

And copy/paste the Terminal results into a reply for me.

Re: Indigo broken: "failed to find database file"

PostPosted: Sun May 20, 2018 8:38 am
by Radjin
Where is the DB stored? Mine also stopped working and loaded the demo. I found a DB under old databases but it was indeed old. I have backups of the dB in a daily version but can’t seem to find its location to restore. The dB directory has only the demo.

Re: Indigo broken: "failed to find database file"

PostPosted: Sun May 20, 2018 11:53 am
by matt (support)
The database can be stored anywhere. By default Indigo creates new database files in the /Library/Application Support/Perceptive Automation/Indigo 7/Databases/ folder. The old databases folder is used to save off a copy of the database whenever a newer version of Indigo is started that requires updating the database structure.

The Event Log files also document in them (on Indigo Server startup) what specific database file is being used, like this:

Loading database "/Library/Application Support/Perceptive Automation/Indigo 7/Databases/Some Database.indiDb"

so you might be able to look at older Event Log files to find what database files were previously being loaded.

Re: Indigo broken: "failed to find database file"

PostPosted: Mon May 21, 2018 12:19 am
by howartp
Can you still Option-Click on the title bar of Indigo to locate the live DB?


Sent from my iPhone using Tapatalk Pro

Re: Indigo broken: "failed to find database file"

PostPosted: Mon May 21, 2018 6:10 am
by matt (support)
Yes, but that won't help if it isn't loading the correct DB which I think is the case here.