Closed whendy closed 7 years ago
Hi, I have folder uploads total size 30GB ( 13.000+- files, when I trying load/read files listing, Always got error 504 and 404 ( test under 1GB, workly ).
not working https://github.com/barryvdh/laravel-elfinder/issues/43#issuecomment-77387797
Thank.
OS : centos 7 minimalis. webserver : nginx (cluster)
folowing : https://github.com/barryvdh/elfinder-flysystem-driver
https://github.com/thephpleague/flysystem
https://packagist.org/packages/league/flysystem-cached-adapter
'roots' => [ [ 'driver' => 'Flysystem', 'path' => '/', 'URL' => $config['base_url'].'uploads/', 'filesystem' => new \League\Flysystem\Filesystem(new \League\Flysystem\Adapter\Local('uploads')), 'cache' => 'session', // 'session', 'memory' or false 'accessControl' => 'Barryvdh\Elfinder\Elfinder::checkAccess', 'autoload' => true, 'attributes' => [ [ //'pattern' => '/^.*\.(jpg|jpeg|png|gif|pdf|docs|doc|xls|mp4|3gp|mov)$/i', //You can also set permissions for file types by adding, for example, .jpg inside pattern. 'read' => true, 'write' => true, 'locked' => false ] ] ] ],
Hi, I have folder uploads total size 30GB ( 13.000+- files, when I trying load/read files listing, Always got error 504 and 404 ( test under 1GB, workly ).
not working https://github.com/barryvdh/laravel-elfinder/issues/43#issuecomment-77387797
Thank.
OS : centos 7 minimalis. webserver : nginx (cluster)
SOLVED
folowing : https://github.com/barryvdh/elfinder-flysystem-driver
https://github.com/thephpleague/flysystem
https://packagist.org/packages/league/flysystem-cached-adapter
elFinder Config