[Owncloud] more than 2TB bug

Michael Gapczynski mtgap at owncloud.com
Sat Jul 28 13:59:02 UTC 2012


You may want to look at this bug: 

http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-965

I believe you have an issue with your PHP configuration.


Michael

On Saturday, July 28, 2012 02:14:49 PM Mathias Döhle wrote:
> hello
> 
> I have install owncloud on  openindiana with a 3,5TB zfs. In
> lib/filestorage/local.php the function free_space fails because of a
> overflow. I have fixed it q'n'd as shown below. So the function allways
> return 2TB as long as the volume is more than this size. That is not
> nice but it works.
> 
> 164         public function free_space($path){
> 165                 $df = null;
> 166                 $df = @disk_free_space($this->datadir.$path);
> 167                 if ($df == null) return 2048000000;
> 168                 else return $df;
> 169         }
> 
> greetings
> matt
> 
> _______________________________________________
> Owncloud mailing list
> Owncloud at kde.org
> https://mail.kde.org/mailman/listinfo/owncloud



More information about the Owncloud mailing list