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

Bart Visscher bartv at thisnet.nl
Fri Mar 1 12:48:55 UTC 2013


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




More information about the Owncloud mailing list