Details
-
Bug
-
Resolution: Fixed
-
Medium
Description
Hello,
I'm experiencing the following error when trying to push up to any of my repositories...
{{{
#!python
Counting objects: 51, done.
Compressing objects: 100% (20/20), done.
Writing objects: 100% (21/21), 2.78 KiB, done.
Total 21 (delta 10), reused 0 (delta 0)
remote: Traceback (most recent call last):
remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/scripts/git/hooks/pre-receive", line 9, in <module>
remote: from bitbucket.apps.repo2.hooks import prehooks
remote: File "/data/vol1/www/venvs/deployed/bitbucket/apps/repo2/hooks.py", line 5, in <module>
remote: from django.contrib.auth.models import User
remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/django/contrib/auth/models.py", line 7, in <module>
remote: from django.db import models
remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/django/db/init.py", line 14, in <module>
remote: if not settings.DATABASES:
remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/django/utils/functional.py", line 276, in getattr
remote: self._setup()
remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/django/conf/init.py", line 42, in _setup
remote: self._wrapped = Settings(settings_module)
remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/django/conf/init.py", line 139, in init
remote: logging_config_func(self.LOGGING)
remote: File "/opt/python/2.7.3/lib/python2.7/logging/config.py", line 777, in dictConfig
remote: dictConfigClass(config).configure()
remote: File "/opt/python/2.7.3/lib/python2.7/logging/config.py", line 575, in configure
remote: '%r: %s' % (name, e))
remote: ValueError: Unable to configure handler 'backup': [Errno 13] Permission denied: '/data/vol1/www/venvs/deployed/bitbucket/local/logs/backup.log'
To git@git.ev7.com.au:evolution7_ryan/lifebroker_au.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@git.ev7.com.au:evolution7_ryan/lifebroker_au.git'
}}}
Cheers,
Ryan