[Pkg-owncloud-maintainers] Bug#677159: Bug#677159: owncloud: Uploading tar file crash the app, workaround provided

Thomas Müller thomas.mueller at tmit.eu
Mon Jun 11 23:07:43 UTC 2012


Looks like we need to patch /usr/share/owncloud/lib/archive/tar.php and change

require_once '3rdparty/Archive/Tar.php';

to

require_once 'Archive/Tar.php';


In addition we need to report this upstream as this breaks the concept of moving the 3rdparty folder.


Tom



Am Dienstag, dem 12.06.2012 um 0:47 schrieb Philippe Coval:
> Package: owncloud
> Version: 4.0.1debian-2
> Severity: normal
> 
> Dear Maintainer, have a look a its dependencies
> 
>    * What led up to the situation?
> 
> Upload a tar.gz file then error 500 is risen
> 
> 
> In apache log
> 
>    [Tue Jun 12 00:33:01 2012] [error] [client 127.0.0.1] 
>    PHP Fatal error:  
>    require_once(): 
>    Failed opening required '3rdparty/Archive/Tar.php' 
>    (include_path='/usr/share/owncloud/lib:/usr/share/owncloud/config:/usr/share/owncloud/3rdparty:/usr/share/owncloud:/usr/share/owncloud/apps:/usr/share/owncloud/lib:.:/usr/share/php:/usr/share/pear:/usr/share/owncloud') in /usr/share/owncloud/lib/archive/tar.php on line 9, referer: http://localhost/owncloud/?app=media
> 
> 
> Workaround is :
> 
>   ln -fs /usr/share/php/Archive /usr/share/owncloud/3rdparty/Archive
> 
> 
> -- System Information:
> Debian Release: wheezy/sid
>   APT prefers stable-updates
>   APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 3.3.6lenovog470+ (SMP w/4 CPU cores)
> Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
> Shell: /bin/sh linked to /bin/dash
> 
> Versions of packages owncloud depends on:
> ii  apache2                      2.2.22-6
> ii  apache2-mpm-prefork [httpd]  2.2.22-6
> ii  libjs-jquery                 1.7.2+debian-1
> ii  libjs-jquery-jplayer         2.1.0-1
> ii  libjs-jquery-ui              1.8.ooops.20+dfsg-1
> ii  libphp-phpmailer             5.1-1
> ii  owncloud-sqlite              4.0.1debian-2
> ii  php-crypt-blowfish           1.1.0~RC2-1
> ii  php-getid3                   1.9.3-1
> ii  php-mdb2                     2.5.0b3-2
> ii  php-mdb2-schema              0.8.5-1
> ii  php-pear                     5.4.4~rc2-1
> ii  php-sabredav                 1.6.2-3
> ii  php-xml-parser               1.3.4-6
> ii  php5                         5.4.4~rc2-1
> ii  php5-curl                    5.4.4~rc2-1
> ii  php5-gd                      5.4.4~rc2-1
> 
> Versions of packages owncloud recommends:
> ii  exim4                                      4.80-3
> ii  exim4-daemon-light [mail-transport-agent]  4.80-3
> 
> owncloud suggests no packages.
> 
> -- Configuration Files:
> /etc/owncloud/htaccess changed [not included]
> 
> -- no debconf information
> 
> 
> 
> _______________________________________________
> Pkg-owncloud-maintainers mailing list
> Pkg-owncloud-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-owncloud-maintainers





More information about the Pkg-owncloud-maintainers mailing list