[Cloud] Webservice down

2020-01-22 Thread David Richfield
Hi all,

The parliament diagram tool (
https://tools.wmflabs.org/parliamentdiagram/parlitest.php ) is down.
Last time it happened was a week ago: I just restarted the webservice
like Alex did, but now it's down again and I'm at work, so I can't log
in for the next six hours or so. Can someone restart it for me?

Also, how can I find out why it keeps going down?

Thanks a million!

David


On Sat, 28 Dec 2019 at 13:16, Alex Monk  wrote:
>
> I doubt it's that as the tools project didn't loose any exec instances in
this issue that I'm aware of.
> Anyway I started that tool up
>
> krenair@tools-sgebastion-07:~$ sudo become parliamentdiagram
> tools.parliamentdiagram@tools-sgebastion-07:~$ webservice status
> Your webservice is not running
> tools.parliamentdiagram@tools-sgebastion-07:~$ webservice start
> Starting webservice...
> tools.parliamentdiagram@tools-sgebastion-07:~$ webservice status
> Your webservice of type lighttpd is running
>
> On Sat, 28 Dec 2019 at 11:59, David Richfield 
wrote:
>>
>> Hi!
>>
>> The parliament diagram tool (
https://tools.wmflabs.org/parliamentdiagram/parlitest.php) is down, and I'm
on holiday away from my computers. Is this due to this issue, and what
should I be doing about it?

David Richfield  schrieb am Sa., 28. Dez. 2019,
12:59:

> Hi!
>
> The parliament diagram tool (
> https://tools.wmflabs.org/parliamentdiagram/parlitest.php) is down, and
> I'm on holiday away from my computers. Is this due to this issue, and what
> should I be doing about it?
>
> Thanks
>
> David
>

___
Wikimedia Cloud Services mailing list
Cloud@lists.wikimedia.org (formerly lab...@lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/cloud

Re: [Cloud] Webservice down

2020-01-22 Thread Arturo Borrero Gonzalez
On 1/22/20 11:32 AM, David Richfield wrote:
> Hi all,
> 
> The parliament diagram tool (
> https://tools.wmflabs.org/parliamentdiagram/parlitest.php ) is down.
> Last time it happened was a week ago: I just restarted the webservice
> like Alex did, but now it's down again and I'm at work, so I can't log
> in for the next six hours or so. Can someone restart it for me?
> 

here you go!

tools.parliamentdiagram@tools-sgebastion-07:~$ webservice status
Your webservice is not running

tools.parliamentdiagram@tools-sgebastion-07:~$ webservice start
Starting webservice...

tools.parliamentdiagram@tools-sgebastion-07:~$ webservice status
Your webservice of type lighttpd is running



> Also, how can I find out why it keeps going down?
> 
Try inspecting log files. For example:

tools.parliamentdiagram@tools-sgebastion-07:~$ wc -l error.log
283822 error.log

You have plenty of information there, including some "funny" things like:

Traceback (most recent call last):
  File "/data/project/parliamentdiagram/public_html//westminster.py", line 81,
in 
sumdelegates['left'],
sumdelegates['right'])/float(optionlist['wingrows']['left'])))
ZeroDivisionError: float division by zero




Arturo Borrero Gonzalez
SRE / Wikimedia Cloud Services
Wikimedia Foundation

___
Wikimedia Cloud Services mailing list
Cloud@lists.wikimedia.org (formerly lab...@lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/cloud

Re: [Cloud] Webservice down

2020-01-22 Thread David Richfield
Thanks a million! I'll take a look this evening.

On 22/01/2020, Arturo Borrero Gonzalez  wrote:
> On 1/22/20 11:32 AM, David Richfield wrote:
>> Hi all,
>>
>> The parliament diagram tool (
>> https://tools.wmflabs.org/parliamentdiagram/parlitest.php ) is down.
>> Last time it happened was a week ago: I just restarted the webservice
>> like Alex did, but now it's down again and I'm at work, so I can't log
>> in for the next six hours or so. Can someone restart it for me?
>>
>
> here you go!
>
> tools.parliamentdiagram@tools-sgebastion-07:~$ webservice status
> Your webservice is not running
>
> tools.parliamentdiagram@tools-sgebastion-07:~$ webservice start
> Starting webservice...
>
> tools.parliamentdiagram@tools-sgebastion-07:~$ webservice status
> Your webservice of type lighttpd is running
>
>
>
>> Also, how can I find out why it keeps going down?
>>
> Try inspecting log files. For example:
>
> tools.parliamentdiagram@tools-sgebastion-07:~$ wc -l error.log
> 283822 error.log
>
> You have plenty of information there, including some "funny" things like:
>
> Traceback (most recent call last):
>   File "/data/project/parliamentdiagram/public_html//westminster.py", line
> 81,
> in 
> sumdelegates['left'],
> sumdelegates['right'])/float(optionlist['wingrows']['left'])))
> ZeroDivisionError: float division by zero
>
>
>
>
> Arturo Borrero Gonzalez
> SRE / Wikimedia Cloud Services
> Wikimedia Foundation
>


-- 
David Richfield
+49 170 570 4998

___
Wikimedia Cloud Services mailing list
Cloud@lists.wikimedia.org (formerly lab...@lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/cloud