FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » Cannot upgrade from 2.5.3RC3 to 2.6.0rc6
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Cannot upgrade from 2.5.3RC3 to 2.6.0rc6 [message #14594] Tue, 18 November 2003 14:18 Go to next message
lstep is currently offline  lstep   France
Messages: 50
Registered: June 2003
Karma: 0
Member

When I access the /upgrade.php file, it asks me for my admin login+pass, and then, it shows me this error:

Quote:

PostgreSQL Error: ERROR: parser: parse error at or near "FROM" at character 13
Query: SHOW FIELDS FROM fud25_users LIKE 'is_mod'


I'm using PostgreSQL 7.3.4.
Re: Cannot upgrade from 2.5.3RC3 to 2.6.0rc6 [message #14607 is a reply to message #14594] Tue, 18 November 2003 16:22 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Does your include/theme/default/db.inc contain pg_connect() function?

FUDforum Core Developer
Re: Cannot upgrade from 2.5.3RC3 to 2.6.0rc6 [message #14609 is a reply to message #14607] Tue, 18 November 2003 17:00 Go to previous messageGo to next message
lstep is currently offline  lstep   France
Messages: 50
Registered: June 2003
Karma: 0
Member

Ilia wrote on Tue, 18 November 2003 17:22

Does your include/theme/default/db.inc contain pg_connect() function?


Hmm, there should be one in db.inc? I just looked into db.inc, there is no function pg_connect() there.
The only reference to pg_connect is the following line:

Quote:

$connect_func = ( $GLOBALS['DBHOST_PERSIST'] == 'Y' ) ? 'pg_pconnect' : 'pg_connect';


My installation of fudforum works fine, it's just the upgrade that doesn't work.
Re: Cannot upgrade from 2.5.3RC3 to 2.6.0rc6 [message #14615 is a reply to message #14609] Tue, 18 November 2003 17:58 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
The upgrade script at: http://bb.prohost.org/fud21_upgrade/upgrade.tar.gz should fix the problem.

FUDforum Core Developer
Re: Cannot upgrade from 2.5.3RC3 to 2.6.0rc6 [message #14775 is a reply to message #14615] Thu, 20 November 2003 13:36 Go to previous messageGo to next message
lstep is currently offline  lstep   France
Messages: 50
Registered: June 2003
Karma: 0
Member

Ilia wrote on Tue, 18 November 2003 18:58

The upgrade script at: http://bb.prohost.org/fud21_upgrade/upgrade.tar.gz should fix the problem.


There is no url by that name. What is the correct one?
Re: Cannot upgrade from 2.5.3RC3 to 2.6.0rc6 [message #14777 is a reply to message #14775] Thu, 20 November 2003 14:17 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
My mistake, here is the correct URL:
http://bb.prohost.org/upgrade.tar.gz


FUDforum Core Developer
Re: Cannot upgrade from 2.5.3RC3 to 2.6.0rc6 [message #14781 is a reply to message #14594] Thu, 20 November 2003 16:18 Go to previous messageGo to next message
lstep is currently offline  lstep   France
Messages: 50
Registered: June 2003
Karma: 0
Member

Quote:

Checking if SQL permissions to perform the upgrade are avaliable
Disable the forum
Forum is now disabled
Beginning the file upgrade process
Begining to decompress the archive
Finished decompressing the archive
File Upgrade Complete
Any changed files were backed up to: "/var/www/fud1/fudadNONBROWSABLE/errors/.backup/"

Beginning SQL Upgrades

Warning: pg_query(): Query failed: ERROR: Relation 'fud25_action_log_id_seq' already exists . in /var/www/fud1/fudad/upgrade.php on line 539
PostgreSQL Error: ERROR: Relation 'fud25_action_log_id_seq' already exists
Query: CREATE SEQUENCE fud25_action_log_id_seq START 1


Ooops, it fails too
Re: Cannot upgrade from 2.5.3RC3 to 2.6.0rc6 [message #14813 is a reply to message #14781] Fri, 21 November 2003 03:15 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Fixed in CVS.

I'll will be releasing RC7 tommorow morning, which I've tested (upgrade process) on PostgreSQL and it works without problems.


FUDforum Core Developer
icon10.gif  Re: Cannot upgrade from 2.5.3RC3 to 2.6.0rc6 [message #14874 is a reply to message #14813] Sun, 23 November 2003 19:38 Go to previous message
lstep is currently offline  lstep   France
Messages: 50
Registered: June 2003
Karma: 0
Member

Yay! The upgrade went without any problem with rc7.

Thanks Ilia!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: manual install
Next Topic: zombie "last post" entry after upgrade
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 30 09:43:56 GMT 2024

Total time taken to generate the page: 0.02538 seconds