Current time: 11-15-2024, 08:31 PM Hello There, Guest! (LoginRegister)


Post Reply 
Update from rc6 to svn
Author Message
aseques Offline
Member
*****
Dev Team

Posts: 330
Joined: May 2008
Reputation: 4
Post: #1
Update from rc6 to svn
Hi, since the bugs for the next release are starting to decrease, I've tryied to ugrade an rc6 to the svn, following the usual upgrade menu.
I've choose "Upgrade from rc5" since there's no "Update from rc6" yet.

The upgrade failed in /var/www/ispcp/engine/ispcp-rqst-mngr line 377.
It seems to use the table subdomain_alias, that the script hasn't created yet.
What would be the best option now:
1.- Wait for the "Update from rc6" option to be created
2.- Create the table by hand looking at the specs
3.- Use the updatenightly script

Shall I open a ticket for this, or since is work in progress, I should wait...

Cheers
Ups, wrong category, it should be on update/upgrade, sorry about that ...
(This post was last modified: 10-23-2008 08:20 PM by aseques.)
10-23-2008 08:18 PM
Find all posts by this user Quote this message in a reply
xister Offline
Member
*
Beta Team

Posts: 405
Joined: Oct 2006
Reputation: 6
Post: #2
RE: Update from rc6 to svn
sci2tech is working on advanced new script.
see this posting:
http://www.isp-control.net/forum/showthr...2#pid38572
10-23-2008 08:21 PM
Find all posts by this user Quote this message in a reply
aseques Offline
Member
*****
Dev Team

Posts: 330
Joined: May 2008
Reputation: 4
Post: #3
RE: Update from rc6 to svn
Ok, finally I choose for the nightly with the debug enabled. The relevant messages are

DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: ERROR: Incorrect SQL Query -> Table 'ispcp.subdomain_alias' doesn't exist
Can't use string ("") as an ARRAY ref while "strict refs" in use at /var/www/ispcp/engine/ispcp-rqst-mngr line 377.

For sure, this is what is breaking the update, I will create the subdomain_alias (maybe nightlyupdate should take care of that too?) and see what happens ...
10-23-2008 08:58 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #4
RE: Update from rc6 to svn
Login into ispCP and run the Database Upgrade directly in the Admin Interface. This will create the new DB Structre. Then regenerate your configs...

Greez BeNe
10-24-2008 12:15 AM
Visit this user's website Find all posts by this user Quote this message in a reply
aseques Offline
Member
*****
Dev Team

Posts: 330
Joined: May 2008
Reputation: 4
Post: #5
RE: Update from rc6 to svn
After a lot of "stracing" i finally managed to discover why I couldn't open the man login screen.
It's not the first time it happens to me after an upgrade. (Without entering to the control panel, I could not do the update of the database)
The variables were not replaced (at least using nightlyupdate), so I had a path in /etc/apache2/mods-enabled/fastcgi_ispcp.conf ponting to "/var/www/fcgi/master/php{PHP_VERSION}-fcgi-starter
In wich step should be the variable replacement done? I am copied the working the ispcp.conf from /etc/ispcp to the svn directory hoping it was enough ...
10-24-2008 12:37 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #6
RE: Update from rc6 to svn
Quote:It's not the first time it happens to me after an upgrade.
How did you do the upgrade ??
Quote:The variables were not replaced (at least using nightlyupdate), so I had a path in /etc/apache2/mods-enabled/fastcgi_ispcp.conf ponting to "/var/www/fcgi/master/php{PHP_VERSION}-fcgi-starter
Looks like you copied this file over your exist...
Quote:In wich step should be the variable replacement done?
Some during the setup like fastcgi/apache master and the other by regenerate the configs or adding a domain.

Greez BeNe
10-24-2008 12:42 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)