Hi Igor,
thank you so much for your answer.
# mysql -uadmin -p`cat /etc/psa/.psa.shadow` -Dpsa -e"SELECT * FROM misc WHERE param = 'version'"
+---------+------+
| param | val |
+---------+------+
| version | 0821 |
+---------+------+
# cat /usr/local/psa/version ; rpm -q psa
Version : 9.5.4
Release : rhel4.build95101209.08
psa-9.5.4-rhel4.build95101209.08
Seems like on database there is an old version of plesk
Is there a way to update the schema to the 9.5.4 ?
I'm creating the missing table by hand but it does not work. Now I have a different sql error:
ERROR: PleskMainDBException
MySQL query failed: Unknown column 'c1.type' in 'field list'
Additionally, an exception has occurred while trying to report this error: PleskMainDBException
MySQL query failed: Unknown column 'c1.type' in 'field list'
0: common_func.php3:206
db_query(string 'select c1.id, c1.type
from (((clients c1
inner join clients c2 on c1.parent_id=c2.id)
inner join ip_pool p1 on c1.pool_id = p1.id)
inner join ip_pool p2 on c2.pool_id = p2.id)
inner join IP_Addresses ip on ip.id = p1.ip_address_id
where p2.type="exclusive" and ip.ip_address = "216.139.224.168" and p2.ip_address_id = p1.ip_address_id')
1: common_func.php3:253
db_query_ex(string 'select c1.id, c1.type
from (((clients c1
inner join clients c2 on c1.parent_id=c2.id)
inner join ip_pool p1 on c1.pool_id = p1.id)
inner join ip_pool p2 on c2.pool_id = p2.id)
inner join IP_Addresses ip on ip.id = p1.ip_address_id
where p2.type="exclusive" and ip.ip_address = "?(ip)" and p2.ip_address_id = p1.ip_address_id', array)
2: elements.php3:911
getCustomPageTitle(object of type UserNone)
3: elements.php3:884
getPleskTitle()
4: login.php3:23
Do you know if there is a way to upgrade (or re-install) Plesk database schema?
Thank you.