# Unable to login to http://localhost:8080/ after fresh install of Docker and Galaxy Windows 8

**URL:** <https://help.galaxyproject.org/t/unable-to-login-to-http-localhost-8080-after-fresh-install-of-docker-and-galaxy-windows-8/5039>\
**Category:** usegalaxy.org support\
**Tags:** devops-administration, galaxy-local\
**Created:** [December 17, 2020, 7:42pm UTC](https://help.galaxyproject.org/t/unable-to-login-to-http-localhost-8080-after-fresh-install-of-docker-and-galaxy-windows-8/5039 "2020-12-17T19:42:41Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![george.weingart](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/george.weingart/32/1770_2.png) [@george.weingart](https://help.galaxyproject.org/u/george.weingart)\
**Post date:** [December 17, 2020, 7:42pm UTC](https://help.galaxyproject.org/t/unable-to-login-to-http-localhost-8080-after-fresh-install-of-docker-and-galaxy-windows-8/5039/1 "2020-12-17T19:42:41Z")

</div>

Hello,  
I installed yesterday Docker on my Windows 8 PC. I use Norton360 antivirus.  
I then installed Galaxy.  
I start Galaxy as follows:  
docker run -d -p 8080:80 -p 8021:21 -p 8022:22 bgruening/galaxy-stable  
The container creates, I wait a few minutes and I can see the logs  
I try to connect to Galaxy using Chrome throught the addresses [http://localhost:8080/](http://localhost:8080/) and [http://127.0.0.1:8080](http://127.0.0.1:8080) - in both cases I get

# This site can’t be reached

**127.0.0.1** refused to connect.  
ERR\_CONNECTION\_REFUSED

Can you let me know what do I need to do to be able to access my Galaxy?  
Enclosed the logs.  
Thanks !  
George Weingart

$ docker logs -f awesome\_elgamal  
Enable Galaxy reports authentification  
Checking /export…  
Disable Galaxy Interactive Environments. Start with --privileged to enable IE’s.  
Starting postgres  
postgresql: started  
Checking if database is up and running  
Traceback (most recent call last):  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/engine/base.py”, line 1248, in \_execute\_context  
cursor, statement, parameters, context  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/engine/default.py”, line 590, in do\_execute  
cursor.execute(statement, parameters)  
psycopg2.errors.UndefinedTable: relation “galaxy\_user” does not exist  
LINE 3: FROM galaxy\_user  
^

The above exception was the direct cause of the following exception:

Traceback (most recent call last):  
File “/usr/local/bin/check\_database.py”, line 25, in   
query.count()  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/orm/query.py”, line 3669, in count  
return self.from\_self(col).scalar()  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/orm/query.py”, line 3393, in scalar  
ret = self.one()  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/orm/query.py”, line 3360, in one  
ret = self.one\_or\_none()  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/orm/query.py”, line 3329, in one\_or\_none  
ret = list(self)  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/orm/query.py”, line 3405, in **iter**  
return self.\_execute\_and\_instances(context)  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/orm/query.py”, line 3430, in \_execute\_and\_instances  
result = conn.execute(querycontext.statement, self.\_params)  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/engine/base.py”, line 984, in execute  
return meth(self, multiparams, params)  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/sql/elements.py”, line 293, in \_execute\_on\_connection  
return connection.\_execute\_clauseelement(self, multiparams, params)  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/engine/base.py”, line 1103, in \_execute\_clauseelement  
distilled\_params,  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/engine/base.py”, line 1288, in _execute\_context  
e, statement, parameters, cursor, context  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/engine/base.py”, line 1482, in handle\_dbapi\_exception  
sqlalchemy\_exception, with\_traceback=exc\_info[2], from=e  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/util/compat.py”, line 178, in raise_  
raise exception  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/engine/base.py”, line 1248, in \_execute\_context  
cursor, statement, parameters, context  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/engine/default.py”, line 590, in do\_execute  
cursor.execute(statement, parameters)  
sqlalchemy.exc.ProgrammingError: (psycopg2.errors.UndefinedTable) relation “galaxy\_user” does not exist  
LINE 3: FROM galaxy\_user  
^

[SQL: SELECT count(\*) AS count\_1  
FROM (SELECT galaxy\_user.id AS galaxy\_user\_id, galaxy\_user.create\_time AS galaxy\_user\_create\_time, galaxy\_user.update\_time AS galaxy\_user\_update\_time, galaxy\_user.email A  
S galaxy\_user\_email, galaxy\_user.username AS galaxy\_user\_username, galaxy\_user.password AS galaxy\_user\_password, galaxy\_user.last\_password\_change AS galaxy\_user\_last\_pass  
word\_change, galaxy\_user.external AS galaxy\_user\_external, galaxy\_user.form\_values\_id AS galaxy\_user\_form\_values\_id, galaxy\_user.deleted AS galaxy\_user\_deleted, galaxy\_us  
er.purged AS galaxy\_user\_purged, galaxy\_user.disk\_usage AS galaxy\_user\_disk\_usage, galaxy\_user.active AS galaxy\_user\_active, galaxy\_user.activation\_token AS galaxy\_user\_a  
ctivation\_token  
FROM galaxy\_user  
WHERE galaxy\_user.email = %(email\_1)s) AS anon\_1]  
[parameters: {‘email\_1’: ‘admin@galaxy.org’}]  
(Background on this error at: [http://sqlalche.me/e/f405](http://sqlalche.me/e/f405))  
Waiting for database  
Traceback (most recent call last):  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/engine/base.py”, line 1248, in \_execute\_context  
cursor, statement, parameters, context  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/engine/default.py”, line 590, in do\_execute  
cursor.execute(statement, parameters)  
psycopg2.errors.UndefinedTable: relation “galaxy\_user” does not exist  
LINE 3: FROM galaxy\_user  
^

The above exception was the direct cause of the following exception:

Traceback (most recent call last):  
File “/usr/local/bin/check\_database.py”, line 25, in   
query.count()  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/orm/query.py”, line 3669, in count  
return self.from\_self(col).scalar()  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/orm/query.py”, line 3393, in scalar  
ret = self.one()  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/orm/query.py”, line 3360, in one  
ret = self.one\_or\_none()  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/orm/query.py”, line 3329, in one\_or\_none  
ret = list(self)  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/orm/query.py”, line 3405, in **iter**  
return self.\_execute\_and\_instances(context)  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/orm/query.py”, line 3430, in \_execute\_and\_instances  
result = conn.execute(querycontext.statement, self.\_params)  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/engine/base.py”, line 984, in execute  
return meth(self, multiparams, params)  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/sql/elements.py”, line 293, in \_execute\_on\_connection  
return connection.\_execute\_clauseelement(self, multiparams, params)  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/engine/base.py”, line 1103, in \_execute\_clauseelement  
distilled\_params,  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/engine/base.py”, line 1288, in _execute\_context  
e, statement, parameters, cursor, context  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/engine/base.py”, line 1482, in handle\_dbapi\_exception  
sqlalchemy\_exception, with\_traceback=exc\_info[2], from=e  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/util/compat.py”, line 178, in raise_  
raise exception  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/engine/base.py”, line 1248, in \_execute\_context  
cursor, statement, parameters, context  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/engine/default.py”, line 590, in do\_execute  
cursor.execute(statement, parameters)  
sqlalchemy.exc.ProgrammingError: (psycopg2.errors.UndefinedTable) relation “galaxy\_user” does not exist  
LINE 3: FROM galaxy\_user  
^

[SQL: SELECT count(\*) AS count\_1  
FROM (SELECT galaxy\_user.id AS galaxy\_user\_id, galaxy\_user.create\_time AS galaxy\_user\_create\_time, galaxy\_user.update\_time AS galaxy\_user\_update\_time, galaxy\_user.email A  
S galaxy\_user\_email, galaxy\_user.username AS galaxy\_user\_username, galaxy\_user.password AS galaxy\_user\_password, galaxy\_user.last\_password\_change AS galaxy\_user\_last\_pass  
word\_change, galaxy\_user.external AS galaxy\_user\_external, galaxy\_user.form\_values\_id AS galaxy\_user\_form\_values\_id, galaxy\_user.deleted AS galaxy\_user\_deleted, galaxy\_us  
er.purged AS galaxy\_user\_purged, galaxy\_user.disk\_usage AS galaxy\_user\_disk\_usage, galaxy\_user.active AS galaxy\_user\_active, galaxy\_user.activation\_token AS galaxy\_user\_a  
ctivation\_token  
FROM galaxy\_user  
WHERE galaxy\_user.email = %(email\_1)s) AS anon\_1]  
[parameters: {‘email\_1’: ‘admin@galaxy.org’}]  
(Background on this error at: [http://sqlalche.me/e/f405](http://sqlalche.me/e/f405))  
Waiting for database  
Traceback (most recent call last):  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/engine/base.py”, line 1248, in \_execute\_context  
cursor, statement, parameters, context  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/engine/default.py”, line 590, in do\_execute  
cursor.execute(statement, parameters)  
psycopg2.errors.UndefinedTable: relation “galaxy\_user” does not exist  
LINE 3: FROM galaxy\_user  
^

The above exception was the direct cause of the following exception:

Traceback (most recent call last):  
File “/usr/local/bin/check\_database.py”, line 25, in   
query.count()  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/orm/query.py”, line 3669, in count  
return self.from\_self(col).scalar()  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/orm/query.py”, line 3393, in scalar  
ret = self.one()  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/orm/query.py”, line 3360, in one  
ret = self.one\_or\_none()  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/orm/query.py”, line 3329, in one\_or\_none  
ret = list(self)  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/orm/query.py”, line 3405, in **iter**  
return self.\_execute\_and\_instances(context)  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/orm/query.py”, line 3430, in \_execute\_and\_instances  
result = conn.execute(querycontext.statement, self.\_params)  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/engine/base.py”, line 984, in execute  
return meth(self, multiparams, params)  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/sql/elements.py”, line 293, in \_execute\_on\_connection  
return connection.\_execute\_clauseelement(self, multiparams, params)  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/engine/base.py”, line 1103, in \_execute\_clauseelement  
distilled\_params,  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/engine/base.py”, line 1288, in _execute\_context  
e, statement, parameters, cursor, context  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/engine/base.py”, line 1482, in handle\_dbapi\_exception  
sqlalchemy\_exception, with\_traceback=exc\_info[2], from=e  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/util/compat.py”, line 178, in raise_  
raise exception  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/engine/base.py”, line 1248, in \_execute\_context  
cursor, statement, parameters, context  
File “/galaxy\_venv/lib/python3.7/site-packages/sqlalchemy/engine/default.py”, line 590, in do\_execute  
cursor.execute(statement, parameters)  
sqlalchemy.exc.ProgrammingError: (psycopg2.errors.UndefinedTable) relation “galaxy\_user” does not exist  
LINE 3: FROM galaxy\_user  
^

[SQL: SELECT count(\*) AS count\_1  
FROM (SELECT galaxy\_user.id AS galaxy\_user\_id, galaxy\_user.create\_time AS galaxy\_user\_create\_time, galaxy\_user.update\_time AS galaxy\_user\_update\_time, galaxy\_user.email A  
S galaxy\_user\_email, galaxy\_user.username AS galaxy\_user\_username, galaxy\_user.password AS galaxy\_user\_password, galaxy\_user.last\_password\_change AS galaxy\_user\_last\_pass  
word\_change, galaxy\_user.external AS galaxy\_user\_external, galaxy\_user.form\_values\_id AS galaxy\_user\_form\_values\_id, galaxy\_user.deleted AS galaxy\_user\_deleted, galaxy\_us  
er.purged AS galaxy\_user\_purged, galaxy\_user.disk\_usage AS galaxy\_user\_disk\_usage, galaxy\_user.active AS galaxy\_user\_active, galaxy\_user.activation\_token AS galaxy\_user\_a  
ctivation\_token  
FROM galaxy\_user  
WHERE galaxy\_user.email = %(email\_1)s) AS anon\_1]  
[parameters: {‘email\_1’: ‘admin@galaxy.org’}]  
(Background on this error at: [http://sqlalche.me/e/f405](http://sqlalche.me/e/f405))  
Waiting for database  
Database connected  
Starting cron  
cron: started  
Starting ProFTP  
proftpd: started  
Starting Galaxy reports webapp  
reports: started  
Starting nodejs  
galaxy:galaxy\_nodejs\_proxy: started  
Starting condor  
condor: started  
Starting slurmctld  
Starting slurmd  
Creating admin user admin with key fakekey and password password if not existing  
==\> /home/galaxy/logs/handler0.log \<==  
galaxy.workflow.scheduling\_manager INFO 2020-12-17 18:52:14,638 No workflow schedulers plugin config file defined, using default scheduler.  
galaxy.workflow.scheduling\_manager DEBUG 2020-12-17 18:52:14,638 Starting workflow schedulers  
galaxy.queue\_worker INFO 2020-12-17 18:52:14,688 Binding and starting galaxy control worker for handler0  
galaxy.queue\_worker INFO 2020-12-17 18:52:14,722 Queuing async task rebuild\_toolbox\_search\_index for handler0.  
galaxy.model.database\_heartbeat DEBUG 2020-12-17 18:52:14,808 handler0 is config watcher  
galaxy.util.watcher DEBUG 2020-12-17 18:52:14,843 Watching for changes in directory (recursively): /galaxy-central/tool-data  
galaxy.app INFO 2020-12-17 18:52:14,976 Galaxy app startup finished (21130.909 ms)  
galaxy.web\_stack INFO 2020-12-17 18:52:14,976 Galaxy server instance ‘handler0’ is running  
galaxy.queue\_worker INFO 2020-12-17 18:52:14,986 Instance ‘handler0’ received ‘rebuild\_toolbox\_search\_index’ task, executing now.  
galaxy.queue\_worker DEBUG 2020-12-17 18:52:14,986 App is not a webapp, not building a search index

==\> /home/galaxy/logs/handler1.log \<==  
galaxy.workflow.scheduling\_manager INFO 2020-12-17 18:52:24,026 No workflow schedulers plugin config file defined, using default scheduler.  
galaxy.workflow.scheduling\_manager DEBUG 2020-12-17 18:52:24,026 Starting workflow schedulers  
galaxy.queue\_worker INFO 2020-12-17 18:52:24,063 Binding and starting galaxy control worker for handler1  
galaxy.queue\_worker INFO 2020-12-17 18:52:24,082 Queuing async task rebuild\_toolbox\_search\_index for handler1.  
galaxy.model.database\_heartbeat DEBUG 2020-12-17 18:52:24,148 handler1 is config watcher  
galaxy.util.watcher DEBUG 2020-12-17 18:52:24,190 Watching for changes in directory (recursively): /galaxy-central/tool-data  
galaxy.app INFO 2020-12-17 18:52:24,233 Galaxy app startup finished (11560.530 ms)  
galaxy.web\_stack INFO 2020-12-17 18:52:24,234 Galaxy server instance ‘handler1’ is running  
galaxy.queue\_worker INFO 2020-12-17 18:52:24,263 Instance ‘handler1’ received ‘rebuild\_toolbox\_search\_index’ task, executing now.  
galaxy.queue\_worker DEBUG 2020-12-17 18:52:24,263 App is not a webapp, not building a search index

==\> /home/galaxy/logs/reports.log \<==  
galaxy.web.framework.base DEBUG 2020-12-17 18:52:21,580 Enabling ‘history’ controller, class: History  
galaxy.web.framework.base DEBUG 2020-12-17 18:52:21,590 Enabling ‘users’ controller, class: Users  
galaxy.web.framework.base DEBUG 2020-12-17 18:52:21,603 Enabling ‘tools’ controller, class: Tools  
galaxy.webapps.util DEBUG 2020-12-17 18:52:21,609 Enabling ‘paste.httpexceptions’ middleware  
galaxy.webapps.util DEBUG 2020-12-17 18:52:21,642 Enabling ‘RecursiveMiddleware’ middleware  
galaxy.webapps.util DEBUG 2020-12-17 18:52:21,661 Enabling ‘ErrorMiddleware’ middleware  
galaxy.webapps.util DEBUG 2020-12-17 18:52:21,670 Enabling ‘TransLogger’ middleware  
galaxy.webapps.util DEBUG 2020-12-17 18:52:21,675 Enabling ‘XForwardedHostMiddleware’ middleware  
Starting server in PID 563.  
serving on [http://127.0.0.1:9001](http://127.0.0.1:9001)

==\> /home/galaxy/logs/slurmctld.log \<==  
[2020-12-17T18:52:43.624] No trigger state file (/tmp/slurm/trigger\_state.old) to recover  
[2020-12-17T18:52:43.624] \_preserve\_plugins: backup\_controller not specified  
[2020-12-17T18:52:43.624] Reinitializing job accounting state  
[2020-12-17T18:52:43.624] cons\_res: select\_p\_reconfigure  
[2020-12-17T18:52:43.624] cons\_res: select\_p\_node\_init  
[2020-12-17T18:52:43.624] cons\_res: preparing for 1 partitions  
[2020-12-17T18:52:43.624] Running as primary controller  
[2020-12-17T18:52:43.641] No parameter for mcs plugin, default values set  
[2020-12-17T18:52:43.641] mcs: MCSParameters = (null). ondemand set.  
[2020-12-17T18:52:46.664] SchedulerParameters=default\_queue\_depth=100,max\_rpc\_cnt=0,max\_sched\_time=2,partition\_job\_depth=0,sched\_max\_job\_start=0,sched\_min\_interval=2

==\> /home/galaxy/logs/slurmd.log \<==  
[2020-12-17T18:52:44.740] error: Domain socket directory /var/spool/slurmd: No such file or directory  
[2020-12-17T18:52:44.741] Message aggregation disabled  
[2020-12-17T18:52:44.741] CPU frequency setting not configured for this node  
[2020-12-17T18:52:44.839] slurmd version 17.11.2 started  
[2020-12-17T18:52:44.856] slurmd started on Thu, 17 Dec 2020 18:52:44 +0000  
[2020-12-17T18:52:44.859] CPUs=1 Boards=1 Sockets=1 Cores=1 Threads=1 Memory=985 TmpDisk=18275 Uptime=10758 CPUSpecList=(null) FeaturesAvail=(null) FeaturesActive=(null)

==\> /home/galaxy/logs/uwsgi.log \<==  
galaxy.web\_stack DEBUG 2020-12-17 18:52:26,867 [p:644,w:1,m:0] [MainThread] Calling postfork function:   
galaxy.web\_stack DEBUG 2020-12-17 18:52:26,870 [p:644,w:1,m:0] [MainThread] Calling postfork function: \<function postfork\_setup at 0x7fa776f5c2f0\>  
galaxy.web\_stack INFO 2020-12-17 18:52:26,871 [p:644,w:1,m:0] [MainThread] Galaxy server instance ‘main.web.1’ is running  
Starting server in PID 540.  
serving on [http://127.0.0.1:8080](http://127.0.0.1:8080)  
serving on uwsgi://127.0.0.1:4001  
galaxy.queue\_worker INFO 2020-12-17 18:52:26,991 [p:644,w:1,m:0] [Thread-1] Instance ‘main.web.1’ received ‘rebuild\_toolbox\_search\_index’ task, executing now.  
galaxy.tools.search DEBUG 2020-12-17 18:52:26,991 [p:644,w:1,m:0] [Thread-1] Starting to build toolbox index.  
galaxy.tools.search DEBUG 2020-12-17 18:52:27,113 [p:644,w:1,m:0] [Thread-1] Toolbox index finished (122.256 ms)  
galaxy.tools.search DEBUG 2020-12-17 18:52:27,689 [p:647,w:2,m:0] [Thread-1] Toolbox index finished (836.592 ms)

==\> /home/galaxy/logs/handler0.log \<==  
galaxy.model.database\_heartbeat DEBUG 2020-12-17 18:53:14,860 handler0 is not config watcher

==\> /home/galaxy/logs/handler1.log \<==  
galaxy.model.database\_heartbeat DEBUG 2020-12-17 18:53:24,201 handler1 is not config watcher

==\> /home/galaxy/logs/slurmctld.log \<==  
[2020-12-17T18:57:43.858] error: Could not open job state file /tmp/slurm/job\_state: No such file or directory  
[2020-12-17T18:57:43.859] error: NOTE: Trying backup state save file. Jobs may be lost!  
[2020-12-17T18:57:43.859] No job state file (/tmp/slurm/job\_state.old) found

---

<div class="post-metadata">

**Author:** ![Diana](https://avatars.discourse-cdn.com/v4/letter/d/bc8723/32.png) [@Diana](https://help.galaxyproject.org/u/Diana)\
**Post date:** [March 31, 2022, 12:21pm UTC](https://help.galaxyproject.org/t/unable-to-login-to-http-localhost-8080-after-fresh-install-of-docker-and-galaxy-windows-8/5039/2 "2022-03-31T12:21:07Z")

</div>

I got the same error from a fresh docker run:

```auto
docker run -d -p 8080:80 -p 8021:21 -p 8022:22 bgruening/galaxy-stable

```

Also:

```auto
docker run -it -p 9080:80 -p 9081:21 -p 9082:22 quay.io/bgruening/galaxy

```

```auto
Checking if database is up and running
Traceback (most recent call last):
  File "/galaxy_venv/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 1284, in _execute_context
    cursor, statement, parameters, context
  File "/galaxy_venv/lib/python3.7/site-packages/sqlalchemy/engine/default.py", line 590, in do_execute
    cursor.execute(statement, parameters)
psycopg2.errors.UndefinedTable: relation "galaxy_user" does not exist
LINE 3: FROM galaxy_user 
             ^

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/bin/check_database.py", line 25, in <module>
    query.count()
  File "/galaxy_venv/lib/python3.7/site-packages/sqlalchemy/orm/query.py", line 3749, in count
    return self.from_self(col).scalar()
  File "/galaxy_venv/lib/python3.7/site-packages/sqlalchemy/orm/query.py", line 3469, in scalar
    ret = self.one()
  File "/galaxy_venv/lib/python3.7/site-packages/sqlalchemy/orm/query.py", line 3436, in one
    ret = self.one_or_none()
  File "/galaxy_venv/lib/python3.7/site-packages/sqlalchemy/orm/query.py", line 3405, in one_or_none
    ret = list(self)
  File "/galaxy_venv/lib/python3.7/site-packages/sqlalchemy/orm/query.py", line 3481, in __iter__
    return self._execute_and_instances(context)
  File "/galaxy_venv/lib/python3.7/site-packages/sqlalchemy/orm/query.py", line 3506, in _execute_and_instances
    result = conn.execute(querycontext.statement, self._params)
  File "/galaxy_venv/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 1020, in execute
    return meth(self, multiparams, params)
  File "/galaxy_venv/lib/python3.7/site-packages/sqlalchemy/sql/elements.py", line 298, in _execute_on_connection
    return connection._execute_clauseelement(self, multiparams, params)
  File "/galaxy_venv/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 1139, in _execute_clauseelement
    distilled_params,
  File "/galaxy_venv/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 1324, in _execute_context
    e, statement, parameters, cursor, context
  File "/galaxy_venv/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 1518, in _handle_dbapi_exception
    sqlalchemy_exception, with_traceback=exc_info[2], from_=e
  File "/galaxy_venv/lib/python3.7/site-packages/sqlalchemy/util/compat.py", line 178, in raise_
    raise exception
  File "/galaxy_venv/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 1284, in _execute_context
    cursor, statement, parameters, context
  File "/galaxy_venv/lib/python3.7/site-packages/sqlalchemy/engine/default.py", line 590, in do_execute
    cursor.execute(statement, parameters)
sqlalchemy.exc.ProgrammingError: (psycopg2.errors.UndefinedTable) relation "galaxy_user" does not exist
LINE 3: FROM galaxy_user 
             ^

```

---

<div class="post-metadata">

**Author:** ![jennaj](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/jennaj/32/27_2.png) [@jennaj](https://help.galaxyproject.org/u/jennaj)\
**Post date:** [March 31, 2022, 4:18pm UTC](https://help.galaxyproject.org/t/unable-to-login-to-http-localhost-8080-after-fresh-install-of-docker-and-galaxy-windows-8/5039/3 "2022-03-31T16:18:11Z")

</div>

Hi @Diana

Would you please explain a bit more about your configuration?

1. What version of the Docker are you running? The latest is recommended.
2. What is your OS + version?
3. Is this a new installation or an upgrade? If the second, what was the original version?
4. Summary of steps that you have done so far

References:

- [Galaxy Docker - Galaxy Community Hub](https://galaxyproject.org/use/galaxy-docker/)
- [docker-galaxy-stable/README.md at master · bgruening/docker-galaxy-stable · GitHub](https://github.com/bgruening/docker-galaxy-stable/blob/master/README.md)

Let’s start there

---

<div class="post-metadata">

**Author:** ![Diana](https://avatars.discourse-cdn.com/v4/letter/d/bc8723/32.png) [@Diana](https://help.galaxyproject.org/u/Diana)\
**Post date:** [March 31, 2022, 6:06pm UTC](https://help.galaxyproject.org/t/unable-to-login-to-http-localhost-8080-after-fresh-install-of-docker-and-galaxy-windows-8/5039/4 "2022-03-31T18:06:26Z")

</div>

Thanks for your answer.  
After 4 hours dealing with this, I was able to get the Galaxy screen.

I am using `Docker version 20.10.7, build 20.10.7-0ubuntu5~20.04.2` and Ubuntu 20 64bits.  
I had to reinstall everything from scratch multiple times and it finally worked.

Now I am trying to enable the Google login in the container, but I am not getting the login button. (Maybe this should be a different issue).  
This is an extract of my galaxy.yml, and I have configured the other two xml files:

```auto
...
galaxy:
  enable_oidc: true
  oidc_config_file: config/oidc_config.xml
  oidc_backends_config_file: config/oidc_backends_config.xml

```

Where can I see a file with errors so I can investigate the problem? The files in /home/galaxy/logs don’t show anything unusual.

---

<div class="post-metadata">

**Author:** ![jennaj](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/jennaj/32/27_2.png) [@jennaj](https://help.galaxyproject.org/u/jennaj)\
**Post date:** [March 31, 2022, 6:44pm UTC](https://help.galaxyproject.org/t/unable-to-login-to-http-localhost-8080-after-fresh-install-of-docker-and-galaxy-windows-8/5039/5 "2022-03-31T18:44:40Z")

</div>

> [@Diana](#):
>
> Where can I see a file with errors so I can investigate the problem? The files in /home/galaxy/logs don’t show anything unusual.

Maybe advanced logging will help? [GitHub - bgruening/docker-galaxy-stable: 🐳📊📚 Docker Images tracking the stable Galaxy releases.](https://github.com/bgruening/docker-galaxy-stable#Advanced-Logging)

---

<div class="post-metadata">

**Author:** ![Diana](https://avatars.discourse-cdn.com/v4/letter/d/bc8723/32.png) [@Diana](https://help.galaxyproject.org/u/Diana)\
**Post date:** [April 20, 2022, 5:59pm UTC](https://help.galaxyproject.org/t/unable-to-login-to-http-localhost-8080-after-fresh-install-of-docker-and-galaxy-windows-8/5039/6 "2022-04-20T17:59:10Z")

</div>

Thanks. Is anyone able to give me more details on where to look?

I have already activated the advance logs but still I can’t see any related error in `/home/galaxy/logs/*.log`

Also, I cannot see any indication of Galaxy using OIDC or trying to reach Google. Where can I find this sort of debug messages?

---

<div class="post-metadata">

**Author:** ![Diana](https://avatars.discourse-cdn.com/v4/letter/d/bc8723/32.png) [@Diana](https://help.galaxyproject.org/u/Diana)\
**Post date:** [April 22, 2022, 4:19pm UTC](https://help.galaxyproject.org/t/unable-to-login-to-http-localhost-8080-after-fresh-install-of-docker-and-galaxy-windows-8/5039/7 "2022-04-22T16:19:58Z")

</div>

I think I will open a new thread, as it is actually a different issue

> [@Unable to activate Google OIDC login](https://help.galaxyproject.org/t/unable-to-activate-google-oidc-login/7910):
>
> I am executing the Docker version of Galaxy and trying to enable the Google login. I have taken the necessary steps from Google’s side. However, I am not able to have the login button displayed in my instance. This is an extract of my galaxy.xml, and I have configured the other two XML files as described in the documentation: ... galaxy: enable\_oidc: true oidc\_config\_file: config/oidc\_config.xml oidc\_backends\_config\_file: config/oidc\_backends\_config.xml I have already activated the adva…

---

<div class="post-metadata">

**Author:** ![jennaj](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/jennaj/32/27_2.png) [@jennaj](https://help.galaxyproject.org/u/jennaj)\
**Post date:** [September 23, 2022, 10:21pm UTC](https://help.galaxyproject.org/t/unable-to-login-to-http-localhost-8080-after-fresh-install-of-docker-and-galaxy-windows-8/5039/8 "2022-09-23T22:21:35Z")

</div>


