Closed Bug 664725 Opened 15 years ago Closed 15 years ago

Attach contents of /data/engagement-dev/python/webifyme.org/update from webifyme-dev.allizom.org

Categories

(mozilla.org Graveyard :: Server Operations, task)

All
Other
task
Not set
critical

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ozten, Assigned: oremj)

References

()

Details

I'm trying to troubleshoot Cron error Error: No module named product_details /data/engagement-dev/python/webifyme.org/update: line 10: Error!!! Exit status of the last command was 1: command not found Can you attach the update script to this bug? I'm not able to reproduce this error locally, so I need more context.
Assignee: server-ops → jeremy.orem+bugs
Fixed in https://github.com/mozilla/webifyme/commit/cedfc0a3f00b6b4309f99b684b562021b2bbf1aa Update script is: #!/bin/bash #set -x function checkretval() { retval=$? if [[ $retval -gt 0 ]] then $error "Error!!! Exit status of the last command was $retval" exit $retval fi } CODE_DIR="/data/engagement-dev/python/webifyme.org/webifyme" VENDOR_DIR="$CODE_DIR/ff4/vendor" #LOCALE_DIR="$CODE_DIR/ff4/locale" echo -e "Updating code..." cd $CODE_DIR git fetch origin -q checkretval git checkout -f origin/master -q git submodule sync -q git submodule update --init -q checkretval echo -e "Updating vendor..." cd $VENDOR_DIR git submodule sync -q git submodule update --init -q checkretval cd $CODE_DIR/ff4 python26 ./manage.py migrate checkretval
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.