ICD-10 won't install on OpenEMR 4.2.2

sourdoughpablo wrote on Thursday, August 11, 2016:

I’ve tried following the instructions on http://www.open-emr.org/wiki/index.php/OpenEMR_ICD-10_Config
When I to to the ICD-10 screen in the External Database Install Utility, and try to install the 2016 staged releases, instead of reaching either page described in the instructions, I simply see a pop-up window that says “ERROR: Unable to copy the file.”

What to try next?

visolveemr wrote on Thursday, August 11, 2016:

Hello Paul,

The above error will occur when the OpenEMR doesn’t have the permission to temporary directory mentioned in the Administration->Globals->Miscellaneous->Path to Temporary Files.

Please make sure temporary directory is accessible. If you still face any issues, share your server details.

Thanks,
ViSolve Support Team

sourdoughpablo wrote on Monday, August 15, 2016:

OK. temp directory was listed as C:/windows/temp.

I’m running this on the XAMPP 5.6.21-0 package that was ported (from windows) for a Mac OSX installation, on my Mac powerbook with OSX 10.9.5. The installation seems to have worked, I can log into OpenEMR on the apache server.

Path to msql binaries is listed as c:/xampp/mysql/bin

So I change the temp directory path to C:/xampp/temp and create a directory folder “temp” in the XAMPP folder, save the changes, and restart the system.

But I still get the same error message.

Then I try the address C:/Applications/xampp/temp, which reflects the actual file structure on the Mac. But this doesn’t work either, same error message.

Do you need more information on my configuration?

sourdoughpablo wrote on Thursday, August 18, 2016:

I tried creating a top directory C:/windows/temp folder, and assigning the path to temporary files to that address. That didn’t work.
I tried unpacking all the icd10 zip files in the xamppfiles/htdocs/openemr/contrib/icd10 directory. And then repeating the install command. This did not help. Is this the right location for these icd10 files? Do they need to be unpacked before running the install command?
I assume that I’m not the first person to install this on a Mac, and that there is some simple fix to this. But I need more explicit directions.

sourdoughpablo wrote on Thursday, August 18, 2016:

I finally got help from go wepp [http://www.gowepp.xyz/]
who had me change permissions in Terminal by logging on to terminal as root:
command: sudo -i‬
‪and enter the administrator account password‬

which put me in terminal as ~ root#‬

‪and then running the command: chmod -R 777 /var/folders

I then refreshed my browser connection to openEMR

and ‪then proceeded with the installation‬ of ICD-10 at Administration/Other/External data loads.

And the installation was successful.

Muchas graçias!

sourdoughpablo wrote on Thursday, August 18, 2016:

He says that after loading the ICD-10, I could revert the permissions
by the command chmod -R 755 /var/folders