Problem running ezupgrade

You need to be logged in to post messages in the forums. New users may register here.

Viviana Menzel

Member since:
13 September 2010

Posts: 3

Monday 13 September 2010 8:26:36 am

Hi,

I'm trying to run ezupgrade, but it doesn't work. On my php error log I found the following:
Call to a member function actionDownloadAll() on a non-object in /bigtmp/ezupgrade/classes/ezupgrade.php on line 96

Line 96 = $this->ezcopy->actionDownloadAll($this->upgradeData['account_name']);
I changed the original $this->data['account_name'] because data was not defined.

Can someone help me? I'm not really fit in PHP :-)

Thanks!

Viviana
Up

Anders Berre

Member since:
09 January 2008

Posts: 15

Tuesday 14 September 2010 1:00:27 am

Hi Viviana,

Could you please provide me with the two settings files you are using.
account.ini and ezcopy.ini.

Remember to not print your passwords :-)

Sincerely,

Anders Sandvik Berre
http://www.netmaking.no/

Up

Viviana Menzel

Member since:
13 September 2010

Posts: 3

Tuesday 14 September 2010 1:13:31 am

Hi Anders,
I did change the line:
$this->ezcopy->actionDownloadAll($this->upgradeData['account_name']);
to $this->actionDownloadAll($this->upgradeData['account_name']);
and it runs, but only to the download step from remote to local: the transfer doesn't work.

Here my ini files

account.ini

[Accounts]
AccountList[]=intranet
IsLocal=false
DefaultPromptOption=prompt
[Account_intranet]
ExistingInstallationLocation=remote
ToVersion=4.3.0
BasePath=/srv/www/
SiteaccessList[]=intranet

ezcopy.ini
[General]
document_root=/srv/www/
# If you want the SiteAccessSettings > MatchOrder setting to be set to something specific
# after the site has been installed. Examples include "uri" or "host;uri".
# match_order=uri
checkpoints=true
pathToPHP5=/usr/php/5.2/bin
pathToPHP4=
account_list[]=intranet
username=root
password=xxxxx
[General]
[Account_intranet]
ssh_host=192.168.1.33
ssh_user=root
ssh_pass=xxxxx
ez_version=3.9.2
# The remote MySQL password. If none is provided, the system will assume
# that the password is the same as the SSH user
# mysql_pass=
mysql_user=root
mysql_db=intranetdb
mysql_host=192.168.1.33
path_to_ez=../srv/www/intranet
local_file=

Thanks
Viviana
Up

Anders Berre

Member since:
09 January 2008

Posts: 15

Thursday 16 September 2010 3:47:57 am

Hi,

Have you checked out ezcopy in the lib/ folder?

Sincerely,

Anders Sandvik Berre
http://www.netmaking.no/

Up

Viviana Menzel

Member since:
13 September 2010

Posts: 3

Monday 20 September 2010 8:22:18 am

Hi,
yes, I have ezcopy in the lib/folder

Up

Anders Berre

Member since:
09 January 2008

Posts: 15

Tuesday 21 September 2010 1:09:01 am

Hi again Viviana,

I really can`t find why its not working.
The errors says that it can`t find the ezcopy class.

The only thing I can figure it may be is that you have checked out ezcopy in lib/ but with trunk folder, so its like lib/ezcopy/trunk/..

The ezcopy files should be direct in lib/ezcopy. Please check this.
If this is not the case, Im really sorry but have noe idea what it could be withou serveraccess and the possibility to debug this myself.

Sincerely,

Anders Sandvik Berre
http://www.netmaking.no/

Up

You need to be logged in to post messages in the forums. New users may register here.