[Answered ]-Sqlite3.OperationalError: no such table: django_site__old

1πŸ‘

βœ…

This is related to this issue in Django: https://code.djangoproject.com/ticket/29182.
It is caused by a new behavior introduced in sqlite 3.26.
Django has patched it in latest 2.0 and 2.1, but mezzanine does not support Django 2 yet.

The easiest fix is to not use sqlite – switch to postgres, mysql, etc. Alternatively, downgrade sqlite to < 3.26

https://github.com/stephenmcd/mezzanine/issues/1910

πŸ‘€user8588795

0πŸ‘

I had the same issue in a github action and I had to tweak the ubuntu version to get the preinstalled sqlite version that would work. What fixed the issue for me was to change this line:

runs-on: ubuntu-latest

to

runs-on: ubuntu-18.04

Got the ubuntu version containing the sqlite version I needed here: https://packages.ubuntu.com/search?keywords=sqlite3.

πŸ‘€obotezat

Leave a comment