Shopify / Shopify/shopify-app-template-php

Database (storage/db.sqlite) does not exist.

Open
#432 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
340
Forks
108
PR merge metrics
No merged PRs in 30d

Description

Issue summary

Write a short description of the issue here ↓
I'am creating a new app. At first installation I'm getting this error
Database (storage/db.sqlite) does not exist. (SQL: PRAGMA foreign_keys = ON;)

Migrations ran perfectly and tinker is also working.
I'm using Laravel.
Note: All cache cleared and server restarted

Expected behavior

It should find database with default doc settings.

What do you think should happen?

Actual behavior

Throwing error db not found
What actually happens?

Tip: include an error message (in a <details></details> tag) if your issue is related to an error

Steps to reproduce the problem

Reduced test case

The best way to get your bug fixed is to provide a reduced test case.


Checklist

  • I have described this issue in a way that is actionable (if possible)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by checking the first-install path and whether storage/db.sqlite exists when the error occurs; the issue says migrations and Tinker work but provides no concrete reproduction steps. Compare those behaviors with the default database settings and confirm the expected behavior by completing a fresh installation without the missing-database error.

Written by the indexing model from the issue text.

Assessment

Tech stack
laravel, php, sqlite
Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.