• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Pleskrestore backup__restore__conflict_configuration_reason_ip

Mickael Salfati

Regular Pleskian
Hi IgorG,

Today a new issue with Plesk, so here's the description ;)

---------------------------------------------------------------
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Plesk Centos 6 10.4.4 MU20 X64

PROBLEM DESCRIPTION AND STEPS TO REPRODUCE
/usr/local/psa/bin/pleskrestore --restore /root/gr23-customer -level clients -verbose -conflicts-resolution /root/ip-resolution.xml

/root/ip-resolution.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<resolve-conflicts-task-description>
	<conflict-resolution-rules>
		<policy>
			<timing>
				<resolution>
				<proceed-with-current />
				</resolution>
			</timing>
			<resource-usage>
				<resolution>
				<overuse />
				</resolution>
			</resource-usage>
			<configuration>
				<resolution>
				<automatic />
				</resolution>
			</configuration>
		</policy>
		<rule conflict id="0">
			<resolution>
			<rename new-name="ip-type:shared:ip-address:192.168.10.50"/>
			</resolution>
		</rule>
	</conflict-resolution-rules>
</resolve-conflicts-task-description>

ACTUAL RESULT
Code:
<?xml version="1.0"?>
<conflicts-description>
 <conflict id="0" guid="4502037b45f8f40a32d6ae15befdac75">
  <type>
   <configuration>
    <reason-description>
     <required-resource-description>
      <ip type="shared" value="192.0.10.50"/>
     </required-resource-description>
     <plesk-object-identifier>
      <type>admin</type>
      <database-id>1</database-id>
      <guid>803a3ba1-3f31-4a0e-867a-9d1fac178a2e</guid>
     </plesk-object-identifier>
    </reason-description>
    <resolve-options>
     <option name="do-not-restore"/>
     <option name="rename"/>
    </resolve-options>
   </configuration>
  </type>
  <conflicting-objects>
   <node name="client">
    <attributes>
     <attribute name="id" value="19"/>
     <attribute name="guid" value="323a3fdc-0bea-4b8f-b8c8-1a9a323d4fbc"/>
     <attribute name="owner-guid" value="803a3ba1-3f31-4a0e-867a-9d1fac178a2e"/>
     <attribute name="name" value="gr23-customer"/>
    </attributes>
   </node>
   <node name="domain">
    <attributes>
     <attribute name="id" value="382"/>
     <attribute name="guid" value="038dcc37-69b7-4667-b187-8e006f95c5da"/>
     <attribute name="owner-guid" value="323a3fdc-0bea-4b8f-b8c8-1a9a323d4fbc"/>
     <attribute name="name" value="domain.com"/>
    </attributes>
   </node>
   <node name="phosting">
    <attributes>
     <attribute name="guid" value="038dcc37-69b7-4667-b187-8e006f95c5da_phosting"/>
     <attribute name="owner-guid" value="038dcc37-69b7-4667-b187-8e006f95c5da"/>
    </attributes>
   </node>
  </conflicting-objects>
  <overview>
   <object>
    <message>backup__restore__conflict_object_name</message>
    <name>gr23-customer</name>
    <type>backup__restore__object_client</type>
    <reasons>
     <reason>
      <message>backup__restore__conflict_configuration_reason_ip</message>
      <resolver-message>backup__restore__conflict_configuration_reason_ip</resolver-message>
      <param name="ip-address" value="192.0.10.50"/>
      <param name="ip-type" value="shared"/>
      <param name="name" value="backup__restore__object_plesk_admin"/>
      <param name="type" value="backup__restore__object_plesk_admin"/>
     </reason>
    </reasons>
   </object>
   <object>
    <message>backup__restore__conflict_object_name</message>
    <name>domain.com</name>
    <type>backup__restore__object_domain</type>
    <reasons>
     <reason>
      <message>backup__restore__conflict_configuration_reason_ip</message>
      <resolver-message>backup__restore__conflict_configuration_reason_ip</resolver-message>
      <param name="ip-address" value="192.0.10.50"/>
      <param name="ip-type" value="shared"/>
      <param name="name" value="backup__restore__object_plesk_admin"/>
      <param name="type" value="backup__restore__object_plesk_admin"/>
     </reason>
    </reasons>
   </object>
   <object>
    <message>backup__restore__conflict_object_complex_name</message>
    <name>backup__restore__object_vhost</name>
    <type>backup__restore__object_vhost</type>
    <owner-name>domain.com</owner-name>
    <reasons>
     <reason>
      <message>backup__restore__conflict_configuration_reason_ip</message>
      <resolver-message>backup__restore__conflict_configuration_reason_ip</resolver-message>
      <param name="ip-address" value="192.0.10.50"/>
      <param name="ip-type" value="shared"/>
      <param name="name" value="backup__restore__object_plesk_admin"/>
      <param name="type" value="backup__restore__object_plesk_admin"/>
     </reason>
    </reasons>
   </object>
  </overview>
 </conflict>
</conflicts-description>
Unable to resolve all conflicts

EXPECTED RESULT
IP conflicts should be fix with conflict file.
--------------------------------------------------------------
 
Back
Top