plesk repair ftp: The junction points to the wrong directory

Created:

2017-02-27 11:27:49 UTC

Modified:

2017-08-16 18:28:01 UTC

0

Was this article helpful?


Have more questions?

Submit a request

plesk repair ftp: The junction points to the wrong directory

Applicable to:

  • Plesk 12.5 for Windows

Note: This article has the reference to the issue with the fix available:

  • #PPPM-5839 "Running the plesk repair ftp utility produced confusing error messages if the path to an FTP user’s directory contained “/” characters instead of “&quot.;"
    Fixed in:
Please consider updating your server:

Symptoms

Despite the fact that plesk repair ftp utility finishes successfully, it still shows misconfiguration errors:

    # plesk repair ftp example.com -n 
Checking all domain names resolve to appropriate IP addresses ....... [OK]
Checking home directories of additional FTP users ................... [OK]
Checking FTP home junctions
The junction 'D:\Inetpub\vhosts\Servers\5\localuser\superadio_c_u'
points to the wrong directory ..................................... [ERROR]
Error messages: 1; Warnings: 0; Errors resolved: 0
exit status 1

The following messages appear in %plesk_dir%admin\logs\php_error.log:

[2017-02-24 23:15:57] DEBUG [util_exec] [0dceea21b0a41009ccd71095ded358b7][1] Starting: ftpmng --update-users --config=tmp1747.tmp, stdin:
[2017-02-24 23:15:58] DEBUG [util_exec] [0dceea21b0a41009ccd71095ded358b7][1] Finished in 0.84717s, Error code: 1, stdout: There is a mismatch between the tag specified in the request and the tag present in the reparse point. (Error code 4394) at Remove reparse point 'D:\Inetpub\vhosts\Servers\5\localuser\superadio_c_u' 
at (VReparseDir::removeReparsePoint line 78)
at configUser(184.172.59.79, superadio_c_u, D:\Inetpub\vhosts\superadiohosting.com)(IIsFtp7ServerAdapter::configUser line 421)
at reconfFtpUser(superadio_c_u)(FtpServerManager::reconfFtpUser line 471)
at updateUsers()(FtpServerManager::updateUsers line 159)
at execute console command --update-users(vconsoleapp::start line 100)
at execute "C:\Program Files (x86)\Parallels\Plesk\admin\bin64\ftpmng.exe" -update-users "-config=tmp1747.tmp"(vconsoleapp::run line 117), stderr:
[2017-02-24 23:15:58] ERR [1] PleskUtilException: "C:\Program Files (x86)\Parallels\Plesk\admin\bin64\ftpmng" -update-users "-config=tmp1747.tmp" failed with code 1

Cause

This issue is caused by a bug with ID # PPPM-5839 which was fixed in Plesk Onyx 17.5.3 .

Resolution

Currently, there is no workaround.

Have more questions? Submit a request
Please sign in to leave a comment.