1. Bitbucket
  2. Public Issue Tracker
  3. master
  4. Issues

Issues

Issue #4644 resolved

Error when committing

vs880
created an issue

Brad$ git push origin master Counting objects: 9, done. Delta compression using up to 2 threads. Compressing objects: 100% (5/5), done. Writing objects: 100% (5/5), 435 bytes, done. Total 5 (delta 4), 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 ssh://git@bitbucket.org/brad/repo.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'ssh://git@bitbucket.org/brad/repo.git'

Comments (4)

  1. Log in to comment