|
Re: No messages [message #3074 is a reply to message #3073] |
Tue, 11 June 2002 09:50 |
Olliver
Messages: 443 Registered: March 2002
Karma: 0
|
Senior Member |
|
|
hi,
the message body is the part that will be stored on the server's harddisk, so ur described phenomenom probably means one of the following:
- u ve run out of diskspace (or diskquota is at max)
- u didn't set write permission so the messages couldn't be transformed by the upgrade script
- Some paths in ur GLOBALS.php may point to non-existing locations
- something else might have gone wrong during upgrade (would need more investigations though)
U will probably need a backup of ur forum to restore messages (hope u've made one, else u would be damn out of luck now)
I've been testing the upgrade of the forum I'm running for some days now (whenever I ve got time for it) and I've noticed that its success *strongly* depends on correctly set file and dir permissions.
HTH
Tschüß
Ken
|
|
|
|
Re: No messages [message #3076 is a reply to message #3075] |
Tue, 11 June 2002 13:13 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Actually the new message storage format stores ALL the messages inside a single file msg_1. Instead of having a file per thread like the old version.
What is the file size of your msg_1 file?
The user settings are no longer stored on disk either but rather in MySQL, which is why that directory is empty.
Have you ran the consistency checker after you have done the upgrade?
FUDforum Core Developer
|
|
|
|
Re: No messages [message #3078 is a reply to message #3077] |
Tue, 11 June 2002 13:26 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Hmmm the file size is definately wrong, which permissions did the file have before you have changed them, 600?
Also, can you run a 'df' command to see if you have any free space avaliable on the drive? The problem you are describing sounds suspiciously like something that would result in your system or your account (if quotas are used) running out of drive space during the upgrade process.
Since, you've made a backup there is definately I way to restore the missing message bodies, however we need to figure out why they were not written properly the 1st time.
FUDforum Core Developer
|
|
|
|
Re: No messages [message #3084 is a reply to message #3082] |
Tue, 11 June 2002 14:38 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Does the file /var/www/html/forum.nieuwsgierigstel.com/data/messages/msg_1 exist?
Also, what are the permissions on the /var/www/html/forum.nieuwsgierigstel.com/data/messages/ directory?
FUDforum Core Developer
|
|
|
Re: No messages [message #3086 is a reply to message #3084] |
Tue, 11 June 2002 14:46 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
I believe I found the bug, that may be the cause of this problem. Could you please meet me on irc (i already see you in the #fudforum channel), my nick is rei.
FUDforum Core Developer
|
|
|
|
|
Re: No messages [message #3093 is a reply to message #3088] |
Tue, 11 June 2002 15:09 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
smike, can you login to irc (irc.openprojects.net, #fudforum) channel?
FUDforum Core Developer
|
|
|
Re: No messages [message #3100 is a reply to message #3073] |
Tue, 11 June 2002 17:58 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The problem has been located in fixed in latest CVS.
The upgrade script based on the latest CVS is attached to this message.
FUDforum Core Developer
|
|
|
|
Re: No messages [message #3106 is a reply to message #3105] |
Wed, 12 June 2002 00:05 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
2.0.1 fixed a number of bugs that thanks to sMike & cvdveer I was able to track down, so the upgrade process should work A OK now.
FUDforum Core Developer
|
|
|
|
Re: No messages [message #3123 is a reply to message #3107] |
Wed, 12 June 2002 14:17 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Hmm... we've specifically made modifications to the upgrade script to bypass the UID limitation of safe_mode. This was done by having the upgrade script copy itself, thus creating a copy on the drive owned by webserver's UID. Since it was owned by webserver's UID according to safe_mode it should have been able to write/edit/delete the files owned by the server assuming it had file system permissions to those files/directories.
Your problem actually was because your forum's web dir was owned by a 'user' rather then the webserver, thus based on safe_mode it could not write to that dir. The solution to this problem would have been to chown the directory, so that it is owned by the webserver.
A work around solution is to remove the dir and have a php script via the web re-create it, thus making it owned by the webserver.
Ken. if you want to convince your host about uselessness of safe_mode show them the output of this:
<?php show_source('/etc/passwd'); ?>
FUDforum Core Developer
|
|
|
|
Re: No messages [message #3129 is a reply to message #3128] |
Wed, 12 June 2002 15:30 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
If it ain't broke, don't fix it, is a good approach :).
FUDforum Core Developer
|
|
|