B
Bogdan
Guest
I have just attempted to upgrade Plesk from 7.6.1 to 8.1 on one of our servers. The upgrade finished without any problems, so I continued and installed PHP5 support my modifying the existing Plesk installation through Add/Remove programs and I also installed the latest Plesk hotfix (ftp://download1.swsoft.com/Plesk/Autoupdate/plesk_8.1.0_update061226.10.msp), again without any errors.
When I tried to log on to Plesk after all this, I had to select the default mail server (this was odd, since the other upgrades I did on other servers didn't asked for this). I picked MailEnable, and it threw this error:
If I try to run mchk manually, I get this:
I checked the domain_aliases table in the psa database and I got this:
I also checked the same table on a server where I upgraded Plesk a few days ago without any problems and I got this:
It's obvious that the table structure is different and that on the problematic server the table structure for domain_aliases was not upgraded to 8.1.
I managed to get the Plesk Control Panel to work, and I also renamed all
the C:\Program Files\SWsoft\Plesk\Mail Servers\Mail Enable\Config\*.sav to
C:\Program Files\SWsoft\Plesk\Mail Servers\Mail Enable\Config\*.tab so my
clients can login to their email accounts. However, I still can't create
or manage domain aliases.
Also, I cannot manage any mail settings.
When I try to add an alias to an existing mail account:
So... what can I in this situation? Where do I find the logs for the Plesk upgrade? I'm really stuck here... and I really need URGENT help!
I've already sent a ticket to SWsoft about this, but I'm not sure how fast they'll respond to this, especially that it's Friday.
When I tried to log on to Plesk after all this, I had to select the default mail server (this was odd, since the other upgrades I did on other servers didn't asked for this). I picked MailEnable, and it threw this error:
Set default component failed: defpackagemng failed: mchk.exe failed with message:
Can't query select name from domain_aliases where dom_id=1 andmail='true' and status = 0: MySQLDatabaseProvider error 1054:Unknowncolumn 'mail' in 'where clause'
If I try to run mchk manually, I get this:
C:\Program Files\SWsoft\Plesk\admin\bin>mchk.exe --all --fix=all
Can't query select name from domain_aliases where dom_id=1 and mail='true' and status = 0: MySQLDatabaseProvider error 1054:Unknown column 'mail' in 'where clause'
I checked the domain_aliases table in the psa database and I got this:
mysql> describe domain_aliases;
+-------------+------------------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-------------+------------------------+------+-----+---------+----------------+
| id | int(10) unsigned | | PRI | NULL | auto_increment |
| dom_id | int(10) unsigned | | MUL | 0 | |
| name | varchar(255) | | UNI | | |
| displayName | varchar(255) | | UNI | | |
| type | enum('full','web_ftp') | | | web_ftp | |
+-------------+------------------------+------+-----+---------+----------------+
5 rows in set (0.00 sec)
mysql>
I also checked the same table on a server where I upgraded Plesk a few days ago without any problems and I got this:
mysql> describe domain_aliases;
+-------------+----------------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-------------+----------------------+------+-----+---------+----------------+
| id | int(10) unsigned | | PRI | NULL | auto_increment |
| dom_id | int(10) unsigned | | MUL | 0 | |
| name | varchar(255) | | UNI | | |
| displayName | varchar(255) | | UNI | | |
| dns_zone_id | int(10) unsigned | YES | | NULL | |
| status | bigint(20) unsigned | | | 0 | |
| mail | enum('true','false') | | | false | |
| web | enum('true','false') | | | false | |
+-------------+----------------------+------+-----+---------+----------------+
8 rows in set (0.00 sec)
mysql>
It's obvious that the table structure is different and that on the problematic server the table structure for domain_aliases was not upgraded to 8.1.
I managed to get the Plesk Control Panel to work, and I also renamed all
the C:\Program Files\SWsoft\Plesk\Mail Servers\Mail Enable\Config\*.sav to
C:\Program Files\SWsoft\Plesk\Mail Servers\Mail Enable\Config\*.tab so my
clients can login to their email accounts. However, I still can't create
or manage domain aliases.
Also, I cannot manage any mail settings.
When I try to add an alias to an existing mail account:
When I try to create a new mail account:Unable to add new mail alias: Unable to add new mail alias: mailmng
failed: MEAOPO.Mailbox.GetMailbox failed
Unable to update the mail name properties:mailmng failed:
MEAOPO.Mailbox.AddMailbox failed for name=test and domain somedomain.com
[somedomain.com]
So... what can I in this situation? Where do I find the logs for the Plesk upgrade? I'm really stuck here... and I really need URGENT help!
I've already sent a ticket to SWsoft about this, but I'm not sure how fast they'll respond to this, especially that it's Friday.