Hi All!
I try to use postgress database but I have this errors:
migrate.versioning.script.base DEBUG 2016-03-30 10:37:40,873 Loading script lib/galaxy/model/migrate/versions/0120_dataset_collections.py...
migrate.versioning.script.base DEBUG 2016-03-30 10:37:40,873 Script lib/galaxy/model/migrate/versions/0120_dataset_collections.py loaded successfully
migrate.versioning.script.base DEBUG 2016-03-30 10:37:40,873 Loading script lib/galaxy/model/migrate/versions/0121_workflow_uuids.py...
migrate.versioning.script.base DEBUG 2016-03-30 10:37:40,873 Script lib/galaxy/model/migrate/versions/0121_workflow_uuids.py loaded successfully
migrate.versioning.script.base DEBUG 2016-03-30 10:37:40,873 Loading script lib/galaxy/model/migrate/versions/0122_grow_mysql_blobs.py...
migrate.versioning.script.base DEBUG 2016-03-30 10:37:40,873 Script lib/galaxy/model/migrate/versions/0122_grow_mysql_blobs.py loaded successfully
migrate.versioning.script.base DEBUG 2016-03-30 10:37:40,873 Loading script lib/galaxy/model/migrate/versions/0123_add_workflow_request_tables.py...
migrate.versioning.script.base DEBUG 2016-03-30 10:37:40,873 Script lib/galaxy/model/migrate/versions/0123_add_workflow_request_tables.py loaded successfully
migrate.versioning.script.base DEBUG 2016-03-30 10:37:40,873 Loading script lib/galaxy/model/migrate/versions/0124_job_state_history.py...
migrate.versioning.script.base DEBUG 2016-03-30 10:37:40,873 Script lib/galaxy/model/migrate/versions/0124_job_state_history.py loaded successfully
migrate.versioning.script.base DEBUG 2016-03-30 10:37:40,873 Loading script lib/galaxy/model/migrate/versions/0125_workflow_step_tracking.py...
migrate.versioning.script.base DEBUG 2016-03-30 10:37:40,873 Script lib/galaxy/model/migrate/versions/0125_workflow_step_tracking.py loaded successfully
migrate.versioning.script.base DEBUG 2016-03-30 10:37:40,873 Loading script lib/galaxy/model/migrate/versions/0126_password_reset.py...
migrate.versioning.script.base DEBUG 2016-03-30 10:37:40,873 Script lib/galaxy/model/migrate/versions/0126_password_reset.py loaded successfully
migrate.versioning.script.base DEBUG 2016-03-30 10:37:40,873 Loading script lib/galaxy/model/migrate/versions/0127_output_collection_adjustments.py...
migrate.versioning.script.base DEBUG 2016-03-30 10:37:40,873 Script lib/galaxy/model/migrate/versions/0127_output_collection_adjustments.py loaded successfully
migrate.versioning.script.base DEBUG 2016-03-30 10:37:40,873 Loading script lib/galaxy/model/migrate/versions/0128_session_timeout.py...
migrate.versioning.script.base DEBUG 2016-03-30 10:37:40,873 Script lib/galaxy/model/migrate/versions/0128_session_timeout.py loaded successfully
migrate.versioning.script.base DEBUG 2016-03-30 10:37:40,873 Loading script lib/galaxy/model/migrate/versions/0129_job_external_output_metadata_validity.py...
migrate.versioning.script.base DEBUG 2016-03-30 10:37:40,873 Script lib/galaxy/model/migrate/versions/0129_job_external_output_metadata_validity.py loaded successfully
migrate.versioning.repository DEBUG 2016-03-30 10:37:40,873 Repository lib/galaxy/model/migrate loaded successfully
migrate.versioning.repository DEBUG 2016-03-30 10:37:40,874 Config: OrderedDict([('db_settings', OrderedDict([('__name__', 'db_settings'), ('repository_id', 'Galaxy'), ('version_table', 'migrate_version'), ('required_dbs', '[]')]))])
galaxy.model.migrate.check DEBUG 2016-03-30 10:37:40,876 psycopg2 egg successfully loaded for postgresql dialect
Traceback (most recent call last):
File "/opt/galaxy/lib/galaxy/webapps/galaxy/buildapp.py", line 65, in paste_app_factory
app = galaxy.app.UniverseApplication( global_conf=global_conf, **kwargs )
File "/opt/galaxy/lib/galaxy/app.py", line 54, in __init__
self._configure_models( check_migrate_databases=True, check_migrate_tools=check_migrate_tools, config_file=config_file )
File "/opt/galaxy/lib/galaxy/config.py", line 843, in _configure_models
create_or_verify_database( db_url, config_file, self.config.database_engine_options, app=self )
File "/opt/galaxy/lib/galaxy/model/migrate/check.py", line 71, in create_or_verify_database
Table( "dataset", meta, autoload=True )
File "/opt/galaxy/eggs/SQLAlchemy-1.0.8-py2.6-linux-x86_64-ucs4.egg/sqlalchemy/sql/schema.py", line 416, in __new__
metadata._remove_table(name, schema)
File "/opt/galaxy/eggs/SQLAlchemy-1.0.8-py2.6-linux-x86_64-ucs4.egg/sqlalchemy/util/langhelpers.py", line 60, in __exit__
compat.reraise(exc_type, exc_value, exc_tb)
File "/opt/galaxy/eggs/SQLAlchemy-1.0.8-py2.6-linux-x86_64-ucs4.egg/sqlalchemy/sql/schema.py", line 411, in __new__
table._init(name, metadata, *args, **kw)
File "/opt/galaxy/eggs/SQLAlchemy-1.0.8-py2.6-linux-x86_64-ucs4.egg/sqlalchemy/sql/schema.py", line 484, in _init
self._autoload(metadata, autoload_with, include_columns)
File "/opt/galaxy/eggs/SQLAlchemy-1.0.8-py2.6-linux-x86_64-ucs4.egg/sqlalchemy/sql/schema.py", line 508, in _autoload
self, include_columns, exclude_columns
File "/opt/galaxy/eggs/SQLAlchemy-1.0.8-py2.6-linux-x86_64-ucs4.egg/sqlalchemy/engine/base.py", line 1971, in run_callable
with self.contextual_connect() as conn:
File "/opt/galaxy/eggs/SQLAlchemy-1.0.8-py2.6-linux-x86_64-ucs4.egg/sqlalchemy/engine/base.py", line 2039, in contextual_connect
self._wrap_pool_connect(self.pool.connect, None),
File "/opt/galaxy/eggs/SQLAlchemy-1.0.8-py2.6-linux-x86_64-ucs4.egg/sqlalchemy/engine/base.py", line 2078, in _wrap_pool_connect
e, dialect, self)
File "/opt/galaxy/eggs/SQLAlchemy-1.0.8-py2.6-linux-x86_64-ucs4.egg/sqlalchemy/engine/base.py", line 1405, in _handle_dbapi_exception_noconnection
exc_info
File "/opt/galaxy/eggs/SQLAlchemy-1.0.8-py2.6-linux-x86_64-ucs4.egg/sqlalchemy/util/compat.py", line 199, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb)
File "/opt/galaxy/eggs/SQLAlchemy-1.0.8-py2.6-linux-x86_64-ucs4.egg/sqlalchemy/engine/base.py", line 2074, in _wrap_pool_connect
return fn()
File "/opt/galaxy/eggs/SQLAlchemy-1.0.8-py2.6-linux-x86_64-ucs4.egg/sqlalchemy/pool.py", line 376, in connect
return _ConnectionFairy._checkout(self)
File "/opt/galaxy/eggs/SQLAlchemy-1.0.8-py2.6-linux-x86_64-ucs4.egg/sqlalchemy/pool.py", line 713, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File "/opt/galaxy/eggs/SQLAlchemy-1.0.8-py2.6-linux-x86_64-ucs4.egg/sqlalchemy/pool.py", line 480, in checkout
rec = pool._do_get()
File "/opt/galaxy/eggs/SQLAlchemy-1.0.8-py2.6-linux-x86_64-ucs4.egg/sqlalchemy/pool.py", line 1060, in _do_get
self._dec_overflow()
File "/opt/galaxy/eggs/SQLAlchemy-1.0.8-py2.6-linux-x86_64-ucs4.egg/sqlalchemy/util/langhelpers.py", line 60, in __exit__
compat.reraise(exc_type, exc_value, exc_tb)
File "/opt/galaxy/eggs/SQLAlchemy-1.0.8-py2.6-linux-x86_64-ucs4.egg/sqlalchemy/pool.py", line 1057, in _do_get
return self._create_connection()
File "/opt/galaxy/eggs/SQLAlchemy-1.0.8-py2.6-linux-x86_64-ucs4.egg/sqlalchemy/pool.py", line 323, in _create_connection
return _ConnectionRecord(self)
File "/opt/galaxy/eggs/SQLAlchemy-1.0.8-py2.6-linux-x86_64-ucs4.egg/sqlalchemy/pool.py", line 449, in __init__
self.connection = self.__connect()
File "/opt/galaxy/eggs/SQLAlchemy-1.0.8-py2.6-linux-x86_64-ucs4.egg/sqlalchemy/pool.py", line 607, in __connect
connection = self.__pool._invoke_creator(self)
File "/opt/galaxy/eggs/SQLAlchemy-1.0.8-py2.6-linux-x86_64-ucs4.egg/sqlalchemy/engine/strategies.py", line 97, in connect
return dialect.connect(*cargs, **cparams)
File "/opt/galaxy/eggs/SQLAlchemy-1.0.8-py2.6-linux-x86_64-ucs4.egg/sqlalchemy/engine/default.py", line 385, in connect
return self.dbapi.connect(*cargs, **cparams)
File "/opt/galaxy/eggs/psycopg2-2.5.1_9.2.4_static-py2.6-linux-x86_64-ucs4.egg/psycopg2/__init__.py", line 164, in connect
conn = _connect(dsn, connection_factory=connection_factory, async=async)
OperationalError: (psycopg2.OperationalError) FATAL: Ident authentication failed for user "galaxy
I use this
-bash-4.1$ lsb_release -d
Description: CentOS release 6.7 (Final)
and I have check the connection using comand line:
[galaxy@qui ~]$ psql -d galaxydb -U galaxy
psql (8.4.20)
Type "help" for help.
This is how encode on the setup:
database_connection = postgresql://galaxypassword@localhost/galaxydb
Could you please help me?