Apnea Board Forum - CPAP | Sleep Apnea
Help with Oscar Installation - 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: Help with Oscar Installation (/Thread-Help-with-Oscar-Installation)



Help with Oscar Installation - FrankIII - 02-24-2024

Hello,
    I am looking for some advice with Oscar installation. I've actually had Oscar running for years with no problem, BUT my 14+ year old computer is not running well. I tried to install Oscar on my new computer and that did work, however, I did not notice that during the initial running of Oscar, the data file location was set to the cloud. I don't want my data files on the cloud and want them locally on my PC. I've uninstalled, re-installed Oscar and even downloaded Oscar 1.51. It still keeps going directly to the web looking for my files even on the new version.

There must be a setting or file somewhere that tells Oscar when the data files should be located, but I've spent 5+ hours today looking to no avail. Does anyone know how to change the pointer for the data file location?

Thanks,
Frank


RE: Help with Oscar Installation - Sleeprider - 02-24-2024

What operating system?


RE: Help with Oscar Installation - FrankIII - 02-24-2024

Sorry about that... Microsoft Windows v11 Pro.


RE: Help with Oscar Installation - Crimson Nape - 02-25-2024

You CAN NOT store the OSCAR_Data directory to the cloud.  The code is not designed for that and does not tolerate any latency in connecting to the data file.  You need to use a local directory for the data.  If you wish to archive it to the cloud, backup this directory to it.
Follow these steps to set up the data locally:
  •  Make sure OSCAR is NOT running.
  •  Copy your remote data directory to a location on your local drive.  
    (For the steps below, I will use "C:\OSCAR_Data" as the example path.)

      Option #1:
    1.  Open a command prompt (aka: terminal window).  The command to open a terminal window is, Window Key+R, type in "cmd".
    2.   Type: C:\Program Files\OSCAR\OSCAR.exe --datadir C:\OSCAR_Data Press <ENTER>
      (Note: notice that you use 2 dashes in front of "datadir".)
    3.   Let OSCAR boot up fully, and then exit.  Close the terminal window.
    4.   You can now star OSCAR normally and it will use the new location.
      Option #2
    1.  After the first step, open the registry editor (Windows Key+R, type in "regedit")
    2.  Locate HKey_CURRENT_USER/Software/OSCAR_Team/OSCAR/Settings
    3.   Double-click the entry on the right labeled, "AppData".
    4.   Enter the path to the OSCAR_Data file's location.  In this example, you would enter in, "C:\OSCAR_Data".
    5.  Exit
- Red


RE: Help with Oscar Installation - FrankIII - 02-25-2024

Hello Red,
                I wasn't trying to store Oscar data to the cloud, I simply did not notice that was the location that Oscar set during the initial running of the program. I could not find the location to change to get it re-directed BACK to my local HDD. 
                Your instructions to SPOT-ON! I was able to use option 2 and use regedit to set the path back to my PC and where I had the data files copy to that were from my old PC. It is up and running fine now.

Thank You for your help!
Frank


RE: Help with Oscar Installation - Crimson Nape - 02-25-2024

The reason the first option didn't work is because of a typo I stupidly typed in.  Oh-jeez   The "data-dir" should actually be "datadir".   I have edited the post above in case someone else reads this and needs the (correct) information.

Thank you for mentioning your experience.
- Red