Your message dated Sat, 13 Dec 2014 14:15:30 -0400
with message-id <[email protected]>
and subject line Re: [Pkg-owncloud-maintainers] Bug#773052: owncloud: White 
page (web admin broken) if "External storage support" app is enabled, also 
breaks CardDAV, CalDAV, WebDAV
has caused the Debian Bug report #773052,
regarding owncloud: White page (web admin broken) if "External storage support" 
app is enabled, also breaks CardDAV, CalDAV, WebDAV
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
773052: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=773052
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: owncloud
Version: 7.0.3+dfsg-1
Severity: important



Debian Testing (as of 2014-12-13), Owncloud v. 7.0.3+dfsg-1

After enabling the "External storage support" application, access to the web 
admin interface is lost and CalDav/CardDav (and possibly WebDAV will stop 
responding.

In /var/log/apache2/error.log you will see repeating errors such as:

[Sat Dec 13 12:23:51.430988 2014] [:error] [pid 686] [client 
192.168.35.10:40562] PHP Fatal error:  require_once(): Failed opening required 
'Dropbox/autoload.php' 
(include_path='/usr/share/owncloud/lib/private:/usr/share/owncloud/config:/usr/share/owncloud/3rdparty:/usr/share/owncloud/apps:/usr/share/owncloud/lib:.:/usr/share/php:/usr/share/pear:/usr/share/owncloud:/usr/share/owncloud/apps/search_lucene/3rdparty')
 in /usr/share/owncloud/apps/files_external/lib/dropbox.php on line 25, 
referer: http://192.168.35.140/owncloud/index.php/settings/apps?installed
[Sat Dec 13 12:23:55.531979 2014] [:error] [pid 687] [client 
192.168.35.10:40564] PHP Fatal error:  require_once(): Failed opening required 
'Dropbox/autoload.php' 
(include_path='/usr/share/owncloud/lib/private:/usr/share/owncloud/config:/usr/share/owncloud/3rdparty:/usr/share/owncloud/apps:/usr/share/owncloud/lib:.:/usr/share/php:/usr/share/pear:/usr/share/owncloud:/usr/share/owncloud/apps/search_lucene/3rdparty')
 in /usr/share/owncloud/apps/files_external/lib/dropbox.php on line 25, 
referer: http://192.168.35.140/owncloud/index.php/settings/apps?installed
[Sat Dec 13 12:24:06.309946 2014] [:error] [pid 684] [client 
192.168.35.10:40567] PHP Fatal error:  require_once(): Failed opening required 
'Dropbox/autoload.php' 
(include_path='/usr/share/owncloud/lib/private:/usr/share/owncloud/config:/usr/share/owncloud/3rdparty:/usr/share/owncloud/apps:/usr/share/owncloud/lib:.:/usr/share/php:/usr/share/pear:/usr/share/owncloud:/usr/share/owncloud/apps/search_lucene/3rdparty')
 in /usr/share/owncloud/apps/files_external/lib/dropbox.php on line 25
[Sat Dec 13 12:24:08.040422 2014] [:error] [pid 701] [client 
192.168.35.10:40568] PHP Fatal error:  require_once(): Failed opening required 
'Dropbox/autoload.php' 
(include_path='/usr/share/owncloud/lib/private:/usr/share/owncloud/config:/usr/share/owncloud/3rdparty:/usr/share/owncloud/apps:/usr/share/owncloud/lib:.:/usr/share/php:/usr/share/pear:/usr/share/owncloud:/usr/share/owncloud/apps/search_lucene/3rdparty')
 in /usr/share/owncloud/apps/files_external/lib/dropbox.php on line 25

It's bad enough the web admin access is lost, but this also results in complete 
loss of access to calendars, address books, webdav files and possibly other 
services for any and all configured users.

Steps to reproduce:
1) Install Debian Testing using net-install, with no desktop environment
2) sudo apt-get install owncloud --no-install-recommends
3) sudo apt-get install mysql-server
4) Access the web interface at http://localhost/owncloud, configure as usual, 
login
5) Enable "External storage support", the try to logout

Access to the web interface is lost, CardDAV/CalDAV stop responding, WebDAV 
access reports "Internal server error" to Gnome/nautilus clients

Workaround:

1) Edit /usr/share/owncloud/apps/files_external/lib/dropbox.php and comment out 
this line:

#require_once 'Dropbox/autoload.php';

2) Attempting to gain access again through the web admin interface will 
generate more error messages in /var/log/apache2/error.log such as:

[Sat Dec 13 12:27:41.202201 2014] [:error] [pid 695] [client 
192.168.35.10:40575] PHP Fatal error:  require_once(): Failed opening required 
'Google_Client.php' 
(include_path='/usr/share/owncloud/lib/private:/usr/share/owncloud/config:/usr/share/owncloud/3rdparty:/usr/share/owncloud/apps:/usr/share/owncloud/lib:.:/usr/share/php:/usr/share/pear:/usr/share/owncloud:/usr/share/owncloud/apps/search_lucene/3rdparty:/usr/share/php/google-api-php-client/src')
 in /usr/share/owncloud/apps/files_external/lib/google.php on line 26
[Sat Dec 13 12:27:44.250575 2014] [:error] [pid 688] [client 
192.168.35.10:40576] PHP Fatal error:  require_once(): Failed opening required 
'Google_Client.php' 
(include_path='/usr/share/owncloud/lib/private:/usr/share/owncloud/config:/usr/share/owncloud/3rdparty:/usr/share/owncloud/apps:/usr/share/owncloud/lib:.:/usr/share/php:/usr/share/pear:/usr/share/owncloud:/usr/share/owncloud/apps/search_lucene/3rdparty:/usr/share/php/google-api-php-client/src')
 in /usr/share/owncloud/apps/files_external/lib/google.php on line 26
