WebGUI irc logs from: 2008-02.log

--- Log opened Sun Feb 10 21:48:41 2008
-!- xdanger [i=xdanger@217.112.244.70] has joined #webgui21:48
-!- Irssi: #webgui: Total of 15 nicks [3 ops, 0 halfops, 1 voices, 11 normal]21:48
-!- Irssi: Join to #webgui was synced in 3 secs21:48
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has joined #WebGUI22:47
-!- mode/#webgui [+o khenn] by ChanServ22:47
-!- khenn_ [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has quit [Read error: 113 (No route to host)]22:47
-!- BartJol [n=plainstu@54-167.surfsnel.dsl.internl.net] has joined #webgui23:01
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]23:35
--- Day changed Mon Feb 11 2008
-!- apeiron is now known as devils_advocate00:10
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui00:23
-!- mode/#webgui [+o preaction] by ChanServ00:23
-!- devils_advocate is now known as apeiron00:31
-!- BartJol [n=plainstu@54-167.surfsnel.dsl.internl.net] has left #webgui []00:45
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]00:57
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui01:19
-!- mode/#webgui [+o preaction] by ChanServ01:19
perlmonkey2Oh man....this sucks.  I deleted a webgui page that another webgui page was grabbing an RSS feed from.  Now a few hours later the site is crashed and won't come back up.  Mysql won't restart and modproxy.error.log is saying error reading status line from remote server 01:31
perlmonkey2Where does the wre write the mysql error logs to, I don't see them in var/log01:32
perlmonkey2What does this mean when I try to manually start mysql? Starting MySQL ERROR! Couldn't find MySQL manager or server01:36
@preactionare you running the right environment?01:39
perlmonkey2network issues01:46
* perlmonkey2 really really really wishes his client would have went with PB hosting.01:46
perlmonkey2although if you could point me at anything that could help me with WRE backups, I'd appreciate it.  The wiki search didn't return anything.01:47
@preactionyou mean automatic backups using wre/sbin/backup.pl?01:50
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui02:12
-!- mode/#webgui [+v Radix-wrk] by ChanServ02:12
perlmonkey2preaction: yes.  The backup users doesn't have permissions, and I can't connect to the wre mysql with the mysql CL client.02:27
@preactionso you have a backup user, and in that user's cron you source in the WRE's environment and then run backup.pl?02:29
@preactioni think you have to do it as root probably02:29
perlmonkey2preaction: I am running the wre sbin/backup.pl as root, but the error is that the backup mysql user doesn't have permissions.02:30
perlmonkey2Couldn't connect to MySQL because DBI connect('test;host=localhost;port=3306','backup',...) failed: Access denied for user 'backup'@'localhost' (using password: YES) at /data/wre/lib/WRE/Mysql.pm line 9302:30
perlmonkey2 at ./backup.pl line 7902:30
@preactionoh. you might need to set up that user, or use the root user02:30
perlmonkey2I would, but I can not connect to the mysql server with the mysql client.02:30
perlmonkey2Is there something I need to set up to connect to the wre instance of mysqld?02:31
@preactionnot that i know of02:31
@preactionare you getting a permissions denied using the cli client too?02:31
perlmonkey2no, just02:32
perlmonkey2[root@li6-7 etc]# mysql -uwebgui -p02:32
perlmonkey2Enter password: 02:32
perlmonkey2ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)02:32
@preactionyou aren't using the right environment02:32
perlmonkey2DOH!02:32
perlmonkey2arg!02:32
perlmonkey2dumb, stupid perlmonkey202:33
perlmonkey2I beg forgiveness for wasting your time.02:33
@preactioni need someone who isn't a mac fanboi to give an opinion on a Mac Mini02:33
@preactionit's about $1050 to get the one I want, tricked out with power, but i could probably fix my newly-broken computer for a tenth of that02:34
@preactioni'm just tired of dealing with computer hardware02:34
perlmonkey2A Mac Mini sounds cool02:35
@preaction1) Web / Internet 2) DVD / Music 3) Emulators 4) BitTorrent. the only problem is 4 requires massive amounts of hard disk space, which the mini don't have02:35
@preactionthose are the 4 things my tv computer currently does02:35
@preactioni think i should move number 4 out to another, dedicated system02:35
@preactioni've got a computer that's been sitting dead for at least 4 months now, i could resurrect it with the parts from the TV computer02:36
perlmonkey2the mac mini's drive not only is small but it is slow.... at 5400 rpm laptop drive.02:37
@preactioni don't think the mini's designed with high performance in mind02:38
@preactioni think it's single-task oriented02:38
@preactiona mac pro would do the job, but those are even more expensive02:38
perlmonkey2I have a Q6600 4 GB DDR667, 350GB 7200 SATA2, with case for $700.02:40
@preactionyou're selling?02:40
perlmonkey2no02:40
perlmonkey2hah02:40
perlmonkey2That's what I built it for02:41
perlmonkey2It is my main desktop/workstation02:41
@preactioni think i built my TV computer for about that. with twice the storage and half the RAM. $150 on the GFX card itself.02:41
perlmonkey2and that was like last August...things should be cheaper.02:41
@preactionthat's just it though, building computers is boring. maintaining hardware is boring02:42
@preactionand frustrating02:42
perlmonkey2I agree02:42
@preactionjust out of the blue the TV computer (selene) starts a spontaneous reboot cycle02:42
perlmonkey2but a lot cheaper02:42
perlmonkey2suck02:42
@preactioni'm willing to bet it's due to the cooling system dying02:42
perlmonkey2btb, where does the wre write the mysql logs too.  It still wont' start up.02:42
@preactionor the power supply dying02:42
perlmonkey2power is likely02:43
@preactionshould be /data/wre/var/mysqldata/something.err02:43
perlmonkey2cooling is easy to check....does it reboot right afte ryou start it, or after it is working.02:43
@preactionafter it's working for a while, but hasn't finished the initial load. OS gets booted, XP starts and gets into explorer, then before it's done loading components and drivers and such, it bombs02:44
@preactionthen it either gets a little less further next time, or just sits there spinning02:44
perlmonkey2sounds like power02:44
@preactionand the case i have under the TV has a special, tiny power supply... gotta find one of thems...02:45
perlmonkey2Hmm, ./wreservice.pl --start mysql 02:45
perlmonkey2Start MySQL:          FAILED!02:45
perlmonkey2Yet nothing in the mysql.err logs02:45
@preactionnot that, using mysqld_safe or something02:45
@preactionthat wreservice.pl script hides a lot of things02:46
perlmonkey2k, I'll try it directly02:46
@preactionmight be in a log though, /data/wre/var/logs somewhere perhaps02:46
perlmonkey2No, nothing in the logs.02:47
perlmonkey2I'm running tail -f var/logs/* 02:47
perlmonkey2[root@li6-7 mysql]# ./mysql.server start02:47
perlmonkey2Starting MySQL ERROR! Couldn't find MySQL manager or server02:47
@preactionmysql.server is a shell script, right?02:50
perlmonkey2I think it is the actual mysql binary...I'll open it02:50
perlmonkey2oh, sheel02:50
perlmonkey2wife is sick...brb02:51
perlmonkey2I bet this is because I changed the company name .... It went from working fine to a few hours later, not working and no one did anything.03:01
@preactiondoesn't sound like that would screw things up03:02
perlmonkey2But mysql keeps failing to start and there is nothing in the logs03:03
@preactionit says something like "Couldn't find MySQL manager or server", which means that the shell script doesn't know where to look for the mysqld03:04
perlmonkey2but I've ran the setenv script03:04
perlmonkey2I can see the LD env params 03:05
@preactionright, i had this happen to me once, and i don't remember how i fixed it or what was actually wrong03:05
perlmonkey2wow, this really sucks...I've got a client wondering what happened to his site.03:05
@preactioni just remember i looked in that script and echoed out the paths the script got03:06
perlmonkey2I guess I'll tell him he shoul dhave wnet with PB03:06
perlmonkey2k03:06
perlmonkey2I'll try that.03:06
@preactiondid you try running /data/wre/prereqs/bin/mysqld_safe ?03:06
perlmonkey2not yet03:09
perlmonkey2something is horribly wrong.....03:09
@preactionthat's the shell script i was talking about, not the other thing03:09
perlmonkey2okay, finally got the error output: 080210 20:12:42 [ERROR] /data/wre/prereqs/libexec/mysqld: Can't create/write to file '/var/run/mysqld/mysqld.pid' (Errcode: 2)03:13
perlmonkey2080210 20:12:42 [ERROR] Can't start server: can't create PID file: No such file or directory03:13
perlmonkey2should I create a mysqld directory in /var/run?03:13
perlmonkey2what has happened?03:14
@preactionit shouldn't be trying to do that. you can specify on the command-line what you want the pid file to be i think. somewhere in that shell script is the key03:14
perlmonkey2But hwo would the my.cnf file be changed?03:15
@preactionit wasn't. that script can override the my.cnf file03:15
perlmonkey2wait a second.....there shouldn't be a my.cnf in /etc/03:15
@preactionno, there shouldn't03:16
@preactionit shouldn't be looking for one either. that script shouldn't have any reference to it03:16
perlmonkey2looks like my clients two bit hoster does one of those "reimages" where htey "auto-fix" anything tha tisn't normal.03:16
perlmonkey2removing the /etc/my.cnf fixed it.03:17
@preactionnice03:17
perlmonkey2the wre install isntructions say to copy it to .old03:17
perlmonkey2wow.....maybe it isn't too late for me to get them to move to PB.03:17
@preactionwe have VPS at reasonable rates03:18
perlmonkey2the client didn't go with PB because of disk.03:22
perlmonkey2But if their two bit hoster can't stop playing with the os config files, it wont' matter how much disk they have.03:23
perlmonkey2well this is no good, the root password for mysql isn't working, now that i can connect.03:34
@preactionuhoh03:34
-!- Samus_Aran [n=ILL@about/linux/supportwhirlwind/SamusAran] has joined #WebGUI03:36
perlmonkey2I can reset it, but how did it get changed :D03:36
Samus_Arandoes anyone know why WebGUI might be running in ultra slow motion ?  it is taking an average 5 to 10 seconds to load a page, on an unloaded server with tons of RAM03:37
Samus_Aranthe spectre perl daemon keeps on ending up with hundreds of MiB of RAM used.  and wait state is the main thing that seems to be shooting up in top03:37
Samus_Aranthe apache processes are using little CPU themselves03:37
Samus_AranI am using the latest stable release.  I haven't used WebGUI since version 4.x, which was lightning fast even on an old system, so I'm not too sure what's going on now03:38
perlmonkey2hey, I'm having that exact same problem03:39
perlmonkey2 Does the wre phone home and autoupdate?03:39
Samus_Aranperlmonkey2: hm03:39
Samus_Aranwhat is a wre ?03:40
perlmonkey2webgui runtime environment03:41
Samus_Aranah.  I don't know much about the WRE, as I installed manually.  the server has other web sites and databases on it, so I can't use the WRE03:41
+Radix-wrkSamus_Aran: I'd highly recommend the wre if you want a fast/optimised webgui setup these days03:41
Samus_AranRadix-wrk: we have only one server, and it already runs database and web content.  not sure how the WRE could be usable in such a situation03:42
perlmonkey2Radix-wrk: I'm on my second server meltdown using the wre....never had any problems with source.03:43
Samus_Arandoes anyone know if this ultra sluggy issue is just with the most recent release, or if it has been a problem for people for a while ?  (or is it just me)03:43
+Radix-wrkFair enough - though you may want to look at some of the settings for the wre and how it's set up to get an idea of how to optimise things03:43
perlmonkey2I can't log into the database with root, even though I reset the password03:43
perlmonkey2or at least think I did.03:43
Samus_AranI followed the guide more or less exactly.  it is up and running without visible errors03:43
Samus_Aranbut the spectre script is using huge amounts of RAM, which doesn't seem normal to me.  and there is apparently heavy disk writing, as the IO wait time goes up to 60% for many seconds after I do something on the WebGUI site03:44
Samus_AranI don't mind up or downgrading if it might help03:45
@preactionwhat is spectre spinning its gears on?03:45
Samus_AranI have no content yet ... but it took me ten minutes just to delete a couple items off the menus.  =/03:45
@preactionif you turn off spectre, does the site respond faster?03:45
Samus_Aranpreaction: I thought spectre was required for it to run.  or is it only required for versioning ?  I will most likely not be using versioning on this site, just server backups03:46
Samus_AranI will try closing spectre03:46
@preactionspectre is required for executing workflows and scheduled tasks (which spawn workflows). it's the offline execution engine. 03:46
@preactionthings will work without it, but some things won't happen unless it's running03:46
@preactionlike sending mail03:46
@preactionor committing version tags03:46
Samus_Aranwell, the contact form needs to e-mail the message03:47
Samus_Arandoes that use spectre ?03:47
@preactioneven if you're not using versioning, you may need spectre (if your default workflow is not "Commit Content Immediately")03:47
@preactionyes03:47
@preactionwe're trying to narrow down the list of possible causes here03:47
@preactionso we turn off spectre, and then try loading pages03:47
@preactionwhat kind of system are you running this on? 1Ghz / 1Gig are about the minimum i would attempt to run WebGUI on these days03:48
Samus_AranI did "perl spectre.pl --shutdown" and continued to use the web pages.  it is still the same slow speed03:48
Samus_Arandual 1.6Ghz, 1GiB RAM03:48
@preactionokay. how's vmstat look? are we swapping in and/or out?03:49
Samus_Aranpreaction: that is a pretty sad minimum requirement.  sigh.  I guess I should have researched before trying WebGUI 7.x03:49
@preactionwhy? webgui is huge. and in order to get quicker responses it does a lot of caching, both on-disk and in-memory03:50
Samus_Aranthe Linux kernel caches things very well, caching by the app will only end up swapping to disk03:50
@preactionit caches mysql queries? perl object instanciation?03:51
Samus_Aranfiles03:51
Samus_Aranother PHP code that uses databases on this system is instantaneous.  page loads in under .1 second03:51
Samus_Aranminimum 5 seconds on WeGUI currently, with an average of around 8 seconds03:51
Samus_Aransometimes 20-3003:52
@preactionyou can't compare "other PHP code that uses databases" to "WebGUI". they're entirely different beasts03:52
Samus_Aranalso spectre is often using up 8-10% CPU when no page requests are going on, that seems quite excessive for a background monitoring daemon03:52
@preactionWebGUI has an average of 30 db reads and 1 write per request03:53
@preactionit's not a monitoring daemon, it's an offline execution daemon03:53
Samus_Aranso long as the database is left open, that would still be nearly instantaneous on this system03:53
@preactionit runs things that would cause browsers to time-out or that users don't want to see running03:53
@preactionwhich is why we're troubleshooting, no?03:53
Samus_Aranwhich way do you want me to check the vmstat you asked about ?03:54
@preactioni just wanted to see if your box was swapping. that could cause significant delays and IO wait. are you running webgui in its own apache or alongside mod_php and others?03:55
@preactionyou're using prefork right?03:55
Samus_Aranpreaction: (regarding the multiple database queries, one of the other sites here sometimes has dozens of database queries per hit as well, always under half a second)03:56
Samus_Aranapache you mean ?03:56
Samus_Aranapache2-mpm-prefork is already the newest version.03:57
Samus_Aranthat's what is on there now03:57
Samus_Aranthe server is running Ubuntu 6.06 LTS03:57
Samus_AranApache/2.0.5503:57
@preactionokay. now, you're using PerlRequire /data/WebGUI/sbin/preload.perl right?03:57
@preactionyou're also using Apache2::Reload to make sure the apache processes don't get out of control, right?03:59
Samus_Aranhttp://rafb.net/p/iJzHcV35.txt  << this is the virtual host03:59
Samus_Aran(I replaced the domain name with "foo")03:59
@preactioner.. sizelimit, right. not reload04:00
Samus_Aranhow would I check about Apache2::Reload ?04:00
@preactiondon't worry about it, devs would use it04:00
@preactionbad for production servers04:00
@preactionuhm... WebguiRoot is /data/WebGUI but PerlRequire /var/www/WebGUI/sbin/preload.perl ? where is WebGUI really?04:01
@preactionhow many megs are these apache processes taking up? shouldn't be any more than 80 or 90M04:01
Samus_AranWebGUI is installed to /var/www/WebGUI.  for each place the documentation mentioned a path in a file, I updated it accordingly04:01
Samus_AranApache2::Reload is up to date (0.09).04:02
Samus_Aran(from cpan04:02
Samus_Aran)04:02
@preactionso why PerlSetVar WebguiRoot /data/WebGUI ?04:02
Samus_Aranhttp://rafb.net/p/mh7NHq38.txt  << apache processes04:03
Samus_Aranit is ?  I redid the virtual host at some point after I messed things up, I may have missed it the second time.  *goes to look*04:03
Samus_Aranhow could it run without that being set ?04:04
Samus_AranI have adjusted it now, restarting apache04:04
Samus_AranI have noticed since restarting Apache that the initial apache process, the one run by root that I assume spawns the others, is sitting there using CPU (3-10% average)04:11
Samus_Aranhm04:11
Samus_Aranno change in page loading/editing speed04:12
@preactioni would say the problem is probably that since WebGUI isn't the only thing being done by that apache, it doesn't keep a lot of the WebGUI stuff in-memory (frees space to be used to load other scripts)04:14
@preactionis this a production box? could you test with only webgui vhost on?04:14
@preactioni run the WRE, so i got no clue. but you could run the WRE's mod_perl instance behind your own apache running mod_proxy (much like the WRE does)04:14
Samus_Aranit is a production box, however the organisation is not large, and it only really needs to be functional during weekdays04:15
+Radix-wrkI use the wre, but have a separate apache install for php websites and use the wre's modproxy to do the work04:15
Samus_Aranso I could try something else right now04:15
+Radix-wrkso mod_perl for webgui is on port 81, mod_php on port 82, etc04:16
+Radix-wrkdoes the webgui admin guide have much info on tuning apache/mod_proxy?04:17
@apeironRadix-wrk, So the mod_proxy server receives all the requests on 80, and then forwards internally to 81 or 82, etc., es?04:17
@apeirons/es/yes/04:17
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]04:17
Samus_AranI am willing to try the WRE in that way.  didn't know it could co-exist with a regular Apache/PHP/Perl/MySQL setup04:19
@preactionyeah. the WRE is two apache instances: one mod_proxy, one mod_perl. i've had a few people forgoe the mod04:20
@preaction_proxy one and just run the mod_perl one04:20
+Radix-wrkthe biggest issue is more with mysql - as it won't co-exist with another instance04:24
+Radix-wrkI switched distro's mysql databases over to the wre one myself, but you can do it the other way if you want too04:25
+Radix-wrkthat's the only hassle with co-existance really though04:25
@preactionyeah, shouldn't matter if you do or do not use the wre's mysql really04:26
@preactionhell. you might be able to get by just by stealing the modperl.conf file out of the WRE and running it with your own apache04:26
@preactionwhether it's the WRE's apache or not shouldn't matter. just give webgui its own dedicated bit of apache + memory (2 processes perhaps)04:27
+Radix-wrkI run my wre on a virtual server with 256mb ram myself - seems to run fine04:28
@preactionhow much cache does mysql have? 300M+?04:28
+Radix-wrkI did tweak the mysql settings down a bit to compensate, but juga.biz is still pretty fast04:28
+Radix-wrkI forget what I actually changed tho :)04:29
+Radix-wrkhttp://webgui.pastebin.com/m715140a5 - that's a copy of my my.cnf file with 256MB ram04:33
Samus_Aranokay.  I was away a bit, back now.04:49
Samus_Aranpreaction: how do you think I should proceed at this point ?04:49
Samus_Arantrying a manual install of the latest beta or using the WRE with my existing setup, or ?04:49
@preactionsee how well webgui runs when it's the only thing on the apache server, probably by making a seperate apache instance that only runs WebGUI (on a different port)04:50
Samus_AranI don't mind turning off Apache/MySQL/etc. for testing04:50
@preactionwell, it's not spectre, you could probably turn that back on04:51
Samus_Aranwill try the WRE in /data/WebGUI then04:51
@preactionwait, what?04:51
Samus_Aranmm ?04:52
Samus_AranI was going to turn off MySQL and Apache and try the WRE by itself, to check perormance04:52
Samus_Aran*performance04:52
@preactionok04:52
Samus_Aranis wre-0.8.1-ubuntu-6_server-ia32.tar.gz the correct file ?04:54
@preactionprobably. are you running a 32-bit cpu?04:54
Samus_Aranyes04:54
Samus_Aranthe install notes have conflicting information about the directory structure underneath /data05:04
-!- nuba [n=nuba@hq.imaterial.org] has quit [Remote closed the connection]05:04
-!- nuba [n=nuba@hq.imaterial.org] has joined #webgui05:04
Samus_Aranthe non-symlink instructions will end up with /data/wre and the symlink instructions will give you /data/wre/wre05:04
Samus_AranI assume with only one "wre" is the correct structure05:04
Samus_Aran"Create your DNS entries (or add entries to /etc/hosts) for the sites you will be using, including the AWStats site."05:06
Samus_Aranwhat is AWStats ?05:06
@preactionit's an apache log analyzer05:07
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui06:43
Samus_Aranpreaction: I was away, back to trying out the WRE now.  I thought it came with its own MySQL ?  it is saying when going through the web based installer that it couldn't connect to a MySQL server06:58
Samus_AranCouldn't connect to MySQL because DBI connect('test;host=localhost;port=3306','root',...) failed06:59
Samus_AranI shut down MySQL and Apache, and renamed the my.conf file, prior to running this installer06:59
@preactionit does, did you start it? are you running the right environment? before working with the WRE stuff you need to source in ". /data/wre/sbin/setenvironment.sh"06:59
@preaction(the space between the . and / is important)07:00
Samus_AranI did "source setenvironment.sh" prior to starting the web installer07:01
Samus_Aranwhich should be the same as .07:02
@preactionwhat does wreservice.pl --ping mysql say?07:02
Samus_AranI have both /data/WebGUI and /data/wre, is that correct ?07:04
Samus_AranPing MySQL:           FAILED!07:05
@preactionthat means the wre's mysql isn't up or can't be reached07:06
Samus_AranI would like to find out why it can't start it07:07
@preactiontry doing "mysqld_safe"07:07
Samus_AranI didn't change any of the MySQL settings other than the passwort07:07
Samus_Aranmysqld_safe from where ?07:07
Samus_Arannevermind, it's in the path after the source environment thing07:09
Samus_Arananyhow, I went back to the other screen, and it has error messages about setting up MySQL.  looking over them now07:09
Samus_AranERROR: 1  Can't create/write to file '/data/wre/var/mysqldata/mysql/db.MYI' (Errcode: 13)07:10
Samus_Aran080210 20:57:49 [ERROR] Aborting                                                                      07:10
Samus_Arannot sure why it couldn't create it07:10
Samus_AranI ran the script as root07:10
@preactiondoes mysqldata/mysql exist?07:11
Samus_Arandrwx------ 2 webgui root 4.0K 2008-02-10 20:57 /data/wre/var/mysqldata/mysql/07:11
Samus_Aranodd permissions, root is the group, but it should ignore the "no write permission"07:12
Samus_Aranany suggestions ?07:14
Samus_AranWhen I run mysqld_safe I get the following:07:20
Samus_AranStarting mysqld daemon with databases from /data/wre/var/mysqldata07:20
Samus_AranSTOPPING server from pid file /data/wre/var/mysqldata/my_hostname.pid07:20
Samus_Aran080210 21:19:37  mysqld ended07:20
Samus_Aranand there are no MySQL processes running07:20
Samus_AranI found an error log file with this in it: [ERROR] Can't start server : Bind on unix socket: Permission denied07:21
@preactioncheck in /var/mysqldata/*.err07:21
Samus_Aran[ERROR] Do you already have another mysqld server running on socket: /data/wre/var/mysqldata/mysql.sock ?07:22
Samus_Aranthat's from that error file you mentioned07:22
Samus_Aranthere are no processes with "my" in it07:22
Samus_Aranin the command name, I mean07:22
Samus_AranI didn't get an answer from you above about the structure of /data.  is there supposed to be /data/wre or /data/wre/wre ?  and should there be a /data/WebGUI directory as well ?07:24
Samus_Aranthe documentation has errors in it regarding this07:24
-!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has joined #webgui07:26
-!- mode/#webgui [+o preaction_] by ChanServ07:26
@preaction_it should be /data/wre and /data/WebGUI. no /data/wre/wre07:28
Samus_Aranis there some way to track down why it thinks that it has already started its MySQL server ?07:30
Samus_Aranlooked through the running processes and see the previous spectre.pl still running.  closed that now07:32
Samus_Aranmade no difference07:33
Samus_AranI just realised that /data/wre/var/mysqldata/mysql.sock does not exist07:35
Samus_Aranit's not that something else is using it, it was just never created07:35
* Samus_Aran sighs07:37
Samus_Aranstarting over07:39
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]07:41
Samus_Aranthe web installer asks for a MySQL username and password.  I changed the password, and then it doesn't work.  it works with the default password07:45
Samus_Aranwhy does it give you the option to change the password if it is not going to be using it ?07:46
@preaction_the error that happened about starting the server probably caused the wreconsole to not update the password07:46
@preaction_it has to be able to start the mysqld in order to change the password07:46
Samus_Aranbut the only change I made was this time not changing the password -- and then MySQL started fine07:47
@preaction_mysql doesn't need a password to start07:47
@preaction_who knows what happened, the point is you could change that password now if you wanted to07:48
Samus_Aranthere is nowhere in the web interface that I see to change the password, only the setup07:52
Samus_Aranwhen I click on Spectre in the list of services tab, it says starting, and then goes back to a [Start] button07:55
Samus_Aranno errors07:55
Samus_Aranthe other services started07:55
Samus_Aransorry, there was an error, just couldn't see it, it was so small: "Spectre did not start successfully.07:56
Samus_Aran"07:56
Samus_Aran"to_json" is not exported by the JSON module                                                          07:56
Samus_AranCan't continue after import errors at ../lib/Spectre/Cron.pm line 2207:56
Samus_Aransigh.  I can't add a site using the web interface.  I don't know the MySQL password07:59
Samus_AranI thought it was qwe12307:59
Samus_Aran123qwe ...08:03
Samus_Arananyhow, the WRE's Spectre is broken08:08
Samus_Aranit has issues with its own Perl modules08:08
Samus_Aranassuming that the JSON thing is part of the WRE08:08
Samus_Aranwhen I try to connect to the new WebGUI site I get: Bad Gateway - The proxy server received an invalid response from an upstream server.08:09
+Radix-wrkthe mysql password is specified when you first installed the wre08:13
Samus_AranI know, but it wouldn't let me change it, so I used the default, which I didn't remember08:13
Samus_Aranthis is an absolute nightmare to set up compared to WebGUI 4.x08:14
-!- preaction__ [n=doug@static-72-1-4-143.ntd.net] has joined #webgui08:14
+Radix-wrkagreed - though admittedly it's changed hugely since version 4 too08:14
Samus_Aranall of the UI changes I have seen thus far I find to be far worse08:14
-!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]08:14
+Radix-wrkthat said.. I've had no problems installing a wre system out of the box within 10 minutes in the past08:14
Samus_Aranon the old versions it was clear to a new user where to go to get things done08:15
Samus_Arannow the menus are utterly confusing08:15
Samus_Aransomething as simple as adding a content item to a page is confusing08:15
+Radix-wrkwhy?08:15
+Radix-wrkit's pretty easy.. click new content on the left, and select what object you want08:15
Samus_Aranthe UI says it is adding a new page when you do that08:16
+Radix-wrkeverything is a "page" in webgui08:16
+Radix-wrkevery object has it's own url08:17
preaction__version 5 added the "asset" system, no?08:17
preaction__or was it 6.x series?08:17
preaction__there have been so many changes, Samus_Aran, you may as well treat it as an entirely different system08:17
Samus_AranI'm talking about a section on a page.  the things you drag around08:17
preaction__they are pages too08:18
preaction__they have urls08:18
Samus_Arana column or section08:18
preaction__you can go to just them08:18
Samus_Aranwell that is extremely messed up08:18
preaction__and that is an extremely obtuse opinion08:18
+Radix-wrkActually I tend to agree there to a certain extent.. I wish pages were the only thing that had urls08:18
+Radix-wrkbut that said, it's never really bothered me08:19
Samus_Aranit is entirely counter-intuitive08:19
preaction__only container assets?08:19
+Radix-wrkI just don't care what urls objects have, as long as my pages have the urls I want08:19
preaction__so message boards, page layouts, and wikis08:19
+Radix-wrkthey're the only ones that appear in navigation items anyway08:19
preaction__but how do you get to a wiki page then?08:19
preaction__myWikiUrl?node=something?08:19
preaction__that's ugly08:20
preaction__how do you get to a forum post? myMessageBoard?collab=id;thread=id;post=id?08:20
preaction__that's better than myMessageBoard/collab/thread/post?08:20
+Radix-wrkI think of pages, forums, etc as containers08:20
preaction__what if i think of a thread as a container? do i lose out?08:21
preaction__is a calendar a container or can their event be containers too?08:21
+Radix-wrkwell I find it all pretty confusing actually :)08:21
preaction__i agree it can be counter-intuitive, even backwards, but everything in the system has a URL, no matter what08:22
preaction__would you prefer a query string or something friendly?08:22
preaction__bonus: we don't use mod_rewrite to do it08:22
Samus_AranI am considering going back to 4.x.  It worked, was fast and did the things I needed it to do08:23
preaction__4.x even still works as a CGI, instead of mod_perl08:24
+Radix-wrkSamus_Aran: that's a shame - there's a lot to love in the new versions imho08:24
+Radix-wrkversion control for one08:25
+Radix-wrkdepends what you're after though I guess08:25
Samus_Aranversion control is another example of how confusing WebGUI 7.xi s08:30
Samus_Aran*7.x is08:30
Samus_AranI tried to use it and immediately the whole site was destroyed08:30
Samus_Arandidn't even have a template08:30
preaction__buy the content manager's guide perhaps?08:30
Samus_AranI shouldn't have to purchase a book to use an open source product.  WebGUI 4.x was easy to use with the help at the time08:31
preaction__Samus_Aran, then keep pushing on, eventually you'll understand it08:31
Samus_Aranand I would have to justify the book purchase and it would take at least a week08:31
preaction__you don't need to purchase the book, it just makes it easier08:31
Samus_AranI don't have a week to sit on my hands08:31
Samus_AranI would find a versioning system the same as a Wiki quite useful.  WebGUI seems to use some other strange system08:33
Samus_Aranplus there is no description of how to use it from the actual page.  I clicked on the first item in the list and it promptly destroyed the whole WebGUI install08:34
preaction__no, it didn't. unless you clicked a big red X 08:35
Samus_AranI believe it reverted to a pre-install state08:35
Samus_AranI was trying to reset some changes I had done, to see how it worked08:36
preaction__and i don't believe you. any deleting of a version tag or any content pops up a javascript alert box saying "Are you sure?"08:36
Samus_Aranbut it erased everything, including the template08:36
Samus_Aranthe site wasjust white after that08:36
Samus_Aran*was jsut08:36
Samus_Aran*just08:36
preaction__so you had rollback version tag?08:36
preaction__the current one, the Autotag for Admin?08:36
Samus_Aranthere was one item in a list, I clicked on rollback, assuming it would rollback to the base-install time08:36
Samus_Aranor whatever the feature is that I thought was a rollback08:37
preaction__what list? what item? under the Version Tags icon of the Admin Console?08:37
Samus_AranI am not sure from my memory08:37
Samus_AranI can't even load the WRE version of WebGUI08:37
Samus_AranBad Gateway08:37
preaction__the white page was probably the URL you were on disappearing, since you deleted the content08:37
Samus_AranThe proxy server received an invalid response from an upstream server.08:37
Samus_Aranit still had a basic menu, but there was no longer any template08:38
preaction__means the proxied server isn't running. the proxy can't reach the server it's trying to reach08:38
preaction__so there was a menu on the left side with a list of a bunch of stuff, right?08:38
preaction__plus maybe a list in the larger area on the right perhaps?08:38
Samus_AranI am talking about clicking on something about versioning on the left administrator menu, then on the right page that loads, choosing the only version listed, then telling it to use that one08:39
Samus_Aranand it proceeding (after the JS warning) to erase everything08:39
Samus_Aranwhat sort of performance can be expected from a WebGUI install that is actually working properly ?08:40
Samus_Aranon WebGUI 4.x on a crappy old computer running Debian where I was testing it, it ran extremely fast with 8-10 users08:41
preaction__we run 50-60 webgui sites on 2x2.4Ghz / 4G servers running CentOS 508:41
preaction__we run servers with 30,000+ registered users on one of those boxes, dedicated08:41
Samus_Aranthis was back in 2002 or 2001 I think.  whenever 4.x was around08:41
preaction__load stays less than 0.5, response times for a 300kB page are around 10 seconds08:42
+Radix-wrkyou seen demo.plainblack.com?08:42
Samus_Aranare you saying you dedicate a dual 2.4Ghz system to 1 site ?  or 50-60 sites ?08:42
Samus_Aranyes, I have used the demo08:42
+Radix-wrk50-60 sites08:42
preaction__we've got one box with 80 sites, and that stays at about 2 load. we dont' monitor that one anymore (the owner was told of the consequences of having more than 70 sites)08:42
preaction__both. 1 site with 30,000+ registered users08:43
preaction__and 50-60 smaller sites08:43
Samus_Aran10 seconds response time for LAN access is ludicrous08:43
preaction__i'm talking internet08:43
preaction__i don't live in the datacenter08:43
preaction__i have DSL. 100kB/s when i'm not using it for other purposes08:44
Samus_AranI mean, we will be updating and using the site on a LAN.  300KiB in 10 seconds is only 30KiB/sec, which I assume you have way more bandwidth than that08:44
Samus_Aranso the bottleneck is CPU08:44
Samus_Aranor disk access08:44
preaction__if there was a CPU bottleneck, the load would be far higher than .508:44
Samus_Araneven our basic business DSL account gets use 60KiB/sec upstream08:44
Samus_Aran*gets us08:44
preaction__okay. we must be talking two different languages here08:45
Samus_Aranso why then does it take 10 seconds to load a page ?08:45
preaction__I... Me personally... do not live anywhere near the datacenter we use08:45
Samus_Arando you have broadband ?08:45
Samus_Aranif so, it should make no difference08:45
preaction__I... Me personally... at my home... have a crappy DSL connection that is being 75% used by bittorrent at all time.08:45
+Radix-wrkour webgui server is a 3GHz P4 with 1GB ram - that runs a website with about 9300 users (who access it rarely) and over 5200 assets and it's on our lan and I usually get a page in a second or two at most.08:46
preaction__i will load the site i am talking about right now and report on the time it takes08:46
+Radix-wrkthat's our website, intranet, extranet, users account server, all in one08:46
Samus_AranI would like to find out why my manual install of WebGUI was going in slow motion on an otherwise unloaded server08:47
Samus_Aranif you're saying it should now be that way08:47
Samus_Aranbut I would also like to know why spectre was using hundreds and hundreds of megs of RAM08:47
preaction__if you want support, plain black offers ad hoc login support at reasonable rates08:47
Samus_Aranand the apache threads were using almost 100MiB each08:47
preaction__i've explained the apache threads to you already: mod_perl, WebGUI, mod_php, etc... all take up memory08:48
preaction__the reason we use Apache2::SizeLimit is because mod_perl doesn't seem to like cleaning up after itself. apache also, because it kills its own children after so many connections / so much time08:48
preaction__Apache2::SizeLimit is just more efficient and more configurable about how the processes die08:49
Samus_Aranwhat is an empty WebGUI site doing that requires more than half a gig of RAM ?08:49
Samus_Aranmy fresh install was using around 650MiB RAM in total08:50
preaction__it's not half a gig. WebGUI before it forks (mpm_prefork) takes about 70M (that's apache process + perl code + memory cache)08:50
preaction__70M per process08:50
preaction__* 5 processes (apache's default StartServers)08:50
Samus_Aranand 350MiB for spectre08:50
preaction__350M08:50
preaction__spectre grows slowly, usually due to errors talking to WebGUI08:51
Samus_Aranit had only been running, idle, for 2.5 days08:51
Samus_AranI worked on it on Thursday08:52
Samus_Aranand then again now on Sunday08:52
Samus_Aranif it keeps growing, how does a hosted WebGUI server manage to not constantly run out of RAM ?08:52
Samus_Arancronjobs to kill and restart the service constantly ?08:53
+Radix-wrkspectre is using 20mb on my server and 58-68mb for each apache process08:53
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui08:53
+Radix-wrkload average is 0.05 for me08:53
Samus_AranRadix-wrk: how long has spectre been running ?08:53
+Radix-wrkup 34 days08:54
preaction__if there are problems connecting to WebGUI, it slowly grows.08:54
+Radix-wrkthat's with a stock wre install that I compiled myself08:55
preaction__we restart it on the demo box because when demo sites are removed, it needs to be restarted08:55
+Radix-wrkthat's running on a via C7 1Ghz processor with 1GB ram - and is my home router/gateway/pc08:56
preaction__it's been more than 3 hours of you complaining about WebGUI. if you want real support, Plain Black offers it. if you follow the advice i've given you, others have given you, and the instructions, you can fix your problems.08:56
Samus_Aranthis is my WRE, by default without any modifications: 37080+504+34544+57988+57672+57668+57668+57668+57668+2248+2432+2328+2328+2328+2332+226408:56
Samus_Aranand no spectre, as it won't load08:57
Samus_Aran434720 KiB08:57
Samus_AranRSS column of PS, grepping for things from /data/08:57
Samus_Aranpreaction__: you stopped answering my questions about an hour ago08:58
Samus_Aranpreaction__: I don't think you owe anything to me, but don't say that I wasn't following08:58
Samus_AranI was trying my very best to try everything you said I should try08:58
Samus_Aranand your help is very much appreciated08:58
Samus_AranSpectre will not load for me with a stock WRE08:59
Samus_Aranit complains about JSON08:59
Samus_Aranand I can't connect to the WebGUI site I added, with the above proxy error08:59
+Radix-wrkthere's some stuff in gotchas.txt about JSON I seem to recall09:00
* Samus_Aran goes to look09:00
preaction__the 0.8.1 WRE needs updated JSON and Config::JSON. this will be fixed in WRE 0.8.209:00
+Radix-wrkstable version of webgui doesn't like newest version of JSON - and new 7.5.1 version fixes it or something09:00
preaction__no. latest stable (7.4.22) and latest beta (7.5.1) both need JSON 2.04 and Config::JSON 1.1.409:01
Samus_Aran"to_json" is not exported by the JSON module09:01
Samus_AranCan't continue after import errors at ../lib/Spectre/Cron.pm line 2209:01
Samus_Aranis the error09:01
+Radix-wrkrun testEnvironment.pl09:01
preaction__won't work. you need to force install Config::JSON09:02
Samus_AranConfig::JSON is up to date (1.1.4).09:02
Samus_Aranwhen I did the manual install, testEnvironment.pl found every module it checked, other than one which it would always say it didn't find, even though it was installed09:03
Samus_Aranthough I thought the WRE contained the complete Perl environment ?09:03
preaction__spectre is being run under the WRE? you're running testEnvironment.pl under the WRE's environment? what does echo $PATH say?09:03
Samus_AranI haven't run testEnvironment.pl from the WRE09:03
preaction__did you run cpan from the WRE's environment?09:04
Samus_Aranyou mean the all-in-one WRE is distributed broken ?09:04
Samus_Aranthat rather defeats the purpose of an all-in-one download with all the servers09:05
+Radix-wrkit just needs a few updated perl modules for the newer versions that've come out since it was released09:05
Samus_AranI am updating the modules using the testEnvironment.pl script.  hopefully that will place the modules in the correct perl09:07
preaction__it only will if you tell it to09:08
Samus_Aranwhat do you mean ?09:08
preaction__it will put the modules in the correct place for the perl that is running09:08
Samus_Aranthe perl that is running is whatever perl the testEnvironment.pl script launched09:09
+Radix-wrkyou need to use ". /data/wre/sbin/setenvironment"09:09
Samus_Aranwith the setenvironment.sh run first09:09
Samus_Aranyes09:09
Samus_Aran*sourced, not run09:09
+Radix-wrkas long as 'which perl' comes up with the one in the /data/wre directory you're fine09:10
Samus_Aranit has already installed at least a dozen Perl modules09:13
Samus_Aranprereq's for the JSON update09:13
Samus_Aranhm, a lot more than a dozen.  maybe 40.  it's just whipping through them09:15
Samus_AranChecking for module Config::JSON: 1.1.1 is installed, but we need at least 1.1.2, do you want to upgrade it now? {y|n} [y]09:20
Samus_AranGoing to read /root/.cpan-webgui/Metadata09:21
Samus_AranConfig::JSON is up to date.09:21
Samus_Aranso if cpan doesn't have it, how do I get 1.1.2 as needed ?09:21
preaction__you want 1.1.4. cpan does have it. you need to force install it09:22
+Radix-wrkI think it might be a bug in 1.1.1 - it reports itself as 1.1.4 or something09:24
Samus_Aranokay, done09:24
Samus_Aranonly one not OK now is:09:25
Samus_AranChecking for module Graphics::Magick:             Not Installed, but it's optional anyway             09:25
Samus_AranI would like that to be installed, but it doesn't seem to have a cpan listing.  I installed it through Ubuntu09:25
preaction__you want image::magic, not graphics::magick09:25
Samus_AranI think it requires a full ImageMagick to be installed09:26
Samus_Aranimage::magic or magick ?09:26
preaction__magick09:26
Samus_AranImage::Magick is up to date.09:26
preaction__so you're fine09:26
Samus_Aranwhen I did the manual install, I got Graphics::Magick installed, so that the testEnvironment.pl script gave it an OK09:27
Samus_Aranare you saying the script is checking for something that is not used ?09:27
preaction__that's the "but it's optional anyway" part09:27
+Radix-wrkGraphics::Magick was added for FreeBSD I seem to recall.. which had problems with imagemagick09:27
Samus_AranI would like all features to be available, is what I mean09:28
preaction__yah, but apeiron got IM compiling under WRE for FreeBSD so we don't need GM anymore09:28
Samus_Arane.g. Aspell is also optional, but I installed it09:28
+Radix-wrkyou won't need it09:28
Samus_Aranokay, thank you09:28
preaction__it uses one or the other, not both. if you have IM, it uses that. otherwise it tries to use GM. if it doesn't find either, it dies09:28
Samus_Aranokay, everything seems to be working now.  Spectre started successfully09:29
Samus_AranI still get the other error when trying to access the domain, though:09:29
Samus_AranBad Gateway09:29
Samus_AranThe proxy server received an invalid response from an upstream server.09:29
preaction__as i said before: it means that the proxy server can't connect to the server it's supposed to be proxy for09:30
Samus_Aranisn't the server it is supposed to connect to the apache running in the WRE ?09:30
preaction__is the modperl server running?09:31
Samus_Aranwhich is running on the default ports during the install09:31
Samus_Araneverything is running now09:31
preaction__did you add any sites?09:31
Samus_AranMySQL, Apache Modperl, Apache Modproxy, Spectre, WRE Console09:31
Samus_AranI added one site09:31
preaction__and that hostname is resolvable? can you connect to the modperl server directly using its port?09:32
Samus_AranI am stopping all the servers now, and restarting them09:33
Samus_Aranyes, DNS is fine09:33
+Radix-wrktry going to www.site.com:8109:34
preaction__WRE 0.8 uses 8081 now09:34
+Radix-wrkor whatever port you set modperl to be on09:34
+Radix-wrkokay.. 8081 then09:34
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui09:35
Samus_Aran'objToJson' will be obsoleted. Please use 'to_json' instead. at /data/wre/sbin/wreconsole.pl line 31209:36
Samus_AranCan't locate object method "autoconv" via package "JSON" at /data/wre/prereqs/lib/perl5/site_perl/5.8.8/JSON.pm line 122.09:36
Samus_Aranis that error important ?09:37
Samus_Arannot the deprecation part, but the autoconv09:37
preaction__depends, what are you doing?09:37
preaction__are you running 7.5.1 or 7.4.22?09:37
Samus_Aranthat was from the wreconsole.pl09:37
Samus_Aranit died09:37
Samus_Aranit dies when I go to the Settings tab of the web setup interface09:38
preaction__yeah, it's going to do that until 0.8.2 is released09:38
Samus_Aranokay09:38
Samus_AranI also don't like that it added a ServerAlias automatically.  I just realised that the regular web site would not be offline, it would be mapping to this beta sub-domain09:40
Samus_Aranwhich seems quite wrong09:40
Samus_Aranjoe.mysite.com should not automatically show up at mysite.com09:41
preaction__submit an RFE09:41
Samus_Aranthat defeats the whole purpose of sub-domains09:41
Samus_Aranperhaps if the subdomain is "www" then it would be an alright default09:41
Samus_Aranthough a redirect is the proper way to handle that, not a ServerAlias09:41
Samus_AranServerAlias's should pretty much not ever be used09:42
Samus_Aranotherwise Google and such will end up with two copies of the site09:42
Samus_Aranpreaction__: to your question, I am on 7.4.2209:44
Samus_Araner, I think I am.  I was when I manually installed it09:44
Samus_Arannow I'm on whatever the WRE installed09:45
Samus_AranI didn't see it mentioned09:45
Samus_Aranis the mod proxy on 8081 allow access from anywhere, or just LAN ?09:45
Samus_Aranand would I use the foo-server name or the domain name ?09:46
Samus_AranI am working remotely.  I did an SSH tunnel to access the foo-server:60834 at work09:47
Samus_Aranwould I need a similar tunnel for 8081, or should going to the domain name (which has proper DNS to the computer in question) be enough ?09:47
preaction__it's meant to allow access from the box itself, localhost. not sure what your firewall allows09:52
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]09:56
Samus_AranI mean should I be able to access it using foobar.com:8081 ?09:59
Samus_AranI can not currently09:59
Samus_Aranand yes, foobar.com's DNS does point to the appropriate IP and it is forwarded to the server in question10:00
Samus_Aranor is it10:00
* Samus_Aran goes to check the catch-all10:00
Samus_Aranokay, forwarded a port manually and now I get to a login when going to the 8081 prot10:08
Samus_Aran*port10:08
Samus_Aranhow can I fix the proxy so that I get to the site setup thing not on port 8081 ?10:09
-!- preaction__ [n=doug@static-72-1-4-143.ntd.net] has quit [Client Quit]10:19
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui10:56
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]14:26
-!- SDuensin [n=Scott@68.sub-75-205-18.myvzw.com] has joined #WebGUI15:48
-!- ckotil [n=newtrino@snare.grnoc.iu.edu] has joined #webgui15:48
SDuensinGreetings.15:52
ckotilgood morning15:52
SDuensinHowdy.15:53
nubamorning15:58
AMH_bobmornin'16:13
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui16:46
-!- mode/#webgui [+o preaction] by ChanServ16:46
BartJolmorning everyone16:51
perlmonkey2preaction: Wanted to thank you for all your help yesterday.17:15
@preactionmorning17:19
-!- ryuu_ro [n=rory@194.171.50.69] has quit []17:27
perlmonkey2what would you think is wrong with the wre if netstat -ap returned about 15 pages of this: http://pastebin.com/d52d7b70c17:37
nubagoogle docs now has forms to help the everyman collect data into spreadsheets http://www.google.com/google-d-s/whatsnew.html17:40
nubain a certain way, it sounds like a Thingy (Lite Edition)17:41
nubathings would become more interesting the moment they start allowing people to link data from one spreadsheet to another17:43
perlmonkey2hah, I was just wondering if they had an api for it :P17:43
nubathere you go http://code.google.com/apis/spreadsheets/overview.html17:45
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has quit [Remote closed the connection]17:47
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has joined #WebGUI17:48
-!- mode/#webgui [+o khenn] by ChanServ17:48
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."]18:15
perlmonkey2Ah, should there be a webgui user in the mysql.user table for the wre install?18:19
perlmonkey2I have 4 users, root, test, backup and ''18:19
perlmonkey2oh....no it is a random string...I'm guessing tha tis the webgui user.18:20
perlmonkey2nm :)18:20
@preactioneach site has its own db user, which the wre system creates with that random string18:22
perlmonkey2Do these start up wre log errors look fatal or abnormal? http://pastebin.com/d36421f8518:25
BartJolyou can find it in your config18:25
BartJolsorry, i should mind my own business18:25
perlmonkey2BartJol: ??? why?  I appreciate anyone's help18:26
BartJolyeah, but i'm only confusing you right now18:26
perlmonkey2No, I know what you mean.  18:26
BartJolby using the wre, you create a config, so you can't look it up18:26
perlmonkey2It's in the Webgui/etc/.conf :)18:27
BartJolyeah that one :)18:27
BartJolbut dies anyone here now a thing or two about scratch variables?18:27
perlmonkey2I'm on like hour 10 of trying to figure out why when webgui starts it creates 400 or so localhost tproxy connections, and would try to make more, but for os limits.18:28
BartJoldoes not dies18:28
perlmonkey2BartJol: I dream of the day when I can quit my job and learn all about webgui.18:28
BartJolwell, I'm allowed to spend a couple of hours a week programming18:29
BartJolfor my amusement and learning curve18:29
BartJolbut about the connections, I'm afraid I don't know18:30
perlmonkey2completely driving me insane...the error logs are worthless.18:30
perlmonkey2Is this a bad thing to see in the wre error logs: Compilation failed in require at /data/WebGUI/sbin/preload.perl line 72.18:36
BartJolwell18:37
BartJolnot really18:37
perlmonkey2I just don't get it......everything was working fine.  Nothing changed, but all of a sudden it wasn't.18:37
BartJolmostly a script that is handled by perl and has some strange mistakes in them can give that18:38
perlmonkey2the wre doesn't auto-update does it?18:38
BartJolnop[e18:38
BartJolyou did do " .setenvironment.pl"18:38
BartJoli suppose18:39
perlmonkey2yes18:39
perlmonkey2every time I'm starting something I do that.18:39
BartJolcan't do that often enough it seems18:39
perlmonkey2heh, my path is like 400 lines long now I'v ran it so much.18:40
BartJolbut does the log also refer to another script?18:41
perlmonkey2?18:41
BartJolor does your modperl log say something about it18:41
perlmonkey2that is the error log for mod_perl18:41
perlmonkey2just I'll relook18:41
BartJolah, darn18:41
@preactionyou might want to try running preload.perl by itself quick18:41
perlmonkey2BEGIN failed--compilation aborted at /data/WebGUI/lib/WebGUI/Asset/File/Image/Photo.pm line 21.18:42
perlmonkey2Compilation failed in require at /data/WebGUI/sbin/preload.perl line 72.18:42
perlmonkey2is the full line.18:42
perlmonkey2okay preaction I"ll try that.18:42
@preactionha18:42
@preactionImage::ExifTool <- you're missing that i think18:42
@preactionwhen you see BEGIN failed -- compilation aborted, try doing a: cd /data/WebGUI/lib; perl -c WebGUI/Asset/File/Image/Photo.pm18:43
@preactionthat'll show you the real error18:43
perlmonkey2I'm missing a lot of files18:44
perlmonkey2I get a lot of those.18:44
perlmonkey2Can't locate Image/ExifTool.pm18:44
@preactionwhich means you're missing that perl module18:44
perlmonkey2Actually , if no one complains about the spam:18:45
perlmonkey2Can't locate Image/ExifTool.pm in @INC (@INC contains: /data/wre/prereqs/lib/perl5/5.8.8/i686-linux /data/wre/prereqs/lib/perl5/5.8.8 /data/wre/prereqs/lib/perl5/site_perl/5.8.8/i686-linux /data/wre/prereqs/lib/perl5/site_perl/5.8.8 /data/wre/prereqs/lib/perl5/site_perl .) at WebGUI/Asset/File/Image/Photo.pm line 21.18:45
perlmonkey2BEGIN failed--compilation aborted at WebGUI/Asset/File/Image/Photo.pm line 21.18:45
perlmonkey2preaction: But how could I be missing it, if I'm using the wre?18:45
@preactionit's a new requirement18:45
@preactionafter 0.8.1 was released18:45
perlmonkey2I'm just not sure how I got a version of webgui tha tneeds something the wre didn't supply.  and why it worked for a long time then stopped working.18:46
perlmonkey2Should I update the wre?18:46
@preactionthere is no 0.8.218:46
perlmonkey2wreupgrade.pl18:46
perlmonkey2oh.18:46
perlmonkey2ah.18:46
perlmonkey2so the wre is broken?18:47
perlmonkey2and somehow I got an update of webgui that needs something that the wre doesn't have?18:47
@preactionno. it's just missing some new developments in WebGUI18:47
perlmonkey2oh...so this isn't the fatal issue I'm having?18:47
@preactionthis is the fatal issue you're having. even the WRE's installation instructions suggest running testEnvironment.pl18:48
* perlmonkey2 has soooo much to learn about WebGUI.18:48
* perlmonkey2 has money if you have a WG dev guide beta book :D18:50
@preactiondev guide doesn't cover this stuff. this is admin guide stuff18:50
@preactiondev guide covers coding and API18:51
perlmonkey2yeah, something I would have instantly caught if I wasn't useing the WRE.18:51
perlmonkey2I just assumed that there could not be any perl lib issues with the WRE.18:51
@preactionyou could probably post a bug as a reminder to JT to include that module in the WRE 0.8.2 when he's ready18:51
perlmonkey2there are like 518:51
perlmonkey2modules that failed18:52
@preactionArchive::Any, Image::ExifTool, are the two i know of18:52
perlmonkey2oh18:52
perlmonkey2those are the two I have18:52
@preactionthose are the two i added for the Gallery18:53
perlmonkey2with broken cpan requirements trees18:53
perlmonkey2thanks :D18:53
@preactionthe updated JSON and Config::JSON, but i think there's already a bug out there about those18:53
perlmonkey2yeah, that seems fixed.18:53
perlmonkey2I just don't get how it worked on my system, then stopped working without an upgrade or anything.18:53
* perlmonkey2 just realized he's updating perl in /usr/lib instead of /dat18:54
nubahappens18:55
nubasometimes18:55
perlmonkey2oh, no I'm not....setEnv , duh18:55
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui18:55
-!- mode/#webgui [+v perlDreamer] by ChanServ18:55
+perlDreamerwhoa!18:56
+perlDreamerIt's xdanger18:56
+perlDreamerhe's back18:56
+perlDreamer(at least in bot form)18:56
perlmonkey2preaction: that didn't fix things, but it made the error logs a lot cleaner: http://pastebin.com/d12e825f918:57
@preactionif your server reached MaxClients, with no users, you have a problem. modperl's httpd.conf is at /data/wre/etc/modperl.conf18:58
perlmonkey2that error log is associated with about 400 tproxy localhost connections creating and dieing as fast as the OS can do it.18:58
nubasounds like fun..                  not.18:59
perlmonkey2hah......more than mere words can express :)18:59
nubaperlmonkey2: you can add something like this to setenv: export PS1="now im setenv'ed - $PS1"19:01
perlmonkey2nuba: I know I have the env correct.  But I manually ran preload.perl and got this: Starting WebGUI 7.5.019:02
perlmonkey2Can't locate object method "server" via package "Apache2::ServerUtil" at preload.perl line 80.19:02
perlmonkey2is that just because I'm running it manually?19:02
+perlDreameryeah19:02
perlmonkey2the modperl.conf looks completely normal.  I just wish there was some sort of error output for what is going on.19:03
nubai suppose you have enabled more verbose logging for apache?19:03
perlmonkey2nope...thanks I'll look up how to do that :)19:04
nubaif not thats a way to troubleshooting19:04
nubarun a single apache instance as well19:04
nubaenable mod_status19:04
nubalet me see..19:04
BartJolhi perldreamer19:06
nubai have modperl.error.log and modproxy.error.log on /data/wre/prereqs/apache/logs19:06
+perlDreamerYo, BartJol19:06
BartJolmy macro works19:06
+perlDreamerAwesome!19:06
nubathats 0.7 wWRE19:06
BartJolnow I have to extend it, because it works on every reload i believe19:06
+perlDreamerhuh?19:06
BartJolthat's a bit to much, so, i will incoporate a scratch variable19:06
perlmonkey2nuba: that tree doens't exist in 8.1.  I'll see if I can find where apache is now.19:06
BartJolyou mean it is cached?19:07
nubayou can try "find /data/wre -name modperl.error.log"19:07
+perlDreamerIf you have admin mode turned on, caching is disabled.19:08
+perlDreamerBut then it would transfer karma on every page load19:08
+perlDreamerso a scratch variables could be good.19:08
BartJolyeah, and if the session is longer than the cache time out, it also runs too often19:08
BartJoland 1 more thing, it should not work when the current user is also the owner of an object19:09
perlmonkey2nuba: I ran from wre/ find . -depth|grep .log$ and no appache.error.log showed up.  Only var/logs with modproxy and modperl19:09
+perlDreamerthat's pretty easy to detect19:09
BartJolI know19:10
BartJolsomething like WebGUI::Session->getUserId19:10
+perlDreamer$session->user->userId19:10
BartJoland a new session object, I'm not using that currently19:12
BartJolI'm stupid19:12
BartJolfirst shift19:12
BartJolalways19:12
+perlDreamerevery macro gets a session sent to it automatically19:12
BartJolI realise that now19:13
BartJolthe last one is already implemented19:16
BartJolscratch variable not yet, but first I'm gonna have dinner\19:16
BartJolmaybe tonight if I really don't feel like preparing a presentation on the commerce system19:18
+perlDreamerThe commerce system is going to change19:18
BartJolyeah, that's what the presentation is about19:19
BartJolthe 44 page pdf is already in my bag19:19
BartJolbut I'll be back to annoy you soon :)19:21
* perlmonkey2 installed all the perl reqs in cent 5.1, I'll see if I can do it in cent 5.019:21
@preactionBartJol, you're doing the presentation on the new commerce? nice19:21
BartJolyou at Arjan's place19:21
BartJolunited knowledge19:21
BartJolnot at the wuc19:22
BartJolif I come it will be on the use of macro's19:22
@preactionoh19:22
@preaction:p19:22
BartJolmaybe I can do 219:22
BartJolwill it be ready?19:23
BartJol:)19:23
BartJolotherwise it is a bit of a roadmap talk19:23
@preactioni think that's why rizen is offline presently, besides the convention he was just at19:24
+perlDreamerWell, I think the new commerce idea of basing all currency on the rupee is wrong.19:24
@preactionWDK and Commerce are his two goals for the next couple months19:24
+perlDreamerIt's pretty stable wrt the dollar and the Euro, but still.19:24
@preactionRupees are the new currency! they're good enough for Link19:24
BartJolwell, I'll think about it, first have a look whether I can come at all19:29
BartJolbye19:29
-!- BartJol [n=plainstu@194.171.50.123] has left #webgui []19:30
@apeironDangit, I'm doing one on commerce. I refuse to give up my talk on one of the Next Big Things in WebGUI.19:32
@apeironI didn't want to give up a talk on the nonexistent API of Thingy, do you think I'm going to give up one on Commerce?19:32
@preactionuhm... no?19:32
@preactioni wonder which ones i'm going to have to give up19:33
@preactioni don't want to give up any either19:33
@preactionthere's no Thingy API? there's no way to plug-in different kinds of handlers or something?19:33
@apeironJT said to me in email "There's no pluggable API for thingy".19:35
@apeironThis was after I said I didn't want to give up that talk. :)19:35
@preactiondamn...19:35
@preactionwho knows, maybe it won't need one19:36
@preactionbut technically there's no pluggable API for the Gallery currently. you have to edit the Gallery itself to plug-in a new File type19:36
@preactioni suppose i should start pondering that eventually19:36
CIA-21WebGUI: graham * r5413 /wrebuild/wre/var/setupfiles/modproxy.template: add comment about uploads security to modproxy template20:09
+perlDreamer"there is no spoon"20:09
CIA-21WebGUI: graham * r5413 /wrebuild/wre/var/setupfiles/modproxy.template: add comment about uploads security to modproxy template20:10
CIA-21WebGUI: graham * r5413 /wrebuild/wre/var/setupfiles/modproxy.template: add comment about uploads security to modproxy template20:10
+perlDreamerCIA-21: you've got the squirts20:10
* perlmonkey2 really wishes WG didn't use Apache::Request220:16
+perlDreamerwhat should it use instead?20:16
perlmonkey2something that most linux distros support out of the box instead of requiring a PhD in operating systems to install.20:17
@preactionApache2::Request is part of mod_perl and libapr20:17
+perlDreameryeah, yum it20:17
+perlDreamerI haven't needed to compile anything for Fedora for a very long time20:17
@preactionor apt-get, or emerge, whatever your distro does20:17
+perlDreamerwell, until the wre20:18
+perlDreamerbut the WRE comes with everything except for some of the modules20:18
+perlDreamerperl-libapreq220:19
+perlDreamerthat's from FC6, and it should be the same on RHEL 5/CentOs/SciLinux20:20
perlmonkey2perlDreamer: this is cent20:20
+perlDreamer4 or 5?20:20
perlmonkey2520:21
perlmonkey2I have apr, apr-devel, mod_perl, mod_perl-devel, apache, apache-devel20:21
perlmonkey2it makes, but failes on make test.20:21
perlmonkey2I'm just an idiot....test suites were failing because I was root.20:24
CIA-21WebGUI: graham * r5413 /wrebuild/wre/var/setupfiles/modproxy.template: add comment about uploads security to modproxy template20:27
+perlDreamerperlmonkey2: Here's someone else's experience with libapreq2 and CentOs 520:29
+perlDreamerhttps://webwork.maa.org/moodle/mod/forum/discuss.php?d=571720:29
perlmonkey2perlDreamer: You see what I said above?  I was running the test suites as root.20:30
perlmonkey2which is a big nono20:31
perlmonkey2my own fault20:31
perlmonkey2but all the libs are built now.  So I can move my wre install to a source install and see if the network issues continue.20:31
perlmonkey2what is funny is the way I'm having to do the mp3 rss feed for the client, it would have worked the same if we had used PB hosting and a 5/month hoster for disk, and about $10/month cheaper.20:32
@preactionpb does offer disk space upgrades. they should be in the store20:38
perlmonkey2They found some hoster that gave 100GB for $7.99/month or some such.20:39
perlmonkey2and most of the VPS's they wanted gave 15GB to 20GB for $30-$40/month.20:39
perlmonkey2I really wish I could offload this project onto PlainBlack :D20:40
nubaperlmonkey2: i just tried some cheapass hosting which gave me 120GB/8.99/mo20:41
nubawhere i was dumping my backups20:41
nubanext thing is they block the account a couple of weeks afterwards, saying that it goes against their TOS20:42
perlmonkey2nuba: My plan was an XML::RSS daemon on the cheapass server up the mp3/video to the WG server.20:42
perlmonkey2nuba: yeah, what I was figuring.20:42
perlmonkey2no one gives that much disk away20:42
nubai somehow talked my way out of that and told them I planned to serve these "machine snapshots" to my friends20:42
nubain a website20:42
perlmonkey2sucker you in with lies and then it is too painful to leave.20:42
nubaas of yet, its still on, that was a couple of months ago20:43
nubaI told them I was just the sysadmin, and the user was another guy, and that I would forward the warning but "please send me the part of your TOS with the wording that says I cant do that"20:44
nubai never heard back from them with the wording20:44
nubachecked the TOS myself, found nothing20:44
nubaso all ok until now, of course they can just change the TOS and ruin the party if they want to20:44
CIA-21WebGUI: graham * r5413 /wrebuild/wre/var/setupfiles/modproxy.template: add comment about uploads security to modproxy template20:54
perlmonkey2hah, I think I know what is going on.20:55
perlmonkey2this is classic20:55
perlmonkey2the rss feed on the front page is grabbing an rss producing collab object on another page.  That collab object is now gone.20:55
nubagremlins?20:55
perlmonkey2but the rss feed is hammering the server trying to get that feed20:56
perlmonkey2that just makes me sad20:56
nubaisnt that a bug?20:56
perlmonkey2a huge one20:56
perlmonkey2that has wasted maybe 24 solid hours of my time I didn't have to waste.20:57
nubahammering the server until it gets the feed it wants20:57
perlmonkey2I'm not 100% sure that is the problme20:57
perlmonkey2but once I commit the removal of the rss feed, I'll know for sure.20:57
perlmonkey2if I can get to the commit page.20:57
+perlDreamerperlmonkey2: iirc, Spectre does the RSS prefetch20:58
+perlDreamerso disabling that workflow may immediatly reduce your load20:59
perlmonkey2spectre isn't running ....20:59
perlmonkey2I'll try to commit the changes which remove the rss feed and then disable that workflow20:59
perlmonkey2do workflows do anything when spectre isn't running?21:01
+perlDreamerthey shouldn't21:01
perlmonkey2would it be the EMS Precache?21:01
@preactiondo you have a Syndicated Content wobject? if there is no RSS prefetch, then the SC asset tries to do i t21:02
@preactionworkflows can run without spectre. spectre just tips them off. WebGUI does the real work21:02
perlmonkey2yes21:02
+perlDreamerit's the GetSyndicatedContent Workflow activity that prefetches RSS21:03
perlmonkey2that has to be what is happening.21:03
perlmonkey2and the wobject shows locked and all versions committed.21:03
CIA-21WebGUI: graham * r5413 /wrebuild/wre/var/setupfiles/modproxy.template: add comment about uploads security to modproxy template21:03
@preactionwtf is CIA on a loop or something?21:04
@apeironI think it's subtly trying to tell us how important that commit is.21:04
@preactionit's not being very subtle about it21:05
nubawell at least its not flooding the channel21:05
-!- SDuensin_ [n=Scott@130.sub-75-205-112.myvzw.com] has joined #WebGUI21:06
@apeironpreaction, http://code.google.com/p/cia-vc/issues/detail?id=221:07
@apeironSeems other people are seeing this too.21:07
perlmonkey2the explosion only happens when I go to the I have a SC that is locked on the front page.  I'm 99% sure it is the problem.  How do I unlock it?  Spectre is running.21:07
@preactionperlmonkey2, you have to wait for spectre to process the commit21:08
@preactioncia.vc seems to be only partially reachable at the moment. so i don't know if i can even remove the bot21:09
nubamost repeated revisions by CIA bots, from my partial irclogs:21:09
nubahq% grep -E '< CIA.* \* r.*' \#webgui.200* | awk '{print $7, $5}' | uniq -c | sort -rn | head 6 r5413 graham 6 r5207 jt 3 r5255 doug 3 r5209 jt 2 r5391 doug 2 r5292 jt21:09
nubaoops some linebreaks are missing there21:10
nuba6 r5413 graham21:10
nuba6 r5207 jt21:10
* apeiron would rather the paste be on one line than flood the channel. :)21:10
nubaheh true21:10
perlmonkey2wow21:11
-!- BartJol [n=plainstu@54-167.surfsnel.dsl.internl.net] has joined #webgui21:11
perlmonkey2so the SC was the problem21:11
perlmonkey2don't ever have an SC pointing at a bad uri....or at least one you own, cause it will DOS yoru machine.21:11
nubarank of revisions where CIA bots got stuck, NOW ON PASTEBIN! http://webgui.pastebin.com/m26f05bef21:12
nubagraham's r5413 is in a tie with JT's r5207 in the first place21:14
nubaim rooting for graham, hes such a bug fixing whiz!21:15
nubago graham go21:15
nuba>cause it will DOS yoru machine.21:16
nubadont forget aobut DOSing someone else's machine21:16
perlmonkey2nuba: well that would have been btter...they could have blocked the requests and let me know I was DOS'ing them.21:19
perlmonkey2instead the machine just died.21:19
perlmonkey2wow, that bug just cost me a lot of money21:21
perlmonkey2suck21:21
BartJoldoes a scratch variable just have 1 value, that can be altered?21:22
BartJoloh and hi guys21:22
BartJolor can it contain more values?21:22
+perlDreameryou'd have to manually serialize it yourself, BartJol21:22
BartJolserialize?21:23
+perlDreamertransform from multiple values into 1 value (like a string)21:23
BartJolah21:23
BartJolbecause I just want to store the visted url's in a session21:24
BartJolso I have to make a variable each time an url is visited?21:24
+perlDreamerSomething has to keep track of where the user has been and how long ago21:25
+perlDreamerKind of sounds like the passive profiling system21:25
BartJolwell, the time is not very interesting to me21:25
+perlDreameris it one time ever?21:25
+perlDreameronly once?21:25
-!- SDuensin [n=Scott@68.sub-75-205-18.myvzw.com] has quit [Read error: 110 (Connection timed out)]21:25
BartJolyes, well at least, one per session21:26
-!- SDuensin_ is now known as SDuensin21:26
BartJolone for always is also possible, but then I have to store it somewhere21:26
BartJolin the db21:26
BartJolthat would be a disc consuming business21:27
@preactionsession->scratch is cleaned up when the session is cleaned up21:27
BartJolI know, but that is no really objection to me21:27
* perlDreamer lunches21:27
nubaBartJol: you need to keep track of it in the cookie?21:28
BartJolno, in a session21:28
nubaBartJol: would storing a row with (date, userid, pageurl) in a DB work for you?21:28
BartJolwell, only when it's done when my macro is axecuted, not on page loading21:29
nubayou could regularly expire old records21:29
nubaand its simple to do that with a macro21:29
BartJolcan it be done within the api?21:30
BartJolI rather not do it by writuing directly into the db21:30
BartJolthen I may have to reprogram it for a new version21:31
BartJolyou know what my macro is doing?21:32
nubawell I wold create another DB instead of using WebGUI's21:32
nubaand there, create a table21:32
nubathen theres this, i dont know what you want to do with this data21:32
BartJolwell21:32
nubaif you use your DB, your table, your SQL queries wont change21:33
BartJolit's an AddKarma macro, to be executed within a template21:33
nubaunless you change your DB schema21:33
BartJolI'll keep it in mind21:33
BartJolthanks21:33
nubaso you wont have to change it every time WebGUI is released21:33
nubawith a change in the DB21:33
BartJolbut it should give karma to the owner of an asset when it's visted21:34
BartJoland I want to implement, that it is possible only once per session21:35
BartJolfor one asset21:35
nubaso you want the macro to know what asset it is being called from?21:35
BartJolso I'd like to store the url, so it can check whether the asset is already visited21:35
BartJolyes, but that part is already working21:36
BartJolthe url (or in the future you can also choose the Id) is given with the macro by a tmpl_var21:37
nubasounds interesting. would be great if there was a "run on session expire" feature in webgui.21:37
nubalike event handlers21:38
BartJolbut maybe I should also build a choice that it is only possible once per asset revision or asset21:38
BartJolbut a db creation is quite usefull, especially for the last option21:40
BartJolwill be difficult to check revisions21:40
BartJoland i also have to keep the user visitor in mind21:42
nubayou can store the session hash as well21:42
-!- wgGuest88 [n=wgGuest8@static-adsl201-232-86-73.epm.net.co] has joined #webgui21:42
nubainstead of the user. or both.21:43
nubaif tracking users is of relevance21:43
wgGuest88hello21:43
BartJolhi21:43
BartJolwell that was why i limiting it to sessions21:44
nubaBartJol: gimme a sec.21:44
BartJolsure21:44
BartJolwhat's up wgGuest 88?21:44
wgGuest88i have a question related to the sql forms, when i go to a sql form, it shows the search template as default21:45
BartJolyes21:45
wgGuest88can i change it to show to the template that have the fields to add a new record?21:46
BartJolI suppose so21:47
wgGuest88how can i change it?21:47
wgGuest88do you know?21:47
BartJoloh, there is only one opption, but you did create a new template?21:48
BartJolor do you mean the template that is shown while creating the form?21:49
-!- wgGuest88 [n=wgGuest8@static-adsl201-232-86-73.epm.net.co] has quit []21:49
-!- wgGuest81 [n=wgGuest8@static-adsl201-232-86-73.epm.net.co] has joined #webgui21:49
wgGuest81hello21:49
wgGuest81bartJol, now i am wgGuest8121:50
BartJoli suspected already21:50
BartJoldid you get the last remark?21:50
wgGuest81i need to put the template that shows the form as a default when someone go to the sql form21:50
BartJolmmm, I should make an sql form myself, to test it21:51
wgGuest81ok21:51
-!- wgGuest43 [n=wgGuest4@static-adsl201-232-86-73.epm.net.co] has joined #webgui21:54
nubaBartJol: i added this line to my site's modproxy apache config file: CustomLog /tmp/BartJol.log "%{wgSession}C %h %l %u %t \"%r\" %>s %b"21:54
nubathen head -1 /tmp/BartJol.log21:54
nubalGtANrQ0lwU2sHC00wBSEw 201.78.30.151 - - [11/Feb/2008:17:24:49 -0200] "GET / HTTP/1.1" 200 1873821:54
wgGuest43hi21:54
nubaso you could keep track of urls being visited in a session this way too21:54
BartJoland how do I check that from within the macro21:55
nubawrite to a log, then process/rotate it with a cron job21:55
wgGuest43i try to run spectre.pl and Displays the following error: 'jsonToObj' will be obsoleted. Please use 'from_json' instead. at /usr/local/share/perl/5.8.8/Config/JSON.pm line 13421:55
BartJolmmm sounds possible, but maybe a bit above my knowledge right now21:56
wgGuest43how i can fix this?21:56
BartJoloh joy JSON again21:56
-!- wgGuest43 [n=wgGuest4@static-adsl201-232-86-73.epm.net.co] has quit [Remote closed the connection]21:57
-!- wgGuest25 [n=wgGuest2@static-adsl201-232-86-73.epm.net.co] has joined #webgui21:57
wgGuest25hi21:57
nubamaybe it should be added to the topic. "jsonToObj errors? update JSON and Config::JSON!"21:57
@khennthe JSON issue will need to be fixed.  It shouldn't cause any problems though21:57
@khennjust make sure you are running WebGUI 7.4.2221:58
BartJolbut I will try to help on the sql issue of wgguest 81/88 template thingy21:58
@apeironHmm, if memory serves that's a warning not an error, yes? The "'jsonToObj will be obsoleted'"21:58
BartJolwith emphasise on try21:59
nubaanother good one for the topic: "Something broke? Did you check docs/gotcha.txt?"21:59
@khennyes , it's a warning21:59
@khennnothing breaks21:59
@khennlog it as a bug on pb.com if it's not already there22:00
wgGuest25yes a warning22:00
wgGuest25but, i don't see my webpage22:00
wgGuest25i saw in blank22:01
@khennthat's not because of spectre22:01
@khennthat's a different problem22:01
wgGuest81BartJol, if a call a macro in a template and it returns a collections or records, is posible to show a list of this record directly in the template?22:01
@khenncheck the the modproxy logs22:01
BartJolwgguest 81, sorry, I have some issues creating another database, I'm a bit of a sql newby22:03
wgGuest81ok22:04
BartJolstill trying though, have to learn22:05
wgGuest81hello all22:07
metanil<tmpl_var form.start> will return the form tag with its proper action.. with i found it doesn't have name..  how can i able to give a simple name to this form.. (implicitly in form.start)22:07
wgGuest81if a call a macro in a template and it returns a collections or records, is posible to show a list of this record directly in the template?22:08
@preactionyou can't. you could write your own form.start though (in the template)22:08
Samus_Aranpreaction: are you around today ?  I could use a bit of help if you are22:08
@preactionwgGuest81, macros are processed after the template is processed. dunno if that answers your question22:08
@preactionSamus_Aran, can't. taking lunch and buying compy parts22:08
* preaction &22:08
metanilpreaction, you mean 'template' i could see 'form.start' in the template itself. there must be some .pm file which drives this.. is it?22:10
Samus_AranRadix_: or you, as you mentioned using the proxy thing.  I would like to use the WRE with the pre-existing Apache, using a mod_proxy to hand off requests as appropriate22:10
Samus_Aranpreaction: no problem.  enjoy22:10
wgGuest81preaction, if a put the macro in the beggining of the template, it will be executed after the template, too?22:10
BartJolyes22:11
@khennmetainl22:12
@khenn:22:12
@khenncopy the html from <tmpl_var form.start>22:12
@khennthen go into the template22:12
@khennremove <tmpl_var form.start>22:12
@khennpaste in what it was printing out22:12
@khennand modify as necessary22:12
@khenndon't change the action22:12
@khennthen you can name it whatever you want22:12
BartJolmmm, mysql won't let me create the db and I don't rmember the db admin passwd comination... so I'm afraid I can't help you at the moment wgguest 8122:13
@khennyou don't need to modify the core of WebGUI to make template changes22:13
BartJolhave to fix that first22:13
Samus_Arandoes anyone else know anything about using the WRE alongside an existing Apache/Perl/MySQL install ?22:13
BartJoland I like to improve my macro, which also eats time22:13
Samus_Aranas the manual install runs in ultra slow motion for me, quite unusable22:14
@khennI know it can be a pain to install manually.22:14
Samus_Aranor is there simply some way I can test the WRE on an alternate port ?22:14
@khennbut you know that too22:14
metanilkhenn, i am thinking of changing WebGUI::Form::formHeader.. .. is it ok?22:14
wgGuest81thanks BartJol22:14
@khennno22:14
@khenndon't change that22:14
@khennnext upgrade you'll lose your changes22:15
@khennjust replace <tmpl_var form.start> with raw HTML22:15
Samus_AranI got it installed manually quite well, without any issues I thought, but then it was going in slow motion.  10 to 30 seconds to load any page, on an unused server22:15
@khennas long as you have the same action, it will be fine22:15
@khennSamus, it could be a number of things22:15
Samus_Aranso now I want to try the WRE.  almost got the WRE working on the weekend, but couldn't access the site through the proxy22:15
metanilhmm.. thanks khenn.. 22:16
@khennit could be: the number of child processes in apache22:16
@khennI believe WebGUI itself uses 322:16
Samus_AranI reduced the children, as they were using tons of RAM22:16
@khennwhat did you reduce it to?22:17
Samus_Aranit was at 8 or 10 I think, and each was using around 78MiB RAM22:17
@khennI think I run my dev server at 522:17
Samus_Aranwhich seems highly excessive22:17
metanilkhenn, what if that template is used by several pages???22:17
Samus_Aranthe server is a dual-CPU 1.6Ghz with 1GiB RAM currently22:17
@khennmetanil: what is the action?22:18
@khennon each of the pages22:18
@khennis it posting to itself?22:18
@khennif so, use the page macro as the action22:18
@khennSamus:  have you checked DNS22:18
metanilits the page which add this template22:18
@khennwe had issues a few weeks back where the server wasn't recognizing DNS22:18
@khennwhich was causing every image to load ultra slow22:18
-!- wgGuest25 [n=wgGuest2@static-adsl201-232-86-73.epm.net.co] has quit [Remote closed the connection]22:18
@khennHaarg would know more about the DNS stuff than I would22:19
metanilkhenn, like /home/music/genre/form22:19
@khennI think we had to explicitly put something in /etc/hosts22:19
metanilfor this will only work for form page right?22:19
@khennmetanil: I think the page macro should work fine22:19
@khennI can't remember what it is22:19
metanilummm.. yaa. that would be great.22:19
@khennthough22:19
@khennjust set the action of the form to the page macro22:19
metanil(why didn't i think about it before)22:19
Samus_Arankhenn: MinSpareServers      2, MaxSpareServers      4, MaxClients           2022:20
metanilkhenn,, and macro will return exact page url, right22:20
wgGuest81BartJol, can you help me tomorrow with the sql form?22:20
wgGuest81i am going to test at night and if a get something i will tell you tomorrow22:21
BartJolwell other people know more about it22:21
wgGuest81Who?22:21
Samus_Arankhenn: and I added a MaxRequestsPerChild  300, as I was concerned about a memory leak such as was present with spectre (using 350MiB RAM after 2 days)22:22
BartJolbut tomorrow I'm only available til 6 pm cet22:22
wgGuest81ok22:22
BartJolwell, I suspect everyone :)22:22
-!- wgGuest64 [n=wgGuest6@static-adsl201-232-86-73.epm.net.co] has joined #webgui22:22
-!- wgGuest64 [n=wgGuest6@static-adsl201-232-86-73.epm.net.co] has quit [Remote closed the connection]22:23
-!- wgGuest24 [n=wgGuest2@static-adsl201-232-86-73.epm.net.co] has joined #webgui22:23
@khennmetanil: the macro will return the page it's on22:23
@khennso that actually might not work22:23
Samus_Arankhenn: my Apache threads normally use 4.3MiB RAM, and with WebGUI that goes up to around 78MiB each.  it seems that WebGUI does not play well in a shared environment22:23
@khennunless the asset itself is the page22:23
@khennif that's the case, it'll work great22:24
@khennif the asset is on a page22:24
BartJolwgGuest81, dapperedodo and Mr Hairgrease know a lot about it, but are on holidays right now22:24
@khennthen the post will not work correctly when on the page22:24
Samus_Aranas there are other web sites, which will now use tons of RAM even serving simple HTML pages22:24
metanilhmm.. ya.. i think so..22:24
BartJolbut they have a site22:24
@khennSamus:  here's what I would recommend doing22:25
perlmonkey2is there anyway to have cgi-bin be a functional scriptalias passthru?  I can't seem to make it work.22:25
@khenndownload the latest WRE and install it on a test box (or virtual machine)22:25
@khennthen look at how we've configured apache / mod perl / etc22:26
BartJolsorry wgGuest81, I was mistaken, it was on the sqlreport and in dutch.. which might cause some trouble22:26
BartJolbut it is www.sqlreport.org22:26
@khennI run on the WRE 0.81 on a P3 550 with only 512 megs of ram22:26
@khennand it's actually pretty fast22:26
@khennso it's definitely something with your configuration22:27
@khennoh I'm running on Centos22:27
@khennI also have a dev box on my mac22:27
@khennbut that's a different story22:27
@khennperlmonkey2:  you need to set up a rewrite rule in apache22:28
perlmonkey2khenn: okay, thanks :)22:28
Samus_Arankhenn: how much RAM do your Apache threads use each ?  mine are 60 to 70MiB each as soon as WebGUI is enabled22:28
@khennon my P3, I get up to 380 megs used at times22:29
Samus_Aran(with a manual install)22:29
@khennI've never had the box crash22:29
@khennand I've never had it run ultra slow22:29
@khennbut again, I'm not using a manual install22:29
@khennso I'm guessing it's a config / fine tuning issue22:29
Samus_Aranbut how much do individual threads of Apache use ?  I want to know if my manual install is completely borked, or if it's normal to use that much22:30
@khennI don't know how much each individual thread of Apache uses22:30
@khennI'm not even sure how I would find that out.22:30
@khennall I can see is how much total ram is being used by Apache22:31
@khennall I know how to see anyway22:31
@khennunfortunately we are pretty much at the limit of what I know how to troubleshoot22:32
Samus_Aranif you wanted to see RAM used, this command will do it: \ps ww -e -o rss,args | grep httpd | grep -v grep22:34
Samus_Aranit will display kilobytes of RAM for each Apache thread22:34
Samus_Aranfor some unknown reason, when I started up the WebGUI running from the manual install, it is fast22:34
Samus_Aranthere is now the /WRE in /data.  perhaps it is using something from in there, even though it shouldn't.  I'm not sure22:35
@khenni'll check my dev box22:35
Samus_Aranthe WRE isn't being used currently22:35
Samus_Aranbut pages are loading <1 second22:35
Samus_Aranweird22:35
@khennhmm22:35
@khennyeah I'm not sure22:36
Samus_Aranit was a minimum of 5-8 seconds when I was working on it Thursday22:36
Samus_Aranand often 3022:36
@khennsounds like something you did along the way fixed the problem22:36
Samus_Aranand since then I have not touched my manual install, I just moved it and put it back today22:36
Samus_Aranoh well.  if it's working, it's working22:36
Samus_Aran[until it decides to stop working again, hehe]22:36
Samus_Aranit is perfectly fine now, nice and fast22:38
@khennI ran that command22:38
@khenneach apache thread is using < 75k22:39
@khenner < 65k22:39
@khenner > 65k22:39
@khennheh22:39
@khennless than22:39
Samus_AranI think I will test if it is using some component of the WRE I installed in /data.  I will stop apache, rename /data and then try again22:39
@khennI take it you have WebGUI installed somewhere besides /data22:39
@khennie: /data/WebGUI/lib22:40
@khennotherwise you might just want to rename /data/wre22:40
Samus_AranI have my manual install in /var/www/WebGUI and my domain at /var/www/foo.com22:42
Samus_Aranokay, renamed the old /data and restarted ... lemme see if it is slow now22:42
Samus_Aranmade no difference.  still nice and fast22:42
Samus_AranI guess I can remove the WRE now and get on with developing the web site22:43
@khennwell, it's a mystery but it's solved22:43
Samus_Aranphew !22:43
Samus_Aranthanks for your help, khenn and preaction and Radix_ 22:43
@khennsure thing22:43
Samus_AranI haven't used WebGUI since v4.x, it has changed a lot.  I find it more confusing now22:43
Samus_Aranbut I will try to figure it out22:44
@khennit's 1000 times the size22:44
@khennwow WebGUI 4 eh?22:44
@khennthat's a long time ago22:44
@khennHaving used both versions, I can honestly say version 7 is much better22:45
@khennespecially from a developers standpoint22:45
@khennit's a lot more customizeable22:45
Samus_AranI find the UI more confusing, however I see a huge number of new features22:45
Samus_Aranand I like features =)22:45
@khennyou think the UI is more confusing?22:46
wgGuest24i have webgui 7.4.18 and don't see my page22:46
@khennI thought it was much worse when all of the admin stuff was right in the middle of your page22:46
@khennwhat do you mean you don't see your page?22:46
Samus_Arankhenn: for example adding a section to a page.  it used to be intuitive, now I'm not even sure how to do it22:46
wgGuest24and in the webgui.log i found this error:  ERROR - spectre.conf - POE::Kernel::_dispatch_event[1012] - ADMIN: Couldn't connect to WebGUI site22:46
wgGuest24what i must do?22:47
@khennsounds like a configuration problem22:47
@khennmy guess is you have the IP address or port misconfigured22:47
@khennfor spectre22:47
Samus_Arankhenn: e.g. a new column or a paragraph of text.  in 4.x it was very clear what to do, now all I see is "pages".  preaction said that all the sections are pages now, which seems kind of strange22:47
wgGuest24i do a copy of spectre.conf.original 22:48
wgGuest24and don't modified22:48
@khennthe problem is likely in your webgui config file22:48
@khenndo a search for spectre in there22:48
@khennSamus:  anything in WebGUI can be a page these days22:49
@khennfor instance22:49
@khennif you wanted to create a page that only had one article on it22:49
@khennyou could simply add the article as a child of home or something else22:49
@khennexpose it to the navigation22:49
@khennand presto, it's a page22:50
@khennthe only time you really need to use "Pages" per say, is when you want to display more than one  "thing" on a "page"22:50
@khennI guess that can be a bit confusing22:50
Samus_Aranin WebGUI 4.x, there would often be dozens of items on the page22:51
Samus_Araneach section was self-contained, so you could cut/paste it somewhere else, or move it to a new column, etc.22:52
Samus_AranI'm not sure how to do that type of management in 7.x22:52
@khennit's drag and drop now22:53
@khennadd a page layout22:53
@khennthen you can start adding things to that page layout22:53
@khennthose things become children of the page layout22:53
@khennand you can drag and drop them or move them about via the asset manager22:53
@khennactually, we have published an entire book on managing content in WebGUI22:54
@khennhttps://www.plainblack.com/store/services/books2/webgui-content-managers-guide22:54
@khennthere is a great deal of content in there22:55
@khennabout using pretty much everything in WebGUI22:55
@khenn(in terms of content)22:55
@khennI gotta run.  BBL22:55
-!- khenn is now known as khenn_afk22:55
wgGuest24my spectre.conf looks good22:55
wgGuest24i don't know that do?22:56
perlmonkey2With the $15/month PB hoster, there is no way to run custom macros?23:04
wgGuest24que debo hacer??23:06
nubapregunta y espera23:09
nubaen el entremedio, puedes leer al wiki o a los foruns23:10
nubalo mejor es que pregunte en inglés23:10
nubayour questions will reach more people this way23:11
BartJolwell the session logging seems to work reasonly23:13
BartJoland the owner does not get karma anymore23:13
BartJolbut the session logging does not always work great23:14
wgGuest24ya pregunte en ingles y nada23:14
wgGuest24they tell me that my spectre.conf is wrong, but this it's good23:14
nubawgGuest24: can you handle yourself with a shell?23:16
BartJolbut maybe it is just caching23:16
nubawgGuest24: fire a shell, go to /data/wre/sbin, type '. ./setenvironment' without the quotes23:16
nubathat will set your environment properly23:17
nubathen go to /data/WebGUI/sbin and run 'perl spectre.pl --test'23:17
nubaif you see 'Tests completed.' and no error, your spectre is ok23:18
nubaotherwise it'll spit some error for you23:18
wgGuest24i dn't have wre i have the source23:18
nubawhich you should use as your starting point23:18
nubawhoops23:18
nubaits been a while since I used to run webgui without the WRE, not sure I can help you then23:19
nubaanyway, try 'perl spectre.pl --test from wherever it is your WebGUI/sbin is located now23:20
wgGuest24ok23:20
wgGuest24'jsonToObj' will be obsoleted. Please use 'from_json' instead. at /usr/local/share/perl/5.8.8/Config/JSON.pm line 13423:20
nubaperlbot: life with cpan23:21
perlbotInformation pertaining to the Comprehensive Perl Archive Network (CPAN) can be found at http://sial.org/howto/perl/life-with-cpan/23:21
wgGuest24couldn't connect www.ejemplo.com23:21
nubadid you add the proper DNS entries for your www.ejemplo.com site?23:23
nubaor added it to /etc/hosts23:23
nuba?23:23
wgGuest24yes23:23
wgGuest24and restart apache223:23
nubaif you type 'host www.ejemplo.com', is it pointing to your machine's IP or some IP apache would be listening at?23:23
wgGuest24yes, my ip, because it's local23:24
nubawhat is your webgui release again?23:24
wgGuest247.4.1823:24
nubais this a fresh install ? any reason for not using the latest stable?23:25
nubaactually, any reason for not using the wre?23:25
wgGuest24i have this before, and reinstall my ubuntu and now is install webgui23:26
+perlDreamerperlmonkey2: you can't run any custom perl code on PB's hosting, unless you get your own server.23:27
Samus_AranwgGuest24: if it is local, do you have a DNS server or is it in your hosts file ?23:27
nubayou know you could use the wre, install webgui 7.4.18 on it, add a site with the same name of what you had before, then replace the database for the one you had, and place the uploads under /data/domains/www.ejemplo.com/public, and live happly ever after, dont you?23:28
nubaby using the WRE it will be easier for you to get help from the community23:29
nubaie. in my case I dont really remember a lot of configuring/troubleshooting a lone webgui install, no WRE23:30
BartJolperlDreamer, you mentioned a time ago something about wrting tests23:31
+perlDreameryeah man23:31
+perlDreamerready to learn?23:31
BartJolI feel I get in the stage that that might get usefull23:31
+perlDreamerokay, let me throw some resources your way23:31
BartJolah, that would be nice23:31
BartJolneed my mail?23:32
+perlDreamer1) Get a copy of my Testing Tutorial from WUC 2006.  Koen, Joeri, Martin should all have copies23:32
+perlDreamer2) perldoc Test::Tutorial23:32
+perlDreamer3) perldoc Test::More23:32
+perlDreamerif you can't get a copy of my WUC talk, let me know and I'll email you one23:32
BartJolok, Ill check that tomorrow23:33
perlmonkey2perlDreamer: that's what I remembered, but I wanted to make sure.  Thanks23:33
+perlDreamerand from what I see on their site, $15 hosting is now $20 hosting23:34
+perlDreamerSo good job for purchasing early :)23:34
+perlDreamerBartJol: In the meantime, have a look at the tests in /data/WebGUI/t/Macro for ideas and stuff to borrow.23:35
BartJolbut it seems to run quite ok right now, but it really needs testing23:35
+perlDreamerwith automated tests, no more loading, and reloading, and so on.23:36
+perlDreamerYou set it up once, and keep using it.23:36
BartJolbut you can do tests what happens on a reload?23:37
+perlDreamerSure.  Reload is the second time the user accesses the macro.23:37
BartJolcheck23:37
BartJolright now I already feel a bit proud that I came this far23:38
perlmonkey2what ever happened to crythias?23:38
+perlDreamerYou should, man!  You've worked hard and done well.23:38
BartJolit takes some initialisation time, but after that it goes quite ok23:39
BartJoleasier to fix mistakes and stuff23:39
Samus_Arandoes anyone have any idea why the site search might not work ?23:42
wgGuest24yes i have /data/domain/ejemplo.com/www/public23:42
Samus_AranI don't get any errors, just no results.  it puts me on the search page again23:42
Samus_Aranhm.  apparently if you use ^c; for the company name, it won't find it when you type part of the name23:43
Samus_AranI tried some other words and they were found23:43
BartJolah, yes I heard that it is a bit sensitive sometimes23:43
+perlDreamerSamus_Aran: I _think_ you have to run the site indexer manually when you start the site.23:43
Samus_Aranactually, that isn't the issue.  hm23:43
Samus_Aranit seems to be ignoring my Contact form text23:44
Samus_AranperlDreamer: I will look into that23:44
Samus_Aranit finds the page names, but not text on the page23:44
BartJolbut I'm gonna relax now and test later23:48
-!- SDuensin [n=Scott@130.sub-75-205-112.myvzw.com] has quit ["Leaving"]23:51
+perlDreamerI think the SpectreCheck macro needs to use the most maligned HTML tag of all time.23:57
Samus_AranDoes anyone know how I can make the news post immediately ?  it is set to "Commit without approval"23:57
Samus_AranI thought <blink> was the most maligned23:57
+perlDreamerYup.  If spectre is broken, then I want it to be very visible.23:58
+perlDreamerSamus_Aran: This is a guess, but try the sitewide settings for autocommit and autoapprove.  They should make that intermediate page go away.23:58
+perlDreamerBut they will apply to ALL asset commits, not just the News23:59
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has joined #webgui23:59
BartJolcan't you call the macro with tehe rolling eyes of jt?23:59
BartJolxeyes evaluated23:59
--- Day changed Tue Feb 12 2008
cap10morganWhat are common causes of this error when trying to exec a workflow instance: "Couldn't execute operation ... Root cause: can't build entity: no body, and not multipart"?00:00
BartJoloh, sorry, it was an acme, and then it would be usefull00:00
-!- wgGuest24 [n=wgGuest2@static-adsl201-232-86-73.epm.net.co] has quit [Remote closed the connection]00:00
Samus_AranperlDreamer: it is a small site, I don't think we will need much of a workflow.  realtime is alright00:00
+perlDreamercap10morgan: That's a new one on us.00:00
cap10morganperlDreamer: great! :)00:01
+perlDreamerwanna nopaste some log file output?00:01
cap10morganthat's all of it00:01
cap10morganw/o turning up the logging level00:01
+perlDreamerwebgui.log or error.log?00:01
cap10morganwhich i may have to do here shortly...00:01
cap10morganwebgui.log00:02
+perlDreamercheck the error.log00:02
+perlDreamerthat's not a WebGUI error00:02
cap10morganhmm, the error.log says nothing when i generate that error00:03
cap10morganbut it does have tons of Apache2::SizeLimit messages00:03
cap10morganover and over00:03
cap10morganit's killing processes left and right00:03
cap10morganhmm...00:03
CIA-21WebGUI: colin * r5414 /WebGUI/lib/WebGUI/Macro/_macro.skeleton: added POD to the macro skeleton00:03
Samus_AranperlDreamer: I really do not understand the versioning used in 7.x00:04
Samus_AranperlDreamer: I went and clicked on "commit my changes" and it reverted all the work I did00:04
+perlDreameris Spectre running and configured properly?00:05
Samus_AranperlDreamer: at this point I am unsure what is going on =/00:05
Samus_Aranrunning, yes.  configured properly, I don't know00:05
Samus_AranI did a manual install via the instructions on the web site00:05
+perlDreamerhead over to the WebGUI sbin directory and do a perl spectre.pl --test00:06
Samus_AranERROR: Spectre cannot communicate with WebGUI. Perhaps you need to adjust the spectreSubnets setting in this config file: <domain>.conf00:07
+perlDreamerwell, there you go00:07
+perlDreamerWebGUI can't talk to spectre to commit your assets, so they're locked00:07
+perlDreamerwhile they're locked, the site doesn't display them00:08
Samus_Aranwhen I clicked commit, it lcoked them00:08
Samus_Aran*locked00:08
+perlDreameryup00:08
Samus_Aranokay, going to look00:08
Samus_Aranoh I know what's going on00:08
Samus_Aranor not.00:09
Samus_Aran(I thought it was an incorrect password)00:09
+perlDreamerSamus_Aran: If you've found any of our help useful today, you can help us by making a wiki page with what you've learned today.00:09
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit ["Windows doesn't have users, it has hostages."]00:11
Samus_Aran"spectreSubnets" : [ "127.0.0.1/32" ],  "spectreIp" : "127.0.0.1",  "spectrePort" : 32323,00:12
Samus_Aranthat is normal, is it not ?00:12
+perlDreamerlooks okay, but then again, I'm not all that familiar with Spectre.00:13
+perlDreamerwhat's in spectre.conf?00:13
BartJolwhat happens when you change the ip to the real ip?00:14
Samus_Aran"ip" : "127.0.0.1",  "port" : 32323,  "maxWorkers" : 3,  "webguiPort" : 80,  00:14
BartJoland I've seen other subnets than 3200:14
BartJolI got it working once by changing it to 16 or 24 I believe00:15
Samus_Aranoh my gosh:00:16
Samus_Aran-rw-r--r-- 1 www-data root 246M 2008-02-11 14:15 /var/log/webgui.log00:16
Samus_Aranthat is a large log file, considering I have done almost nothing on WebGUI so far00:16
Samus_Aranheh00:16
Samus_Aranhm00:18
Samus_AranI see this in the log file:00:18
CIA-21WebGUI: colin * r5414 /WebGUI/lib/WebGUI/Macro/_macro.skeleton: added POD to the macro skeleton00:18
Samus_Aranmain::[[undef]] - Visitor (1) connecting from <external_ip> attempted to make a Spectre workflow runner request, but we're on ly allowed to accept requests from 127.0.0.1/32.00:18
Samus_Aranthat appears a lot00:18
Samus_Aranso presumably the router is giving my connection the external IP00:19
Samus_Araneven though both this computer and the server are on the same LAN00:19
Samus_Aranthough I thought it was just the webgui process that would connect to it, in which case the IP shouldn't matter00:19
Samus_Aranas it never leaves localhost00:20
Samus_AranI'm not entirely clear on this whole webgui/spectre communication thing00:20
Samus_Aranthis error appears a lot: "Couldn't get UI level of WebGUI::Asset::Wobject::WeatherData. Root cause: Can't locate object method "getUiLevel""00:22
Samus_Aranvia package "WebGUI::Asset::Wobject::WeatherData" at /var/www/WebGUI/lib/WebGUI/Asset.pm line 696.00:22
BartJolSamus_Aran, the subnet was changed to 1600:24
-!- wgGuest81 [n=wgGuest8@static-adsl201-232-86-73.epm.net.co] has quit []00:24
metanilCan i have "File submitted by", "File submitted at (time)", "File last accessed by" beside "description" and "last updated" field in the File asset.??00:30
BartJolwell you can, if the template variables exist00:31
@preactionnot last accessed (unless that means last changed). submitted by is probably easy (<tmpl_var ownerUserId>)00:31
@preactionbut you'll need to get the username out of that. probably with a macro. dunno if any macros built-in will do it00:32
Samus_Aranpreaction: could you help me figure out why spectre can't communicate with my manually installed webgui ?  it is running very fast now, by the way00:34
Samus_Arannot sure why, but I'm not complaining00:34
@preactioni would bet that spectre is for some reason binding on the external IP. or if your /etc/hosts has yourdomain.com pointing to that external IP, it might show up like that. your best bet would be to do what the error message from spectre.pl --test said, and put your external IP in spectreSubnets00:35
Samus_AranI just got a new error, when restarting apache and spectre00:37
Samus_Aranactually that error seems to only be because I had stopped apache and then loaded spectre first00:39
Samus_Aranafk brb00:39
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui00:43
-!- mode/#webgui [+v Radix_] by ChanServ00:43
-!- BartJol [n=plainstu@54-167.surfsnel.dsl.internl.net] has left #webgui []00:44
Samus_Araneverything seems to be working now.  added the external IP as a subnet to Spectre00:58
Samus_Arannot sure why Spectre is even looking at the external IP when it's on the same computer as WebGUI00:59
Samus_Aranall my changes reappeared00:59
+perlDreamerSpectre processed the version workflow00:59
nubai think it would be good if every wiki update would appear here with the wikipage title, and the webgui.org nickname of the person who did the change01:00
+perlDreamernuba: PB's contract with their provider says "NO IRC"01:00
+perlDreamerYou'd have to screen scrape it.01:00
nubalike "Wiki: WebGUI Search System edited by knowmad"01:01
nuba"Wiki: Subscriptions, Manage added by knowmad"01:01
Samus_Arancan the wiki provide a dump of the most recent 50 posts, in xml or csv ?  that would be simple enough to check once per 5 minutes or similar01:02
nubatheres http://www.webgui.org/community-wiki?func=recentChanges01:02
nubai can whip that up with irssi01:02
nubaperlDreamer: if they can run a irc client from their servers, they can have a irc bot01:03
nubabut maybe even that they cannot do01:03
+perlDreamerit isn't on their servers, it runs locally on the web client in Java01:03
+perlDreamerI've been hounding JT about this for two years.01:04
+perlDreamerHe's very adamant about the contract.01:04
nubait happens that irc client, some bots, and a private ircd (for work), well, thats exactly what I do from my dedacated server :)01:04
Samus_Aranyou could also set up an SSH tunnel from the server01:05
nubanever had any issue with the providers. but then my ircd is wrapped with SSL, with a password to connect to the ircd too01:05
nubaand this is a very very low traffic machine01:06
@preactionnuba, if you're willing, JT has said he will accept me building an interface (a la JSON or XML or somesuch) to the data that your bot could use01:09
@preactionof course, one of the features i want to see in the wiki is the ability to subscribe to a wikipage01:10
@preactionwhich would fulfill the same purpose really01:11
nubathe wiki having a RSS feed would be good enough01:11
nubadoes it?01:11
nubaotherwise im scraping it01:11
nubait would make a lot of sense for me this of people subscribing to a RSS feed of recent changes in a wiki01:12
Samus_Arannuba: if they can modify the wiki to dump in csv or xml, it will save the server from sending more data than it needs (a whole HTML page)01:12
cap10morganhmm, a bunch of my modperl instances are segfaulting01:13
cap10morganany clever tricks to debug why that's happening?01:13
cap10morgani should say, modperl processes01:13
nubaktrace?01:13
nubaand kdump?01:13
nubayou can have hours of fun with that01:13
+perlDreamerPB people: When is the rizenator back?01:14
nubafor some offbeat definition of fun, of course01:14
@preactionnuba, i can build a shortcut to the wiki that will give you whatever you want in whatever serialization you want, JSON, XML, or otherwise. (i'd prefer JSON, more possibilities)01:14
cap10morgannuba: hmm, googling, thanks for the suggestion01:14
cap10morgannuba: does ktrace work on linux?01:15
+perlDreamerhttp://www.presicient.com/langjobs/usajobs.html01:15
cap10morganlooks like a bsd thing01:15
nubacap10morgan: if you launch a single instance of apache, enable ktrace, and reproduce the error, skip to about the end of your dump and its probably around there01:15
nubathats what I sometimes do on freebsd, dunno what you'd use in linux01:16
cap10morganah, ok01:16
cap10morgani guess that would be strace01:16
@preactionDebugging and profiling mod_perl applications: http://www.perl.com/lpt/a/97401:17
nubaSamus_Aran: for a 18566 bytes html, its ~66MB/day plus some little overhead to retrieve /community-wiki?func=recentChanges every minute and scrap it01:20
nubapreaction: if I can ask, I'd first ask that the wiki outputs RSS so that besides scrapping I can subscribe to it01:21
+perlDreameryeah!01:21
+perlDreamerRSS01:21
nubaor any webgui wiki01:21
@preactioni could write something to do that, yes01:21
@preactiongive me until tomorrow01:22
nubaafterwards looking for other formats like JSON would be ok, but the RSS is the thing I think most people wouldbenefit from01:22
nubapreaction: can plainblack live with 66Mb/day for a few days?01:22
@preactionwhat do you mean?01:22
nubaif yes im getting this bot to scrap the page and post new updates here today01:23
+perlDreamerone WebGUI download / day from PB is bigger than that, nuba01:23
@preactionyes, but the download doesn't go through webgui01:23
nubai knkow, but since Samus_Aran brought the worry about MB/day up..01:23
metanilis there any method available in webgui core that will return username from userid (as parameter)???01:23
+perlDreamermetanil: not yet :)01:24
@preactionmetanil, print WebGUI::User->new( $session, $userId )->username;01:24
+perlDreamerSounds like a good RFE01:24
metanilhmm..01:25
metanilok i'll write my own.01:25
+perlDreamerpreaction: How about some golfing :)01:29
+perlDreamerWebGUI::User->new(@_)->username;01:30
@preactiontouche01:30
+perlDreamerbut it leaves you open to user creation attacks01:30
CIA-21WebGUI: colin * r5415 /WebGUI/lib/WebGUI/ (i18n/English/Macro_SpectreCheck.pm Macro/SpectreCheck.pm): adding the SpectreCheck Macro, per the RFE01:33
@preactionwhat does the SpectreCheck macro do?01:34
+perlDreamerIt says whether or not a connection could be made to Spectre01:34
@preactioni suppose that could be useful01:35
+perlDreamerI think it would be more useful displayed in the AdminBar.01:36
+perlDreamerWhat do you think?01:36
@preactiondidn't that RFE say something about displaying it during a commit?01:36
+perlDreamerit's 3-fold01:36
+perlDreamer1) When committing01:36
+perlDreamer2) When auto-committing (which is TBD)01:37
+perlDreamer3) Macro for displaying status01:37
cap10morganhmm, yeah, strace indicates that i'm sometimes getting segfaults something is retrieved from the db cache01:42
cap10morganclearing the cache and restarting doesn't help01:42
cap10morganbut switching to file cache does01:42
nubanice01:43
cap10morganyep, "select content from cache..." precedes the segfault every time01:43
@preactionweirdness01:44
cap10morganthat seems bad overall01:44
@preactionwhat does myisamchk say about the cache table?01:44
cap10morganit's in a bunch of different sites' databases01:44
cap10morgani mean, i could check anyway, but seems unlikely they're all affected01:45
cap10morgansays 1 client is using or hasn't closed properly01:47
cap10morganand usable but should be fixed01:47
cap10morganon 2 sites that exhibit the problem01:47
Samus_AranHow can I check why my contact form is not sending an e-mail to the To and Cc addresses ?01:48
+perlDreamerSamus_Aran: Either a mail server or a spectre problem01:49
Samus_Aranit only saves the data on the page01:49
Samus_AranperlDreamer: does it use sendmail to send it, or Perl directly, or what ?01:49
+perlDreamerIt uses what you told it to in the site Settings01:49
Samus_Aranis there a log file that would show an error ?01:49
+perlDreameryes01:49
+perlDreamerwebgui.log01:49
Samus_Aranokay, will look for site settings01:49
+perlDreameralthough, if spectre isn't running, then the workflow to send the emails won't run either01:50
Samus_AranSpectre is fine now01:52
Samus_Aranafter adding the external IP01:52
Samus_AranI see in Settings under the Messaging tab "SMTP Server" set to "localhost".  it doesn't have options for port numbers or authentication01:53
Samus_AranI guess I will have to set up a localhost mail server to relay01:53
Samus_AranI don't think the server has one currently01:54
+perlDreameri'd bet you can type anything you want in there01:54
* cap10morgan is disabling Database cache on all his sites01:54
Samus_Aranthe mail server we use here requires user/pass authentication and a non-standard port01:54
* nuba sent a mail asking for the admin of http://chl.be/mascots/ to add gooey there01:54
nubaand now meet ..01:55
-!- GoeyOfSteel [n=puppetma@hq.imaterial.org] has joined #webgui01:55
Samus_Arangooey meat.01:55
nubathis is another irssi in my box, which will be my bot01:55
-!- GoeyOfSteel is now known as GooeyOfSteel01:55
nubabetter now01:55
nubainstead of the defunct project2501, which somehow wasnt very popular here01:56
nubaGooeyOfSteel: hello01:57
@apeironYour puppet master seems the taciturn sort.01:57
nubai added eliza to it once, let me check..01:58
nubahe was very talkative by then...01:58
@apeironOr she. :o01:58
nubathe idea was to somehow extract more info from people coming here asking for help01:58
nubato make troubleshooting easier, after the people had already been milked out of information about their issues :)01:59
nubait didnt worked as I thought it could, it was a good idea for a startup, unfortunately i forgot to add buzzwords like web2.0 and AJAX to help sell the idea, you know?..02:00
@apeironnuba, Depending upon the strategy you want to take with it (active vs passive seeding), you may want to take a look at the infobot code.02:01
+perlDreamerSamus_Aran: I'm guessing all that can be specified, but I have no idea how to do it.02:02
@preactionperlDreamer, Samus_Aran: no. it's not. it would be a relatively painless RFE though02:04
Samus_Aranokay02:05
Samus_Aranthank you both02:05
Samus_Araninfobot is nice02:05
Samus_Aranonce it gets a large database, that is02:05
+perlDreamerSamus_Aran: submit the RFE, wait for it to be approved, then dump a little karma into it02:05
Samus_Aranis there some way to sort the menu items (flexmenu) ?02:06
Samus_Aranalso, where are the descriptions used, when you create a page ?02:06
Samus_Aranin the sitemap, or search or what ?02:07
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui02:08
-!- mode/#webgui [+v Radix-wrk] by ChanServ02:08
@preactionit's available to the template, so most anywhere. it's indexed too, so search yes02:09
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI02:10
GooeyOfSteelGooeyOfSteel: breathe!02:12
nubaoops02:12
nubaGooeyOfSteel: breathe!02:12
GooeyOfSteelnuba: Please go on.02:13
nubathere is eliza again.. now onto the wiki update things...02:13
* apeiron hands nuba the +5 mace of recalcitrant bot subdoing.02:13
@apeironer, subduing02:13
+perlDreameroh no, I think subdoing is much more appropriate for a bot02:14
GooeyOfSteelperlDreamer: Why?02:15
metanilto make a new template variable available in the template, where should i add it? like $var{newtemplatevar} = "val"; .. where should i do this?02:15
+perlDreamerbots are subs doing stuff02:15
nubaperlDreamer: you must prefix your phrases with 'GooeyOfSteel: '02:16
@apeironnuba, I have an RFE for your bot!02:16
nubain case you want to talk with GooeyOfSteel...02:16
+perlDreamerGooeyOfSteel: bots are subs doing stuff02:16
GooeyOfSteelperlDreamer: Did you think they might not be subs doing stuff?02:16
+perlDreamerGooeyOfSteel: That is the core concern of any programmer, but you already knew that02:16
GooeyOfSteelperlDreamer: Oh, I already knew that?02:17
+perlDreamerGooeyOfSteel: Of course.  Aren't you self-aware?02:17
GooeyOfSteelperlDreamer: Oh, I self-aware?02:17
@apeirons/GooeyOfSteel/GumbyBRAIN/g02:18
+perlDreamerindeed02:20
@apeironperlDreamer, You've met Gumby?02:20
+perlDreamerLike the bendy green guy?02:21
@apeironNot quite.02:21
Samus_Aranwhat was Gumby's horse's name ?02:21
+perlDreamerPokie?02:22
Samus_Aranyes.02:22
Samus_Arancan someone remind me what the item is called that is used for News ?  I accidentally got it removed (I cut it to paste somewhere else, then restarted WebGUI and it went poof)02:23
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has quit []02:26
Samus_AranI just realised that I only want one set of data, for both the events calendar and the news items, as there is overlap02:27
Samus_Arannot sure how I could do that, though02:27
+perlDreamerpull RSS/Ical from the Events Calendar as you news feed?02:28
Samus_Aranbasically one view of the data in month view, and another view of the data in most recent02:28
Samus_AranI mean, a plain list02:29
+perlDreamerThe calendar doesn't do a list view yet.02:29
Samus_Aranif I tell it to export an RSS, can I get a item-by-item listing from that using another plugin ?02:30
* perlDreamer decides to double check whether the calendar supports RSS before answering02:31
@preactionno02:31
@preactionjust iCal02:31
@preactionbut you can make RSS out of any asset using shortcuts and template overrides02:31
+perlDreamerare we still planning a general RSS solution for Assets?02:32
Samus_Aranit seems that news and events would go together for many people02:32
+perlDreamerto replace RSSCapable and RSSFromParent?02:32
Samus_AranI mean, any upcoming event is a newsworthy item02:32
+Radix-wrkthe collaboration system has an rss mode doesn't it?02:34
@preactionSamus_Aran, please. if you have RFEs, post them to the RFE list. complaining about WebGUI's shortcomings here is counter-productive. patches are welcome.02:34
@preactionRadix-wrk, yes. same with Syndicated Content assets02:34
Samus_Aranany idea why the heading used for News is more prominent than that used by Calendar ?02:34
+Radix-wrkprolly just different css used in each02:35
+Radix-wrkyou can change that through the template easily enough02:35
+Radix-wrkIs the Thingy in 7.5.x yet?02:35
Samus_AranNews uses <h2> and Calendar uses <h1>02:35
+perlDreamerIt's just the default template02:36
Samus_Aranthey should both be of the same importance02:36
+Radix-wrkfile it as a bug then02:36
@preactionor edit the template and attach a package to the bug02:39
Samus_AranI just checked, and all other objects in my site are using <h2>, so it is the calendar that is doing it wrong02:39
Samus_Aranwhere is the template ?02:39
+Radix-wrkedit calendar, go to display tab and select edit next to the calendar template02:40
+Radix-wrkeasiest way would be to get rid of the title altogether tho :)02:41
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]02:41
+Radix-wrklooks like you'd need to edit each different view of the calendar otherwise02:42
Samus_AranI updated the 4 views.  quite easy, thank you02:46
@preactiona note: if you edited the default templates, they can be overwritten by an upgrade. or you could submit the bug report and attach your changed templates02:47
@preactionor you could copy the default templates and make changes to your copies02:47
Samus_Aranhow do I stop an item from taking over the page ?  e.g. on my "News & Events" page I have a News section then a Calendar section.  if any of the items on the calendar are clicked on, such as changing the view, it leaves the page and never goes back02:49
Samus_AranI don't want an end user seeing any of the sub-pages02:50
Samus_AranI mean, single components02:50
@preactiondidn't we discuss this last night? I know radix shared your sentiments, but it's not possible to do what you want and still get any functionality02:53
@preactionokay, it is possible, but the resulting URLs would be horrendous02:54
@preactioni believe i gave examples using the collaboration system02:54
Samus_AranI'm not concerned about the URLs, I am concerned about the end user being yanked out of the page they are in the middle of and being confused about how to get the rest of the content on the page02:56
Samus_Aranif someone is scrolling down a page somewhere in the middle, and click a tab on a calendar, the rest of the page shouldn't magically disappear on them02:56
Samus_AranI haven't seen other web sites behave that way02:57
perlmonkey2Okay, I need to start joining the survey system into WG.  Is the wiki wobject guide + skeleton still the best way to learn how to create wobjects?02:57
nubaperlmonkey2: cool!02:59
@preactionperlmonkey2, yes, for the most part. i've been told that the Gallery is the pinnacle of WebGUI development (i was told to build it as such), so look there for style and ideas on how to do permissions and such02:59
perlmonkey2hah, cool until you realize how complicated WG is02:59
@preactionthe skeleton is a bit out of date. there are better ways to do some things03:00
perlmonkey2preaction: thanks :)03:00
@preactioni've been meaning to fix it, but no time (Gallery not done yet)03:00
perlmonkey2preaction: that is what I thought.  I've looked at code and the skeleton and they don't match up well.03:00
@preactionthe gallery, galleryalbum and photo assets do things the best way we currently know how03:01
perlmonkey2I don't see a Gallery?  Only the galleryalbulm and utility?03:02
perlmonkey2I don't see a photo either03:02
perlmonkey2not in the source tree yet?03:02
@preactionthey're in there03:03
@preactionlib/WebGUI/Asset/Wobject/Gallery.pm lib/WebGUI/Asset/File/Image/Photo.pm03:03
perlmonkey2preaction: wow.....I just did svn update 1 hour ago and I'm not seeing that....let me re update03:03
perlmonkey2okay, found Photo.pm03:04
Samus_Aranany idea why, when I have "filter code: nothing" it still doesn't display ^c; as the company name ?  this is on a news item displayed as a weblog03:05
perlmonkey2but Gallery.pm isn't showing up ofr me03:05
* perlmonkey2 wonders off to try to fix his subversion checkout03:05
perlmonkey2preaction: you just submitted another version, yet I still can't get svn to get that file.  I can see it by browsing to the directory.  Strange.03:11
@preactionweird indeed03:11
@preactionmaybe try a full checkout in another directory?03:11
perlmonkey2hmm, reverted to a previous version then updated, and got it.03:15
@preactionweird03:15
Samus_Aranmore issues with the weblog display for news: it only displays 8 words, instead of a couple paragrahs, before the "more" link03:16
Samus_Aran*paragraphs03:16
Samus_Aranwhere would I go to increase this limit ?03:16
Samus_AranI don't see anything in the template03:17
CIA-21WebGUI: doug * r5416 /WebGUI/ (7 files in 5 dirs): 03:18
CIA-21WebGUI: add: i18n for more Gallery templates03:18
CIA-21WebGUI: add: International macro now takes sprintf arguments as third and subsequent parameters03:18
CIA-21WebGUI: add: Keywords are now processed and given to the photo template, along with a url to search the gallery for the keyword.03:18
CIA-21WebGUI: add: Photos now track views03:18
CIA-21WebGUI: doug * r5417 /WebGUI/docs/ (3 files in 3 dirs): fix: multiple Gallery template fixes03:18
perlmonkey2Samus_Aran: Good question.  What's the template name and I'll look at it.03:19
Samus_Aranweblog under news03:19
perlmonkey2an asset search for weblog brings back one template "weblog".  Is that it?03:20
Samus_AranCollaboration System Template: Weblog03:20
perlmonkey2k03:20
Samus_Aranyes03:20
perlmonkey2looks like <tmpl_var synopsis> is being set in the wobject03:21
+Radix-wrktmpl_var synopsis usually picks up everything until the first newline in the text from memory03:22
@preactionor up to the ^; marker (i think that's what it is)03:23
+Radix-wrk^-; ?03:23
@preactionyeah, that03:23
+Radix-wrkIt's something funny like that03:23
perlmonkey2the word synopsis shows up three times in the wobject.....I have no idea what is going on in any three.03:23
perlmonkey2only that one is an rss item.03:23
Samus_Aran"The ^c; beta web site is now up"\03:24
Samus_Aran*all03:24
Samus_Aranthat is aklk it shows for me03:24
perlmonkey2$var->{"synopsis.label"} = $i18n->get("synopsis");03:24
Samus_Aranit also doesn't conver the ^c; into a company name, even with filters set to none03:24
Samus_Aran*convert03:24
Samus_Aran(this laptop keyboard sucks)03:24
+Radix-wrkis the c macro listed in your webgui.conf file?03:25
+Radix-wrkit might be disabled by default for some wierd reason03:25
Samus_AranI will look03:25
perlmonkey2Samus_Aran: Just ot make sure I'm lookin at the right part of the template, the very next thing after the synopsis text, is the weblogReadMore div?03:25
Samus_AranRadix-wrk: where would webgui.conf normally reside ?03:28
Samus_AranI have a $PREFIX/etc/WebGUI.conf.original, but don't see any WebGUI.conf or webgui.conf file.  I don't recall instructions telling me to create that one03:29
Samus_AranI created one for my domain and one for spectre and one for logging03:30
Samus_Aranperlmonkey2: <tmpl_var synopsis> \n <div class="weblogReadMore">03:30
Samus_Aranwhere would I find the code for: $i18n->get("synopsis");  being called in "lib/WebGUI/Asset/Wobject/Collaboration.pm"03:33
perlmonkey2That's whI have no idea how the synopsis is created.  I created a entry.  then changed the text of the entry.  The synopsis still shows the original ocntent even after I cleared the cache and forced a reload.  03:34
Samus_Aranhm03:35
Samus_Arana simpler question: how do I create a page under another ?03:36
Samus_AranI don't get what a Folder is versus a Page Layout03:36
perlmonkey2you create page layouts03:36
perlmonkey2a page layouts contains assets03:36
Samus_Aranis a Page Layout an asset ?03:36
perlmonkey2they are what you might consider a "folder"03:36
perlmonkey2yes03:36
perlmonkey2it will be added to the nav bar and will be a "web page"03:37
Samus_Aranand what is the WebGUI Folder ?03:37
perlmonkey2that can contain articles, weblogs03:37
perlmonkey2whatever03:37
perlmonkey2a real file folder03:37
perlmonkey2well03:37
perlmonkey2a virtual file folder03:37
Samus_Arana real virtual file folder03:37
Samus_Aranheh03:37
perlmonkey2for assets03:37
Samus_Aranso how does it differ from a Page Layout ?03:37
+Radix-wrkit's more for displaying lists of things03:38
+Radix-wrklike lists of files or the like03:38
perlmonkey2where can I find posts to the collab in the database?03:45
perlmonkey2This is so weird.  I can not make the new submission to the collab system show up in the synopsys.03:47
perlmonkey2hmm, I'm guessing clearing the cache doens't effect all wobjects03:51
-!- ascii [n=ascii@host-64-139-233-19.nctv.com] has quit ["leaving"]04:05
Samus_Aranis there any way to rearrange the order of pages after they are placed ?04:14
Samus_Aranthe order in which they appear in the flexmenu04:14
Samus_AranI suppose it's not that hard to cut all the pages, then repaste them in the order I want04:16
* perlmonkey2 is still trying to figure out the synopsis. I just don't see what is happening in the code.04:18
perlmonkey2Samus_Aran: In the asset menu04:19
perlmonkey2you can drag and drop them04:19
perlmonkey2which effects how the nav asset displays them.04:19
Samus_Aranperlmonkey2: I just figured out something about the synopsis04:24
perlmonkey2Do tell :)04:24
Samus_Aranstrangely, when you edit the weblog entry, it only displays a subject and body04:25
Samus_Aranbut if you go to preview, it then shows a "summary"04:25
Samus_Aranwhich is the synopsis04:25
Samus_Aranso it isn't actually cutting it down, it seems04:25
Samus_Aranit was a field hidden to me04:25
* Samus_Aran goes to confirm it is only appearing after a preview04:25
perlmonkey2ah04:26
perlmonkey2I'm in preview and don't see a "summary".04:26
Samus_Aranhm.  well it seems to be showing up now, but I know I didn't type in half a sentence before04:26
Samus_AranI'm not really sure what's going on with it04:26
Samus_AranI see it any time I go to edit now04:27
* perlmonkey2 goes to make sure his gui privleges are maxed04:28
perlmonkey2I wonder why I don't see it.04:28
perlmonkey2you are using the weblog template?04:28
perlmonkey2I only see Subject Message evne if I click preview04:29
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]04:30
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui04:30
* perlmonkey2 hates when he accidently logs out04:31
Samus_Aranyes, using the weblog template.  however, I used another template at the start, and it imported data to the next template04:32
Samus_Aranand each time it did that, it seemed to randomly do things to the data04:32
Samus_AranI think that switching through all the templates messed up my article04:32
perlmonkey2In the database I can find the synopsis I see in the wobject table, but the complete post I can not find there.  I can't find it in any table.04:32
perlmonkey2I have no idea which table submissions are stored.04:33
Samus_Aranit just suddenly appeared for me when I went to preview04:33
Samus_Aranand now everything is fine04:33
Samus_Arantry switching to another template such as guestbook, when you already have a submission04:33
Samus_Aranor Q/A, etc.04:33
Samus_AranI tried them all before I decided to stick with weblog04:34
Samus_Aranand half of them displayed the entry strangely04:34
Samus_Aranincluding inserting a line break in the middle of a sentence, which was not visible in the web form editing the text04:34
Samus_Arane.g. "this is a sentence" in the edit box, and when it was displayed on the list of news items, it showed up as: "this is"04:35
Samus_Aran"a sentence"04:35
Samus_Aranit seems that the various templates are not using the same exact variables04:35
perlmonkey2Hah, I am pretty sure I know where the synopsis is coming from now.  PrepareView is a wrapper for the rss call. What you are seing on front is created by the rss feed.04:35
Samus_Aranor not using them in the same way04:35
Samus_Aranit would be nice if there were a way to change the date of the news items04:37
Samus_Aransometimes you want to post a few hours or days away04:38
perlmonkey2I think the Webgui structure is far too complicated to understand without documentation.04:40
perlmonkey2Trying to track down how this rss call is working is sending me all over the place04:40
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui04:41
perlmonkey2And still, I can never find where synopsis is set.04:42
perlmonkey2this really sucks.04:42
perlmonkey2Well I'm not sure it even works as I'm still getting the synopsis from my first post even though I've changed it.04:46
perlmonkey2Well this sucks....Plone isn't very useful and I can never get WebGUI to work.04:47
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"]04:48
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui04:49
-!- mode/#webgui [+o preaction] by ChanServ04:49
perlmonkey2Yay, found a problem in the webgui.log04:49
perlmonkey2looks like a permissions issue in my uploads directory.  04:50
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Client Quit]04:52
perlmonkey2 main::[[undef]] - Could not instanciate object using new on WebGUI::Asset::Wobject::Collaboration. The result is undefined. at /data/WebGUI/lib/WebGUI/Workflow/Instance.pm line 32204:53
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"]06:23
-!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has joined #webgui06:25
-!- mode/#webgui [+v perlDreamer] by ChanServ06:25
-!- manishmanish [n=manish@OSH-199-188.themetrocondos.net] has joined #webgui06:53
manishmanishhi06:54
+Radix-wrkhi07:07
manishmanishI'm new to webgui07:08
manishmanishSo, I'm d/ling, instsalling it now07:08
manishmanishmay have questions, but looks like an amazing promising system07:08
+Radix-wrkgood luck! :)07:08
manishmanish:)07:08
+Radix-wrkIt's good.. installation can be awkward sometimes.. but it's worth it imho :)07:09
manishmanishare there any plugins to allow checking for Domain Names?07:10
manishmanishin the cms itself?07:10
manishmanishi know, it's a wierd question :>07:10
+perlDreamerWhat do you mean by "checking for Domain Names"?07:14
manishmanishas in, within the CMS, i can test if a certain domain name is taken or not07:15
+perlDreamerno, that's the job of a domain registrar07:18
+perlDreamerwe manage content07:19
manishmanish'k07:20
manishmanishbrb07:23
-!- manishmanish [n=manish@OSH-199-188.themetrocondos.net] has quit []07:23
-!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has quit ["Leaving."]07:24
-!- manishmanish [n=manish@OSH-199-188.themetrocondos.net] has joined #webgui07:41
manishmanishback07:45
manishmanish:)07:45
manishmanishok the million dollar question07:47
manishmanishjoomla vs webgui07:47
manishmanish<i'm evaluating cms's, and leaning towards web gui>07:47
manishmanishbut want to make sure right tool, right job07:47
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui07:50
-!- mode/#webgui [+o preaction] by ChanServ07:50
@apeironmanishmanish, As per your question, while I'm not going to offer advice one way or the other, I can offer a site that'll hopefully help you decide: cmsmatrix.org07:52
manishmanishok thanks apeiron07:52
manishmanishi appreciate that07:52
@apeironmanishmanish, I do have to concede that it *is* running WebGUI underneath (as you can see by looking at the page source) but there's a lot of info there.07:53
manishmanishwhoah07:53
manishmanish'kay buddy, i'm sold07:56
manishmanishwebgui it is07:56
-!- manishmanish is now known as manish07:56
-!- manish is now known as manishman07:56
Samus_Aransigh.  WebGUI is back to being slow, but more importantly it is locked again07:57
* Samus_Aran goes to find out what's wrong with Spectre this time07:57
GooeyOfSteelmanishman: make sure you spend time playing with live demos of both07:59
Samus_Aranthere doesn't seem to be any spectre errors07:59
Samus_Aranyet there are locks on various content07:59
-!- cap10morgan [n=cap10mor@206-124-6-111.denver.dsl.forethought.net] has joined #webgui07:59
Samus_Aranand nowhere to approve/set that content as active08:00
Samus_AranI already committed all changes08:00
@apeironSamus_Aran, Are there any other users that have open version tags?08:02
manishmangooey i will08:02
manishmananyone here install this on a mac?08:02
@apeironmanishman, WebGUI yes.08:02
Samus_Aranapeiron: I am setting it up, there are no other users08:02
manishmanapeiron cool08:02
@apeironmanishman, If by Mac you mean OSX. :)08:02
manishmanyap08:02
manishmanos x08:02
manishman:>08:02
@apeironSamus_Aran, hmm.08:03
Samus_Aranwhen it was locked before, it was because Spectre was broken.  but I have fixed the Spectre issue now, no errors about it in the log file08:04
Samus_Aranit was working an hour ago from work08:04
Samus_Arannow I am connecting from home (outside the LAN) and it's in slow motion and I can't commit changes properly08:04
Samus_AranPermission denied: This Asset is locked for editing under a version tag different from the one that you are using.08:06
Samus_Aranblah.08:06
Samus_Aranversion tags are all empty, and it says: You are currently working under a tag called: None.08:06
@apeironSamus_Aran, And under the "manage version tags" menu you don't see any tags, right?08:07
@preactionPending Version Tags in the right-hand side under the Version Tags icon of the Admin Console08:07
@preactioner.. manage pending version tags i think08:08
Samus_Aranthere are two autotags there.  I opened one of them and clicked deleted, but there are still two08:08
Samus_AranI have now deleted everything inside those two autotags08:10
Samus_Aranbut they are still there08:10
@preactionpending means that it's waiting on spectre. did you restart spectre? did it get its data correctly?08:10
@preactionif that worked, those assets shouldn't be locked anymore08:10
Samus_Aranunder the "Manage pending versions"08:10
Samus_Aranhow do I remove the two autotags ?08:10
nubaSamus_Aran: how's spectre's status, from the prompt?08:10
@preactionbut the pending tags will still be there until spectre gets a hold of them (no big deal really)08:11
@preactionif you want to skip spectre in versioning, go to Settings and under Content > Default Workflow choose "Commit Content Immediately". then spectre won't enter the equation at all08:11
Samus_Aran# perl spectre.pl --status08:11
Samus_AranUnable to connect to 127.0.0.1:32323: Connection refused08:11
Samus_Aransigh.  Spectre was working fine for hours08:12
Samus_AranI've restarted it a few times now, but it won't work anymore08:12
-!- cap10morgan [n=cap10mor@206-124-6-111.denver.dsl.forethought.net] has quit []08:13
@preactionwhat does cd /data/WebGUI/sbin; perl spectre.pl --run --debug say? 08:15
nubalaunching GooeyOfSteel's wiki watch feature....08:15
Samus_Aranpreaction: after launching Apache, you mean ?08:18
@preactionof course, apache, mysql. shut down spectre from the wreservice.pl script, and then run it using the command above08:18
@preactionit will show you a lot of stuff, but the stuff at the beginning is most important08:18
@preactioni suspect if it CAN connect, then something's going wrong with yoursite.com?op=spectreGetSiteData08:19
@preactionit should return a string of JSON that spectre will parse. if it's broken, it will show up as your home page08:19
@preactionsorry to cut in and run, but i've got a very long day ahead of me and i got no sleep last night. good luck08:20
GooeyOfSteelWiki: WebGUI Search System - Edited on 2/6/2008 11:30 pm by knowmad  http://www.webgui.org/community-wiki/webgui-search-system08:21
GooeyOfSteelWiki: WebGUI Statistics - Created on 2/6/2008 10:43 pm by knowmad  http://www.webgui.org/community-wiki/webgui-statistics08:21
nubafrom now on every wiki update gets posted here08:21
@apeironThat may be a lot of traffic.08:23
nubanope, check http://www.webgui.org/community-wiki?func=recentChanges08:23
nubawiki isnt that lively08:24
nubaunfortunately08:24
Samus_Aranpreaction: "perl spectre.pl --run --debug" didn't fail08:24
@apeironSo maybe notthat much.08:24
Samus_Aranwhy did you use --run and not --daemon ?08:24
nubanow, when people come here for help, and we them for 'please write what youve learned at the wiki', we'll all know if they did it or not08:25
nubawe ask them*08:25
@apeiron--run       Starts Spectre without forking it as a daemon.08:25
@apeiron(which means it won't detach from the terminal so you can see errors it gets)08:25
Samus_Aranwhen I used --daemon it was still printing errors to the console08:28
@apeironArguably, if spectre is dying for some unknown reason and isn't leaving anything in its wake in the logs, then you'll need to see if it's spitting anything to STDERR before going to the big garbage collector in the sky.08:28
@apeironPossibly before it fully dissociated itself?08:28
Samus_Aranseveral seconds later08:28
Samus_Aranlemme try again and see08:28
Samus_Aranit is working now, it got rid of those empty version tags08:29
Samus_Aranis there a proper way to stop it when it is started with --run ?08:29
Samus_Aranjust Ctrl+C ?08:29
nubawell, kill -9 PID does the job too :)08:30
@apeironI'd personally keep it running that way for a while and see if the issue you're experiencing with it dying intermittently comes up again.08:30
Samus_Aranwhat does this mean:08:30
Samus_AranWORKFLOW: Looks like WBQIpZfKZe1kDQZ5TG_6ZQ at priority 23 would be a good workflow instance to run.08:30
@apeironYou don't want to start it normally again and then several hours later have it die and then wish you had it in debug mode still. :)08:30
Samus_AranWORKFLOW: Preparing to run workflow instance WBQIpZfKZe1kDQZ5TG_6ZQ.08:30
Samus_Aranthat popped up when I wasn't doing anything on the site08:31
Samus_Aranokay, sounds fine08:31
Samus_Aranit is running in GNU Screen, so I can reconnect to the server later if it messes up08:31
@apeironspectre runs some stuff in the background independent of you doing anything on the site, like daily maintenance.08:31
Samus_Aranthe screen session will log 3000 lines back, though that won't be that long considering it's spitting out 3 lines every 3 seconds08:31
@apeironYou can have screen write a hardcopy log of your session.08:32
Samus_Aranbut the thing I pasted said "workflow instance"08:32
@apeironYes.08:32
Samus_Aranapeiron: I had forgotten all about that08:32
* Samus_Aran goes to find the command08:32
@apeiron^a :log on08:32
nubascreen rocks!08:33
Samus_AranI just did ^a :log08:33
@apeironThe bits of work that spectre does in the background -- at least part of it -- are coded in modules. These modules are workflow activities. :)08:33
Samus_Aranand it started logging08:33
Samus_Aranthough it didn't let me choose a filename08:33
Samus_Aranhopefully I'll find it08:33
Samus_Aranhehe08:33
Samus_Arannuba: screen is one of the greatest inventions of all time =)08:34
GooeyOfSteelit'll bein the folder you were when you started screen08:34
Samus_Arannuba: I still kick myself for going years without trying it08:34
+Radix-wrksecond that.. I'm a big screen fan08:34
@apeironHm, where you started screen?08:34
Samus_Aranand that was years ago08:34
@apeironI thought it just put them in your home directory.08:34
GooeyOfSteelapeiron: anywhere08:34
@apeironAlthough I guess I have a tendency to start screen immediately upon logging in so...08:34
Samus_AranI use screen excessively08:35
@apeironSamus_Aran, I don't have logins on this FreeBSD machine outside of screen.08:35
Samus_AranI have all my screens with full English titles and often run out on Ubuntu (it limits to I think 36 screens)08:35
@apeiron36? wowser.08:35
Samus_AranI compiled my own on my last distro, but haven't gotten around to doing so on Ubuntu yet08:35
GooeyOfSteeli use screen by subjects - mail + im + irc - dev - sysadmin - remote consoles - etc08:36
@apeironIf you're using xterms, you may want to look into screenwm.08:36
nubaforgot I was in GooeyOfSteel's irssi, not mine :/08:36
Samus_Aranmy system is on for an average of 2 months at a time (before the nVIDIA driver leaks RAM and makes me crash or reboot)08:36
@apeiron(I make the suggestion of combining the two in xterms because of the high res you can get in xterm)08:36
nubadid you guys know scren can talk to a serial console directly?08:36
Samus_AranI use one Gnome-Terminal with transparency08:36
+Radix-wrkI've been using screen since about 1993 :)08:36
Samus_AranI didn't know screen existed in 199308:37
@apeironnuba, Interesting to know, though I've never had the need / hardware for it.08:37
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out]08:37
nubaits like kermit, only much nicer :)08:37
+Radix-wrkscreen has been around for AGES08:37
Samus_AranI use ICEWM as my desktop, and I fullscreen all my apps, including the terminal I'm in atm08:37
@apeironSamus_Aran, If you're familiar with vim's split screen modes, you'd find screenwm very comfortable.08:38
@apeironAlthough it's kinda.. fragile.08:38
Samus_Arandesktop 1 for my terminal apps, desktop 2 for Internet apps (web browsers, bittorrent), desktop 4 for word processing, 5 for GIMP08:38
Samus_AranI love ICEWM's keyboard control08:38
Samus_Aranbetter than any other environment I've used08:39
+Radix-wrkI used to use screen back when I was mudding at uni - was handy to appear to be working on my C code when instead I was attacking orcs in the mud I played in back then :)08:39
nubaheh08:39
Samus_AranI was using DOS in those days08:39
Samus_AranI had Wishbringer, though.  fun text adventure08:39
+Radix-wrkI got my first unix account in early 1993 - discovered muds shortly afterwards - grades subsequently dropped 20%.. doh08:40
Samus_Aranand the original Amulet of Yendor.  precursor to Hack and NetHack08:40
Samus_AranRadix-wrk: heh08:40
+Radix-wrkfriend introduced me to linux around the same time08:40
@apeironSamus_Aran, You mean the original rogue?08:41
Samus_AranI gave up playing NetHack once I found Ancient Domains of Mystery.  I still love playing that.  I've been playing it off and on for I believe ten years now08:41
+Radix-wrkhe was running coherent unix around that time08:41
Samus_Aranapeiron: I don't know if Amulet of Yendor or Rogue came out first, but the Rogue I played was more sophisticated than AoY08:42
Samus_Aranapeiron: Hack came after AoY, and once it became open source and worked on over the net, it turned into NetHack08:42
@apeironSamus_Aran, I fooled around a bit with the original 4.4BSD rogue. Very, very basic. :)08:42
+Radix-wrkSorry.. I seem to have gotten the conversation offtrack with those comments, but it brings back memories :)08:42
Samus_Aranapeiron: I think I have that on my Palm Pilot, hehe08:43
Samus_Aranapeiron: it is... very bad.08:43
@apeironSamus_Aran, I have everything from the original rogue to recent versions of nethack, slashem, Linley's Dungeon Crawl, and many *bands installed here.08:43
Samus_Aranapeiron: have you never tried ADOM, or avoid it because it isn't open source ?08:43
+Radix-wrklol08:43
@apeironSamus_Aran, Tried it. More a fan of the open source games. :)08:44
+Radix-wrktelengard ftw08:44
Samus_AranI haven't played NetHack for more than about an hour since I got into ADOM 08:44
Samus_AranADOM has a way better plot, extreme character development and moral development, numerous quests, wilderness maps and way more realism than NetHack08:45
@apeironRoguelike with a plot? No way!08:45
Samus_AranI dislike how NetHack literally had the kitchen sink.  all over the place.  even has Terminators and Barney08:45
Samus_Aranfar more realism in ADOM in that regard.  monsters all have very nicely written, imaginative descriptions08:46
Samus_Aranand if you decide on a career of evil, you will have few friends and the game is way harder08:47
Samus_Aranthe ending for evil is to become a Chaos God.  never come close to that ending, so difficult.  but without any spoilers or save-cheating, I beat ADOM as good08:47
Samus_Arantook me a few years =p08:48
Samus_Aranon a good game of ADOM, my character lasts about a week08:48
GooeyOfSteelanyone played a mind forever voyaging?08:48
Samus_Aranof playing too much each day08:48
Samus_AranGooeyOfSteel: not I\08:49
@apeironDammit. There's the inspiration to write my own game again.08:49
nubanowadays, there are good text adventures/interactive fiction for free08:49
@apeironRadix-wrk, See what you started?!08:49
Samus_AranI find that in ADOM, because of the character development and length of gameplay, you get really attached to the character (investing all that time in it), so the fights in ADOM get very epic08:49
nubaand there are good apps like Gargoyle now, which makes the experience much better08:49
Samus_AranI was looking at that game engine that encourages people to make their own games.  I forget the name, but it may have been "make your own game", heh.  some very creative stuff made with it08:50
Samus_Arantext adventures and graphical games alike08:50
+Radix-wrklucasarts scumm08:51
+Radix-wrkthose games rocked :)08:51
Samus_Aranlots of scumm players for *nix08:51
nubatheres a bunch of languages for writing interactive fiction too08:51
nubafor zork and alikes08:51
+Radix-wrkyeah, there's a scummvm for almost every platform known to man.. tis great :)08:51
Samus_Aranapeiron: ADOM has extreme character development.  not just stats (though there are dozens of things to advance), but the moral choices your character makes really expands the game08:52
@apeironSamus_Aran, Huh, interesting.08:52
Samus_Aranapeiron: and you get corrupted as time goes by, the closer you get to the source of the chaos that is seeping into the land.  corruptions are things like growing hooves, sulphuric acid dripping from your fingers, your brain growing several times larger, etc.08:53
Samus_Aranthe corruptions are both good and bad, and by the end of the game you are one messed up ugly f---er08:53
Samus_Aranyou really feel the effect of these corruptions, it makes you want to hurry up and get through the game 08:54
nubacontemporary interactive fiction, for free http://www.ifwiki.org/index.php/XYZZY_Awards_200608:54
Samus_Aranone of the most annoying is a dark aura.  creatures randomly run screaming from you in fear... and shopkeepers come and attack you for chasing away their customers =p08:54
Samus_Arannuba: /me checks it otu08:54
Samus_Aran*out08:54
Samus_Aranapeiron: the one time I did beat ADOM, my character was such a mess of corruptions that my ending resulted in roughly:08:57
Samus_Aran"You make your way home to your village, where you become an outcast. Shunned by your friends and family, you die alone and miserable.  But you saved the world."08:57
@apeironheh heh08:57
@apeironAnd on that note, bedtime for me.08:57
Samus_AranI want to beat it again, with a "happy" ending08:57
Samus_Aranthere's also an ending for neutral characters, but I have no idea what it even is08:58
Samus_Aranapeiron: night08:58
nubaGooeyOfSteel: check hq.imaterial.org09:02
GooeyOfSteelhq.imaterial.org 09:02
nubanot working..09:02
nubaGooeyOfSteel: check hq.imaterial.org09:05
GooeyOfSteelhq.imaterial.org   Server: Apache/2.0.59 (Unix) WebGUI/7.5.2 mod_ssl/2.0.59 OpenSSL/0.9.7i mod_apreq2-20051231/2.5.7 mod_perl/2.0.2 Perl/v5.8.809:05
nubathis is from the HTTP headers09:06
nubai remember someone mentioned a while ago about having a bot with that here09:06
nubato help with troubleshooting09:07
nubathere it is09:07
nubaGooeyOfSteel: check rm -rf /09:07
GooeyOfSteelrm-rf / 09:07
Samus_Aranwhat exactly is "Manage pending versions." and why does WebGUI no longer just let me commit my changes for the last while all at once ?09:08
Samus_Aranthere is no commit button on "Manage pending versions", it just shows items09:08
Samus_Aranit was automatically adding version tags for me before, now it just has "none" as the version tag09:09
nubaGooeyOfSteel: check rm -rf /09:09
GooeyOfSteelrm-rf / 09:09
Samus_AranGooeyOfSteel: check http://localhost/09:09
GooeyOfSteelhttp//localhost/ 09:09
Samus_AranGooeyOfSteel: check localhost09:09
GooeyOfSteellocalhost   Server: Apache/2.0.59 (Unix) WebGUI/7.5.2 mod_ssl/2.0.59 OpenSSL/0.9.7i mod_apreq2-20051231/2.5.7 mod_perl/2.0.2 Perl/v5.8.809:09
Samus_AranGooeyOfSteel: check auk.ca09:10
GooeyOfSteelauk.ca   Server: Apache/2.2.3 (Ubuntu) PHP/5.2.1 mod_ssl/2.2.3 OpenSSL/0.9.8c09:10
Samus_Aranit's nice and fast09:10
Samus_Aranmy site has gone back to locking everything, and no way to approve it09:13
Samus_Aransigh.09:13
Samus_Aranthe Spectre is still running fine in debug mode09:13
GooeyOfSteelhow many workflows you have there?09:13
GooeyOfSteelcheck with perl spectre.pl --status09:13
Samus_AranI don't know what a workflow is09:13
GooeyOfSteelwell whats the result of "perl spectre.pl --status | wc -l" ?09:14
Samus_AranSuspended Workflows    109:14
Samus_Aran  Waiting Workflows    009:14
Samus_Aran  Running Workflows    009:14
Samus_Aranany idea why it would be suspended ?09:14
Samus_Aranwhat are "Manage pending versions" ?09:15
GooeyOfSteeli thought you may have been running into branch edits with lots of descendants. that happened with me once, total pain in the ass...09:15
Samus_Aranit keeps creating those and locks all my changes with no way to approve them09:15
GooeyOfSteelbut its not the case09:15
Samus_Aranthis is a very small site with only me as the user09:15
Samus_Aranthis is so frustrating.  I can't make any changes to the web site09:16
GooeyOfSteeli've no idea on what could be it09:17
+Radix-wrkGooeyOfSteel: check formsys.com09:17
GooeyOfSteelformsys.com   Server: Apache/2.0.58 (Unix) WebGUI/7.0.8 mod_ssl/2.0.58 OpenSSL/0.9.7i mod_apreq2-20051231/2.5.7 mod_perl/2.0.2 Perl/v5.8.809:17
GooeyOfSteelmaybe a bug, did you consider upgrading to the lates stable?09:17
+Radix-wrkGooeyOfSteel: check juga.org09:17
GooeyOfSteeljuga.org   Server: Apache/2.009:17
GooeyOfSteelRadix-wrk: GooeyOfSteel is me when I forget Im in another irssi09:17
GooeyOfSteeloops09:17
nubai mean me09:17
Samus_AranI am on the latest stable09:18
Samus_Aranit's my first install since 4.x09:18
+Radix-wrkGooeyOfSteel: check www.juga.org09:18
GooeyOfSteelwww.juga.org   Server: Apache/2.009:18
Samus_Arannuba: you should run that irssi as a different user and set a different theme09:18
nubaRadix-wrk: oh i thought you asked me to check the site for some interesting content09:18
nubaheh09:18
Samus_Arane.g. a red status bar09:18
+Radix-wrkI was taking advantage of your check script :)09:19
nubaSamus_Aran: its a different screen session, logged as a different user09:19
+Radix-wrkinterestingly enough - my home setup of webgui doesn't return anything other than apache09:19
nubabut yeah a different theme can help09:19
nubaRadix-wrk: you on WRE?09:19
Samus_AranGooeyOfSteel: check plainblack.com09:19
GooeyOfSteelplainblack.com   Server: Apache/2.009:19
+Radix-wrkyeah09:19
nubayou can limit the amount of stuff apache spits out at the config09:20
Samus_Aranhow the hell do I commit "pending versions" ?09:20
+Radix-wrkshould be using 7.4.20 at home.. compiled wre myself09:20
nubathe lesser, the better09:20
Samus_Aranthere are no commit buttons and they're all locked09:20
+Radix-wrkSamus_Aran: it's all done by Spectre09:20
Samus_Aranwell why isn't spectre in debug mode showing any errors ?  =/09:20
+Radix-wrkSpectre is the one that processes all commits, workflows, background tasks, etc09:20
Samus_Aranit says the workflow is suspended09:21
+Radix-wrknothing in the normal webgui log file?09:21
* Samus_Aran checks09:21
Samus_AranAsset constructor new() requires an assetId.09:22
Samus_AranPass in object came back undefined for activity09:22
Samus_Aranabout ten of those09:22
+Radix-wrkHmm.. what version are you using?09:22
nuba'night guys, time to sleep, 5am already09:23
Samus_Aranlatest stable as of Thursday09:23
+Radix-wrknite nuba09:23
Samus_Aranmanual install, not the WRE09:24
Samus_Aranit works fine for hours, then does odd things09:24
+Radix-wrkI used to get some wierd errors back before I started to use the WRE.  Ones that noone else could reproduce :(  Was one of the main reasons I ended up switching to the WRE.09:25
+Radix-wrkSome debian perl module I'd apt-getted had was causing mysterious things to happen that the WRE and other systems weren't getting I suspect.09:26
Samus_Aranthere are thousands of systems out there running Apache, MySQL, Perl, PHP, etc. ... the WRE seems like such a bad idea09:26
+Radix-wrknot at all09:26
Samus_Araneffort should be put into a proper installer09:26
Samus_Arannot forcing people to give up all their services 09:26
+Radix-wrkThe WRE isn't perfect, but it's not hard to integrate it with other setups09:27
Samus_Aranrunning two copies of all the servers on the system is very inefficient09:27
+Radix-wrkAnd you can literally install a machine from scratch and have the wre up and running in under an hour.09:27
Samus_Aranand when the machine already exists, ...09:28
Samus_Aranit has a dozen web sites on it already09:28
Samus_Aranusing the MySQL database09:28
+Radix-wrkyeah, well there's no easy way to integrate those setups09:28
Samus_Aranand that's my point, it should be easy09:28
Samus_Aranthere's no reason the script can't just check the versions of the required components and let people know if their versions aren't okay09:28
Samus_Aranit already does this, but it is very fragile outside of the WRE09:29
+Radix-wrkwell I think the main problem is the lack of developers outside plainblack working on webgui09:29
+Radix-wrkplainblack is keen to add more power and flexibility in webgui09:30
Samus_Aranthe silly organisation I work for bought a very expensive rack mount server (which is sitting on a wood shelf).  perhaps I should just run WebGUI in a virtual machine09:30
+Radix-wrkI do09:30
+Radix-wrkwell.. not my production system, but I have a couple of virtual machine images I use for testing09:31
Samus_Aranseems a pain, though.  having two distros to maintain, and CPU/RAM inefficient09:31
+Radix-wrkFeel free to help out if you can - we need more people working on webgui and improving it09:31
Samus_Aranhow can I deal with the suspended workflow ?09:31
Samus_Aran"Last State: error"09:31
+Radix-wrkcan you force it to run?09:32
Samus_AranI don't know how09:32
Samus_AranI've restarted Spectre but it had no effect09:32
Samus_AranI'll try restarting Apache09:32
+Radix-wrkI'm not as familiar with the latest versions, but you should see a workflows tab in webgui09:32
+Radix-wrkand can see workflows that are stuck there and restart them manually09:33
Samus_Aranthat's only in the WRE, isn't it ?09:33
+Radix-wrkno09:33
Samus_Aranokay09:33