DeeMcCart / CI_PP5_Jeweller

Jewellery website for CI Project 5
0 stars 2 forks source link

[Bug]: Deployment issue cant find sites table #13

Closed DeeMcCart closed 7 months ago

DeeMcCart commented 7 months ago

What happened?

Deployment issue #8 App builds OK in Heroku Got 500 error.
Have added DEBUG=True as an environment/config parameter to allow more detailed troubleshooting. Getting error (screenprint below) related to cant find sites table, allauth and admin logon fail with this error. Think its related to static file paths or setups, have been using whitenoise as a temporary solution to static files, and using collectstatic before deploy.

Screenprint of error issue99-first-deploy-but-allauth-reg-shows-error :

Device-type

Desktop/ laptop (Windows11)

DeeMcCart commented 7 months ago

DMcC 08/02/24 When next deploy was done this was not an issue. First deploy wasnt fully connected to a backend (I was using the reworked PP4 walkthough which uses Whitenoise as a static file collector, but possibly I hadn't connected a database backend fully).

For MVP Deploy (8th Feb) I created an ElephantSQL database backend which was migrated to successfully as part of the build, and which runs successfully without this error occurring. Closing off issue.