#foswiki 2015-12-21,Mon

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

WhoWhatWhen
gac410libapache2-mod-fcgid on my sid system. [00:01]
SvenDowideit_ok, now i'm very confused.
i guess https://github.com/foswiki/distro/releases are not at all useful
those are source tgz's, not the actual release?
[00:03]
gac410right. [00:03]
SvenDowideit_it seems most of the world is moving off sourceforge
as they've been polluting installers and packages, and are considered untrusted
[00:03]
gac410Unfortunately github auto-builds a tgz, as a 'release' ... I wish they were not there. [00:04]
SvenDowideit_they don't need to be
if you use their 'Draft a new release' when creating the release tag
then you get to upload your actual release
[00:04]
gac410really? I'll have to look into it, I tried before and could not figure out how to do it. So we are sticking with sourceforge. [00:05]
SvenDowideit_for eg: https://github.com/docker/docker/releases
grumble, bad eg!
https://github.com/boot2docker/boot2docker/releases
kinda better - that iso is the release artifact
[00:05]
gac410I do everything from my local shell ... git tag -s Release02x00 gpg sign it, and push --tags
Didn't even know about the draft release button.
[00:06]
SvenDowideit_WOW - and yes, my browser is protecting me from going to sf.net
mmm, looks like 2.0.3 isn't tagged?
[00:07]
gac410Huh...? [00:07]
SvenDowideit_so that could be an oportunity to make a release on GH :) [00:08]
GithubBot[distro] gac410 tagged FoswikiRelease02x00x03 at fd486ea: http://git.io/vEIZW [00:09]
***GithubBot has left [00:09]
gac410crap... Didn't push. Just pushed --tags. [00:09]
SvenDowideit_giggle
looks like you can click on https://github.com/foswiki/distro/releases/tag/FoswikiRelease02x00x03
and then "edit tag"
but idk, how far you can go with that
all the way, looks like
[00:09]
gac410yeah Just started looking at that. It does allow drag/drop files. [00:10]
SvenDowideit_shhhhh :)
and now for the bane of my existance (wrt automation)
release tgz's that contain a versioned product dir
I'm betting i argued pretty strongly to have those >:}
[00:10]
gac410;) "Danger don't let the user accidentally unzip over a live release !!!" I'll bet [00:12]
SvenDowideit_yeah, that sounds like what i'd want [00:12]
gac410luckily tar -zxf has --strip-components to remove them [00:12]
SvenDowideit_bloody grumble
yeah, but :)
[00:12]
gac410looks like I'll have to read about releasing on github as well, and then start to upload our older releases.
Unfortunately, Extensions though will be an issue. They have both the distro tag, and in theory individual extension interim release tags.
I really wish we could have gone to 100% independent extension repositories. But... we lost sooo much revision history, it was really not practical.
[00:13]
SvenDowideit_Extensions are on foswiki.org - so that's ok [00:15]
gac410Too many pieces were copied from core to extension & back, renamed, etc. [00:15]
SvenDowideit_ah, true [00:15]
gac410I did the whole conversion, then first time I tried to look at some history, discovered it was allll gone, and had to do it all again. [00:16]
SvenDowideit_i suspect that importing the entire svn repo into git with full history, then using the git sub-something stuff would have worked
but i've heard its a thing for a pretty beefy computer
[00:16]
gac410I did that. Ran for hours + days actually. [00:17]
SvenDowideit_ya [00:17]
gac410But then when the extension was split to a separate repo, poof, all of core history was gone, because the actual history is kept in the "original locations" which are not in the split repo [00:17]
SvenDowideit_oooo
i assumed it would duplicate the commit sha's needed
[00:17]
gac410Basically each extension would have had to be a full repo, with the other stuff deleted so othe history remained. [00:18]
SvenDowideit_but i guess that would be a complicated argument [00:18]
gac410You can see the effect, git log vs git log --follow. --follow grabs the history from the other locations prior to a move/rena,e.
I'm really surprised that debian doesn't have fcgi or fastcgi packages. That's really fundamental to apache.
[00:19]
jastit does, actually [00:20]
gac410well.. to a well performing apache anyway [00:20]
jastlibapache2-mod-fcgid - FastCGI interface module for Apache 2 [00:21]
SvenDowideit_jast ? not that my apt-cache shows [00:21]
jastlibapache2-mod-fastcgi - Apache 2 FastCGI module for long-running CGI scripts [00:21]
SvenDowideit_i'm only including `main` [00:21]
jastfcgid is from main [00:21]
SvenDowideit_not on my jessie [00:22]
jastfastcgi is from non-free [00:22]
SvenDowideit_oh wtf? [00:22]
jasthttps://packages.debian.org/jessie/libapache2-mod-fcgid [00:22]
SvenDowideit_i was searching `apt-cache search fcgid`
and getting nothin
[00:22]
jaststrange [00:22]
SvenDowideit_ya
next bit of hilarity - there's no /etc/init.d/apache stub
its been like 2 years since i touched apache
[00:22]
jastis that a systemd setup or sysv init? [00:23]
SvenDowideit_yes - likely neither
its a Docker container
[00:23]
jasthmm
I'm not really terribly familiar with docker, but the systemd-container stuff does have an init process in each container
[00:24]
SvenDowideit_mind you, i now wondering where the apache i thought i'd installed is [00:24]
jasttransformed into a cloud of magic pixie dust [00:24]
SvenDowideit_hehe, there's a big discussion
i'm a one process per container type
oh !
[00:24]
gac410SvenDowideit_: Probably apache 2.4 btw. The old debian packages configs are not compatible [00:25]
jastmy approach tends to be one service per container [00:25]
SvenDowideit_my fault - i assumed the http://foswiki.org/System/SystemRequirements#Ubuntu_and_other_Debian_derived_distributions [00:25]
jastI don't care about the number of processes per sé [00:25]
SvenDowideit_had the rcs etc install bits in the longer line of all deps
you guys really do have a horrible 'if you didn't read all the fine print in order, its borken' thing :)
lalala, nothin to do with me i'm sure :)
[00:25]
jastI'm sure there's room for improvement in the docs, patches welcome, etc etc ;) [00:27]
SvenDowideit_giggle [00:27]
gac410gac410 has tried to fix this stuff ... the trunk version is better, but still has that particular issue. [00:27]
SvenDowideit_SvenDowideit_ restarts a new docker build, busting the cache [00:27]
gac410http://trunk.foswiki.org/System/SystemRequirements [00:27]
SvenDowideit_just in case it wasn't obvious - I work for Docker Inc now
and .... "I beleive!"
[00:28]
gac410Probably ought to move rcs into the table, so it gets into the example command. The joys of SSP
Apache though ... nah.... Too many use nginx, lighttpd, etc.
[00:29]
SvenDowideit_those don't seem to be listed :) [00:31]
gac410btw, SvenDowideit_ to save you some work. Initial configuration. Two commands:
1) to bootstrap all the paths: tools/configure -save -noprompt
[00:31]
SvenDowideit_i was looking for that
but ... failed to find it in core/tools
[00:32]
gac4102) To set everything else, one or more commands: (Each takes a backup though if separated) [00:32]
SvenDowideit_oh duh
i have 1.1 checked out
I'm stealing time atm - had 5mins here and there so far
[00:32]
gac410tools/configure -save -set {Password}='asdfasdf' -set {DefaultUrlHost}='http://foswiki.fenachrone.com' -set {PubUrlPath}='/pub' -set {ScriptUrlPath}='/bin' -set {ScriptUrlPaths}{view}='' -set {Email}{MailMethod}='MailProgram'
-set {EnableEmail}=1 -set {FeatureAccess}{Configure}='ConfigUser' -set {WebMasterEmail}='email@address.com'
whoops. obviously though not my test domain that I didn't want to post here but meh... it's not in dns
[00:34]
SvenDowideit_Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
\0/
[00:36]
gac410a2enmod rewrite [00:36]
SvenDowideit_ya, so many little things [00:36]
gac410and for your old configs .. maybe ... a2enmod access_compat ... maybe [00:37]
SvenDowideit_lol
wow
ERROR: Could not open logfile /var/lib/foswiki/working/logs/error.log for write
Your admin should 'configure' now and fix the errors!
[00:39]
gac410Need to make that directory. hm if you ran tools/configure it should have created it. [00:41]
SvenDowideit_and then...
root@592c8d88db4f:/var/lib/foswiki# ./tools/configure Nothing to do
more lol:
[00:41]
gac410hm Did you untar the release, or is this a pseudo-install [00:41]
SvenDowideit_./tools/configure --help !
this is an untar release
[00:41]
gac410hm working/logs should have been created. [00:42]
SvenDowideit_--help seems to cat the entire perl code [00:42]
gac410I've probably run an unzip / configure 1000 times [00:42]
SvenDowideit_I untared
SvenDowideit_ only uses zip on windows
[00:42]
gac410sorry... I mean untar [00:43]
SvenDowideit_so from the foswiki dir [00:43]
gac410or actually tar -zxf [00:43]
SvenDowideit_running ./tools/configure
should do stuff?
or does it need params?
I was hoping --help would tell me something useful
[00:43]
gac410it does. It generates a perl pod report
No code
[00:44]
SvenDowideit_not here
here it cats the file
[00:44]
gac410That's really strange. [00:44]
SvenDowideit_https://www.irccloud.com/pastebin/6f3yvvEp/
lol!!
You need to install the perl-doc package to use this program.
but the more scrolls that off the screen
so the reader has no idea wtf
[00:44]
gac410Neither do I. Never seen that. [00:45]
SvenDowideit_and... its not in your pre-req's list [00:45]
gac410I don't use debian. My system has always had it. [00:45]
SvenDowideit_this is a raw basic micro install of debian
i'm betting the gentoo docker image is similarly stripped
very handy for finding out the real pre-req's
very painful too :)
[00:45]
gac410gac410 doesn't know what a micor install is. for all my test systems, I use the debian / ubuntu / whatever server cdrom [00:46]
SvenDowideit_micro [00:46]
gac410gac410 can't type [00:46]
SvenDowideit_as much stripped out as possible [00:46]
gac410That's not what 99.9% of users would use. You are the very first time I've heard that term. and 2.0 has been out since July [00:47]
SvenDowideit_yeah, fun huh
my base OS install is a live-iso running off a USB stick
24MB
[00:48]
gac410We list dependencies for a normally configured OS server distribution. Listing the world of possible packages on SystemRequirements would be way way overkill [00:48]
SvenDowideit_perl-doc is a surprise tho
no, even now, running ./tools/configure on a just untared download says "nothing to do"
following http://foswiki.org/System/InstallationGuide#A_5_45Minute_Install
[00:48]
gac410remove LocalSite.cfg. Minimum command is tools/configure -save That will play 20 questinos.
Well the 5-minute install doesn't use tools/configure.
[00:49]
SvenDowideit_oh, so you're not expecting "./tools/configure" to detect and fix
ERROR: Could not open logfile /var/lib/foswiki/working/logs/error.log for write. Your admin should 'configure' now and fix the errors!
[00:50]
gac410Just browse to your view URL. Do NOT use configure. [00:50]
SvenDowideit_ok [00:50]
gac410I don't get why log dir is missing. [00:51]
SvenDowideit_mmm, so for me, the 5min install goes boom at using my browser [00:51]
gac410The tarball has a working/logs/README ... so you definitely should have a working/logs directory. [00:53]
SvenDowideit_so its ownership huh
my first q reading "Download and unpack the latest version of Foswiki." - really? to where?
[00:53]
gac410Use the detailed Steps. [00:54]
SvenDowideit_no! :) [00:54]
gac4105-,min install is for someone who knows what they are doing. [00:54]
SvenDowideit_really?
oh :(
that's what I use when i try out a new project
especially because its at the top
[00:54]
gac410Here's the quick version of the instructions, for those that are already comfortable with performing such installations. [00:55]
SvenDowideit_"TASTE ME" style
its soooooo close to being able to be that too
[00:55]
gac410If you are already comfortable with installing, then you would know to chown to your apache or nginx or whatthehell owner
or whateve ryou have in your apache suexec command
[00:55]
SvenDowideit_i wonder - i recon that's not a good approach
as way back when i knew what i was doing, i wouldn't read the install docs at all
whereas for new people, they want a 5min install to try it out
so will be drawn to that
and it looks a bit like all that's missing is that chmod?
[00:56]
gac410chown, and chmod [00:57]
SvenDowideit_ya [00:58]
gac410May need Step 3 - rewriteshebang ... if your perl is not on the path. Do you even have perl? [00:58]
SvenDowideit_which i kinda think ./tools/configure (with no params) might be able to suggest
looks like i had perl already
don't go overboard - if the 5min is only missing the chown...
[00:58]
gac410Open a task and make a commit :D You are still a core dev. and can push to master. [01:00]
SvenDowideit_yes, i do - but atm, i'm a micro-newb
if i delve into the code too soon, i won't be able to notice the small things
[01:00]
gac410gac410 has to get back to writing christmas cards ... clock is running and I'm out of time. [01:00]
SvenDowideit_eeee - nice o/
thanks for the kickstart
i'm much further than i would have been
[01:00]
gac410gac410 trying to help you with debian pkgs not micro-newb the install. [01:01]
SvenDowideit_its all the same thing in the end [01:01]
gac410Just remember. with Foswiki 2.0, do NOT go visit bin/configure first. Start from the normal view URL [01:01]
SvenDowideit_SvenDowideit_ hunts for the save button in configure [01:01]
gac410Upper right corner [01:01]
SvenDowideit_oh, hidden next to the search
and... it workx
I'm going to totally ignore the non-persistence issue i'm going to face with this container.
time to do xmas things too - back tomorrow i guess
[01:01]
gac410okay... have fun.
thanks SvenDowideit_
[01:04]
SvenDowideit_thank you more :D Perl is not something i go near much these days [01:05]
.... (idle for 18mn)
initial Dockerfile for running Docker in a container - https://github.com/SvenDowideit/dockerfiles/tree/master/foswiki
the hard thing is that when you stop and start a new container, all changes are lost
and it'd be nice not to have to persist run time changes to the entire foswiki dir
but i don't think that agrees with the foswiki arch
if i presume containerized users will use ./tools/configure from inside a Dockerfile to install / update plugins
then persisting data and pub may be almost ok
[01:23]
gac410yeah, things are rather intertwined for sure. tools/configure can pretty much to anything that web configure can do. Though some of the commands are rather cryptic. [01:26]
SvenDowideit_just need to work out how to get newly installed / updated plugin topic info into the persistent store
if there were 2 stores that got mixed together at run time, that would be nice
[01:26]
gac410the old tools/extender.pl run by the Extension_installer, both now delegate all that to a tools/configure wizard to actually do the install now. [01:27]
SvenDowideit_then configure installed topics&files would be in the container image (ie, immutable until the admin does stuff)
and the user data would be in the persisted store
nice
i wonder if the multi-store changes i made ever so long ago are still around
meh - totally outside my time-line
i'm actually supposed to be working on a new usb-micro-distro :)
[01:27]
gac410the only stuff we "lost" (it's still in svn) was the old scratch branch [01:29]
SvenDowideit_yeah - but bitrot :) [01:29]
gac410true. foswiki internally has really changed pretty radically in some areas. [01:30]
SvenDowideit_SvenDowideit_ actually stops this time
o/
[01:30]
gac410gac410 actually gets back to Christmas cards [01:30]
....... (idle for 31mn)
SvenDowideit_: just fyi, thunderbird dkim checker reports that your email was invalid - "Signature wrong" [02:01]
......................................... (idle for 3h21mn)
***gac4101 has left [05:22]
........................ (idle for 1h57mn)
ChanServ sets mode: +o CDot [07:19]
............................... (idle for 2h31mn)
ChanServ sets mode: +o Lavr [09:50]
.................................. (idle for 2h46mn)
ChanServ sets mode: +o gac410 [12:36]
........................................ (idle for 3h17mn)
GithubBot[distro] gac410 pushed 1 new commit to master: http://git.io/vEmU3
distro/master f3e49f3 George Clark: Item13880: Div was rendering, breaking json
[15:53]
***GithubBot has left [15:53]
FoswikiBothttp://foswiki.org/Tasks/Item13880 [ Item13880: TML rendered in =head= and =script= zones causes malformed html in WebCreateNewTopic ] [15:53]
GithubBot[distro] gac410 pushed 1 new commit to master: http://git.io/vEmLu
distro/master d37a6fc George Clark: Item13883: Typos and stale info in registration
[16:04]
***GithubBot has left [16:04]
FoswikiBothttp://foswiki.org/Tasks/Item13883 [ Item13883: Documentation changes for master and 2.1 ] [16:04]
.................................................. (idle for 4h7mn)
AntelmoAguilarHi, I was wondering if someone here knows if the ShibLdapContrib module is still under development. I found an issue that would be nice to get addressed and I would like to update the developers of my team that it could be fixed if the developers of the extension would still work on it.
Hopefully my question makes sense ^_^
Thanks for any info.
[20:11]
..... (idle for 24mn)
gac410Hi AntelmoAguilar ... I don't think the author of ShibLdapContrib has been around in a very long time.
The source code is not in github, so the only code available is in the tgz / zip files.
[20:36]
AntelmoAguilarOkay, thank you. [20:48]
gac410AntelmoAguilar: When an extension is abandoned like that, if you or coworkers would be willing to work on it, we could reach out to MichaelGrady and coordinate that someone will be doing maintenance.
I can create a Foswiki/ShibLdapContrib respository on github and import the existing code.
If nothing else, please open a task at http://foswiki.org/Tasks/ShibLdapContrib to report the issue. Thanks.
Oh... never mind The one open task is yours ;)
One other question. What release of Foswiki are you using?
[20:53]
AntelmoAguilarYeah, I will definitely look into this once I get some free time.
I am using version 2.0.2
[20:57]
gac410Okay thanks. I'll add it to the task [21:11]
AntelmoAguilarThanks George for answering my quesiton. I will keep an eye on the task for any updates. [21:22]
................. (idle for 1h21mn)
vrurggac410: Is your patch for serialize-deserialize of a new topic in master only? I hoped it'll be included into 2.0.3... [22:43]
........ (idle for 38mn)
***ChanServ sets mode: +o Lynnwood [23:21]

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