Apnea Board Forum - CPAP | Sleep Apnea
OSCAR is Lost - Printable Version

+- Apnea Board Forum - CPAP | Sleep Apnea (https://www.apneaboard.com/forums)
+-- Forum: Public Area (https://www.apneaboard.com/forums/Forum-Public-Area)
+--- Forum: Software Support Forum (https://www.apneaboard.com/forums/Forum-Software-Support-Forum)
+--- Thread: OSCAR is Lost (/Thread-OSCAR-is-Lost)



OSCAR is Lost - sptrout - 08-23-2020

I have looked/searched all over the Boards and probably missed the problem that I am having with a new install of OSCAR. First a little background. I have been using OSCAR since the day it was first released and SleepyHead for a few years before. Both are still working on my secondary computer and work fine. Now the problem.

My main computer has hit with a virus last week that deleted many folders/programs/data but left other programs alone. The virus deleted all my backup data that was stored on two external hard drives (all data files were saved because of cloud backup and my redundant secondary computer).

OSCAR was deleted as was its data files. I have been slowly rebuilding my computer but have hit a hard wall with OSCAR. I have an SSD as my "C" drive and a large internal hard drive that is my "D" drive. I want to install OSCAR on my "C" drive with the data files that have been recovered from my working backup computer stored on my "D" drive.

Even though I have installed OSCAR multiple times (two computers, Windows 10 upgrade trashing a hard drive, etc.) without any problems, I have had no luck this time. I installed OSCAR numerous times (~12) using different configurations and at no time will it allow be to point it to the recovered data files no matter how I try to install it (as described above, or both OSCAR and data on same drive either C or D). It always opens up on a screen that will allow me to create a new user which I do not want to do, but it will not allow me to point it to the huge data file next to it. There was one install when a window opened up briefly that had a message about pointing it to an existing file (I do not remember the wording because it disappeared before I had a change to get back to it after being distracted for a couple minutes).

Since I have installed OSCAR without problems several times, I must be missing something this time. Any ideas would be appreciated!


RE: OSCAR is Lost - Crimson Nape - 08-23-2020

There are two ways to accomplish this.  Only one of them is needed.
  1. Type: OSCAR --datadir D:\OSCAR_Data (or wherever you want the directory)

  2. The old school way; Regedit ⇾ HKCU\Software\OSCAR_Team\OSCAR\Settings ⇾ AppData (Edit its location).
It seems to help to have the directory already created at the desired location prior to executing either of the above steps.


RE: OSCAR is Lost - sptrout - 08-23-2020

Thanks Crimson Nape for your suggestions, but I am lost on how I do what you suggest. (For simplicity, the last time that I installed OSCAR I put it on the "D" drive with the data file.

1. Where do I type your first suggestion?
2. I guess the old way is to edit the Registry, which I am not comfortable doing or have any special edit tools to do so.

Any other suggestions? I really do not know why I never had trouble before. I know that at least one time that I had to do a complete reinstall (then the data files from my external hard drives).


RE: OSCAR is Lost - Crimson Nape - 08-23-2020

1st Option:
  1. Open a command prompt (DOS) window. (Windows Key + R, then type, cmd, and press enter.)
  2. CD to: C:\Program Files\OSCAR
  3. Type the command, OSCAR --datadir D:\OSCAR_Data  (or whatever path you wish to use)
  4. Press Enter - OSCAR should start

2nd Option:
  1. Windows Key + R, then type, regedit, and press enter.
  2. Navigate to: HKey_Current_User ⇾ Software ⇾ OSCAR_Team ⇾ OSCAR ⇾ Settings.
  3. Look on the right side for the entry, "AppData" and double click it.
  4. In the Value Data box, enter the path to where you want your data files stored.
  5. Press the 'OK' button then exit the registry.

To verify where your data is being stored, go to Help ⇾ About OSCAR and look on the right side, under the logo for the phrase, "Show data folder".  Select it to display the path to your data.


RE: OSCAR is Lost - sptrout - 08-23-2020

I was easy able to do both of the steps that you suggested, and both times I checked the "Values Data Files" Window. Both times the data shown was correct, but OSCAR still will not open/show that file. I did not have to change anything in either option 1 or 2; all was correct.


RE: OSCAR is Lost - Crimson Nape - 08-23-2020

Look at your read/write permissions for your data directory.


RE: OSCAR is Lost - GuyScharf - 08-23-2020

Please show the debug pane (Help/troubleshooting/show debug pane). When it fails to do what you want, select the entire debug pane with ctrl-A, copy with ctrl-C, and paste the copied debug messages into a post.


RE: OSCAR is Lost - sptrout - 08-23-2020

I am having no luck today and I also have to worry about two storms in the Gulf (I live in Houston).

I check all the security settings and made sure everyone has full access. No change in OSCAR.

I cannot even find "help" at the moment so no debug pane.

A little late here and I am burned out fighting this problem all day. I would not be surprised at all that the virus did something last week that has not been corrected. One odd thing is that in the list of "users" on the "C" drive, my name has disappeared and everything seems to be running as "users". All sign on information is correct (my picture, passcode, etc), but for some reason I do not show up as a user. I think Window 10 hates me.