Click here to register.
      
irc://irc.freenode.net#webgui

iPhoneGuy: WebGUI is a pile of crap.
rizen: If WebGUI is such a pile of crap, why do you use it?
iPhoneGuy: Because it's the best pile of crap out there.

If this is what people who hate us are saying, imagine what people who love us will say. Come join us on IRC.


     Install/Upgrade Help > Corrupt Asset Tree

Corrupt Asset Tree

User mwille64
Date 7/24/2008 11:18 am
Views 701
Rating 0    Rate [
|
]
Previous · Next
User Message
mwille64

I just started using WebGUI to develope a new community website for Adobe Flex/Domino developers and I'm now the second time faced with a completely corrupted asset tree:

- existing assets vanish without a trace

- newly created assets vanish after a commit

- changed assets remain locked after a commit

I use version: WebGUI 7.4.40 (stable) Released

Question:

Is there a repair utility to fix broken asset trees and how can I unlock assets that remain locked after a commit?

Any help is greatly appreciated as I'm at a point to look for a different solution.

--- (Edited on 7/24/2008 11:18 am [GMT-0500] by mwille64) ---

Operating system is Windows XP SP2 (test environment).

 

--- (Edited on 7/24/2008 11:20 am [GMT-0500] by mwille64) ---



Back to Top
Rate [
|
]
 
 
preaction

Sounds less like a corrupt asset tree and more like Spectre not running.

cd to WebGUI/sbin and run perl spectre.pl --test and perl spectre.pl --status

Are there any errors in your error log?

If you truly suspect a broken asset tree, you can run sbin/rebuildLineage.pl, but I doubt that will fix the problem that you described.

--- (Edited on 7/24/2008 11:44 am [GMT-0500] by preaction) ---



Back to Top
Rate [
|
]
 
 
mwille64

Some more info...

Windows EventViewer entry:

The Apache service named  reported the following error:

>>> Apache.exe: Could not determine the server's fully qualified domain name, using 192.168.2.200 for ServerName     .

 

------------------------------------------------- 

 C:\data\WebGUI\sbin>perl spectre.pl --test

Running connectivity tests.

Testing www.flexdomino.net.conf

Tests completed.

------------------------------------------------- 

 

C:\data\WebGUI\sbin>perl spectre.pl --status

 

 

Suspended Workflows    0

Waiting Workflows    0

Running Workflows    0

Total Workflows    0

 

------------------------------------------------- 

C:\data\wre\var\logs\webgui.log shows following errors...

 

2008/07/19 02:14:03 - ERROR - www.flexdomino.net.conf - Log::Log4perl::Logger::__ANON__[41] - Couldn't compile asset package: WebGUI::Asset::Wobject::Poll. Root cause: Can't locate Graphics/ColorNames.pm in @INC (@INC contains: /data/WebGUI/lib C:/data/wre/prereqs/site/lib C:/data/wre/prereqs/lib . C:/data/wre/prereqs) at C:/data/wre/prereqs/site/lib/Color/Calc.pm line 7.

BEGIN failed--compilation aborted at C:/data/wre/prereqs/site/lib/Color/Calc.pm line 7.

Compilation failed in require at /data/WebGUI/lib/WebGUI/Image/Color.pm line 4.

BEGIN failed--compilation aborted at /data/WebGUI/lib/WebGUI/Image/Color.pm line 4.

Compilation failed in require at /data/WebGUI/lib/WebGUI/Image/Palette.pm line 4.

BEGIN failed--compilation aborted at /data/WebGUI/lib/WebGUI/Image/Palette.pm line 4.

Compilation failed in require at /data/WebGUI/lib/WebGUI/Image.pm line 4.

BEGIN failed--compilation aborted at /data/WebGUI/lib/WebGUI/Image.pm line 4.

Compilation failed in require at /data/WebGUI/lib/WebGUI/Image/Graph.pm line 4.

BEGIN failed--compilation aborted at /data/WebGUI/lib/WebGUI/Image/Graph.pm line 4.

Compilation failed in require at /data/WebGUI/lib/WebGUI/Asset/Wobject/Poll.pm line 22.

BEGIN failed--compilation aborted at /data/WebGUI/lib/WebGUI/Asset/Wobject/Poll.pm line 22.

Compilation failed in require at /data/WebGUI/lib/WebGUI/Asset.pm line 1368.

