Public Repository

Last pushed: a year ago
Short Description
Short description is empty for this repo.
Full Description

Full description is empty for this repo.

Docker Pull Command
Owner
realms

Comments (1)
bsurnida
a year ago

The realms/realms-wiki:latest container starts and shutsdown in seconds. Here is the log of it helps.

admin@localhost:~/docker/realms-wiki/docker$ docker run --name realms-wiki -p 5000:5000 -d realms/realms-wiki
4a910467a315dc223430cd1a26f55d42ffaee6e9a499bd1b9d5482032d79f276
admin@localhost:~/docker/realms-wiki/docker$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
4a910467a315 realms/realms-wiki "/bin/sh -c '. .venv/" 4 seconds ago Up 2 seconds 0.0.0.0:5000->5000/tcp realms-wiki
admin@localhost:~/docker/realms-wiki/docker$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
admin@localhost:~/docker/realms-wiki/docker$ docker logs realms-wiki
[2016-09-07 02:58:31 +0000] [9] [INFO] Starting gunicorn 19.3.0
[2016-09-07 02:58:31 +0000] [9] [INFO] Listening at: http://0.0.0.0:5000 (9)
[2016-09-07 02:58:31 +0000] [9] [INFO] Using worker: gevent
[2016-09-07 02:58:31 +0000] [14] [INFO] Booting worker with pid: 14
[2016-09-07 02:58:31 +0000] [15] [INFO] Booting worker with pid: 15
[2016-09-07 02:58:31 +0000] [16] [INFO] Booting worker with pid: 16
[2016-09-07 02:58:32 +0000] [16] [ERROR] Exception in worker process:
Traceback (most recent call last):
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/gunicorn/arbiter.py", line 507, in spawn_worker
worker.init_process()
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/gunicorn/workers/ggevent.py", line 192, in init_process
super(GeventWorker, self).init_process()
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/gunicorn/workers/base.py", line 118, in init_process
self.wsgi = self.app.wsgi()
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/gunicorn/app/base.py", line 67, in wsgi
self.callable = self.load()
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py", line 65, in load
return self.load_wsgiapp()
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py", line 52, in load_wsgiapp
return util.import_app(self.app_uri)
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/gunicorn/util.py", line 366, in import_app
app = eval(obj, mod.dict)
File "<string>", line 1, in <module>
File "/home/wiki/realms-wiki/realms/init.py", line 216, in create_app
db.metadata.create_all(db.get_engine(app))
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/sqlalchemy/sql/schema.py", line 3745, in create_all
tables=tables)
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1856, in _run_visitor
conn._run_visitor(visitorcallable, element, kwargs)
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1481, in _run_visitor
kwargs).traverse_single(element)
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/sqlalchemy/sql/visitors.py", line 121, in traverse_single
return meth(obj, kw)
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/sqlalchemy/sql/ddl.py", line 730, in visit_metadata
_is_metadata_operation=True)
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/sqlalchemy/sql/visitors.py", line 121, in traverse_single
return meth(obj,
kw)
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/sqlalchemy/sql/ddl.py", line 764, in visit_table
include_foreign_key_constraints=include_foreign_key_constraints
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 914, in execute
return meth(self, multiparams, params)
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/sqlalchemy/sql/ddl.py", line 68, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 968, in _execute_ddl
compiled
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1146, in _execute_context
context)
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1341, in _handle_dbapi_exception
exc_info
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/sqlalchemy/util/compat.py", line 202, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1139, in _execute_context
context)
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/default.py", line 450, in do_execute
cursor.execute(statement, parameters)
OperationalError: (sqlite3.OperationalError) table users already exists [SQL: u'\nCREATE TABLE users (\n\tid INTEGER NOT NULL, \n\tusername VARCHAR(128), \n\temail VARCHAR(128), \n\tpassword VARCHAR(60), \n\tPRIMARY KEY (id), \n\tUNIQUE (username), \n\tUNIQUE (email)\n)\n\n']
Traceback (most recent call last):
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/gunicorn/arbiter.py", line 507, in spawn_worker
worker.init_process()
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/gunicorn/workers/ggevent.py", line 192, in init_process
super(GeventWorker, self).init_process()
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/gunicorn/workers/base.py", line 118, in init_process
self.wsgi = self.app.wsgi()
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/gunicorn/app/base.py", line 67, in wsgi
self.callable = self.load()
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py", line 65, in load
return self.load_wsgiapp()
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py", line 52, in load_wsgiapp
return util.import_app(self.app_uri)
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/gunicorn/util.py", line 366, in import_app
app = eval(obj, mod.dict)
File "<string>", line 1, in <module>
File "/home/wiki/realms-wiki/realms/init.py", line 216, in create_app
db.metadata.create_all(db.get_engine(app))
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/sqlalchemy/sql/schema.py", line 3745, in create_all
tables=tables)
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1856, in _run_visitor
conn._run_visitor(visitorcallable, element, kwargs)
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1481, in _run_visitor
kwargs).traverse_single(element)
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/sqlalchemy/sql/visitors.py", line 121, in traverse_single
return meth(obj, kw)
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/sqlalchemy/sql/ddl.py", line 730, in visit_metadata
_is_metadata_operation=True)
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/sqlalchemy/sql/visitors.py", line 121, in traverse_single
return meth(obj,
kw)
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/sqlalchemy/sql/ddl.py", line 764, in visit_table
include_foreign_key_constraints=include_foreign_key_constraints
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 914, in execute
return meth(self, multiparams, params)
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/sqlalchemy/sql/ddl.py", line 68, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 968, in _execute_ddl
compiled
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1146, in _execute_context
context)
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1341, in _handle_dbapi_exception
exc_info
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/sqlalchemy/util/compat.py", line 202, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1139, in _execute_context
context)
File "/home/wiki/realms-wiki/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/default.py", line 450, in do_execute
cursor.execute(statement, parameters)
OperationalError: (sqlite3.OperationalError) table users already exists [SQL: u'\nCREATE TABLE users (\n\tid INTEGER NOT NULL, \n\tusername VARCHAR(128), \n\temail VARCHAR(128), \n\tpassword VARCHAR(60), \n\tPRIMARY KEY (id), \n\tUNIQUE (username), \n\tUNIQUE (email)\n)\n\n']
[2016-09-07 02:58:33 +0000] [16] [INFO] Worker exiting (pid: 16)
[2016-09-07 02:58:33 +0000] [15] [INFO] Worker exiting (pid: 15)
[2016-09-07 02:58:33 +0000] [14] [INFO] Worker exiting (pid: 14)
[2016-09-07 02:58:34 +0000] [9] [INFO] Shutting down: Master
[2016-09-07 02:58:34 +0000] [9] [INFO] Reason: Worker failed to boot.
admin@localhost:~/docker/realms-wiki/docker$