Can't connect Database Errors Created App via Laravel (PHP)

Topic summary

A developer is encountering database errors when trying to run a Shopify app created using the official Shopify PHP app template from GitHub (https://github.com/Shopify/shopify-app-template-php).

Issue Details:

  • Errors appear when following Shopify’s official instructions
  • A screenshot was shared showing the specific error messages

Proposed Solution:

  • Another user suggests the server startup failure is likely due to a missing SQLite database file
  • Recommended fix: Create an empty file named db.sqlite in the web/storage/ directory from the project root

The discussion remains open, awaiting confirmation whether this solution resolves the connection errors.

Summarized with AI on November 12. AI used: claude-sonnet-4-5-20250929.

The Shopify App Template from GitHub of Shopify as https://github.com/Shopify/shopify-app-template-php

I always get the errors as screenshot when created Shopify App with the Instruction of Shopify

hi @HeisUser ,

Your server may fail to start because of the missing sqlite file in the storage directory.
Try creating an empty file named db.sqlite in you’re /web/storage directory from you’re project root

1 Like