OpenEMR 5.0.1 to 5.0.2 mv fails for /sites/default/ files

(Pete Boyd) #1

Hi. The “Linux Upgrade 5.0.1 to 5.0.2” guide at says to do the following:

mv openemr-5.0.1/sites/default/documents public_html/sites/default/

In response I get “mv: cannot move ‘openemr-5.0.1/sites/default/documents’ to ‘public_html/sites/default/documents’: Directory not empty”

Is it equivalent to use "cp -a " instead?


(ViSolve) #2


Your destination directory is already exists. So please try to copy the files from source to destination.

So we would suggest you to copy files from ‘openemr-5.0.1/sites/default/documents/*’ to ‘public_html/sites/default/documents/’.