2008/07/19 02:14:17 - ERROR - www.flexdomino.net.conf - Log::Log4perl::Appender::log[182] - Couldn't get UI level of WebGUI::Asset::Wobject::Poll. Root cause: Can't locate object method "getUiLevel" via package "WebGUI::Asset::Wobject::Poll" at /data/WebGUI/lib/WebGUI/Asset.pm line 700.

...

2008/07/24 20:21:58 - ERROR - www.flexdomino.net.conf - main::[[undef]] - Couldn't get UI level of WebGUI::Asset::Wobject::Poll. Root cause: Can't locate object method "getUiLevel" via package "WebGUI::Asset::Wobject::Poll" at /data/WebGUI/lib/WebGUI/Asset.pm line 700.

2008/07/24 20:22:08 - ERROR - www.flexdomino.net.conf - main::[[undef]] - Couldn't get UI level of WebGUI::Asset::Wobject::Poll. Root cause: Can't locate object method "getUiLevel" via package "WebGUI::Asset::Wobject::Poll" at /data/WebGUI/lib/WebGUI/Asset.pm line 700.

 

------------------------------------------------- 

I ran rebuildLineage.pl, but it doesn't work...

 

C:\data\WebGUI\sbin>perl rebuildLineage.pl --configFile=WebGUI.conf.original
Starting...DBI connect('www_example_com;host=localhost','webgui',...) failed: Ac
cess denied for user 'webgui'@'localhost' (using password: YES) at ../lib/WebGUI
/SQL.pm line 322
DBI connect('www_example_com;host=localhost','webgui',...) failed: Access denied
 for user 'webgui'@'localhost' (using password: YES) at ../lib/WebGUI/SQL.pm lin
e 322
<h1>Fatal Internal Error</h1>fatal: Couldn't connect to WebGUI database, and can
't continue without it. at ../lib/WebGUI/Session/ErrorHandler.pm line 232.

 

------------------------------------------------- 

Meanwhile something else happened without me touching the content manager. Under one of the assets a sub-asset appeared which is actually linked somewhere else!!!???

 

--- (Edited on 7/24/2008 2:12 pm [GMT-0500] by mwille64) ---



Back to Top
Rate [
|
]
 
 
bartjol

during rebuildLineage, you should take your own webgui conf file, not the original

--- (Edited on 7/25/2008 1:42 pm [GMT+0200] by bartjol) ---



Back to Top
Rate [
|
]
 
 
mwille64

during rebuildLineage, you should take your own webgui conf file, not the original

--- (Edited on 7/25/2008 1:42 pm [GMT+0200] by bartjol) ---


thats what I thought, but webgui.conf file does not exist. searched the entire PC, to no avail.

--- (Edited on 7/25/2008 9:01 am [GMT-0500] by mwille64) ---



Back to Top
Rate [
|
]
 
 
bartjol

should be there, mine is:

/data/WebGUI/etc/www.bartjol.nl.conf

--- (Edited on 7/25/2008 4:04 pm [GMT+0200] by bartjol) ---



Back to Top
Rate [
|
]
 
 
mwille64

should be there, mine is:

/data/WebGUI/etc/www.bartjol.nl.conf

--- (Edited on 7/25/2008 4:04 pm [GMT+0200] by bartjol) ---


That explains it. Sorry for my ignorance. I was looking for literally "webgui.conf". Now I found my config file. Let's see how it goes.

--- (Edited on 7/26/2008 7:57 am [GMT-0500] by mwille64) ---



Back to Top
Rate [
|
]
 
 

Re: Overriding inbox emails by JT - Sun @ 07:35pm

Re: Buying documentation from plainblack by knowmad - Sun @ 07:28pm

Re: Lincense Issues by knowmad - Sun @ 07:15pm

Re: Overriding inbox emails by knowmad - Sun @ 07:12pm

Re: Advanced Search template by knowmad - Sun @ 06:57pm

Re: The goal by dionak - Sun @ 01:20pm

Re: How to connect a Profile Field to a User Group? by LoopSetShop - Sun @ 11:13am

Re: How to connect a Profile Field to a User Group? by LoopSetShop - Sun @ 10:45am

Re: How to connect a Profile Field to a User Group? by perlDreamer - Sun @ 10:32am

How to connect a Profile Field to a User Group? by LoopSetShop - Sun @ 09:45am

Re: WebGUI Drinks by bernd - Sun @ 07:58am

Re: RSVP function in WebGUI? by pvanthony - Sun @ 03:26am

Smoketest For nightly_2008-09-07 by Visitor - Sun @ 01:47am