[Sat Dec 13 12:27:45.794097 2014] [:error] [pid 3749] [client 
192.168.35.10:40577] PHP Fatal error:  require_once(): Failed opening required 
'Google_Client.php' 
(include_path='/usr/share/owncloud/lib/private:/usr/share/owncloud/config:/usr/share/owncloud/3rdparty:/usr/share/owncloud/apps:/usr/share/owncloud/lib:.:/usr/share/php:/usr/share/pear:/usr/share/owncloud:/usr/share/owncloud/apps/search_lucene/3rdparty:/usr/share/php/google-api-php-client/src')
 in /usr/share/owncloud/apps/files_external/lib/google.php on line 26

Edit /usr/share/owncloud/apps/files_external/lib/google.php and comment out 
these lines:

#require_once 'Google_Client.php';
#require_once 'contrib/Google_DriveService.php';

3) Reload the web admin interface, you will have access again. Login as usual, 
disable the "External storage support" application

4) Optionally restore the files you modified to their previous state - don't 
enable the app again.


-- System Information:
Debian Release: 8.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages owncloud depends on:
ii  apache2 [httpd]                                     2.4.10-8
ii  fonts-font-awesome                                  4.2.0~dfsg-1
ii  fonts-liberation                                    1.07.4-1
ii  fonts-linuxlibertine                                5.3.0-2
ii  fonts-lohit-deva                                    2.5.3-1
ii  fonts-sil-gentium-basic                             1.1-7
ii  fonts-wqy-microhei                                  0.2.0-beta-2
ii  libjs-chosen                                        0.9.11-2
ii  libjs-dojo-dojox                                    1.10.2+dfsg-1
ii  libjs-jcrop                                         0.9.12+dfsg-1
ii  libjs-jquery-minicolors                             1.2.1-1
ii  libjs-jquery-mousewheel                             10-1
ii  libjs-jquery-timepicker                             1.2-1
ii  libjs-mediaelement                                  2.15.1+dfsg-1
ii  libjs-pdf                                           1.0.907+dfsg-1
ii  libjs-underscore                                    1.7.0~dfsg-1
ii  libphp-phpmailer                                    5.2.9+dfsg-2
ii  owncloud-doc                                        0~20141107-1
ii  php-assetic                                         1.2.0-2
ii  php-doctrine-dbal                                   2.4.3-1
ii  php-getid3                                          1.9.8-3
ii  php-opencloud                                       1.10.0-2
ii  php-patchwork-utf8                                  1.1.25-1
ii  php-pear                                            5.6.2+dfsg-1
ii  php-pimple                                          1.1.1-1
ii  php-sabre-dav                                       1.8.10-2
ii  php-seclib                                          0.3.8-1
ii  php-symfony-class-loader [php-symfony-classloader]  2.3.21+dfsg-1
ii  php-symfony-classloader                             2.3.21+dfsg-1
ii  php-symfony-console                                 2.3.21+dfsg-1
ii  php-symfony-routing                                 2.3.21+dfsg-1
ii  php5                                                5.6.2+dfsg-1
ii  php5-gd                                             5.6.2+dfsg-1
ii  php5-json                                           1.3.6-1
ii  php5-mysql                                          5.6.2+dfsg-1
ii  zendframework                                       1.12.9+dfsg-2

Versions of packages owncloud recommends:
ii  exim4                                      4.84-3
ii  exim4-daemon-light [mail-transport-agent]  4.84-3
pn  php-aws-sdk                                <none>
pn  php-crypt-blowfish                         <none>
pn  php-dropbox                                <none>
pn  php-google-api-php-client                  <none>
pn  php5-apcu | php5-xcache                    <none>
ii  php5-cli                                   5.6.2+dfsg-1
ii  php5-curl                                  5.6.2+dfsg-1
pn  php5-intl                                  <none>
pn  php5-ldap                                  <none>
pn  php5-mcrypt                                <none>
pn  smbclient                                  <none>

Versions of packages owncloud suggests:
pn  libapache2-mod-xsendfile                 <none>
pn  libav-tools                              <none>
pn  libreoffice                              <none>
ii  mysql-server                             5.5.40-1
ii  mysql-server-5.5 [virtual-mysql-server]  5.5.40-1
pn  php5-imagick                             <none>

-- Configuration Files:
/etc/owncloud/htaccess [Errno 13] Permission denied: u'/etc/owncloud/htaccess'

-- no debconf information

--- End Message ---
--- Begin Message ---
Hi,

Thanks for your interest in this Debian package.

> Package: owncloud


> Steps to reproduce:

> 2) sudo apt-get install owncloud --no-install-recommends

Use this option at your own risks.

>From /usr/share/doc/owncloud/README.Debian.gz

Additional packages
-------------------

Some non-default features are only available if the proper dependencies
are installed. Please refer to the upstream administration documentation
for the configuration.

Recommended packages
~~~~~~~~~~~~~~~~~~~~

[…]

Some apps, not enabled by default, need the following dependencies:
[…]
        - files_external:       php-aws-sdk
                                php-dropbox
                                php-google-api-php-client

> 5) Enable "External storage support", the try to logout

Administrators willing to use non default installation should read the
provided documentation, not sure much can be improved on the package side,
sorry.

Regards

David.

--- End Message ---

Reply via email to