<div dir="ltr">Hello,<div><br></div><div>Just a clarification: these steps should be needed only if your tool is using binary modules. There are edge cases where the compilation might fail, so please try it locally first with the version v6.9.1 of Node.</div><div><br></div><div>Cheers,</div><div>Marko</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 10 February 2017 at 03:01, Magnus Manske <span dir="ltr"><<a href="mailto:magnusmanske@googlemail.com" target="_blank">magnusmanske@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Many thanks for finding and fixing it!</div><div class="HOEnZb"><div class="h5"><br><div class="gmail_quote"><div dir="ltr">On Thu, Feb 9, 2017 at 4:50 PM Bryan Davis <<a href="mailto:bd808@wikimedia.org" target="_blank">bd808@wikimedia.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Magnus ran into a problem with one of his tools [0] that may affect<br class="m_-4723112721098952420gmail_msg">
others as well.<br class="m_-4723112721098952420gmail_msg">
<br class="m_-4723112721098952420gmail_msg">
The version of Node used for WMF's production services running on<br class="m_-4723112721098952420gmail_msg">
Debian Jessie has been upgraded to v6.9.1 recently [1]. We also<br class="m_-4723112721098952420gmail_msg">
rebuilt the Docker base images that are used to run tools on<br class="m_-4723112721098952420gmail_msg">
Kubernetes on 2017-02-08 and subsequently restarted all of the<br class="m_-4723112721098952420gmail_msg">
Kubernetes tools to pick up the new containers and switch to a newer<br class="m_-4723112721098952420gmail_msg">
version of the Docker runtime [2].<br class="m_-4723112721098952420gmail_msg">
<br class="m_-4723112721098952420gmail_msg">
This Node version update may be incompatible with some npm installed<br class="m_-4723112721098952420gmail_msg">
packages built with the previous version of node. The fix for Magnus'<br class="m_-4723112721098952420gmail_msg">
tool was:<br class="m_-4723112721098952420gmail_msg">
<br class="m_-4723112721098952420gmail_msg">
$ webservice stop<br class="m_-4723112721098952420gmail_msg">
$ webservice --backend=kubernetes nodejs shell<br class="m_-4723112721098952420gmail_msg">
$ cd www/js<br class="m_-4723112721098952420gmail_msg">
$ mv node_modules node_modules-old<br class="m_-4723112721098952420gmail_msg">
$ npm install<br class="m_-4723112721098952420gmail_msg">
$ exit<br class="m_-4723112721098952420gmail_msg">
$ webservice --backend=kubernetes nodejs start<br class="m_-4723112721098952420gmail_msg">
<br class="m_-4723112721098952420gmail_msg">
<br class="m_-4723112721098952420gmail_msg">
<br class="m_-4723112721098952420gmail_msg">
[0]: <a href="https://phabricator.wikimedia.org/T157678" rel="noreferrer" class="m_-4723112721098952420gmail_msg" target="_blank">https://phabricator.wikimedia.<wbr>org/T157678</a><br class="m_-4723112721098952420gmail_msg">
[1]: <a href="https://phabricator.wikimedia.org/T149331" rel="noreferrer" class="m_-4723112721098952420gmail_msg" target="_blank">https://phabricator.wikimedia.<wbr>org/T149331</a><br class="m_-4723112721098952420gmail_msg">
[2]: <a href="https://tools.wmflabs.org/sal/log/AVocMWWhHQCSeVEJfJFA" rel="noreferrer" class="m_-4723112721098952420gmail_msg" target="_blank">https://tools.wmflabs.org/sal/<wbr>log/AVocMWWhHQCSeVEJfJFA</a><br class="m_-4723112721098952420gmail_msg">
<br class="m_-4723112721098952420gmail_msg">
Bryan<br class="m_-4723112721098952420gmail_msg">
--<br class="m_-4723112721098952420gmail_msg">
Bryan Davis Wikimedia Foundation <<a href="mailto:bd808@wikimedia.org" class="m_-4723112721098952420gmail_msg" target="_blank">bd808@wikimedia.org</a>><br class="m_-4723112721098952420gmail_msg">
[[m:User:BDavis_(WMF)]] Sr Software Engineer Boise, ID USA<br class="m_-4723112721098952420gmail_msg">
irc: bd808 v:<a href="tel:(415)%20839-6885" value="+14158396885" class="m_-4723112721098952420gmail_msg" target="_blank">415.839.6885 x6855</a><br class="m_-4723112721098952420gmail_msg">
<br class="m_-4723112721098952420gmail_msg">
______________________________<wbr>_________________<br class="m_-4723112721098952420gmail_msg">
Labs-l mailing list<br class="m_-4723112721098952420gmail_msg">
<a href="mailto:Labs-l@lists.wikimedia.org" class="m_-4723112721098952420gmail_msg" target="_blank">Labs-l@lists.wikimedia.org</a><br class="m_-4723112721098952420gmail_msg">
<a href="https://lists.wikimedia.org/mailman/listinfo/labs-l" rel="noreferrer" class="m_-4723112721098952420gmail_msg" target="_blank">https://lists.wikimedia.org/<wbr>mailman/listinfo/labs-l</a><br class="m_-4723112721098952420gmail_msg">
</blockquote></div>
</div></div><br>______________________________<wbr>_________________<br>
Labs-l mailing list<br>
<a href="mailto:Labs-l@lists.wikimedia.org">Labs-l@lists.wikimedia.org</a><br>
<a href="https://lists.wikimedia.org/mailman/listinfo/labs-l" rel="noreferrer" target="_blank">https://lists.wikimedia.org/<wbr>mailman/listinfo/labs-l</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Marko Obrovac, PhD<div>Senior Services Engineer</div><div>Wikimedia Foundation</div></div></div></div></div></div></div>
</div>