Upgrade issues [message #32516] |
Thu, 06 July 2006 20:34 |
nissan
Messages: 15 Registered: March 2006
Karma: 0
|
Junior Member |
|
|
when we try to upgrade the forum we get the following error:
Checking if SQL permissions to perform the upgrade are avaliable
Disable the forum
Forum is now disabled
Beginning the file upgrade process
Warning: mkdir(/opt/xampp/FUDforum/errors/.backup): Permission denied in /opt/xampp/htdocs/upgrade.php on line 622
Warning: mkdir(/opt/xampp/FUDforum/errors): File exists in /opt/xampp/htdocs/upgrade.php on line 622
Begining to decompress the archive
Warning: fwrite(): supplied argument is not a valid stream resource in /opt/xampp/htdocs/upgrade.php on line 700
Warning: fclose(): supplied argument is not a valid stream resource in /opt/xampp/htdocs/upgrade.php on line 701
Warning: copy(/opt/xampp/FUDforum/errors/.backup/cat_cache.inc_1152217426): failed to open stream: No such file or directory in /opt/xampp/htdocs/upgrade.php on line 610
Couldn't open "/opt/xampp/FUDforum/cache/cat_cache.inc" for write
|
|
|
|
Re: Upgrade issues [message #32520 is a reply to message #32518] |
Thu, 06 July 2006 22:52 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You need to make sure that all directories/files inside the FUDforum directory are writable by the webserver.
FUDforum Core Developer
|
|
|
Re: Upgrade issues [message #32526 is a reply to message #32520] |
Fri, 07 July 2006 00:37 |
nissan
Messages: 15 Registered: March 2006
Karma: 0
|
Junior Member |
|
|
How about the user and group permission, who is the correct
owner ? Below I is the permissions to the directory as of
now:
drwxrwxrwx 15 root root 512 Jul 6 15:47 .
drwxr-xr-x 20 root root 512 Jul 6 15:48 ..
drwxrwxrwx 4 nobody root 512 Jul 6 08:32 archives
drwxrwxr-x 2 root root 512 Oct 8 2004 cache
drwxrwxr-x 4 root root 512 Aug 26 2005 errors
drwxrwxrwx 2 nobody root 3072 May 19 15:40 files
drwxr-xr-x 15 root root 512 Sep 29 2005 home
drwxrwxrwx 3 nobody root 1024 Jul 6 15:55 include
drwxrwxrwx 2 root root 512 May 20 11:34 messages
-rw-rw-r-- 1 root root 2928 Feb 1 2005 notify_from.locations
drwxrwxr-x 4 root root 512 Oct 14 2005 scripts
drwxrwxr-x 4 root root 2048 Oct 8 2004 sql
drwxrwxr-x 2 root root 3072 Oct 8 2004 src
drwxrwxr-x 2 root root 512 Oct 8 2004 template
drwxrwxr-x 4 root root 512 Oct 8 2004 thm
drwxrwxr-x 2 root root 512 May 19 15:40 tmp
IS THIS CORRECT?
I did change the FUDforum directory to nobody and still with the files for sql tables are created it creates the files a read only file
Thanks
[Updated on: Fri, 07 July 2006 01:01] Report message to a moderator
|
|
|
Re: Upgrade issues [message #32554 is a reply to message #32526] |
Sat, 08 July 2006 18:12 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Directory permissions appear ok, but what about the individual files inside those directories?
FUDforum Core Developer
|
|
|