04-14-2023, 10:10 PM
Please use http://www.ehcp.net/?q=node/529
-----
New info:
Update script that may help you is at www.ehcp.net/download/ehcp_upgrade.sh
download and run that script at your server's console..
Old info:
Unfortunately, There is no fully automatic upgrade script/program yet...
it is better to re-install if you have a few domains..
Look at http://www.ehcp.net/?q=node/265 too
Or you need to handle it manually as follows:
<!--break-->
Basicly, there is no major/core change in ehcp ver. 0.28,
So, if you copy new version files to where you installed (/var/www/vhosts/ehcp),
ehcp starts to work, without error.. i think..
after copy, run /etc/init.d/ehcp restart
new version introduces some minor db changes,
so you will get some db errors if you add new domain or do something in panel.
To fix those errors, alter your tables accordingly..
For example, if you get like: mysql error, field xxxx not found,
then add that field to your mysql manually...
You may compare your sql structure, with ehcp.sql file, included in new download, and add required fields to your tables..
Briefly,
most tables has an additional field called host,
script table added field commandsaftercopy text,
scripts_log table added in ver 0.28,
New in mails:
Since ver 0.28 supports e-mail user login,
mail user passwords changed to be plaintext,
so, your old emails wont work with new version.
To fix this, reset all email passwords to a fixed value and inform your email users..
to do this, you may issue sql: update emailusers set password='123';
more explanation may be written here soon. or mail me..
You may apply this info for all versions->0.28 upgrade..
Sory for, not having time to write an upgrade program.
if somebody writes such a program/script, attach/comment here please..
Only mysql queries enaugh too..
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
-----
New info:
Update script that may help you is at www.ehcp.net/download/ehcp_upgrade.sh
download and run that script at your server's console..
Old info:
Unfortunately, There is no fully automatic upgrade script/program yet...
it is better to re-install if you have a few domains..
Look at http://www.ehcp.net/?q=node/265 too
Or you need to handle it manually as follows:
<!--break-->
Basicly, there is no major/core change in ehcp ver. 0.28,
So, if you copy new version files to where you installed (/var/www/vhosts/ehcp),
ehcp starts to work, without error.. i think..
after copy, run /etc/init.d/ehcp restart
new version introduces some minor db changes,
so you will get some db errors if you add new domain or do something in panel.
To fix those errors, alter your tables accordingly..
For example, if you get like: mysql error, field xxxx not found,
then add that field to your mysql manually...
You may compare your sql structure, with ehcp.sql file, included in new download, and add required fields to your tables..
Briefly,
most tables has an additional field called host,
script table added field commandsaftercopy text,
scripts_log table added in ver 0.28,
New in mails:
Since ver 0.28 supports e-mail user login,
mail user passwords changed to be plaintext,
so, your old emails wont work with new version.
To fix this, reset all email passwords to a fixed value and inform your email users..
to do this, you may issue sql: update emailusers set password='123';
more explanation may be written here soon. or mail me..
You may apply this info for all versions->0.28 upgrade..
Sory for, not having time to write an upgrade program.
if somebody writes such a program/script, attach/comment here please..
Only mysql queries enaugh too..
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.