#foswiki 2016-10-04,Tue

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)

WhoWhatWhen
***ChanServ sets mode: +o CDot [05:44]
................................................... (idle for 4h14mn)
ChanServ sets mode: +o MichaelDaum [09:58]
................................ (idle for 2h39mn)
ChanServ sets mode: +o gac410 [12:37]
..... (idle for 22mn)
ChanServ sets mode: +o MichaelDaum [12:59]
........ (idle for 35mn)
MichaelDaum_ changes topic to: Logs: http://irclogs.foswiki.org/bin/irclogger_log/foswiki - Slack: https://foswiki-slackin.herokuapp.com/ - Bugs: https://foswiki.org/Tasks - Next up: Release meeting Monday 10/17 1300Z [13:34]
............. (idle for 1h1mn)
ChanServ sets mode: +o CDot [14:35]
....................... (idle for 1h52mn)
fadeinHi, all. Does anybody know if it is possible to run Foswiki on thttpd? [16:27]
***ChanServ sets mode: +o Lynnwood [16:41]
................................................... (idle for 4h10mn)
ChanServ sets mode: +o gac410 [20:51]
gac410hi fadein ... I've been reading a bit about thttpd now. ... and I can say I really don't know if it would run foswiki.
it does atate that it supportc CGI, so that's a good sign.
However for performance, you'll get the best gains by using a "persistent perl" like fastcgi / fcgid.
And it doesn't mention fcgi at all. I suspect any gains you get by using an ultra high performing web server would be lost in the compile time of each perl execution. fcgi avoids that.
[20:56]
jastthttpd isn't exactly an "ultra high performing web server" in the first place... [21:12]
.... (idle for 16mn)
fadeingac410: I had a feeling that it would be a bit of a tradeoff, but I'm looking at running it on a raspberry pi for personal use [21:28]
gac410jast, just reading the marketing :D [21:29]
fadeinI was just curious to see if anybody knew for sure that is a non-starter [21:29]
TimWegnerHave had success with foswiki with Ubuntu 14.04 using Nginx docs here. But instructions don't work with Ubuntu 16.04
Has any used Foswiki with Ubuntu 16.04 and Nginx?
[21:30]
gac410TimWegner: I think I've tried it on 16.04. It certainly works with 16.04 and apache - running it rightnow on my laptop.
Nginx, I have a couple of VMs I boot for testing, but I don't recall if any have been updated to 16.04
(er... VM's running nginx)
[21:32]
TimWegnerI could use apache but want to try Nginx. Of course I can use 14.04 which I know works
I'm using Dreamcompute, not that it matters
[21:33]
gac410TimWegner: what didn't work. I am not familiar with Dreamcompute. [21:33]
jastubuntu 16.04 has a newer version of Perl which complains about things older versions didn't complain about... but apart from spamming your logfiles with errors, it shouldn't really change anything [21:34]
TimWegnerProbably something simple, foswiki service has to be configured and started differently. Haven't been able to start service [21:34]
gac410foswiki 2.1.2 should not be getting any perl complaints. We test right up through perl 24.0 [21:34]
jastincluding literal '%'s in regexes? [21:34]
gac410literal % in regexes??? I've never seen that one. Literal { is fully addressed I hope. [21:35]
TimWegnernot getting perl compaints, just can't start foswiki service [21:35]
jastI *think* I got that, can't remember the details right now
what does it say when you try to start it?
[21:35]
TimWegnerwill take a minute I'lll try and tell you [21:36]
gac410TimWegner: The init.d file should work fine as a compatible service. service start should detect and start old style init files just fine.
I've tested that here on my laptop. Don't have nginx, but did test the foswiki.fcgi script as a service.
[21:36]
TimWegnersudo systemctl start foswiki Failed to start foswiki.service: Unit foswiki.service not found.
or:sudo service foswiki start Failed to start foswiki.service: Unit foswiki.service not found.
[21:37]
gac410You should not need to do anything with foswiki.service. let me look a bit at my config. [21:38]
TimWegnerremember I am using Nginx, following docs here: https://foswiki.org/Support/FoswikiOnNginx [21:39]
gac410The foswiki backend service should start/stop regardless of nginx. It's just a started task. [21:40]
TimWegnerprocedure works fine with Ubuntu 14.04. Ubuntu 16.04 uses systemd, not that I understand it [21:40]
jastdo you have the init script as /etc/init.d/foswiki? is it marked executable?
systemd automatically falls back to scripts in /etc/init.d so you don't have to do anything differently if you don't want to :)
[21:40]
gac410Systemd will work with the old style init scripts. As jast says. copy foswiki.init-script into /etc/init.d/foswiki and be sure it's owned by root and 755 [21:41]
TimWegneryes, foswiki is in /etc/init.d and is executable [21:41]
gac410and copy tools/foswiki.defaults to /etc/default/foswiki [21:41]
jastmaybe systemd hasn't spotted it yet, try: systemctl daemon-reload [21:41]
gac410Ah... yes. Need to do that !! That's what was the magic needed here. [21:42]
jastand then try again [21:42]
TimWegneryes I did what jast said to get /etc/init.d/foswiki [21:42]
jastin my experience systemd *does* spot new files normally
and usually the only time you need the reload command is when the contents of unit files change, but can't hurt to try it in this case, I guess
[21:42]
TimWegneryess yes yes!! Thanks folks!!! sudo systemctl daemon-reload was what I missed!!!! Whoppee! [21:43]
gac410I do recall having to kick systemd to get it to find the file. [21:44]
jastby the way, I do have a systemd service file for foswiki/FastCGI somewhere...
oh right, it's in the office. which I won't be back to until the end of October...
[21:44]
gac410Anyway, back to fadein ... foswiki on Raspberry Pi. I think the big thing is to use fcgi to avoid the compile time and get foswiki resident. That would be the biggest thing. [21:45]
jastwhich version of Raspberry Pi? the old ones have very limited RAM... [21:45]
gac410I have a Rpi here I was playing with for some home automation stuff. Yeah memory would probably be a big issue after cpu. [21:46]
TimWegnerI actually just now tested the url and the foswiki site came up with my ubuntu 16.04 setup. So thanks so much! Signing off [21:46]
jastrpi2/3 have 1 GB of RAM which might be enough for 2-3 fastcgi workers [21:46]
gac410I set it up with nfs for logging, so it would not write rather verbose logs to the flash card.
google found several references for Raspberry Pi running Nginx. So that would probably be a good way to go.
[21:47]
FoswikiBotNo Google key has been set! Set it with '!set Google google_key <key>'. [21:49]

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)