Guest User

Untitled

a guest
Jul 1st, 2019
81
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Creating acousticbrainztest_db_1 ... done
  2. Creating acousticbrainztest_redis_1 ... done
  3. Running setup
  4. Starting acousticbrainztest_db_1 ... done
  5. 2019/07/01 13:23:53 Waiting for: tcp://db:5432
  6. 2019/07/01 13:23:53 Connected to tcp://db:5432
  7. /usr/local/lib/python2.7/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. Creating user and a database...
  10. Error: (psycopg2.ProgrammingError) role "acousticbrainz" already exists
  11.  
  12. [SQL: CREATE USER acousticbrainz NOCREATEDB NOSUPERUSER;]
  13. (Background on this error at: http://sqlalche.me/e/f405)
  14. Traceback (most recent call last):
  15. File "manage.py", line 249, in <module>
  16. cli()
  17. File "/usr/local/lib/python2.7/site-packages/click/core.py", line 764, in __call__
  18. return self.main(*args, **kwargs)
  19. File "/usr/local/lib/python2.7/site-packages/flask/cli.py", line 557, in main
  20. return super(FlaskGroup, self).main(*args, **kwargs)
  21. File "/usr/local/lib/python2.7/site-packages/click/core.py", line 717, in main
  22. rv = self.invoke(ctx)
  23. File "/usr/local/lib/python2.7/site-packages/click/core.py", line 1137, in invoke
  24. return _process_result(sub_ctx.command.invoke(sub_ctx))
  25. File "/usr/local/lib/python2.7/site-packages/click/core.py", line 956, in invoke
  26. return ctx.invoke(self.callback, **ctx.params)
  27. File "/usr/local/lib/python2.7/site-packages/click/core.py", line 555, in invoke
  28. return callback(*args, **kwargs)
  29. File "/usr/local/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func
  30. return f(get_current_context(), *args, **kwargs)
  31. File "/usr/local/lib/python2.7/site-packages/flask/cli.py", line 412, in decorator
  32. return __ctx.invoke(f, *args, **kwargs)
  33. File "/usr/local/lib/python2.7/site-packages/click/core.py", line 555, in invoke
  34. return callback(*args, **kwargs)
  35. File "manage.py", line 97, in init_db
  36. raise Exception('Failed to create new database and user! Exit code: %i' % res)
  37. Exception: Failed to create new database and user! Exit code: 0
  38. 2019/07/01 13:23:54 Command exited with error: exit status 1
  39. Starting acousticbrainztest_redis_1 ... done
  40. Starting acousticbrainztest_db_1 ... done
RAW Paste Data