2.6.0 upgrades failing [message #13863] |
Wed, 29 October 2003 21:12 |
tgaastra
Messages: 90 Registered: June 2002
Karma: 0
|
Member |
|
|
RC1 and RC2 have given me the same error on trying to run the upgrade script. This is being done from a 2.5.3RC3 install.
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/FUDforum/errors/.backup/"
Beginning SQL Upgrades
SQL Upgrades Complete
MySQL Error: #1054 (Unknown column 'theme_opt' in 'where clause'): SELECT id FROM fud2_themes WHERE (theme_opt & 3) > 0 LIMIT 1
[Updated on: Wed, 29 October 2003 21:12] Report message to a moderator
|
|
|
Re: 2.6.0 upgrades failing [message #13864 is a reply to message #13863] |
Wed, 29 October 2003 21:19 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
This means some fields were not added... This can only happen if your fud_thread_view.tbl is old or was incorrectly parsed.
What database system are you using?
FUDforum Core Developer
|
|
|
|
|
Re: 2.6.0 upgrades failing [message #13871 is a reply to message #13869] |
Wed, 29 October 2003 22:15 |
tgaastra
Messages: 90 Registered: June 2002
Karma: 0
|
Member |
|
|
This is from the restored backup I switched back to but:
+-----------------+------------------+------+-----+---------+-------------- --+
| Field | Type | Null | Key | Default | Extra |
+-----------------+------------------+------+-----+---------+-------------- --+
| id | int(10) unsigned | | PRI | NULL | auto_increment |
| thread_id | int(10) unsigned | | MUL | 0 | |
| poster_id | int(10) unsigned | | MUL | 0 | |
| reply_to | int(10) unsigned | | | 0 | |
| ip_addr | varchar(15) | | MUL | 0.0.0.0 | |
| host_name | varchar(255) | YES | | NULL | |
| post_stamp | int(10) unsigned | | MUL | 0 | |
| update_stamp | int(10) unsigned | | | 0 | |
| updated_by | int(10) unsigned | | | 0 | |
| icon | varchar(100) | YES | | NULL | |
| subject | varchar(100) | | MUL | | |
| attach_cnt | int(10) unsigned | | MUL | 0 | |
| poll_id | int(10) unsigned | | MUL | 0 | |
| approved | enum('Y','N') | | MUL | N | |
| show_sig | enum('Y','N') | | | Y | |
| smiley_disabled | enum('Y','N') | | | N | |
| foff | int(10) unsigned | | | 0 | |
| length | int(10) unsigned | | | 0 | |
| file_id | int(10) unsigned | | | 1 | |
| offset_preview | int(10) unsigned | | | 0 | |
| length_preview | int(10) unsigned | | | 0 | |
| file_id_preview | int(10) unsigned | | | 0 | |
| mlist_msg_id | varchar(100) | YES | MUL | NULL | |
| attach_cache | text | YES | | NULL | |
| poll_cache | text | YES | | NULL | |
+-----------------+------------------+------+-----+---------+-------------- --+
[Updated on: Wed, 29 October 2003 22:15] Report message to a moderator
|
|
|
Re: 2.6.0 upgrades failing [message #13873 is a reply to message #13871] |
Wed, 29 October 2003 22:39 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
it appears that none of the new fields are being created. Could you check if the files (*.tbl) inside the sql/ directory were replaced/changed?
FUDforum Core Developer
|
|
|
|
|
Re: 2.6.0 upgrades failing [message #13968 is a reply to message #13887] |
Sun, 02 November 2003 06:56 |
|
Same error message here.
Current FUD: 2.5.2
Upgrade script: v2.6.0RC2 from web
MySQL: 3.23.56
PHP: 4.2.2
safe_mode: off
no *.myd/myi files were modified/replaced
fud25_msg:
| Field | Type | Null | Key | Default | Extra |
+-----------------+------------------+------+-----+---------+-------------- --+
| id | int(10) unsigned | | PRI | NULL | auto_increment |
| thread_id | int(10) unsigned | | MUL | 0 | |
| poster_id | int(10) unsigned | | MUL | 0 | |
| reply_to | int(10) unsigned | | | 0 | |
| ip_addr | varchar(15) | | MUL | 0.0.0.0 | |
| host_name | varchar(255) | YES | | NULL | |
| post_stamp | int(10) unsigned | | MUL | 0 | |
| update_stamp | int(10) unsigned | | | 0 | |
| updated_by | int(10) unsigned | | | 0 | |
| icon | varchar(100) | YES | | NULL | |
| subject | varchar(100) | | MUL | | |
| attach_cnt | int(10) unsigned | | MUL | 0 | |
| poll_id | int(10) unsigned | | MUL | 0 | |
| approved | enum('Y','N') | | MUL | N | |
| show_sig | enum('Y','N') | | | Y | |
| smiley_disabled | enum('Y','N') | | | N | |
| foff | int(10) unsigned | | | 0 | |
| length | int(10) unsigned | | | 0 | |
| file_id | int(10) unsigned | | | 1 | |
| offset_preview | int(10) unsigned | | | 0 | |
| length_preview | int(10) unsigned | | | 0 | |
| file_id_preview | int(10) unsigned | | | 0 | |
| attach_cache | text | YES | | NULL | |
| poll_cache | text | YES | | NULL | |
| mlist_msg_id | varchar(100) | YES | MUL | NULL | |
+-----------------+------------------+------+-----+---------+-------------- --+
This is my personal box and not live forum, so I'm game to tinker.
|
|
|
Re: 2.6.0 upgrades failing [message #13972 is a reply to message #13968] |
Sun, 02 November 2003 18:52 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
It appears that not a single index was created nor any new fields added. This means that the *.tbl tables you have were not replaced by the setup. Could you attach fud_msg.tbl to your reply please?
FUDforum Core Developer
|
|
|
Re: 2.6.0 upgrades failing [message #13977 is a reply to message #13972] |
Sun, 02 November 2003 19:24 |
|
Files (frm, myi, myd) too large to attach. Available here (4.5meg):
(edited as it was incorrect)
Interestingly this morning, after bootup and therefore a restart of MySQL, I'm now getting:
DESCRIBE fud25_msg;
ERROR 1033: Incorrect information in file: './FUDforum/fud25_msg.frm'
When I get time later today I will restore 2.5.2 (yes, I made a backup) and retry the upgrade again to see if this was a fluke on my part.
[Updated on: Sun, 02 November 2003 19:43] Report message to a moderator
|
|
|
Re: 2.6.0 upgrades failing [message #13979 is a reply to message #13977] |
Sun, 02 November 2003 19:32 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
I don't need the mysql database files, those are useless to me. I was asking for FUDforum's *.tbl files that can be found inside the sql/ directory of FUDforum.
FUDforum Core Developer
|
|
|
Re: 2.6.0 upgrades failing [message #13982 is a reply to message #13979] |
Sun, 02 November 2003 19:41 |
|
Right... right. Color me red. I've had my head stuck in database mode for too long (other projects).
File attached and yes the date is concurrent to when I ran the upgrade script. However there is still a fud_msg.tbl in /sql/mysql that has the old date if it matters.
TY
|
|
|
Re: 2.6.0 upgrades failing [message #13986 is a reply to message #13982] |
Sun, 02 November 2003 20:16 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The file you've sent me appears to be correct, the .tbl files inside mysql/ & pgsql/ directories are not (should not be) used and are absolete. If you would to install a new FUDforum you wouldn't have them.
Clearly there is something wrong with the intial table, question is what :/
Ok, let's try to add some debug code and try to see what breaks. Open upgrade.php and find line which says:
$db_col = get_fud_col_list($tbl['name']);
After that line add:
var_dump('<pre>', $db_col, $tbl['flds'], $v, '</pre>').
Reply with the output.
P.S. If you can join irc.freenode.org (IRC server) #fudforum channel we can talk realtime and probably resolve the problem much faster.
FUDforum Core Developer
|
|
|
|
|
Re: 2.6.0 upgrades failing [message #14011 is a reply to message #13863] |
Tue, 04 November 2003 00:00 |
Juanisan
Messages: 24 Registered: July 2002 Location: Conshohocken, PA
Karma: 0
|
Junior Member |
|
|
DITTO!
http://utadmins.homelinux.com/forum/upgrade.php
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/forum-uta/errors/.backup/"
Beginning SQL Upgrades
SQL Upgrades Complete
MySQL Error: #1054 (Unknown column 'theme_opt' in 'where clause'): SELECT id FROM fud25_themes WHERE (theme_opt & 3) > 0 LIMIT 1
http://utadmins.homelinux.com/forum/adm/admloginuser.php
(admloginuser.php) 1054: Unknown column 'users_opt' in 'where clause'
Query: SELECT id FROM fud25_users WHERE login='BAR|BeerThePenguin' AND passwd='4c39e90d6a5c38a3f8a9b1f05840f240' AND users_opt>=1048576 AND (users_opt & 1048576) > 0
Server Version: 3.23.56
[Referring Page] http://utadmins.homelinux.com/forum/adm/admloginuser.php
Please, how do i fix?
Never ask a geek why, just nod your head and slowly back away.
|
|
|
|
|
|
|
|
|
|
|
|
|