-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No Debugbar Storage found.. when php artisan debugbar:clear #247
Comments
Do you have the correct environment set on Artisan? Try |
Yes, I have an incorrect envioronment set on artisan. I have production envioronment. I'm working actually in local. I tried this command, php artisan debugbar:clear --env=local. But same result. No Debugbar Storage found.. |
Yes, I also have this issue, even though the /storage/debugbar folder exists with I only stumbled upon this because I'm getting a 500 when the debugbar tries to load something like this: |
I'm also getting this error when I run the artisan command. My env is local. I don't have any storage/debugbar folder. It's an app that I've just migrated to Laravel 5 from v4. Any ideas? |
I found the issue, in the service provider in line 62 you have this:
So when the following check happens
|
@barryvdh I'm experiencing the same error. Published package config Project directory (storage folder exists) Artisan output Any ideas? |
Same for me. |
I have the same issue when migrating to my live Forge server. The .json files are there in the debugbar directory in storage, the APP_ENV=local, and APP_DEBUG=true. Works great on my local machine. When I hit f12 it tells me that the resources will not load. But if I view the source, it shows the typical debugbar mumbo jumbo on the bottom. |
|
Fixed by booting the storage before clearing. |
When I execute the command 'php artisan debugbar:clear' I get an error, No Debugbar Storage found..
If I hardcode the class ClearCommand to set the storage manually it works perfect.
public function fire()
{
/* Added Code
$storage = new FilesystemStorage($this->debugbar->app['files'], storage_path() . '/debugbar');
$this->debugbar->setStorage($storage);
*/
if ($storage = $this->debugbar->getStorage()) {
$storage->clear();
$this->info('Debugbar Storage cleared!');
} else {
$this->error('No Debugbar Storage found..');
}
}
Thanks
The text was updated successfully, but these errors were encountered: