mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
Add DB migration step to documentation #164
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @joejoepie on GitHub (Oct 3, 2024).
Current Behavior
The basic documentation doesn't include a step to run the database migration.
Expected Behavior
It should probably include it.
Steps to Reproduce
While installing the Pelican panel using the documentation on the website, I ran into the issue when trying to launch the web installer that the sqlite database didn't exist yet. As far as i notice there is no current documentation in the basic steps that tell you you should run the artisan migrate script. This issue is to make the project owners aware of this, unless I'm wrong of course, in which case i apologize for the time wasted reading this text!
Panel Version
1.0.0-beta10
Wings Version
1.0.0-beta5
Games and/or Eggs Affected
No response
Docker Image
No response
Error Logs
No response
Is there an existing issue for this?
@Boy132 commented on GitHub (Oct 3, 2024):
No, that's normal. The web installer will run migrations for you.
These errors about the database file from the logs are from the queue worker. Because it's setup before the web installer part.
@joejoepie commented on GitHub (Oct 3, 2024):
Just want to add that I indeed started the queue worker first, but navigating to the installer (/installer path) provided me with an HTTP 500 error. The logs than clearly showed that this exact issue was due to the sqlite file not existing. Not sure if I did a step out of order, but running migration fixed this issue.
@Shadowfita commented on GitHub (Oct 18, 2024):
I had the same issue. Seemed like nothing was running migrations in the set-up process.