Cannot update Problog/ProEvents add-on

Permalink
When I try and update my ProBlog or ProEvents addon I get the following message:

"Unable to backup old package directory to e:\web\public_html\HopesHome\cms/files/trash"

When I go into my Control Panel through my ISP I see that the following exists:

files\trash

I checked my permissions and I have read and write access set to this directory. But I am assuming that the problem is that the directly does not exist.

I am running Concrete5 on an IIS 7.0 server. Is the back slash rather than forward slash a feature of IIS? The server I am on is also running the Helicon APE module? Can I do anything with that module to resolve this issue.

I haven't pushed my site live yet. I have read in the forums that Concrete5 is designed to run on a LAMP stack. Ideally I would like to stay with my ISP since their service is amazing.

Any advice on how to update my add-ons would be greatly appreciated.

Thanks,

SteadyIT
 
afixia replied on at Permalink Best Answer Reply
afixia
I have the same issue, but I think it's related to IIS 7 and up as I'm having this problem will all versions of Concrete5. I was able to produce an error by removing the @ suppression in the backup code. This is what I got:

Warning: rename(C:\inetpub\wwwroot\scout2/packages/tony_popup,C:\inetpub\wwwroot\scout2/files/trash/tony_popup_20120725095036): Access is denied. (code: 5) in C:\inetpub\wwwroot\scout2\concrete\models\package.php on line 537

I am using Windows 2008 R2, IIS 7.5 and PHP 5.3.13. It seems the Access is denied (code: 5) can be related to IIS7.5s pass through authentication or something. I'm planning on working with my server admin on this later to see if that's the issue. A person with a very similar problem using SugarCRM mentioned that he was able to fix his problem by following these steps:

1) Change in the php.ini to this config: fastcgi.impersonate=1
2) Create a new user account and add it to the IUSRS local group
3) Give permissions for this user account to the folder. You can use full control to the folder/subfolders. If you want to be more secure...read the manuals!!!
4) Set the identity of the application pool to this user (tip: on machines that are not in a domain, use "localhost\accountname")
5) THIS IS THE CHARM: In the site basic settings (where you specify the physical path of the files), click on the "Connect as..." button and use the specific user account that you have created (again the tip, localhost\accountname)
6) Give write permissions to the C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temp orary ASP.NET folder to the user account. If you have selected other Framework version in the pool, select the associated temporary folder instead.

Until I confirm a solution, you can kinda hack your updates by managing your C5 project page, and unassigning the packages. Then you can go to Transactions > Licenses and download the latest archive. Unzip the archive in to the appropriate packages directory and upload it to overwrite your old package. Then go in to the C5 dashboard and it will just let you complete the update.