Community Packages

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!
Tasklist

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
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

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

Closed by  Sergej Pupykin (sergej)
Tuesday, 21 January 2014, 08:31 GMT
Reason for closing:  Not a bug
Comment by Sergej Pupykin (sergej) - Monday, 20 January 2014, 11:23 GMT
Comment from config.sample.php:
> 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.
Comment by Kevin (unhammer) - Monday, 20 January 2014, 19:19 GMT
Hmm, I would've preferred if the default were appstoreenabled=false and appspath set to /usr/share/webapps/owncloud/apps – since it makes it easier to use it right away – but I guess it's not that important.

I added a note here instead https://wiki.archlinux.org/index.php/Owncloud#.22Can.27t_write_into_apps_directory.22
Comment by Sergej Pupykin (sergej) - Tuesday, 21 January 2014, 08:31 GMT
It is upstream example so I leave it as is

Loading...