Advertisement
neclud

Untitled

Sep 24th, 2018
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.33 KB | None | 0 0
  1. ➜ redis su - app
  2. nvm is not compatible with the npm config "prefix" option: currently set to "/srv/app/.npm-packages"
  3. Run `npm config delete prefix` or `nvm use --delete-prefix v9.8.0 --silent` to unset it.
  4. nvm is not compatible with the npm config "prefix" option: currently set to "/srv/app/.npm-packages"
  5. Run `npm config delete prefix` or `nvm use --delete-prefix v9.8.0 --silent` to unset it.
  6. (venv) app@m5523  ~/code   master  ./manage.py migrate
  7. /srv/app/venv/lib/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
  8. """)
  9. Operations to perform:
  10. Apply all migrations: account, admin, auth, contenttypes, core, coupons, django_slack_oauth, order_maker, platron, robots, sessions, sites, socialaccount, tracking
  11. Running migrations:
  12. Applying contenttypes.0001_initial... OK
  13. Applying auth.0001_initial... OK
  14. Applying account.0001_initial... OK
  15. Applying account.0002_email_max_length... OK
  16. Applying admin.0001_initial... OK
  17. Applying admin.0002_logentry_remove_auto_add... OK
  18. Applying contenttypes.0002_remove_content_type_name... OK
  19. Applying auth.0002_alter_permission_name_max_length... OK
  20. Applying auth.0003_alter_user_email_max_length... OK
  21. Applying auth.0004_alter_user_username_opts... OK
  22. Applying auth.0005_alter_user_last_login_null... OK
  23. Applying auth.0006_require_contenttypes_0002... OK
  24. Applying auth.0007_alter_validators_add_error_messages... OK
  25. Applying auth.0008_alter_user_username_max_length... OK
  26. Applying coupons.0001_initial... OK
  27. Applying coupons.0002_coupon_valid_until... OK
  28. Applying coupons.0003_auto_20150416_0617... OK
  29. Applying coupons.0004_auto_20151105_1456... OK
  30. Applying coupons.0005_auto_20151105_1502... OK
  31. Applying coupons.0006_auto_20151105_1509... OK
  32. Applying coupons.0007_auto_20151105_2328... OK
  33. Applying platron.0001_squashed_0008_change_default_currency... OK
  34. Applying core.0001_squashed_0049_itunes_trending_searches...Traceback (most recent call last):
  35. File "/srv/app/venv/lib/python3.6/site-packages/django/db/backends/utils.py", line 62, in execute
  36. return self.cursor.execute(sql)
  37. psycopg2.ProgrammingError: permission denied to create extension "intarray"
  38. HINT: Must be superuser to create this extension.
  39.  
  40.  
  41. The above exception was the direct cause of the following exception:
  42.  
  43. Traceback (most recent call last):
  44. File "./manage.py", line 10, in <module>
  45. execute_from_command_line(sys.argv)
  46. File "/srv/app/venv/lib/python3.6/site-packages/django/core/management/__init__.py", line 364, in execute_from_command_line
  47. utility.execute()
  48. File "/srv/app/venv/lib/python3.6/site-packages/django/core/management/__init__.py", line 356, in execute
  49. self.fetch_command(subcommand).run_from_argv(self.argv)
  50. File "/srv/app/venv/lib/python3.6/site-packages/django/core/management/base.py", line 283, in run_from_argv
  51. self.execute(*args, **cmd_options)
  52. File "/srv/app/venv/lib/python3.6/site-packages/django/core/management/base.py", line 330, in execute
  53. output = self.handle(*args, **options)
  54. File "/srv/app/venv/lib/python3.6/site-packages/django/core/management/commands/migrate.py", line 204, in handle
  55. fake_initial=fake_initial,
  56. File "/srv/app/venv/lib/python3.6/site-packages/django/db/migrations/executor.py", line 115, in migrate
  57. state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
  58. File "/srv/app/venv/lib/python3.6/site-packages/django/db/migrations/executor.py", line 145, in _migrate_all_forwards
  59. state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
  60. File "/srv/app/venv/lib/python3.6/site-packages/django/db/migrations/executor.py", line 244, in apply_migration
  61. state = migration.apply(state, schema_editor)
  62. File "/srv/app/venv/lib/python3.6/site-packages/django/db/migrations/migration.py", line 129, in apply
  63. operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
  64. File "/srv/app/venv/lib/python3.6/site-packages/django/db/migrations/operations/special.py", line 108, in database_forwards
  65. self._run_sql(schema_editor, self.sql)
  66. File "/srv/app/venv/lib/python3.6/site-packages/django/db/migrations/operations/special.py", line 133, in _run_sql
  67. schema_editor.execute(statement, params=None)
  68. File "/srv/app/venv/lib/python3.6/site-packages/django/db/backends/base/schema.py", line 120, in execute
  69. cursor.execute(sql, params)
  70. File "/srv/app/venv/lib/python3.6/site-packages/django/db/backends/utils.py", line 64, in execute
  71. return self.cursor.execute(sql, params)
  72. File "/srv/app/venv/lib/python3.6/site-packages/django/db/utils.py", line 94, in __exit__
  73. six.reraise(dj_exc_type, dj_exc_value, traceback)
  74. File "/srv/app/venv/lib/python3.6/site-packages/django/utils/six.py", line 685, in reraise
  75. raise value.with_traceback(tb)
  76. File "/srv/app/venv/lib/python3.6/site-packages/django/db/backends/utils.py", line 62, in execute
  77. return self.cursor.execute(sql)
  78. django.db.utils.ProgrammingError: permission denied to create extension "intarray"
  79. HINT: Must be superuser to create this extension.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement