flowspy
flowspy copied to clipboard
Unknown table peers_networks
Using branch django18upgrade
, I get the following error:
OperationalError at /admin/peers/peer/add/
no such table: peer_networks
Request Method: POST
Request URL: http://localhost:8000/admin/peers/peer/add/
Django Version: 1.8
Exception Type: OperationalError
Exception Value:
no such table: peer_networks
Steps to reproduce:
- in admin add new peer range
- in admin add new peer with the chosen new peer range
showmigrations
says that all migrations are done, so I assume something is missing there.
Can you see the same error?
Any news?
Is this a new setup? Or did you upgrade from the previous (1.4) version?
I tried to create a completely new installation in VM.
I have identified the issue. It seems that some migrations were missing, but in our case this did not appear since we only tested upgrading the project, in which scenario the missing fields (or tables, in that case) the migrations needed to create were already there. I am working on a detailed fix right now. Your issue should be resolved if you run
./manage.py makemigrations
./manage.py migrate
or you could wait for the fix.
@cejkato2 I have merged the fixes. Please give them a check and let me know.