• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Forwarded to devs Plesk 18.0.38 Update Removes All Domain Aliases

G J Piper

Regular Pleskian
Username: G J Piper

TITLE

Plesk 18.0.38 Update Removes All Domain Aliases

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Plesk 18.0.38 | CentOS 7.9.2009 | Nginx 1.20.1 | Apache 2.4.6 | MySQL 10.5.12-MariaDB

PROBLEM DESCRIPTION

After update to 18.0.38 and running 'plesk repair' facility on the server (which I do every time it is updated) I noticed all domain aliases were missing from the GUI in the Domains tab and the Subscriptions tabs.

STEPS TO REPRODUCE

Update from 18.0.37 to 18.0.38. Run 'plesk repair' on server and fix all requested errors like these:

Inconsistency in the table 'dns_zone' for the column id: No rows in
the table 'domains' with dns_zone_id = 152 ........................ [WARNING]
To see more details, run the command in the verbose mode: plesk repair db -verbose
Remove unnecessary rows from the table 'dns_zone'? [Y/n] Y
................................................................ [FIXED]

Inconsistency in the table 'domain_aliases' for the column
dns_zone_id: No rows in the table 'dns_zone' with id = 144 ........ [WARNING]
To see more details, run the command in the verbose mode: plesk repair db -verbose
Remove unnecessary rows from the table 'domain_aliases'? [Y/n] Y
Removing unnecessary rows ....................................... [FIXED]

ACTUAL RESULT

all aliases are missing after update and plesk repair.

EXPECTED RESULT

Retain all aliases even after upgrading and running 'plesk repair db'

ANY ADDITIONAL INFORMATION

If you go into the Subscriptions tab for a domain that is missing the aliases, and try to add them again, you get this error:

Error: mailmng-outgoing failed: ERROR:__main__:column name is not unique
Search for related Knowledge Base articles

And upon returning to the Subscription the alias is restored! However, running 'plesk repair db' again removes it from the GUI.

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
More info:
Apparently the aliases are still there and active, but renewing a Let's Encrypt certificate for a subscription excludes the aliases which are also hidden from the GUI everywhere.
 
After manually removing several aliases I re-added, then adding them again, I ran plesk repair db and it removes them again from the GUI. Here is the output:

# plesk repair db -y

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

Inconsistency in the table 'dns_zone' for the column id: No rows in
the table 'domains' with dns_zone_id = 154 ........................ [WARNING]
To see more details, run the command in the verbose mode: plesk repair db -verbose
Creating a database dump ........................................ [OK]
A dump of the database was created before an attempt to repair the database: /var/lib/psa/dumps/mysql.preresolve.20210831-183231.dump.gz
................................................................ [FIXED]

Inconsistency in the table 'dns_zone' for the column id: No rows in
the table 'domains' with dns_zone_id = 155 ........................ [WARNING]
To see more details, run the command in the verbose mode: plesk repair db -verbose
................................................................ [FIXED]

Inconsistency in the table 'dns_zone' for the column id: No rows in
the table 'domains' with dns_zone_id = 157 ........................ [WARNING]
To see more details, run the command in the verbose mode: plesk repair db -verbose
................................................................ [FIXED]

Inconsistency in the table 'domain_aliases' for the column
dns_zone_id: No rows in the table 'dns_zone' with id = 154 ........ [WARNING]
To see more details, run the command in the verbose mode: plesk repair db -verbose
Removing unnecessary rows ....................................... [FIXED]

Inconsistency in the table 'domain_aliases' for the column
dns_zone_id: No rows in the table 'dns_zone' with id = 155 ........ [WARNING]
To see more details, run the command in the verbose mode: plesk repair db -verbose
Removing unnecessary rows ....................................... [FIXED]

Inconsistency in the table 'domain_aliases' for the column
dns_zone_id: No rows in the table 'dns_zone' with id = 157 ........ [WARNING]
To see more details, run the command in the verbose mode: plesk repair db -verbose
Removing unnecessary rows ....................................... [FIXED]

Inconsistency in the table 'DomainAliasesParameters' for the column
aliasId: No rows in the table 'domain_aliases' with id = 70 ....... [WARNING]
To see more details, run the command in the verbose mode: plesk repair db -verbose
Removing unnecessary rows ....................................... [FIXED]

Error messages: 0; Warnings: 7; Errors resolved: 7

Also, I should mention that all my domains have DNSA settings running as slave. I use external DNS at GoDaddy.
 
Yes I can confirm the new 18.0.38.1 update fixes the problem. I had to manually add all the aliases back that it had previously deleted, but they do stay back now. Feel sorry for anyone who had more than a few dozen removed. ;-)
 
Back
Top