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

Home » FUDforum Development » Bug Reports » Upgrade issues
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Upgrade issues [message #32516] Thu, 06 July 2006 20:34 Go to next message
nissan is currently offline  nissan   United States
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 #32518 is a reply to message #32516] Thu, 06 July 2006 22:03 Go to previous messageGo to next message
nissan is currently offline  nissan   United States
Messages: 15
Registered: March 2006
Karma: 0
Junior Member
At this point we never were able to complete the upgrade. The upgrade.php script is attempting to create files and sql tables as root with read only but in order for it to work it the files need to be owned by nobody and have write permissions. What needs to be done inorder for this upgrade to work successfully without having to manually change file permissions.
Re: Upgrade issues [message #32520 is a reply to message #32518] Thu, 06 July 2006 22:52 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
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 Go to previous messageGo to next message
nissan is currently offline  nissan   United States
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 Go to previous message
Ilia is currently offline  Ilia   Canada
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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Message navigator doesn't translate FUDcode
Next Topic: Make forum_login.php "include-ready"
Goto Forum:
  

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

Current Time: Mon Nov 25 23:16:17 GMT 2024

Total time taken to generate the page: 0.02500 seconds