Perl 6 - the future is here, just unevenly distributed

IRC log for #ilbot, 2015-12-13

| Channels | #ilbot index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:34 JantsoP joined #ilbot
00:35 JantsoP Hello. Some how the bot is not getting the website open. I just get internal server error and i installed all that it was needed
01:16 pdurbin moritz: I finally decided to fork ilbot, by the way
10:32 JantsoP_ joined #ilbot
10:33 JantsoP joined #ilbot
10:34 JantsoP Hello. Some how the bot is not getting the website open. I just get internal server error and i installed all that it was needed
12:30 pdurbin JantsoP: did you install all the perl modules it needs?
12:38 JantsoP pdurbin: yes
12:38 JantsoP I installed them via cpan
12:44 moritz JantsoP: look into your server's log files; what does it say?
12:44 moritz pdurbin: I'm curious, why did you fork it?
12:46 JantsoP moritz: you mean apache error log?
12:47 moritz JantsoP: yes
12:47 JantsoP FastCGI: incomplete headers (0 bytes) received from server "/var/www/bot/www/ilbot.fcgi", referer: http://logs.div88.org/
12:49 JantsoP Also now FastCGI: server "/var/www/bot/www/ilbot.fcgi" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds
12:50 JantsoP I followed the install instructions and now i have issue with this. Bot can join the channel but the webui is not working :/
13:03 JantsoP so is there a way to fix ir?
13:03 JantsoP *it
13:03 JantsoP Getting same errors filled logs
13:05 pdurbin moritz: because I am a simple man: https://github.com/pdurbin/philbot/blob/master/README.md :)
13:06 pdurbin "philbot is a fork of Moritz Lenz's lovely ilbot as it existed in September 2012, a simpler time when the database was in a single denormalized table and it ran under vanilla CGI rather than FastCGI." :)
13:07 JantsoP pdurbin: can i install that one? And if i can, how? :)
13:08 pdurbin JantsoP: oh, I wouldn't recommend it. I'd stick with whatever moritz is doing. He's the expert.
13:08 JantsoP aaah kk. But do you have any instruction for my issue? :(
13:13 pdurbin JantsoP: hmm, I don't use fastcgi so I'm not sure. sorry
13:19 JantsoP well i wait for answser. I go watch netflix
13:26 moritz JantsoP: you need to get an error message somehow
13:27 moritz JantsoP: the easiest is maybe to run /var/www/bot/www/ilbot.fcgi manually as the same user that apache would run it under
13:28 JantsoP so www-data
13:32 JantsoP hmm
13:32 JantsoP Might just reinstall whole server for this..
13:34 moritz why?
13:35 moritz that won't make debugging easier
13:35 moritz su -s /bin/bash www-data -c /var/www/bot/www/ilbot.fcgi
13:35 moritz and see what error message you get
13:36 JantsoP moritz: i have installed so many loggers on same server so i can just make new
13:36 JantsoP Because Microsoft Azure :p
13:45 * moritz wanted to write an Ansible script for deploying ilbot
13:47 JantsoP well almost done with new server :)
14:23 JantsoP Well now i just get 403
15:00 JantsoP YES
15:00 JantsoP It works \o/
15:00 JantsoP I was just missing FCGI from cpan
15:00 JantsoP Installed that and everything works like a charm
15:19 pdurbin JantsoP: did you install all the perl modules it needs? ;)
15:19 JantsoP yeah
15:19 JantsoP there is no mention of FCGI at all
15:19 JantsoP not in docs nor the install
15:22 pdurbin huh. https://github.com/moritz/ilbot/blob/master/install looks like it's supposed to check for dependencies
15:22 JantsoP well it was not on the list
15:23 JantsoP But now issue is if i go to http://logs.div88.org/division66/division66/2015-12-13 i get 404 on console
15:24 JantsoP ouu ok
15:24 JantsoP it makes one extra there
15:27 JantsoP so i need to eliminate the extra division66 from the link
15:27 JantsoP otherwise it just breaks the whole system
15:28 JantsoP pdurbin: do you know what file i need to edit to make it happen?
15:36 JantsoP So it's like this one http://irc.minetest.ru/minetest/ if i go to mine
15:37 JantsoP but now i only get one extra there like http://logs.div88.org/division66/division66/
15:37 JantsoP how do i remove the last part?
15:44 JantsoP i know it's one of the tmpl files but what
16:11 moritz JantsoP: what's your base_url setting www.conf?
16:11 moritz JantsoP: and FCGI isn't in the list of dependencies because it's entirely possible to run ilbot in other modes (standalone server with Starman, for example)
16:12 moritz but I guess I should document that better
16:12 JantsoP moritz: empty
16:12 moritz JantsoP: try setting it to /
16:12 JantsoP so should i set it to http://logs.div88.org or just logs.div88.org
16:13 JantsoP same issue
16:13 JantsoP or should i restart the apache or the bot?
16:13 moritz apache
16:14 JantsoP aaah there we go :)
16:14 moritz and now the CSS also loads
16:14 moritz and the page looks like it's supposed to
16:16 JantsoP all works finaly :D
16:27 ilbot-news joined #ilbot
16:27 ilbot-news [ilbot] moritz pushed 1 new commit to master: https://github.com/moritz/ilbot/commit/f7056df2ed16b46614860b58f789c40d03431e3b
16:27 ilbot-news ilbot/master f7056df Moritz Lenz: intall: make sure base_url ends with slash...
16:27 ilbot-news left #ilbot
16:30 ilbot-news joined #ilbot
16:30 ilbot-news [ilbot] moritz pushed 1 new commit to master: https://github.com/moritz/ilbot/commit/08ffd82d1761748a19e0428d8e621914c3484a19
16:30 ilbot-news ilbot/master 08ffd82 Moritz Lenz: Add FCGI to cpanfiles...
16:30 ilbot-news left #ilbot
19:34 moritz joined #ilbot
19:34 Polarcraft joined #ilbot
19:34 GeekShadow joined #ilbot

| Channels | #ilbot index | Today | | Search | Google Search | Plain-Text | summary