Hello, I have fresh Plesk Onyx (Version 17.5.3 Update #4) , I use Plesk migrator to migrate all domains from old server (Plesk 12.5.30 Update #63) to here.
When I tried to add new domain as admin it shows error "Error: Domain Service Web not exists: domain=mydomain.tld, id=26". but the domain has been created and I removed it from Plesk GUI. After that I googling and try to repair the database using "plesk repair db", it found some error
"Inconsistency in the table 'dns_recs' for the column dns_zone_id: No rows in the table 'dns_zone' ...
Remove unnecessary rows from the table 'dom_param'? [Y/n] Y
Removing unnecessary rows ....................................... [FIXED]"
But now everytime I add new domain its shows different error:
"Error: mailmng-outgoing failed: ERROR: outgoing:UNIQUE constraint failed: domains.name"
but when I checked at domain list it appears that the domain has been created.
I checked with:
# sqlite3 /var/lib/plesk/mail/outgoing/data.db
>SELECT id,name,subscription_id,out_limit FROM domains WHERE name='mydomain.tld';
21|mydomain.tld|21|500
It looks like the domain still in the database ? Although I already delete it from Plesk GUI.
I also check my old Plesk 12.5. and try to add new domain and it shows error "Error: Domain Service Web not exists: domain=mydomain.tld, id=69". I tried to repair db with "plesk repair db" command but it shows no error:
"Error messages: 0; Warnings: 0; Errors resolved: 0"
FYI, I don't want to continue using the Plesk 12.5 server but only report this just in case it has some relation with my Plesk 17.5.3 error.
UPDATE: All the above errors is when I try to add domain as admin. Now I check to add domain as reseller, and it shows no error.
When I tried to add new domain as admin it shows error "Error: Domain Service Web not exists: domain=mydomain.tld, id=26". but the domain has been created and I removed it from Plesk GUI. After that I googling and try to repair the database using "plesk repair db", it found some error
"Inconsistency in the table 'dns_recs' for the column dns_zone_id: No rows in the table 'dns_zone' ...
Remove unnecessary rows from the table 'dom_param'? [Y/n] Y
Removing unnecessary rows ....................................... [FIXED]"
But now everytime I add new domain its shows different error:
"Error: mailmng-outgoing failed: ERROR: outgoing:UNIQUE constraint failed: domains.name"
but when I checked at domain list it appears that the domain has been created.
I checked with:
# sqlite3 /var/lib/plesk/mail/outgoing/data.db
>SELECT id,name,subscription_id,out_limit FROM domains WHERE name='mydomain.tld';
21|mydomain.tld|21|500
It looks like the domain still in the database ? Although I already delete it from Plesk GUI.
I also check my old Plesk 12.5. and try to add new domain and it shows error "Error: Domain Service Web not exists: domain=mydomain.tld, id=69". I tried to repair db with "plesk repair db" command but it shows no error:
"Error messages: 0; Warnings: 0; Errors resolved: 0"
FYI, I don't want to continue using the Plesk 12.5 server but only report this just in case it has some relation with my Plesk 17.5.3 error.
UPDATE: All the above errors is when I try to add domain as admin. Now I check to add domain as reseller, and it shows no error.
Last edited: