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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clean install of new version picks up old database? #134

Open
bnlawrence opened this issue May 25, 2024 · 0 comments
Open

clean install of new version picks up old database? #134

bnlawrence opened this issue May 25, 2024 · 0 comments

Comments

@bnlawrence
Copy link
Collaborator

I have done a completely new install using a fresh clone of the repository.
An attempt to run the viewer in testing gives:

python manage.py runserver      
Watching for file changes with StatReloader
Performing system checks...

System check identified no issues (0 silenced).

You have 18 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth, contenttypes, sessions.
Run 'python manage.py migrate' to apply them.
...

Presumably it has found an old version of the database? Probably best not to be using a user home directory for a server database? And for the client tools, we probably ought to check the version of the user database and compare the code version so that users don't get horrible surprises

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

No branches or pull requests

1 participant