Urgent : Migration NodeNotFoundError after upgrading djangoldp_account
After upgrading the package in my server install I got this error while executing the runserver command.
I tried to execute the makemigrations
and migrate
if by any chance it helps but no luck.
Detail of the error here:
(venv) balessan@balessan-wpvm:~/workspace/coopstarter/coopstarter$ python manage.py runserver
Performing system checks...
System check identified no issues (0 silenced).
Unhandled exception in thread started by <function check_errors.<locals>.wrapper at 0x7efea01777b8>
Traceback (most recent call last):
File "/home/balessan/workspace/coopstarter/venv/lib/python3.6/site-packages/django/utils/autoreload.py", line 228, in wrapper
fn(*args, **kwargs)
File "/home/balessan/workspace/coopstarter/venv/lib/python3.6/site-packages/django/core/management/commands/runserver.py", line 127, in inner_run
self.check_migrations()
File "/home/balessan/workspace/coopstarter/venv/lib/python3.6/site-packages/django/core/management/base.py", line 422, in check_migrations
executor = MigrationExecutor(connections[DEFAULT_DB_ALIAS])
File "/home/balessan/workspace/coopstarter/venv/lib/python3.6/site-packages/django/db/migrations/executor.py", line 20, in __init__
self.loader = MigrationLoader(self.connection)
File "/home/balessan/workspace/coopstarter/venv/lib/python3.6/site-packages/django/db/migrations/loader.py", line 52, in __init__
self.build_graph()
File "/home/balessan/workspace/coopstarter/venv/lib/python3.6/site-packages/django/db/migrations/loader.py", line 275, in build_graph
raise exc
File "/home/balessan/workspace/coopstarter/venv/lib/python3.6/site-packages/django/db/migrations/loader.py", line 245, in build_graph
self.graph.validate_consistency()
File "/home/balessan/workspace/coopstarter/venv/lib/python3.6/site-packages/django/db/migrations/graph.py", line 261, in validate_consistency
[n.raise_error() for n in self.node_map.values() if isinstance(n, DummyNode)]
File "/home/balessan/workspace/coopstarter/venv/lib/python3.6/site-packages/django/db/migrations/graph.py", line 261, in <listcomp>
[n.raise_error() for n in self.node_map.values() if isinstance(n, DummyNode)]
File "/home/balessan/workspace/coopstarter/venv/lib/python3.6/site-packages/django/db/migrations/graph.py", line 104, in raise_error
raise NodeNotFoundError(self.error_message, self.key, origin=self.origin)
django.db.migrations.exceptions.NodeNotFoundError: Migration djangoldp_account.0009_merge_20190724_0915 dependencies reference nonexistent parent node ('djangoldp_account', '0008_auto_20190614_1356')