• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Unable to move files with File Manager

f0rtem

New Pleskian
Server operating system version
Ubuntu 20.04 (64 Bit)
Plesk version and microupdate number
Plesk Obsidian Web Admin Edition 18.0.55 Update #2
I need to update my PHP script by moving files to the main version of the website.

I uploaded the update files to httpdocs/main-file and I need to move them to httpdocs. I do that by selecting all the files in httpdocs/main-file and clicking on move then selecting the correct path where it has to go (Replace existing files is ON). And I am getting this error:

Unable to move /httpdocs/main-file/vendor: filemng failed: mv: cannot move '/httpdocs/main-file/vendor' to '/httpdocs/vendor': Directory not empty filemng: Error occurred during /bin/mv command.

httpdocs chmod 750
main-file chmod 777

Maybe someone knows how I can resolve this.
 
Have you checked that your target directory /vendor is empty? It seems you are trying to move the whole directory. That would require that the target does not exist yet.
 
Have you checked that your target directory /vendor is empty? It seems you are trying to move the whole directory. That would require that the target does not exist yet.
No, it is not empty, and there is not only the /vendor directory inside /main-file but many others, and since I want to update my script, it has to replace existing files.
 
Back
Top