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

Timeseries_dataset does not exist #23

Closed
A-Helberg opened this issue Oct 12, 2023 · 9 comments
Closed

Timeseries_dataset does not exist #23

A-Helberg opened this issue Oct 12, 2023 · 9 comments

Comments

@A-Helberg
Copy link

When using the docker-compose setup,
once a coverage report has been uploaded

This error occurs (repeatedly) on the api container

File "/usr/local/lib/python3.9/site-packages/django/db/backends/utils.py", line 89, in _execute
    return self.cursor.execute(sql, params)\npsycopg2.errors.UndefinedTable: relation "timeseries_dataset" does not exist
@cospotato
Copy link

Same issue here

@cospotato
Copy link

Hi @chadwhitacre , please take a look

@sondt-1245
Copy link

I saw the timeseries's migrations was applied but there are no tables created.

@1mini2
Copy link

1mini2 commented Oct 25, 2023

same issue here 🥲

@eriksobolt
Copy link

getting the same error on a fresh deploy

@chadwhitacre
Copy link
Member

Can you help with this @eliatcodecov @trent-codecov?

@thereallukl
Copy link

Exec into codecov-api container and run python manage.py migrate --database timeseries

For some reason django automatically only executes migrations on default db (even though it says that all migrations were executed)

@eliatcodecov
Copy link
Contributor

ah. Thanks @thereallukl ! It might be worth including this in our Run Codecov section of the docs, @trent-codecov . wdyt?

@eliatcodecov
Copy link
Contributor

I've updated the Codecov documentation to point to this error and its solution posted by @thereallukl. I believe this issue can now be closed.

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

8 participants