Hi montes2012,
How did you install Laravel? Using composer install from the git repository or with the full package?
Please, see the vendor folder size and comment us.
Hi montes2012,
I think you could have some assets folders in your public that increase your project size (icons, images, ...)
app =724 elementos, 153,3 MB en total
bootstrap = 3 elementos, 6,4 KiB en total
public = 167 elements, 5,6 MB en total
vendor = 4.926 elements, 21,6 MB en total
AND
app/storage
374 elements, 152,4 MB en total
app/storage/logs
144 elements, 151,7 MB en total
Ok,
Maybe you was saving in your storage logs because you have any option in your project.
I have a project with only 1 log file in that folder (laravel.log).
Review this folder and clear a few.
What Composer command did you run? Did you include the --prefer-dist option? If not, it likely downloaded the Git history for the whole project.
is dangerous for proper operation if I delete all log files
Always install so laravel
composer create-project laravel/laravel your-project-name --prefer-dist
installing as it should?
What exactly is in app/storage/logs ?
Is it just a file full of errors?
many files
log-apache2handler-2014-05-04.txt
[2014-05-04 11:52:42] log.ERROR: exception 'Symfony\Component\HttpKernel\Exception\NotFoundHttpException' in /var/www/html/volcano/vendor/laravel/framework/src/Illuminate/Routing/Router.php:1429 Stack trace: #0 /var/www/html/volcano/vendor/laravel/framework/src/Illuminate/Routing/Router.php(1050): Illuminate\Routing\Router->handleRoutingException(Object(Symfony\Component\Routing\Exception\ResourceNotFoundException)) #1 /var/www/html/volcano/vendor/laravel/framework/src/Illuminate/Routing/Router.php(1014): Illuminate\Routing\Router->findRoute(Object(Illuminate\Http\Request)) #2 /var/www/html/volcano/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(576): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request)) #3 /var/www/html/volcano/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(552): Illuminate\Foundation\Application->dispatch(Object(Illuminate\Http\Request))
You should probably figure out why you're getting so many errors logged. Are there missing images causing the HttpNotFoundExceptions?
Those errors are making the file size massive. You can probably clear them if you think you have no more errors.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community