location of GLOBALS.php [message #4334] |
Wed, 24 July 2002 02:27 |
fjrohlf
Messages: 82 Registered: February 2002
Karma: 0
|
Member |
|
|
I am just now getting around to upgrading from v1.2.3. I have downloaded the various update files directly to my RH7.3 system.
I started with the update-v1.2.8.php script placed in my /var/www/html directory and did a chmod 777. When I run it from my browser it starts ok and then asks for the full path to GLOBALS.php. There is symbolic link to it in my /var/www/html/forum directory but the original file is in /var/www/forumdata/include directory. If I supply either path I get the message "You do not appear to be inside forum's main www directory". What directory should I give it?
Thanks.
Jim
|
|
|
Re: location of GLOBALS.php [message #4339 is a reply to message #4334] |
Wed, 24 July 2002 12:47 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
/var/www/forumdata/include/GLOBALS.php is the path your need to specify.
FUDforum Core Developer
|
|
|
Re: location of GLOBALS.php [message #4341 is a reply to message #4339] |
Wed, 24 July 2002 14:14 |
fjrohlf
Messages: 82 Registered: February 2002
Karma: 0
|
Member |
|
|
That is what I had tried before. Just to make sure, I pasted your suggestion into the form. I received the same message. It did also display the 'next' button but I did not want to proceed when there was an error message because I did not want to risk messing things up.
Jim
|
|
|
Re: location of GLOBALS.php [message #4345 is a reply to message #4341] |
Wed, 24 July 2002 16:02 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Your forum in installed inside /var/www/html/forum, hence the upgrade script should be there as well.
FUDforum Core Developer
|
|
|
|
|
Re: Problem with the next step [message #4354 is a reply to message #4347] |
Wed, 24 July 2002 20:30 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You are using the wrong script, you should have downloaded:
Upgrade from 1.2.8 to FUDforum 2.0.2 script
FUDforum Core Developer
|
|
|
Re: Problem with the next step [message #4360 is a reply to message #4354] |
Wed, 24 July 2002 20:56 |
fjrohlf
Messages: 82 Registered: February 2002
Karma: 0
|
Member |
|
|
Ok, making progress. I found the proper script and tried it and got the following results.
Quote: |
Deleting old backup files
Making a backup of current files
Making a backup of MySQL data
Processing table: fud_ann_forums .... DONE
Processing table: fud_announce .... DONE
Processing table: fud_attach .... DONE
Processing table: fud_avatar .... DONE
... stuff deleted ...
Processing table: fud_blocked_logins .... DONE
Processing table: fud_users .... DONE
Convert Message Storage to new format
Removing old message files
Moving user's homepage urls & biographies in to the database
Warning: RmDir failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 552
Decompressing New Forum Files
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
... more stuff ommitted ...
Warning: MkDir failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 192
Warning: MkDir failed (File exists) in /var/www/html/forum/oldfrm_upgrade.php on line 192
ERROR: failed creating /var/www/forumdata/sql directory
|
What is the problem now?
P.S. The forum is now unresponsive. If there an undo procedure to get back to where I was before I tried to do this upgrade?
Jim
[Updated on: Wed, 24 July 2002 21:00] Report message to a moderator
|
|
|
Re: Problem with the next step [message #4361 is a reply to message #4360] |
Wed, 24 July 2002 21:00 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
File permissions are the problem.
Mkae sure the webserver has access to the directories it is trying to create.
FUDforum Core Developer
|
|
|
Re: Problem with the next step [message #4363 is a reply to message #4361] |
Wed, 24 July 2002 21:10 |
fjrohlf
Messages: 82 Registered: February 2002
Karma: 0
|
Member |
|
|
Can you be more specific?
In the forum directory, apache is the owner of all the files except the upgrade script. The chmod is 777 for all except php.php and blank.gif. I think there used to be more files in there - did the upgrade delete a bunch?
Looks like most files in adm are 666 (CVS is just 755) all owned by apache.
Note - I really appreciate your help. Impossible to do this without help. The documentation does not seem to say anything about these details that can go wrong.
Jim
|
|
|
Re: Problem with the next step [message #4364 is a reply to message #4363] |
Wed, 24 July 2002 21:13 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The upgrade script did/should have removed a number of files, those will be re-created later. Some new directories should've been created like include/static theme/default and several others.
FUDforum Core Developer
|
|
|
|
Re: Problem with the next step [message #4367 is a reply to message #4366] |
Wed, 24 July 2002 21:27 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Can you show me ALL the errors you have recieve during the run of the upgrade script?
FUDforum Core Developer
|
|
|
Re: Problem with the next step [message #4368 is a reply to message #4367] |
Wed, 24 July 2002 21:29 |
fjrohlf
Messages: 82 Registered: February 2002
Karma: 0
|
Member |
|
|
Sure, here they are:
Quote: | Deleting old backup files
Making a backup of current files
Making a backup of MySQL data
Processing table: fud_ann_forums .... DONE
Processing table: fud_announce .... DONE
Processing table: fud_attach .... DONE
Processing table: fud_avatar .... DONE
Processing table: fud_blocked_logins .... DONE
Processing table: fud_buddy .... DONE
Processing table: fud_cat .... DONE
Processing table: fud_custom_tags .... DONE
Processing table: fud_email_block .... DONE
Processing table: fud_ext_block .... DONE
Processing table: fud_forum .... DONE
Processing table: fud_forum_notify .... DONE
Processing table: fud_forum_read .... DONE
Processing table: fud_index .... DONE
Processing table: fud_ip_block .... DONE
Processing table: fud_level .... DONE
Processing table: fud_mod .... DONE
Processing table: fud_mod_que .... DONE
Processing table: fud_msg .... DONE
Processing table: fud_msg_report .... DONE
Processing table: fud_pmsg .... DONE
Processing table: fud_poll .... DONE
Processing table: fud_poll_opt .... DONE
Processing table: fud_poll_opt_track .... DONE
Processing table: fud_read .... DONE
Processing table: fud_replace .... DONE
Processing table: fud_search .... DONE
Processing table: fud_ses .... DONE
Processing table: fud_settings .... DONE
Processing table: fud_smiley .... DONE
Processing table: fud_style .... DONE
Processing table: fud_thread .... DONE
Processing table: fud_thread_notify .... DONE
Processing table: fud_thread_rate_track .... DONE
Processing table: fud_thread_view .... DONE
Processing table: fud_title_index .... DONE
Processing table: fud_user_ignore .... DONE
Processing table: fud_users .... DONE
Convert Message Storage to new format
Removing old message files
Moving user's homepage urls & biographies in to the database
Warning: RmDir failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 552
Decompressing New Forum Files
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: Unlink failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 180
Warning: MkDir failed (Permission denied) in /var/www/html/forum/oldfrm_upgrade.php on line 192
Warning: MkDir failed (File exists) in /var/www/html/forum/oldfrm_upgrade.php on line 192
ERROR: failed creating /var/www/forumdata/sql directory
|
Jim
|
|
|
|
|
Re: Problem with the next step [message #4371 is a reply to message #4370] |
Wed, 24 July 2002 21:45 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The upgrade script filed with an error saying that
/var/www/forumdata/sql
directory already exists.
FUDforum Core Developer
|
|
|
|
|
|
|
|
|
|
|
|
Re: Problem with the next step [message #4381 is a reply to message #4378] |
Wed, 24 July 2002 22:15 |
fjrohlf
Messages: 82 Registered: February 2002
Karma: 0
|
Member |
|
|
ok, I am willing to keep trying - but what should I try next? My forum is now in limbo.
As an experiment I removed the user_settings directory that gave the first error message for line 552. The message went away but the warnings for line 180 are still there plus the final error about not being able to create the sql directory.
I then created the forumdata/sql directory. Made apache the owner and chmod 777. Then ran the script again. Same results including the complaint about not being able to create the sql directory.
I have no idea what to try next.
Jim
[Updated on: Thu, 25 July 2002 02:45] Report message to a moderator
|
|
|
|
Re: Problem with the next step - please help [message #4397 is a reply to message #4395] |
Thu, 25 July 2002 18:02 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Try running it again, when you get a permissions error, see why it happened and act acordingly, for example create directories if needed etc...
FUDforum Core Developer
|
|
|
Re: Problem with the next step - please help [message #4398 is a reply to message #4397] |
Thu, 25 July 2002 18:07 |
fjrohlf
Messages: 82 Registered: February 2002
Karma: 0
|
Member |
|
|
I am sorry, but I already said I have tried that where I could. All the directories are owned by apache and 777. Most of the files are 666. I created the sql directory but got the same error message. What else can I do?
Jim
|
|
|
Re: Problem with the next step - please help [message #4401 is a reply to message #4398] |
Thu, 25 July 2002 20:24 |
fjrohlf
Messages: 82 Registered: February 2002
Karma: 0
|
Member |
|
|
When I run the script I get a long list of warnings from line 180 about not being able to unlink files. What files are these? Since it is just a warning should I be concerned?
The error message is about not being able to create the /var/www/forumdata/sql directory. I created it by hand and the script still gives the same errors.
Just before all the warnings it says "Decompressing New Forum Files". Has that been done yet or does it mean it is about to do it before it fails? Has it gotten far enough through the script that I could do some of the next steps by hand?
I have a complete copy of the /var partition that I made before these updates (I was running 1.2.3) and the update from RH7.2 to RH7.3. Can I just copy the old files back and return to version 1.2.3 or would that mess up the data files? I need to do something to get the forum back online!
Could I get a response from someone please?
Jim
[Updated on: Fri, 26 July 2002 01:41] Report message to a moderator
|
|
|