You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
seems to try to connect to the "musicbrainz" database before it is created, and I get the error FATAL: database "musicbrainz" does not exist:
Traceback (most recent call last):
File "/usr/local/bin/mbslave", line 8, in <module>
sys.exit(main())
^^^^^^
File "/usr/local/lib/python3.11/site-packages/mbdata/replication.py", line 803, in main
args.func(config, args)
File "/usr/local/lib/python3.11/site-packages/mbdata/replication.py", line 625, in mbslave_init_main
create_database(config)
File "/usr/local/lib/python3.11/site-packages/mbdata/replication.py", line 583, in create_database
db = connect_db(config, superuser=True, no_db=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/mbdata/replication.py", line 209, in connect_db
return cfg.connect_db(set_search_path=set_search_path, superuser=superuser, no_db=no_db)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/mbdata/replication.py", line 202, in connect_db
db = psycopg2.connect(**self.database.create_psycopg2_kwargs(superuser=superuser, no_db=no_db))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/psycopg2/__init__.py", line 122, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
psycopg2.OperationalError: FATAL: database "musicbrainz" does not exist
The text was updated successfully, but these errors were encountered:
I am trying to run the
mbslave init --create-database
The code here:
mbdata/mbdata/replication.py
Line 584 in ea0e7e2
seems to try to connect to the "musicbrainz" database before it is created, and I get the error
FATAL: database "musicbrainz" does not exist:
The text was updated successfully, but these errors were encountered: