When PowerSDR won't start or exhibits bizarre behavior (database reset/removal)

User avatar
w-u-2-o
Posts: 1659
Joined: Fri Mar 10, 2017 1:47 pm

When PowerSDR won't start or exhibits bizarre behavior (database reset/removal)

Postby w-u-2-o » Wed Dec 19, 2018 4:50 pm

All data, and the entire state of PowerSDR, is stored in a series of files. See "Where are my settings stored and how can I back them up?"

A corrupted database file can cause PowerSDR to not start, or to exhibit really bizarre behavior. The design of the database code in PowerSDR predates the openHPSDR development and suffers from some reliability problems. Hence it is always a good idea to make frequent backups of your database file (Setup > Export Database).

If things are going really badly all of a sudden, and for no logical reason, you can try to reset your database back to its defaults. To do this, first export your database by using the "Export Database" button in the Setup window, just in case you want to go back to it (use the "Import Database" button). Then use the "Reset Database" button and see if this fixes the problem.

In very severe cases it may be necessary to completely remove the folder containing database.xml file. All of the database and support files for PowerSDR are here:

C:\Users\username\AppData\Roaming\FlexRadio Systems\

You can simply rename the "PowerSDR mRX PS" folder to something else and see if things go back to normal, albeit with a completely blank slate of settings. If not, just rename that folder back to "PowerSDR mRX PS" and you'll be right back where you started.

All of the above also applies to Thetis. All of the database and support files for Thetis are here:

C:\Users\username\AppData\Roaming\OpenHPSDR\
AB2EZ
Posts: 94
Joined: Sun Apr 09, 2017 2:29 pm
Location: Princeton, NJ

Re: When PowerSDR won't start or exhibits bizarre behavior (database reset/removal)

Postby AB2EZ » Mon Jun 10, 2019 5:44 pm

An additional thing to try... that is less time consuming than deleting the entire PowerSDR mRX PS folder... in situations where the PowerSDR mRX application will not open (i.e. where you can't access the database reset function):

1, Open the PowerSDR mRX PS folder located at
C:\Users\username\AppData\Roaming\FlexRadio Systems\

2. Delete the file named "database"

3. Change the name of a recently-created back up (exported) copy of the database to "database"

4. See if you can now open the PowerSDR mRX application

Stu
User avatar
w-u-2-o
Posts: 1659
Joined: Fri Mar 10, 2017 1:47 pm

Re: When PowerSDR won't start or exhibits bizarre behavior (database reset/removal)

Postby w-u-2-o » Mon Jun 10, 2019 11:03 pm

Stu,

How is that any different?

73,

Scott
AB2EZ
Posts: 94
Joined: Sun Apr 09, 2017 2:29 pm
Location: Princeton, NJ

Re: When PowerSDR won't start or exhibits bizarre behavior (database reset/removal)

Postby AB2EZ » Tue Jun 11, 2019 3:01 am

Scott

When I used the approach of deleting the whole folder, and then starting the SDR application, the application recalculated all of the real and complex FFT’s. That process took about 10 minutes on my computer.

When I used the approach of just deleting/replacing the “database” file, I avoided the FFT recalculations.

Stu
User avatar
w-u-2-o
Posts: 1659
Joined: Fri Mar 10, 2017 1:47 pm

Re: When PowerSDR won't start or exhibits bizarre behavior (database reset/removal)

Postby w-u-2-o » Tue Jun 11, 2019 10:28 am

Very good, Stu, thanks.

Return to “PowerSDR mRX”