Page MenuHomePhabricator

Portals deployment failed
Closed, ResolvedPublic

Description

Today, I attempted to SWAT a portals update. It resulted in no code being pushed (scap claims it did the push, appservers still have old files). I tried touching both the portals directory and everything in it to no effect. Something related to sync-dir -> sync-file migration?

<RainbowSprinkles> That code has been live for like a month now, so doubt it

Amir1> Several days ago when I wanted to deploy Wikidata extension, sync-dir didn't do anything when I tried to syn-dir the whole extension (there were lots of files touched). but when I did sync-dir and sync-file on smaller directories it worked

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
debt triaged this task as High priority.Mar 30 2017, 7:46 PM
debt added a project: Discovery-Portal-Sprint.
debt added subscribers: Jdrewniak, debt.

@demon fixed this:

<RainbowSprinkles> I think we solved the portal sync issue yesterday. Issue in scap that had crept in (and why not everyone could replicate or why it didn't break every time)
<RainbowSprinkles> Should go out in a bugfix release Real Soon Now
<RainbowSprinkles> tldr: if you ran sync-file on a directory while not at /srv/mediawiki-staging/ (so outside of it, further down the tree), the rsync paths ended up broken
<RainbowSprinkles> The directory you run sync-portals in is further down the tree, so that's why the script was breaking but manual syncs usually worked

That refers to D615.

Hopefully we'll be able to get out the stats/translations update and the other bug fixes soon, yay! Thanks again, @demon !

Stay tuned to T127762#3158160 for the release of the .deb package.

debt claimed this task.

This was deployed in production on April 11, 2017