Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Install and Upgrade Help => Aiheen aloitti: dooza - huhtikuu 26, 2006, 09:46:32 AP

Otsikko: Error trying to upgrade to 1.0.7 when using package manager
Kirjoitti: dooza - huhtikuu 26, 2006, 09:46:32 AP
1.     Execute Modification     ./Sources/QueryString.php     Failure
2.    Execute Modification    ./changelog.txt    Success
3.    Execute Modification    ./index.php    Success
4.    Execute Modification    ./Sources/Search.php    Success
5.    Execute Modification    ./Sources/Poll.php    Success

Then when I proceed I get:

2: copy(/home/www/doozaooHo/forum/changelog.txt~): failed to open stream: Permission denied
File: /home/www/doozaooHo/forum/Sources/Subs-Package.php
Line: 1307

Any idea how to get around this?

Cheers,

Steve
Otsikko: Re: Error trying to upgrade to 1.0.7 when using package manager
Kirjoitti: redone - huhtikuu 26, 2006, 02:47:22 IP
Uninstall any mods you have installed and try again. If that fails then download the update, unzip the package and just upload the new files to your /Sources directory.

The upgrade only fails when you have mod's installed that have modified your Sources files.
Otsikko: Re: Error trying to upgrade to 1.0.7 when using package manager
Kirjoitti: Oldiesmann - huhtikuu 26, 2006, 05:20:34 IP
The error with changelog.txt simply means it can't create a backup of changelog.txt (because a backup already exists). Delete changelog.txt~ from your SMF directory and it should work just fine.
Otsikko: Re: Error trying to upgrade to 1.0.7 when using package manager
Kirjoitti: dooza - huhtikuu 26, 2006, 05:39:32 IP
One step forward :)

Now I get:
2: copy(/home/www/doozaooHo/forum/index.php~): failed to open stream: Permission denied
File: /home/www/doozaooHo/forum/Sources/Subs-Package.php
Line: 1307

Thanks for all your help so far!

Steve
Otsikko: Re: Error trying to upgrade to 1.0.7 when using package manager
Kirjoitti: redone - huhtikuu 26, 2006, 05:42:26 IP
You should be able to do the same with that file too. Take a local copy though before you delete it.
Otsikko: Re: Error trying to upgrade to 1.0.7 when using package manager
Kirjoitti: dooza - huhtikuu 26, 2006, 05:47:41 IP
I have done this, and also querystring.php~ and it said the update was corrupt, but now the forum says its updated, and everything seems to be ok.
Otsikko: Re: Error trying to upgrade to 1.0.7 when using package manager
Kirjoitti: digidivakathy - elokuu 21, 2006, 12:08:26 AP
I am getting this error on a fresh Fantastico install.  I also tried downloading the update files and uploading the entire Sources directory, but am still getting this error:

2: copy(/home3/kathymoo/public_html/classforum/SSI.php~): failed to open stream: Permission denied
File: /home3/kathymoo/public_html/classforum/Sources/Subs-Package.php
Line: 1307
Otsikko: Re: Error trying to upgrade to 1.0.7 when using package manager
Kirjoitti: 青山 素子 - elokuu 21, 2006, 12:15:11 AP
You can always chmod all the files in the Sources directory to 666.
Otsikko: Re: Error trying to upgrade to 1.0.7 when using package manager
Kirjoitti: digidivakathy - elokuu 21, 2006, 12:25:15 AP
I had permissions on that file specifically set to 777 and still get the error on that file.
Otsikko: Re: Error trying to upgrade to 1.0.7 when using package manager
Kirjoitti: 青山 素子 - elokuu 21, 2006, 12:32:49 AP
Hm. Strange. Might be the upstream directory didn't have permissions.

If you keep having issues, use FTP to upload the update package.
Otsikko: Re: Error trying to upgrade to 1.0.7 when using package manager
Kirjoitti: digidivakathy - elokuu 21, 2006, 07:38:18 AP
I actually even did that.  I uploaded the entire Sources folder to the ftp.  Still get the error.