4:00 AM
nicholasreville joined the channel
4:10 AM
nicholasreville has quit
8:22 AM
nigel_bot has quit
8:22 AM
nigel_bot joined the channel
13:18 PM
nicholasreville joined the channel
13:45 PM
bendk1
ehazlett: so how do you feel about merging the gh-920+gh-997 branches and deploying?
13:45 PM
janet seemed to think they were okay
13:46 PM
I guess test on staging first before production deploy since janet mentioned issues with the demo instance
14:16 PM
ehazlett: you around?
14:16 PM
ehazlett
bendk1: yeah sorry
14:16 PM
bendk1
np
14:16 PM
what do you think about that plan above?
14:17 PM
ehazlett
yeah that should work
14:17 PM
bendk1
okay, I'll merge and push
14:19 PM
ehazlett: okay merged
14:19 PM
ehazlett
bendk1: thx
14:20 PM
bendk1
did you figure out that issue running the migrations?
14:20 PM
ehazlett
bendk1: no
14:20 PM
it's with teams
14:20 PM
bendk1
I thought maybe specifying the particular apps could work
14:20 PM
ehazlett
i was going to look at it this morning
14:20 PM
unisub-jenkins-b
14:20 PM
* ben: Added setting to notify teams of new videos hourly (#997)
14:20 PM
* jed: add webdriver tests for message sending
14:20 PM
* jed: make sure 1 email per member for each set of videos added
14:20 PM
* ben: Adding missing migration
14:20 PM
* ben: Added command to run a bash shell in the docker dev environment
14:20 PM
* ben: Fix thumbnail uploads (#920)
14:20 PM
* ben: Removed the thumb_options paramater from S3EnabledImageField.
14:20 PM
* ben: Fixed the amara-dev Dockerfile.
14:20 PM
* ben: Removed references to the sorl-thumbnail's template tags
14:20 PM
bendk1
the migrations worked for me, and that's the one relevant difference I can think of
14:24 PM
ehazlett
bendk1: did you just run "migrate" or each individually
14:24 PM
bendk1
yeah, so migrate teams, migrate videos, and migrate auth
14:24 PM
I think those are the 3 that need migrations
14:25 PM
then you can try migrate without any arguments, it shouldn't do anything
14:28 PM
michelled joined the channel
14:35 PM
ehazlett
bendk1: still getting TypeError: __init__() got an unexpected keyword argument 'thumb_options' on migrate teams
14:36 PM
bendk1
ehazlett: hmm, can I drive?
14:36 PM
ehazlett
14:40 PM
bendk1
ehazlett: ahh, so I see what's going on... both 997 and 920 had migrations, but 997's didn't run with the code in 920
14:40 PM
ehazlett
ah
14:40 PM
bendk1
we could rebase to make sure everything runs correctly, but I think the simplest solutinon is to check out the revision before HEAD, run migrate, then checkout HEAD and run migrate again
14:41 PM
nicholasreville
14:42 PM
ehazlett
nicholasreville: yeah looks like that container was removed
14:42 PM
bendk1
something like this:
14:42 PM
git checkout ef62a3df9dffa81bdcd6609a64588ea02d1bbe81
14:42 PM
python manage.py migrate
14:42 PM
git checkout git log origin/staging
14:42 PM
commit c6919adbc329614fa3db9f0bea4a02a3d6a414b0
14:42 PM
python manage.py migrate
14:42 PM
ehazlett
bendk1: did we merge 855? // nicholasreville
14:43 PM
bendk1
ehazlett: I don't think so
14:43 PM
ehazlett
hmm ok
14:43 PM
bendk1
ehazlett: nope
14:43 PM
ehazlett
nicholasreville: i'll create a new one
14:44 PM
bendk1
ehazlett: for some reason, I had to run git fetch in the middle of those 2 checkouts in order to pull in the latest revision on staging
14:44 PM
ehazlett
bendk1: ok cool
14:44 PM
nicholasreville
ehazlett: maybe we can redirect that url to something more permanent?
14:44 PM
ehazlett
nicholasreville: yeah i'm not sure what happened to that container
14:55 PM
bendk1
nicholasreville: added some comments about the transcript viewer and SEO
14:55 PM
14:56 PM
not sure what you think about that one
15:03 PM
ehazlett
nicholasreville: the gh-855 should be back
15:03 PM
bendk1: so we're good to deploy to staging?
15:03 PM
(it's been merged)?
15:04 PM
bendk1
ehazlett: nicholasreville: so it looks like that bug was fixed, but after uploading my picture I'm just seeing "Saving..." and nothing happening
15:04 PM
I think this might be the same S3 upload issue again
15:04 PM
so the crash is fixed, but the feature is still not really working
15:04 PM
let me take a quick look at it and see what I can figure out
15:04 PM
if I can't understand it, we might as well merge since 997 is fixed
15:09 PM
ehazlett
ok
15:16 PM
bendk1
ehazlett: so I think something is strange with staging
15:17 PM
ehazlett
bendk1: what's up?
15:17 PM
bendk1
the first thing I tried to do was attach to 9f1b6abf4cf9, then manually upload my profile pic
15:17 PM
that seems to work great, but when I look at it on the website I don't see it
15:17 PM
also, I'm seeing sentry errors that should have been fixed with the new version
15:17 PM
15:18 PM
there's no way we should be going through the sorl thumbnail code anymore, it shouldn't be there
15:18 PM
maybe there's still an old container serving up webfiles?
15:19 PM
ehazlett
bendk1: it shouldn't -- that container is standalone and is even using a separate database
15:20 PM
bendk1
15:20 PM
ohh, 9f1b6a is using a separate database?
15:20 PM
ahh, that's gh-920
15:20 PM
okay, I get it
15:21 PM
so we need to deploy the changes to staging
15:21 PM
ehazlett: ^^
15:23 PM
ehazlett
gotcha
15:23 PM
yeah i wasn't sure about the migrations and didn't want to mess staging up -- so i created a separate db with it
15:23 PM
sorry!
15:24 PM
bendk1: so we're good to deploy to staging then?
15:24 PM
bendk1
ahh, I see I thought you were talking about production
15:24 PM
yes we're good to deploy staging
15:24 PM
ehazlett
ok cool
15:27 PM
bendk1
ehazlett: tell me once it's deployed so I can test
15:27 PM
ehazlett
bendk1: this will take a min -- i'm rebuilding the image
15:27 PM
ok
15:27 PM
bendk1
no problem
15:48 PM
ehazlett
bendk1: staging deployed
15:53 PM
bendk1
ehazlett: staging is timing out for me
15:54 PM
ehazlett
bendk1: resolves instant for me
15:54 PM
15:54 PM
bendk1: a certain url?
15:55 PM
bendk1
weird
15:55 PM
it works in curl, but not chrome
15:56 PM
works in ff too
15:56 PM
ehazlett
hmm
15:56 PM
i was using chrome
15:56 PM
bendk1
I think it might be the fact that I'm logged in
15:57 PM
yeah, after logging in it fails on ff as well
15:57 PM
I think the revision is wrong somehow
15:58 PM
ehazlett: or maybe the migrations didn't run
16:05 PM
ehazlett: ^^
16:09 PM
ehazlett
hmm
16:09 PM
bendk1: checking one min
16:15 PM
bendk1: yeah getting the same migration error
16:15 PM
how did you fix the gh-920 ?
16:15 PM
bendk1
you have to back up to a previous revision
16:15 PM
ehazlett
ah
16:15 PM
bendk1
(10:35:19 AM) bendk1: git checkout ef62a3df9dffa81bdcd6609a64588ea02d1bbe81
16:15 PM
(10:35:19 AM) bendk1: python manage.py migrate
16:15 PM
(10:35:19 AM) bendk1: git checkout git log origin/staging
16:15 PM
(10:35:19 AM) bendk1: commit c6919adbc329614fa3db9f0bea4a02a3d6a414b0
16:15 PM
(10:35:19 AM) bendk1: python manage.py migrate
16:16 PM
ehazlett
ah sorry -- didn't see that earlier :(
16:19 PM
bendk1: ok migrated -- i'm able to login as well
16:19 PM
sorry about that
16:20 PM
bendk1
and profile thumbnail uploading is working
16:20 PM
I think we can deploy to production
16:20 PM
thanks ehazlett
16:20 PM
you'll need to run through those hoops again for production
16:20 PM
ehazlett
Ok
16:20 PM
Yw
16:28 PM
bendk1
okay, I'm going to take lunch, if there are any issues deploying production, call me on my cell
16:28 PM
and if it works, send nicholasreville a message
16:28 PM
thanks!
16:30 PM
bendk1 has quit
16:36 PM
nicholasreville
ehazlett: do we have a new URL for that URL that went down? (and it should redirect)
16:36 PM
ehazlett
its the same one
16:36 PM
for gh-855 right?
16:37 PM
nicholasreville
ah yeah
16:37 PM
it is working now
16:37 PM
i'll work with ben to find a more permanent place soon
16:37 PM
thx
17:03 PM
ehazlett
Ok
17:07 PM
nicholasreville
17:07 PM
like it rolled back after it went down
17:10 PM
ehazlett: i think yes, merging would be good
17:11 PM
ehazlett
ok
17:11 PM
i'll merge in staging (or try) :)