crontabber cron job does not work after deploy.sh run

RESOLVED FIXED in 88

Status

Socorro
General
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: rhelmer, Assigned: rhelmer)

Tracking

unspecified

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

4 years ago
The deploy.sh runs crontabber as root and writes to /var/log/socorro/crontabber.log (to create the initial database partitions), which means the logfile is owned by root and the normal cronjob can't run (it runs as user socorro).

The deploy script should run crontabber as the socorro user, instead.
(Assignee)

Comment 1

4 years ago
PR: https://github.com/mozilla/socorro/pull/2082
Status: NEW → ASSIGNED

Comment 2

4 years ago
Commits pushed to master at https://github.com/mozilla/socorro

https://github.com/mozilla/socorro/commit/7c28a84708257752f4899890d45283d68e8b141d
fix bug 1020674 - crontabber should be run as socorro user, and some
logging and consistency fixes

https://github.com/mozilla/socorro/commit/8d555228d89a2ce86df04dc2fb05b97e69a5b345
Merge pull request #2082 from rhelmer/bug1020674-crontabber-deploy-fixes

Bug1020674 crontabber deploy fixes

Updated

4 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED

Updated

4 years ago
Target Milestone: --- → 88
You need to log in before you can comment on or make changes to this bug.