Thus the repair db get no results:
C:\Windows\system32>plesk db dump psa > C:\psa_dump.sql
C:\Windows\system32>plesk repair db
Checking the Plesk database using the native database server tools .. [OK]
Checking the structure of the Plesk database ........................ [OK]
Checking the consistency of the Plesk database ...................... [OK]
Error messages: 0; Warnings: 0; Errors resolved: 0
I found these errors in C:\Program Files (x86)\Plesk\PMM\sessions\2019-11-03-000024.840\psadump.log :
[2019-11-03 00:00:33.278|9260] Warning: 7a6838df-49d7-4dcf-a6e4-1667dcf67248 Cannot dump vhosts vdirs ( Error in execute ''websrvmng' --list-vhosts-vdirs "--vhost-names=C:\Program Files (x86)\Plesk\PrivateTemp\pmm-de-fwsmc-domains-466e11c67fdc473fb6ece20b91de24c7" "--output-file=C:\Program Files (x86)\Plesk\PrivateTemp\pmm-de-fwsmc-result-c3191213d2b0469ab036e7050ce217c3"': Filename: \\?\C:\Windows\system32\inetsrv\config\applicationHost.config
Line number: 15286
Error: Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'PHP-php'
In module Exception type: System.Runtime.InteropServices.COMException at Microsoft.Web.Administration.Interop.IAppHostAdminManager.GetAdminSection(String bstrSectionName, String bstrPath)
at Microsoft.Web.Administration.Configuration.GetSectionInternal(ConfigurationSection section, String sectionPath, String locationPath)
at ServerManagerFactory.getSectionInternal(String sectionPath, Type sectionType, String location)
at ServerManagerFactory.getHandlerSection(String location)
at IISVirtualDir.get_accessRead(IISVirtualDir* ) at getVirtualDirInfo(****domain.it)(WebServerAdapter::getVirtualDirInfo line 2071) at enumVirtualDirs(****domain.it, )(WebServerAdapter::getVirtualDirs line 1996) at execute console command --list-vhosts-vdirs(vconsoleapp::start line 93) at execute "C:\Program Files (x86)\Plesk\admin\bin64\websrvmng" --list-vhosts-vdirs "--vhost-names=C:\Program Files (x86)\Plesk\PrivateTemp\pmm-de-fwsmc-domains-466e11c67fdc473fb6ece20b91de24c7" "--output-file=C:\Program Files (x86)\Plesk\PrivateTemp\pmm-de-fwsmc-result-c3191213d2b0469ab036e7050ce217c3"(vconsoleapp::run line 110) )
[2019-11-03 00:48:59.722|9260] Warning: 05138d92-514e-48a1-8090-6589a1275774 Unable to get list of virtual directories for backing up of '****domain.it'. The site may be absent in IIS. Try to repair the site by command 'repair --reconfigure-web-site -web-site-name ****domain.it' and repeat the operation. ( Error in execute ''C:\Program Files (x86)\Plesk\admin\bin64\websrvmng' --list-vdirs "--vhost-name=****domain.it"': Filename: \\?\C:\Windows\system32\inetsrv\config\applicationHost.config
Line number: 15286
Error: Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'PHP-php'
In module Exception type: System.Runtime.InteropServices.COMException at Microsoft.Web.Administration.Interop.IAppHostAdminManager.GetAdminSection(String bstrSectionName, String bstrPath)
at Microsoft.Web.Administration.Configuration.GetSectionInternal(ConfigurationSection section, String sectionPath, String locationPath)
at ServerManagerFactory.getSectionInternal(String sectionPath, Type sectionType, String location)
at ServerManagerFactory.getHandlerSection(String location)
at IISVirtualDir.get_accessRead(IISVirtualDir* ) at getVirtualDirInfo(****domain.it)(WebServerAdapter::getVirtualDirInfo line 2071) at enumVirtualDirs(****domain.it, )(WebServerAdapter::getVirtualDirs line 1996) at execute console command --list-vdirs(vconsoleapp::start line 93) at execute "C:\Program Files (x86)\Plesk\admin\bin64\websrvmng" --list-vdirs "--vhost-name=****domain.it"(vconsoleapp::run line 110) )
[2019-11-03 01:12:44.871|9260] Warning: cadf7394-bf32-4253-8cac-84c7e5c0b26a Unable to get list of virtual directories for backing up of '****domain2.com'. The site may be absent in IIS. Try to repair the site by command 'repair --reconfigure-web-site -web-site-name '****domain2.com' and repeat the operation. ( Error in execute ''C:\Program Files (x86)\Plesk\admin\bin64\websrvmng' --list-vdirs "--vhost-name='****domain2.com"': Filename: \\?\C:\Windows\system32\inetsrv\config\applicationHost.config
Line number: 21028
Error: Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'PHP-php'
In module Exception type: System.Runtime.InteropServices.COMException at Microsoft.Web.Administration.Interop.IAppHostAdminManager.GetAdminSection(String bstrSectionName, String bstrPath)
at Microsoft.Web.Administration.Configuration.GetSectionInternal(ConfigurationSection section, String sectionPath, String locationPath)
at ServerManagerFactory.getSectionInternal(String sectionPath, Type sectionType, String location)
at ServerManagerFactory.getHandlerSection(String location)
at IISVirtualDir.get_accessRead(IISVirtualDir* ) at getVirtualDirInfo('****domain2.com)(WebServerAdapter::getVirtualDirInfo line 2071) at enumVirtualDirs('****domain2.com, )(WebServerAdapter::getVirtualDirs line 1996) at execute console command --list-vdirs(vconsoleapp::start line 93) at execute "C:\Program Files (x86)\Plesk\admin\bin64\websrvmng" --list-vdirs "--vhost-name='****domain2.com"(vconsoleapp::run line 110) )
Where ****domain.it and '****domain2.com are 2 hostings that I migrated last month.