Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#38572 - [owncloud] config.sample.php refers to wrong apps directory
Attached to Project:
Community Packages
Opened by Kevin (unhammer) - Sunday, 19 January 2014, 08:39 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 21 January 2014, 08:31 GMT
Opened by Kevin (unhammer) - Sunday, 19 January 2014, 08:39 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 21 January 2014, 08:31 GMT
|
DetailsDescription:
community/owncloud 6.0.0.a-3 has a file config.sample.php with the lines "apps_paths" => array( /* Set an array of path for your apps directories key 'path' is for the fs path and the key 'url' is for the http path to your applications paths. 'writable' indicates whether the user can install apps in this folder. You must have at least 1 app folder writable or you must set the parameter 'appstoreenabled' to false */ array( 'path'=> '/var/www/owncloud/apps', This should be changed to the path where the apps folder is actually installed, ie. /usr/share/webapps/owncloud/apps With the wrong apps path, owncloud just shows a blank page and http access_log says things like File does not exist: /usr/share/webapps/owncloud/files, referer: http://localhost/owncloud/index.php/ (Also, the apps folder seems to need a chown -R http:http, or owncloud complains that it is not writable.) |
This task depends upon
> Set an array of path for your apps directories
> key 'path' is for the fs path and the key 'url' is for the http path to your
> applications paths. 'writable' indicates whether the user can install apps in this folder.
> You must have at least 1 app folder writable or you must set the parameter 'appstoreenabled' to false
as I understand path it not wrong. Sample file suggests you to add writable apps directory in /var or disable write-checking by appstoreenabled=false.
Non-writable apps directory in /usr is ok, so it is not a bug.
I added a note here instead https://wiki.archlinux.org/index.php/Owncloud#.22Can.27t_write_into_apps_directory.22