• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

[PPP-27885] Problem when copying files/folders

Aksoni

New Pleskian
I'm having a problem when copying folders into another folder using the same name.
e.g. there's a folder called css in httpdocs/backup/css and also httpdocs/css
However, I'm trying to restore the backup and actually copy the /css dir from httpdocs/backup to httpdocs. Plesk should overwrite the existing target css dir (and its content/files) in httpdocs/css. However, Plesk creates a new css dir inside httpdocs/css so I have the "original" httpdocs/css dir content intact and also the css dir (from httpdocs/backup/css) copied into httpdocs/css so the full path is httpdocs/css/css

Please note that I'm highlighting the httpdocs (not /css dir) in the File manager - Copy Files window so there's really something wrong with this. I've tried that on a few installs and experiencing issue on each of them. Please see the attached screenshots.

Step 1. Select (check) the css dir and click copy (or move, result is the same)
1.jpg

Step 2. Mark the httpdocs dir (it doesn't matter if you click the Replace existing files checkbox)
2.jpg

Step 3. Final result, css dir from httpdocs/backup copied into httpdocs/css/
I've compared the dir content several times and definitely the css dir from httpdocs/backup is copied to httpdocs/css so the full path would be: httpdocs/css/css and the original "old" files from css will remain there.
3.jpg

Can anyone provide a workaround please? Thank you in advance.
 
Aksoni,

it's been a while since you posted. I suffered the same issue, causing a lot of problems when trying to update CMS code. I reported/complained about this a long time ago (2 or 3 years), but am still hitting the same issue in Plesk 12. Did you ever find a solution for this?
 
Although this is an old thread, I am experiencing EXACTLY the same symptoms (Plesk 12.5.30 update 44). I cannot overwrite files in Plesk file manager as it just creates a sub-directory of the same name - i.e. if you overwrite /directory you end up with /directory/directory. Has anyone found a solution?
 
Dear Plesk,

this is still a problem. WHY IS NOBODY RESPONDING TO THIS?!

There is a fault in either:
A. your software, or
B. your documentation.

Please assist.
 
I have reproduced this issue on latest Plesk Onyx and submitted the corresponding bugreport to developers - PPP-27885.
 
Back
Top