Wrong task lock files location

Issue #275 duplicate
Andrey Gusev
created an issue

Rhodecode 1.2.1 installed into virtualenv with pip; the virtualenv directory is not writable by user executing rhodecode wsgi for security reasons.

Rhodecode tries to create task lock files somewhere in virtualenv directory and gets IOError(permission denied)

Proposed solution: get task files path from configuration ini

Module: rhodecode.lib.celerylib.tasks

Function: get_commits_stats


lockkey_path = dn(dn(dn(dn(os.path.abspath(file)))))

Comments (1)

  1. Log in to comment