Conflicting migrations error when installing a server from scratch
I tried to setup a new server using the sib-manager and got a migration error on djangoldp-circle:
[ERROR]: Django migration failed: Conflicting migrations detected; multiple leaf nodes in the migration graph: (0014_auto_20200506_1517, 0002_circle_urlid in djangoldp_circle).
To fix them run 'python manage.py makemigrations --merge'
Traceback (most recent call last):
File "/home/balessan/.local/bin/sib", line 11, in <module>
sys.exit(main())
File "/home/balessan/.local/lib/python3.6/site-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/home/balessan/.local/lib/python3.6/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/home/balessan/.local/lib/python3.6/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/balessan/.local/lib/python3.6/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/balessan/.local/lib/python3.6/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/balessan/.local/lib/python3.6/site-packages/sib/cli.py", line 67, in install
project.load()
File "/home/balessan/.local/lib/python3.6/site-packages/sib/project.py", line 183, in load
management.call_command('migrate', interactive=False)
File "/home/balessan/.local/lib/python3.6/site-packages/django/core/management/__init__.py", line 131, in call_command
return command.execute(*args, **defaults)
File "/home/balessan/.local/lib/python3.6/site-packages/django/core/management/base.py", line 330, in execute
output = self.handle(*args, **options)
File "/home/balessan/.local/lib/python3.6/site-packages/django/core/management/commands/migrate.py", line 99, in handle
"'python manage.py makemigrations --merge'" % name_str
django.core.management.base.CommandError: Conflicting migrations detected; multiple leaf nodes in the migration graph: (0014_auto_20200506_1517, 0002_circle_urlid in djangoldp_circle).
To fix them run 'python manage.py makemigrations --merge'
Running the advised python3 manage.py makemigrations --merge
fixed it but I think it should be fixed.