Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ehcp Upgrade to version 0.29
#1
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.
Reply
#2
How safe is it to upgrade from 0.27 to 0.29 with this script? What can go wrong?

Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Reply
#3
After you can upgrade... if something goes wrong, you may restore them..
The risk depends on your system... Normally, this only upgrades ehcp... i tested and states to be working..

Your domains is not deleted, your ehcp db is not deleted, the risk rarely maybe: your sites maynot function if something is wrong related to your apache settings.. in this case, you may just restore your files/db.

Restored from old drupal forum, for user uid:700 username:deconectat
You may reset your password to access your new account here.
Reply
#4
I upgraded to 0.29 and everything works ok. I had a few problems with the mysql password, but after changing the password for the ehcp user it worked.

Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Reply
#5
new feature with ehcp ver 0.29: Upgrade db tables automatically..
ehcp automatically checks for ehcp tables for any missing fields that are added recently to tables, and add those fields automatically to ehcp db upon first run..
This way, when you go to your ehcp page first time, any missin "new" fields automatically added..


Restored from old drupal forum, for user uid:700 username:deconectat
You may reset your password to access your new account here.
Reply
#6
Using ehcp_upgrade.sh the download goes well also is the extraction but than a sql related error is displayed.

Please advice!

--2009-11-17 13:50:53-- http://www.ehcp.net/download/ehcpupgrade.sql
Resolving www.ehcp.net... 96.31.91.67
Connecting to www.ehcp.net|96.31.91.67|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2009-11-17 13:50:53 ERROR 403: Forbidden.

ehcp_upgrade.sh: line 13: ehcpupgrade.sql: No such file or directory
cp: cannot stat `ehcp.bck.Tue': No such file or directory
cp: cannot stat `Nov': No such file or directory
cp: cannot stat `17': No such file or directory
cp: cannot stat `13:50:40': No such file or directory
cp: cannot stat `CET': No such file or directory
cp: cannot stat `2009/config.php': No such file or directory
upgrade finished.
Reading package lists... Done
Building dependency tree
Reading state information... Done
webalizer is already the newest version.
php5-curl is already the newest version.
php5-xmlrpc is already the newest version.
php-pear is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@Icarus:/home/rvdvalk/ehcp#

Although there is one error the installed EHCP version seems to be 0.29.11

Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Reply
#7
as stated on above of this page, please follow http://www.ehcp.net/?q=node/529

The ehcp_upgrade.sh script in your case may be out of date,
best is to follow http://www.ehcp.net/?q=node/529 , as of now (2009-11-17, Ymd)
maybe in future, i will automate this task more..

sory.


Restored from old drupal forum, for user uid:2902 username:rvdvalk
You may reset your password to access your new account here.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)

Online Shopping App
Online Shopping - E-Commerce Platform
Online Shopping - E-Commerce Platform
Feinunze Schmuck Jewelery Online Shopping