oleynikd's avatar

artisan config:cache = database.sqlite does not exist

I'm using sqlite db

After running:

php artisan config:cache

I get this on every route:

InvalidArgumentException in SQLiteConnector.php line 34:
Database (.../storage/database.sqlite) does not exist.
...

Then if:

php artisan config:clear

Everything is back to normal.

Why!?! Please help!

0 likes
5 replies
mikebronner's avatar

How is your cache configured? Wondering if not perhaps the cache driver is set to database, using sqlite, but without you actually having a sqlite database in place. Or perhaps the sqlite location reference is wrong. But it sounds like a config issue.

oleynikd's avatar

My Cache Store is set to file

File path that it prints in exception is a valid path!

oleynikd's avatar

Anyone? I really want to use config cache...

Please or to participate in this conversation.