pre-receive hook declined

Issue #4646 resolved
Virgilio Favero Neto
created an issue

Hi There,

I'm trying to push some stuff to one of my repos and I'm getting the message below. I've seen that some other users have created similar issues.

vneto:mobile-metro-tablefinder vneto$ git push origin v1.1 Total 0 (delta 0), reused 0 (delta 0) remote: Traceback (most recent call last): remote: File "/opt/python/domains/", line 9, in <module> remote: from bitbucket.apps.repo2.hooks import prehooks remote: File "/data/vol1/www/venvs/deployed/bitbucket/apps/repo2/", line 5, in <module> remote: from django.contrib.auth.models import User remote: File "/opt/python/domains/", line 7, in <module> remote: from django.db import models remote: File "/opt/python/domains/", line 14, in <module> remote: if not settings.DATABASES: remote: File "/opt/python/domains/", line 276, in getattr remote: self._setup() remote: File "/opt/python/domains/", line 42, in _setup remote: self._wrapped = Settings(settings_module) remote: File "/opt/python/domains/", line 139, in init remote: logging_config_func(self.LOGGING) remote: File "/opt/python/2.7.3/lib/python2.7/logging/", line 777, in dictConfig remote: dictConfigClass(config).configure() remote: File "/opt/python/2.7.3/lib/python2.7/logging/", 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 ! [remote rejected] v1.1 -> v1.1 (pre-receive hook declined) error: failed to push some refs to ''