Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2018-06-13 11:07:04.381 DEBUG [kallithea.lib.auth_modules.auth_internal] {
- "active": true,
- "active_from_extern": true,
- "admin": true,
- "email": "test@test.com",
- "extern_name": 2,
- "firstname": "Kallithea",
- "groups": [],
- "lastname": "Kallithea",
- "username": "kallithea"
- }
- 2018-06-13 11:07:04.468 INFO [kallithea.lib.auth_modules.auth_internal] user kallithea authenticated correctly
- 2018-06-13 11:07:04.468 INFO [kallithea.lib.auth_modules.auth_internal] user kallithea authenticated correctly
- 2018-06-13 11:07:04.470 DEBUG [kallithea.lib.auth_modules] PLUGIN USER DATA: {'username': u'kallithea', 'active': True, 'groups': [], 'firstname': u'Kallithea', 'admin': True, 'lastname': u'Kallithea', 'email': u'test@test.com', 'active_from_extern': True, 'extern_name': 2}
- 2018-06-13 11:07:04.470 DEBUG [kallithea.lib.auth_modules] PLUGIN USER DATA: {'username': u'kallithea', 'active': True, 'groups': [], 'firstname': u'Kallithea', 'admin': True, 'lastname': u'Kallithea', 'email': u'test@test.com', 'active_from_extern': True, 'extern_name': 2}
- 2018-06-13 11:07:04.470 DEBUG [kallithea.lib.auth_modules] Plugin returned proper authentication data
- 2018-06-13 11:07:04.470 DEBUG [kallithea.lib.auth_modules] Plugin returned proper authentication data
- 2018-06-13 11:07:04.475 DEBUG [kallithea.lib.auth] Auth User lookup by USER ID 2
- 2018-06-13 11:07:04.475 DEBUG [kallithea.lib.auth] Auth User lookup by USER ID 2
- 2018-06-13 11:07:04.475 DEBUG [kallithea.lib.auth] filling <User('id:2:kallithea')> data
- 2018-06-13 11:07:04.475 DEBUG [kallithea.lib.auth] filling <User('id:2:kallithea')> data
- 2018-06-13 11:07:04.476 DEBUG [kallithea.lib.auth] Auth User is now <AuthUser('id:2[kallithea] auth:False')>
- 2018-06-13 11:07:04.476 DEBUG [kallithea.lib.auth] Auth User is now <AuthUser('id:2[kallithea] auth:False')>
- 2018-06-13 11:07:04.476 DEBUG [kallithea.lib.auth] Getting PERMISSION tree
- 2018-06-13 11:07:04.476 DEBUG [kallithea.lib.auth] Getting PERMISSION tree
- 2018-06-13 11:07:04.480 DEBUG [kallithea.lib.auth] checking VCS protocol permissions set(['repository.admin']) for user:kallithea repository:test2
- 2018-06-13 11:07:04.480 DEBUG [kallithea.lib.auth] checking VCS protocol permissions set(['repository.admin']) for user:kallithea repository:test2
- 2018-06-13 11:07:04.480 DEBUG [kallithea.lib.auth] Permission to repo: test2 granted for user: kallithea @ PermissionMiddleware
- 2018-06-13 11:07:04.480 DEBUG [kallithea.lib.auth] Permission to repo: test2 granted for user: kallithea @ PermissionMiddleware
- 2018-06-13 11:07:04.481 DEBUG [kallithea.lib.middleware.simplegit] Repository path is /mnt/data/test2
- 2018-06-13 11:07:04.481 DEBUG [kallithea.lib.middleware.simplegit] Repository path is /mnt/data/test2
- 2018-06-13 11:07:04.481 DEBUG [kallithea.lib.middleware.simplegit] Checking locking on repository
- 2018-06-13 11:07:04.481 DEBUG [kallithea.lib.middleware.simplegit] Checking locking on repository
- 2018-06-13 11:07:04.487 DEBUG [kallithea.lib.base] Repository <Repository('2:test2')> do not have locking enabled
- 2018-06-13 11:07:04.487 DEBUG [kallithea.lib.base] Repository <Repository('2:test2')> do not have locking enabled
- 2018-06-13 11:07:04.487 DEBUG [kallithea.lib.base] FINAL locking values make_lock:None,locked:False,locked_by:[None, None]
- 2018-06-13 11:07:04.487 DEBUG [kallithea.lib.base] FINAL locking values make_lock:None,locked:False,locked_by:[None, None]
- 2018-06-13 11:07:04.487 DEBUG [kallithea.lib.middleware.simplegit] HOOKS extras is {'username': u'kallithea', 'scm': 'git', 'repository': u'test2', 'make_lock': None, 'ip': '0.0.0.0', 'locked_by': [None, None], 'server_url': 'http://0.0.0.0:8080', 'action': 'push', 'config': '/home/kallithea/kallithea/my.ini'}
- 2018-06-13 11:07:04.487 DEBUG [kallithea.lib.middleware.simplegit] HOOKS extras is {'username': u'kallithea', 'scm': 'git', 'repository': u'test2', 'make_lock': None, 'ip': '0.0.0.0', 'locked_by': [None, None], 'server_url': 'http://0.0.0.0:8080', 'action': 'push', 'config': '/home/kallithea/kallithea/my.ini'}
- 2018-06-13 11:07:04.488 DEBUG [kallithea.lib.utils] settings ui from db: [hooks] changegroup.repo_size=python:kallithea.lib.hooks.repo_size
- 2018-06-13 11:07:04.488 DEBUG [kallithea.lib.utils] settings ui from db: [hooks] changegroup.repo_size=python:kallithea.lib.hooks.repo_size
- 2018-06-13 11:07:04.488 DEBUG [kallithea.lib.utils] settings ui from db: [hooks] changegroup.push_logger=python:kallithea.lib.hooks.log_push_action
- 2018-06-13 11:07:04.488 DEBUG [kallithea.lib.utils] settings ui from db: [hooks] changegroup.push_logger=python:kallithea.lib.hooks.log_push_action
- 2018-06-13 11:07:04.489 DEBUG [kallithea.lib.utils] settings ui from db: [hooks] prechangegroup.pre_push=python:kallithea.lib.hooks.pre_push
- 2018-06-13 11:07:04.489 DEBUG [kallithea.lib.utils] settings ui from db: [hooks] prechangegroup.pre_push=python:kallithea.lib.hooks.pre_push
- 2018-06-13 11:07:04.489 DEBUG [kallithea.lib.utils] settings ui from db: [hooks] outgoing.pull_logger=python:kallithea.lib.hooks.log_pull_action
- 2018-06-13 11:07:04.489 DEBUG [kallithea.lib.utils] settings ui from db: [hooks] outgoing.pull_logger=python:kallithea.lib.hooks.log_pull_action
- 2018-06-13 11:07:04.489 DEBUG [kallithea.lib.utils] settings ui from db: [hooks] preoutgoing.pre_pull=python:kallithea.lib.hooks.pre_pull
- 2018-06-13 11:07:04.489 DEBUG [kallithea.lib.utils] settings ui from db: [hooks] preoutgoing.pre_pull=python:kallithea.lib.hooks.pre_pull
- 2018-06-13 11:07:04.489 DEBUG [kallithea.lib.utils] settings ui from db: [extensions] largefiles=
- 2018-06-13 11:07:04.489 DEBUG [kallithea.lib.utils] settings ui from db: [extensions] largefiles=
- 2018-06-13 11:07:04.489 DEBUG [kallithea.lib.utils] settings ui from db: [largefiles] usercache=/mnt/data/.cache/largefiles
- 2018-06-13 11:07:04.489 DEBUG [kallithea.lib.utils] settings ui from db: [largefiles] usercache=/mnt/data/.cache/largefiles
- 2018-06-13 11:07:04.489 DEBUG [kallithea.lib.utils] settings ui from db: [web] push_ssl=false
- 2018-06-13 11:07:04.489 DEBUG [kallithea.lib.utils] settings ui from db: [web] push_ssl=false
- 2018-06-13 11:07:04.490 DEBUG [kallithea.lib.utils] settings ui from db: [web] allow_archive=gz zip bz2
- 2018-06-13 11:07:04.490 DEBUG [kallithea.lib.utils] settings ui from db: [web] allow_archive=gz zip bz2
- 2018-06-13 11:07:04.490 DEBUG [kallithea.lib.utils] settings ui from db: [web] allow_push=*
- 2018-06-13 11:07:04.490 DEBUG [kallithea.lib.utils] settings ui from db: [web] allow_push=*
- 2018-06-13 11:07:04.490 DEBUG [kallithea.lib.utils] settings ui from db: [web] baseurl=/
- 2018-06-13 11:07:04.490 DEBUG [kallithea.lib.utils] settings ui from db: [web] baseurl=/
- 2018-06-13 11:07:04.490 DEBUG [kallithea.lib.utils] settings ui from db: [paths] /=/mnt/data
- 2018-06-13 11:07:04.490 DEBUG [kallithea.lib.utils] settings ui from db: [paths] /=/mnt/data
- 2018-06-13 11:07:04.491 INFO [kallithea.lib.middleware.simplegit] push action on Git repo "test2" by "kallithea" from 123.123.123.123
- 2018-06-13 11:07:04.491 INFO [kallithea.lib.middleware.simplegit] push action on Git repo "test2" by "kallithea" from 123.123.123.123
- 2018-06-13 11:07:04.493 DEBUG [kallithea.lib.middleware.pygrack] handling cmd ['git', u'receive-pack', '--stateless-rpc', u'/mnt/data/test2']
- 2018-06-13 11:07:04.493 DEBUG [kallithea.lib.middleware.pygrack] handling cmd ['git', u'receive-pack', '--stateless-rpc', u'/mnt/data/test2']
- 2018-06-13 11:07:04.519 DEBUG [kallithea.SimpleGit] Request time: 0.182s
- 2018-06-13 11:07:04.519 DEBUG [kallithea.SimpleGit] Request time: 0.182s
- 2018-06-13 11:07:04.520 INFO [kallithea.RequestWrapper] IP: 123.123.123.123Request to /test2/git-receive-pack time: 0.182s
- 2018-06-13 11:07:04.520 INFO [kallithea.RequestWrapper] IP: 123.123.123.123 Request to /test2/git-receive-pack time: 0.182s
- 2018-06-13 11:07:04.525 DEBUG [kallithea.model.db] for repo test2 got [<CacheInvalidation('3:test2[False]')>, <CacheInvalidation('4:test2_README[False]')>] invalidation objects
- 2018-06-13 11:07:04.525 DEBUG [kallithea.model.db] for repo test2 got [<CacheInvalidation('3:test2[False]')>, <CacheInvalidation('4:test2_README[False]')>] invalidation objects
- 2018-06-13 11:07:04.525 DEBUG [kallithea.model.db] marking <CacheInvalidation('3:test2[False]')> key for invalidation based on repo_name=test2
- 2018-06-13 11:07:04.525 DEBUG [kallithea.model.db] marking <CacheInvalidation('3:test2[False]')> key for invalidation based on repo_name=test2
- 2018-06-13 11:07:04.526 DEBUG [kallithea.model.db] marking <CacheInvalidation('4:test2_README[False]')> key for invalidation based on repo_name=test2
- 2018-06-13 11:07:04.526 DEBUG [kallithea.model.db] marking <CacheInvalidation('4:test2_README[False]')> key for invalidation based on repo_name=test2
- 2018-06-13 11:07:04.535 DEBUG [kallithea.model.db] Creating instance of git repository from /mnt/data/test2
- 2018-06-13 11:07:04.535 DEBUG [kallithea.model.db] Creating instance of git repository from /mnt/data/test2
- 2018-06-13 11:07:04.555 DEBUG [kallithea.model.db] changeset_cache for test2 already up to date with 41c3690926d6aa43ccc97f75739e0fc5ae4c803e
- 2018-06-13 11:07:04.555 DEBUG [kallithea.model.db] changeset_cache for test2 already up to date with 41c3690926d6aa43ccc97f75739e0fc5ae4c803e
- 2018-06-13 11:07:04.934 DEBUG [kallithea.lib.middleware.simplegit] pathinfo: /test2/git-receive-pack detected as Git True
- 2018-06-13 11:07:04.934 DEBUG [kallithea.lib.middleware.simplegit] pathinfo: /test2/git-receive-pack detected as Git True
- 2018-06-13 11:07:04.935 DEBUG [kallithea.SimpleGit] Request time: 0.001s
- 2018-06-13 11:07:04.935 DEBUG [kallithea.SimpleGit] Request time: 0.001s
- 2018-06-13 11:07:04.936 INFO [kallithea.RequestWrapper] IP: 123.123.123.123 Request to /test2/git-receive-pack time: 0.003s
- 2018-06-13 11:07:04.936 INFO [kallithea.RequestWrapper] IP: 123.123.123.123 Request to /test2/git-receive-pack time: 0.003s
- 2018-06-13 11:07:04.940 ERROR [waitress] Exception when serving /test2/git-receive-pack
- Traceback (most recent call last):
- File "/opt/Kallithea/local/lib/python2.7/site-packages/waitress/channel.py", line 337, in service
- task.service()
- File "/opt/Kallithea/local/lib/python2.7/site-packages/waitress/task.py", line 173, in service
- self.execute()
- File "/opt/Kallithea/local/lib/python2.7/site-packages/waitress/task.py", line 392, in execute
- app_iter = self.channel.server.application(env, start_response)
- File "/opt/Kallithea/local/lib/python2.7/site-packages/paste/gzipper.py", line 34, in __call__
- response.gzip_start_response)
- File "/opt/Kallithea/local/lib/python2.7/site-packages/paste/cascade.py", line 130, in __call__
- return self.apps[-1](environ, start_response)
- File "/opt/Kallithea/local/lib/python2.7/site-packages/paste/registry.py", line 379, in __call__
- app_iter = self.application(environ, start_response)
- File "/home/kallithea/kallithea/kallithea/lib/middleware/wrapper.py", line 43, in __call__
- return self.application(environ, start_response)
- File "/home/kallithea/kallithea/kallithea/lib/base.py", line 312, in __call__
- return self._handle_request(environ, start_response)
- File "/home/kallithea/kallithea/kallithea/lib/middleware/simplegit.py", line 69, in _handle_request
- if not self._check_ssl(environ):
- File "/home/kallithea/kallithea/kallithea/lib/base.py", line 257, in _check_ssl
- if str2bool(Ui.get_by_key('push_ssl').ui_value):
- File "/home/kallithea/kallithea/kallithea/model/db.py", line 355, in get_by_key
- return cls.query().filter(cls.ui_key == key).scalar()
- File "/opt/Kallithea/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2215, in scalar
- ret = self.one()
- File "/opt/Kallithea/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2184, in one
- ret = list(self)
- File "/home/kallithea/kallithea/kallithea/lib/caching_query.py", line 83, in __iter__
- return Query.__iter__(self)
- File "/opt/Kallithea/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2227, in __iter__
- return self._execute_and_instances(context)
- File "/opt/Kallithea/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2242, in _execute_and_instances
- result = conn.execute(querycontext.statement, self._params)
- File "/opt/Kallithea/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1449, in execute
- params)
- File "/opt/Kallithea/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1584, in _execute_clauseelement
- compiled_sql, distilled_params
- File "/opt/Kallithea/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1698, in _execute_context
- context)
- File "/opt/Kallithea/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1691, in _execute_context
- context)
- File "/opt/Kallithea/local/lib/python2.7/site-packages/sqlalchemy/engine/default.py", line 331, in do_execute
- cursor.execute(statement, parameters)
- DatabaseError: (DatabaseError) file is encrypted or is not a database u'SELECT ui.ui_id AS ui_ui_id, ui.ui_section AS ui_ui_section, ui.ui_key AS ui_ui_key, ui.ui_value AS ui_ui_value, ui.ui_active AS ui_ui_active \nFROM ui \nWHERE ui.ui_key = ?' ('push_ssl',)
- 2018-06-13 11:07:04.946 ERROR [waitress] Exception when servicing <waitress.channel.HTTPChannel connected 0.0.0.0:12756 at 0x7f06c5923e90>
- Traceback (most recent call last):
- File "/opt/Kallithea/local/lib/python2.7/site-packages/waitress/task.py", line 74, in handler_thread
- task.service()
- File "/opt/Kallithea/local/lib/python2.7/site-packages/waitress/channel.py", line 368, in service
- request._close()
- File "/opt/Kallithea/local/lib/python2.7/site-packages/waitress/parser.py", line 249, in _close
- body_rcv.getbuf()._close()
- File "/opt/Kallithea/local/lib/python2.7/site-packages/waitress/buffers.py", line 303, in _close
- buf._close()
- File "/opt/Kallithea/local/lib/python2.7/site-packages/waitress/buffers.py", line 110, in _close
- self.file.close()
- IOError: [Errno 9] Bad file descriptor
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement