On Wed, Dec 30, 2015 at 01:29:15AM +0100, Paolo Aglialoro wrote:
> Hi,
> 
> the upgrade from 5.7 to 5.8 implies owncloud upgrade from 8.0.2 to 8.1.
> With this upgrade, the php library php5-libsmbclient is needed:
> https://doc.owncloud.org/server/8.1/admin_manual/release_notes.html
> Unfortunately a similar library is not present either in 5.8 packages or in
> -current ones.
> Is there any plan to implement it?

It is not *needed* per se; it's only needed if you want SMB storage support.
If that's the case, you could try and make a port.

> Also, if one would like to use occ utility from CLI, considering that the
> whole owncloud runs chrooted under /var/www/ and that occ therefore looks
> for /owncloud/apps folder (which is obviously /var/www/owncloud/apps) and
> that www user is a nologin one, trying to run the following command:
> 
> # doas -u www /var/www/owncloud/occ
> 
> provides the following result:
> 
> PHP Notice:  Undefined index: SERVER_PROTOCOL in
> /var/www/owncloud/lib/private/response.php on line 77
> App directory "/owncloud/apps" not found! Please put the ownCloud apps
> folder in the ownCloud folder or the folder above. You can also configure
> the location in the config.php file.
> 
> How can occ then be run?

That is expected when running ownCloud under a chroot because config.php set 
the owncloud dir related to the chroot (/owncloud versus /var/www/owncloud).
What you could do is to shutdown your webserver, edit config.php with the full 
path, run occ, edit config.php back to its previous value then restart your 
webserver.

-- 
Antoine

Reply via email to