Created
December 20, 2019 17:14
-
-
Save hanetzer/18a5cd3c2a661ba8d2cce1a0e6561bb7 to your computer and use it in GitHub Desktop.
$ docker-compose logs dashboard;
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ docker-compose logs dashboard | |
Some services (celery, celerybeat, controller, daphne, dashboard, freeradius, nginx, postfix, postgres, radius, redis, topology, websocket) use the 'deploy' key, which will be ignored. Compose does not support 'deploy' configuration - use `docker stack deploy` to deploy to a swarm. | |
Attaching to docker-openwisp_dashboard_1 | |
[36mdashboard_1 |[0m Waiting for database to become available... | |
[36mdashboard_1 |[0m Connection with database established. | |
[36mdashboard_1 |[0m Waiting for redis to become available... | |
[36mdashboard_1 |[0m Connection with redis established. | |
[36mdashboard_1 |[0m Operations to perform: | |
[36mdashboard_1 |[0m Apply all migrations: account, admin, auth, authtoken, config, connection, contenttypes, geo, openwisp_radius, openwisp_users, pki, reversion, sessions, sites, socialaccount, topology | |
[36mdashboard_1 |[0m Running migrations: | |
[36mdashboard_1 |[0m Traceback (most recent call last): | |
[36mdashboard_1 |[0m File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 82, in _execute | |
[36mdashboard_1 |[0m return self.cursor.execute(sql) | |
[36mdashboard_1 |[0m psycopg2.errors.DuplicateTable: relation "reversion_revision" already exists | |
[36mdashboard_1 |[0m | |
[36mdashboard_1 |[0m | |
[36mdashboard_1 |[0m The above exception was the direct cause of the following exception: | |
[36mdashboard_1 |[0m | |
[36mdashboard_1 |[0m Traceback (most recent call last): | |
[36mdashboard_1 |[0m File "manage.py", line 9, in <module> | |
[36mdashboard_1 |[0m execute_from_command_line(sys.argv) | |
[36mdashboard_1 |[0m File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line | |
[36mdashboard_1 |[0m utility.execute() | |
[36mdashboard_1 |[0m File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute | |
[36mdashboard_1 |[0m self.fetch_command(subcommand).run_from_argv(self.argv) | |
[36mdashboard_1 |[0m File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv | |
[36mdashboard_1 |[0m self.execute(*args, **cmd_options) | |
[36mdashboard_1 |[0m File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute | |
[36mdashboard_1 |[0m output = self.handle(*args, **options) | |
[36mdashboard_1 |[0m File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 83, in wrapped | |
[36mdashboard_1 |[0m res = handle_func(*args, **kwargs) | |
[36mdashboard_1 |[0m File "/usr/local/lib/python3.7/site-packages/django/core/management/commands/migrate.py", line 234, in handle | |
[36mdashboard_1 |[0m fake_initial=fake_initial, | |
[36mdashboard_1 |[0m File "/usr/local/lib/python3.7/site-packages/django/db/migrations/executor.py", line 117, in migrate | |
[36mdashboard_1 |[0m state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial) | |
[36mdashboard_1 |[0m File "/usr/local/lib/python3.7/site-packages/django/db/migrations/executor.py", line 147, in _migrate_all_forwards | |
[36mdashboard_1 |[0m state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial) | |
[36mdashboard_1 |[0m File "/usr/local/lib/python3.7/site-packages/django/db/migrations/executor.py", line 245, in apply_migration | |
[36mdashboard_1 |[0m state = migration.apply(state, schema_editor) | |
[36mdashboard_1 |[0m File "/usr/local/lib/python3.7/site-packages/django/db/migrations/migration.py", line 124, in apply | |
[36mdashboard_1 |[0m operation.database_forwards(self.app_label, schema_editor, old_state, project_state) | |
[36mdashboard_1 |[0m File "/usr/local/lib/python3.7/site-packages/django/db/migrations/operations/models.py", line 92, in database_forwards | |
[36mdashboard_1 |[0m schema_editor.create_model(model) | |
[36mdashboard_1 |[0m File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/schema.py", line 307, in create_model | |
[36mdashboard_1 |[0m self.execute(sql, params or None) | |
[36mdashboard_1 |[0m File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/schema.py", line 137, in execute | |
[36mdashboard_1 |[0m cursor.execute(sql, params) | |
[36mdashboard_1 |[0m File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 67, in execute | |
[36mdashboard_1 |[0m return self._execute_with_wrappers(sql, params, many=False, executor=self._execute) | |
[36mdashboard_1 |[0m File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 76, in _execute_with_wrappers | |
[36mdashboard_1 |[0m return executor(sql, params, many, context) | |
[36mdashboard_1 |[0m File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 84, in _execute | |
[36mdashboard_1 |[0m return self.cursor.execute(sql, params) | |
[36mdashboard_1 |[0m File "/usr/local/lib/python3.7/site-packages/django/db/utils.py", line 89, in __exit__ | |
[36mdashboard_1 |[0m raise dj_exc_value.with_traceback(traceback) from exc_value | |
[36mdashboard_1 |[0m File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 82, in _execute | |
[36mdashboard_1 |[0m return self.cursor.execute(sql) | |
[36mdashboard_1 |[0m django.db.utils.ProgrammingError: relation "reversion_revision" already exists | |
[36mdashboard_1 |[0m | |
[36mdashboard_1 |[0m Applying reversion.0001_squashed_0004_auto_20160611_1202... | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment