Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find sqlite database when upgrading #460

Closed
JonPurvis opened this issue Sep 5, 2023 · 3 comments
Closed

Cannot find sqlite database when upgrading #460

JonPurvis opened this issue Sep 5, 2023 · 3 comments

Comments

@JonPurvis
Copy link

Hey 馃憢

I have a dependabot PR to update Laravel Zero from 10.1.1 to 10.1.2. When my pipeline goes to run the application tests though, it fails with the following error:

Database file at path [/app/database/database.sqlite] does not exist. Ensure this is an absolute path to the database. (Connection: sqlite, SQL: PRAGMA foreign_keys = ON;)

I'm not sure why this would suddenly start failing, unless something has changed in Laravel Zero itself?

Any help would be much appreciated!

Thanks

@owenvoke
Copy link
Member

owenvoke commented Sep 7, 2023

Hi, do you have an example repository where this is happening? Or is this a private repo? 馃檪

As far as I know, nothing has changed in terms of paths. There have only been a few minor dependency updates, a Pint update, and some small fixes.

@JonPurvis
Copy link
Author

Sorry for the delay in getting back to this @owenvoke

It's still an issue and it's on a private repo. However, I'll create a new project later today and see if I can replicate and if I can, I'll push it to a public repo.

Thanks!

@JonPurvis
Copy link
Author

Hey @owenvoke 馃憢

Just thought I'd jump back in here to let you know I've resolved the issue. Turns out I was missing some values that needed specifying in the phpunit.xml file. Still unsure why it was an update to this package that needed me to add them as it worked fine before 馃槅

At least it's one less thing for me to worry about now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants