[Owncloud] IIS/Win7/OC5b2 'Cannot write into the apps directory' Part 2

g4 at novadsp.com g4 at novadsp.com
Fri Mar 1 13:54:06 UTC 2013


Hello Bart

> This is taken from the config 'apps_paths' or derived from the SERVERROOT.
And looking at what you write the SERVERROOT is set to, i expect it is wrong
it 
> config/config.php

Precisely the problem - many thanks for the solution.

Jerry.

-----Original Message-----
From: owncloud-bounces at kde.org [mailto:owncloud-bounces at kde.org] On Behalf
Of Bart Visscher
Sent: 01 March 2013 12:49
To: owncloud at kde.org
Subject: Re: [Owncloud] IIS/Win7/OC5b2 'Cannot write into the apps
directory' Part 2

On Thu, Feb 28, 2013 at 06:37:59PM -0000, g4 at novadsp.com wrote:
> OK, so I bit the bullet and started debugging OC using VS2012 and the 
> excellent PHP tools for Visual Studio.
> 
>  
> 
> In util.php we have:
> 
>  
> 
> if(OC_Config::getValue('appstoreenabled', true)) {
> 
>      if (OC_App::getInstallPath() == null ||
> 
>            ! is_writable(OC_App::getInstallPath() .
> 
>  
> 
> getInstallPath() is returning "/var/www/owncloud/apps". Is this
intentional?
> (It would, incidentally, be really helpful to write this into 
> $errors!)
> 

This is taken from the config 'apps_paths' or derived from the SERVERROOT.
And looking at what you write the SERVERROOT is set to, i expect it is wrong
it config/config.php

Bart

>  
> 
> OC::$SERVERROOT, in contrast, returns "r:/data/webs/owncloud" which is 
> correct.
> 
>  
> 
> Any tips welcomed
> 

> _______________________________________________
> Owncloud mailing list
> Owncloud at kde.org
> https://mail.kde.org/mailman/listinfo/owncloud

_______________________________________________
Owncloud mailing list
Owncloud at kde.org
https://mail.kde.org/mailman/listinfo/owncloud





More information about the Owncloud mailing list