-
Notifications
You must be signed in to change notification settings - Fork 38
run Gratipay 189 #468
Comments
Trying #467 today |
!m @rohitpaulk I guess I'll let you drive, and watch for pings when you get stuck on perms or whatever? |
Yep, that works :) |
Why doesn't http://inside.gratipay.com/howto/run-payday have any info about our droplet? |
Aha, we run payday locally now eh (Here's the commit where the docs were changed: 0a9906f) |
Local repo updated, now moving on to migrating tips... |
$ heroku config -s | run_dammit /dev/stdin -c ./env/bin/python ./bin/migrate-tips.py > migrate-tips.log
-bash: run_dammit: command not found Going to use |
$ heroku config -s -a gratipay | ./env/bin/honcho run -e /dev/stdin ./env/bin/python ./bin/migrate-tips.py > migrate-tips.log In progress... |
|
That script spent 5 minutes and we migrated 0 tips :P |
Downloading backup.. |
Okay I don't really understand how |
$ pg_restore --verbose --clean --no-acl --no-owner --jobs 8 -d gratipay ../backups/b268.dump |
Since I have multiple heroku remotes in the same directory, I had to change |
Why should we take a backup at all if this is happening via the heroku config? |
Anyway... Now for the real deal |
We're done! Script ran for 8 minutes |
Now to run masspay... |
Aha, first roadblock. Paypal permission... @whit537 |
Sir! |
I don't have access to the meldium account either... |
I'm looking at PayPal to see the best way to share creds. What do you need the Medium account for? |
I thought that it'd have paypal credentials in there... |
I'm confused ... PayPal credentials in Medium? |
Isn't meldium a password manager? |
MELDIUM, not MEDIUM |
Wait, don't we use meldium? I remember seeing it mentioned somewhere |
https://github.com/gratipay/logs/commit/d51ce4bbaace40b0653ea4550a114cbe25dca4fb Used Github's commit UI for the first time 💃 |
Ah, nice! :-) Okay! Where are we? I shuffled escrow a bit, so I think we're done with PayPal ... |
/me goes back to eating popcorn. :] |
11% decline rate (6/54) |
Post mortem.. @whit537 Why are we using backups at all? |
AFAICT - All of our commands hit Heroku directly |
I don't have the time right now, but I'll edit the scripts soon to add |
I guess we don't have our backup policies documented anywhere, but it seems like a good idea to me to have a backup somewhere outside of Heroku. Payday seems like a natural time to take said backup. No? |
The practice was also more relevant earlier on, when payday errors would sometimes corrupt the database. |
It makes sense if the backups are stored somewhere (like S3), yes. For now, I think triggering a backup on Heroku just before running the script should suffice :)
Ah, yes. |
@rohitpaulk I've been storing the backups on an external hard drive. |
But we could desync that from payday. |
Sneaky! |
I'm caught! :-) |
Maybe that deserves a reticket? Reviewing and formalizing our backup policies? |
Or data management more broadly? |
It's actually 10% (6 / 60). |
I believe we missed https://gratipay.com/dashboard/1.0-payouts and probably https://gratipay.com/dashboard/ (hard to tell on that one ;-). |
Tweaked in 65ceb75. |
:-( |
!m @rohitpaulk :-) |
188
The text was updated successfully, but these errors were encountered: