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

no such table: django_site #5

Open
andytwoods opened this issue Apr 16, 2020 · 3 comments
Open

no such table: django_site #5

andytwoods opened this issue Apr 16, 2020 · 3 comments

Comments

@andytwoods
Copy link

Hi there,
awesome project this :)
I suspect I need to add some specific S3 extra_permissions to get access to the bucket containing the sqlite file. Will report back as soon as i crack this.

PS here's my own zappa specific add on :) https://github.com/andytwoods/zappa-call-later

@andytwoods
Copy link
Author

OK think I figured this out.
I was running the below but getting odd errors:
python manage.py migrate --settings=xperiment.settings.production

When I start from scratch (deleting the sqlite file in my s3 created from above), and run the below, all good (n.b. 'production' is just the staging name I gave my zappa project):
zappa manage production migrate

I'll pull-request some mods to your docs, which might help people in the future, regarding my issue.
cheers,
Andy.

@amitfriedman93
Copy link

Hi Andy,
I tried to run: zappa manage [instance] s3_sqlite_vacuum, but I always get "Task timed out" error.
Do you happen to know why?
Thanks a lot!

@andytwoods
Copy link
Author

Afraid I've cant really get this project to work. My DB wipes everytime I Zappa Deploy. Will explore in the future.

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

2 participants