Check dependencies / recommendations for current install

Ask all your questions regarding OC 7.x Please read the Support Forum Rules
Forum rules
ownCloud 7.x will be end of life soon. See maintenance and release schedule for more details.

Time to upgrade!

Before you post; make sure you are using at least PHP Version 5.3.x - Also read Support Forum - Read this before posting
RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Check dependencies / recommendations for current install

Postby RealRancor » Tue Sep 02, 2014 7:47 am

Hi,

the current "ownCloud dependencies info" (admin_dependencies_chk) app is not providing all needed dependencies / recommendations as described in the official documentation:

http://doc.owncloud.org/server/7.0/admi ... requisites

I have modified this app to include all needed dependencies as well as all recommendations. Just replace the apps/admin_dependencies_chk/settings.php with the one from here:

https://raw.githubusercontent.com/RealR ... ttings.php

There is a pull request for this changes available here:

https://github.com/owncloud/apps/pull/1905

which probably will be superseded by this new app dependencies (WIP):

https://github.com/owncloud/core/issues/10777
*gone*

bennysoft
Beginner
Posts: 39
Joined: Fri Aug 15, 2014 7:56 pm
ownCloud version: 7.0.2
Webserver: Apache
Database: MySQL
OS: Linux Hosting Package
PHP version: 5.5

Re: Check dependencies / recommendations for current install

Postby bennysoft » Wed Sep 03, 2014 11:32 am

Thank for this enhancement, good work!

I have External storage support activated and I'm missing the check of smbclient in the Dependencies status. (The message "Note: "smbclient" is not installed." is displayed on top of the page.)

RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: Check dependencies / recommendations for current install

Postby RealRancor » Wed Sep 03, 2014 1:30 pm

Hi,

the check for the smbclient is already implemented into the external storage app. There are only checks missing for ffmpeg / iconf missing but i don't want to put more effort in this as it will be replaced by the WIP linked above.
*gone*

bennysoft
Beginner
Posts: 39
Joined: Fri Aug 15, 2014 7:56 pm
ownCloud version: 7.0.2
Webserver: Apache
Database: MySQL
OS: Linux Hosting Package
PHP version: 5.5

Re: Check dependencies / recommendations for current install

Postby bennysoft » Wed Sep 03, 2014 1:40 pm

Rancor wrote:the check for the smbclient is already implemented into the external storage app.

I know, otherwise the quoted sentence would not be displayed. ;-)

RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: Check dependencies / recommendations for current install

Postby RealRancor » Wed Sep 03, 2014 2:39 pm

:)

Had some time and just implemented the checks for the binaries i know to the settings.php:

https://raw.githubusercontent.com/RealR ... ttings.php
*gone*

bennysoft
Beginner
Posts: 39
Joined: Fri Aug 15, 2014 7:56 pm
ownCloud version: 7.0.2
Webserver: Apache
Database: MySQL
OS: Linux Hosting Package
PHP version: 5.5

Re: Check dependencies / recommendations for current install

Postby bennysoft » Wed Sep 03, 2014 6:10 pm

Cool, thank you! :-)

Tamsy
Starter
Posts: 55
Joined: Thu May 24, 2012 8:32 am
ownCloud version: 8.1.3
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 5.6

Re: Check dependencies / recommendations for current install

Postby Tamsy » Thu Sep 04, 2014 2:35 am

Very nice and great work :)

I am missing the checks for Zend Opcache. Starting with PHP 5.5 the Zend Opcache is integrated and shipped with PHP. With Opcache activated there is no need anymore (and it is not recommended) for using any other PHP accelerator.

Regarding PHP accelerators the dependency app is obviously just checking for php-xcache, php-apc and php-apcu. This check should get enhanced to check for a working Zend Opcache alternatively which is working very well on our servers.

A list of PHP accelerators can be found here: https://en.wikipedia.org/wiki/List_of_PHP_accelerators.

RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: Check dependencies / recommendations for current install

Postby RealRancor » Thu Sep 04, 2014 7:13 am

Hi,

no idea about opcache but its not listed in the docs linked above so currently not adding it.
*gone*

Tamsy
Starter
Posts: 55
Joined: Thu May 24, 2012 8:32 am
ownCloud version: 8.1.3
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 5.6

Re: Check dependencies / recommendations for current install

Postby Tamsy » Thu Sep 04, 2014 9:04 am

That is correct: Its not listed in the docs linked above.

Nevertheless, because OPcache gets shipped together with PHP since the >=5.5 series and since it is so easy to install and to activate I am pretty sure a lot of server admin will shift to it sooner or later. Therefore maybe it should get linked in the docs too?

Since we have activated OPcache with our servers we noticed a huge performance boost also with ownCloud.

Info about this: http://php.net/manual/en/intro.opcache.php

RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: Check dependencies / recommendations for current install

Postby RealRancor » Thu Sep 04, 2014 10:33 am

Hi,

maybe ask at the devel mailinglist or the IRC channel #owncloud-dev on freenode if the Opcache is fully supported.
*gone*


  • Similar Topics
    Replies
    Views
    Last post

Return to “ownCloud Community Edition 7.x”

Who is online

Users browsing this forum: No registered users and 1 guest