Koozali.org: home of the SME Server

[ANNOUNCE] KnowledgeTree 3.1b


Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
[ANNOUNCE] KnowledgeTree 3.1b
« Reply #1 on: October 19, 2006, 04:21:21 AM »
MasterSleepy

This is a great product .... We use the windows version here at work but I would rather have it runing on linux (SME) .... I will definitely try this out and copy everything over if it works the same.

Regards,

Tib

jcoleman

[ANNOUNCE] KnowledgeTree 3.1b
« Reply #2 on: October 19, 2006, 06:02:16 PM »
MasterSleepy,

Great contrib and great product.  Have you had any luck in installing the plugins for indexing?  xpdf and catdoc both seem to have a lot of dependencies and/or require compiling.

-jeff

jazbokes

[ANNOUNCE] KnowledgeTree 3.1b
« Reply #3 on: October 20, 2006, 01:12:17 AM »
Thanks for the great contribution MasterSleepy,

KnowledgeTree 3.1b-1 HOWTO

1. Install Dag and Atrpms repo;

/sbin/e-smith/db yum_repositories set dag repository BaseURL http://apt.sw.be/redhat/el4/en/i386/dag EnableGroups 1 GPGCheck 1 Name Dag-repository status disabled

rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt

/sbin/e-smith/db yum_repositories set atrpms repository BaseURL http://dl.atrpms.net/el4-i386/atrpms/stable EnableGroups 1 GPGCheck 1 Name Atrpms-repository status disabled

rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms

/sbin/e-smith/expand-template /etc/yum.conf

2. #Download rpms to current Directory

knowledgeTree
http://www.vanhees.cc/index.php?name=CmodsDownload&file=index&req=viewsdownload&sid=65

pstotest
http://rpmfind.net/linux/rpm2html/search.php?query=pstotext

3. Install RPM

yum -y --enablerepo=base --enablerepo=base --enablerepo=updates localinstall pstotext-1.8g-1.i386.rpm

yum -y --enablerepo=base --enablerepo=updates --enablerepo=dag --enablerepo=atrpms install xpdf catdoc

yum -y --enablerepo=base --enablerepo=base --enablerepo=updates localinstall  smeserver-knowledgeTree-3.1b-1.noarch.rpm


4. Enable Indexing

mkdir -p /etc/e-smith/templates-custom/opt/knowledgeTree/config/config.ini

cd /etc/e-smith/templates/opt/knowledgeTree/config/config.ini

cp part01 /etc/e-smith/templates-custom/opt/knowledgeTree/config/config.ini/

mcedit /etc/e-smith/custom-templates/opt/knowledgeTree/config/config.ini/part01
change the following lines

xls2csv = xls2csv
pdftotext = pdftotext
catppt = catppt
pstotext = pstotext
catdoc = catdoc

to

xls2csv = /usr/bin/xls2csv
pdftotext = /usr/bin/pdftotext
catppt = /usr/bin/catppt
pstotext = /usr/bin/pstotext
catdoc = /usr/bin/catdoc

/sbin/e-smith/expand-template /opt/knowledgeTree/config/config.ini


5. Now access knowledgeTree at following address

http://[SERVERNAME/IP]/knowledgeTree/
User : admin
Password : admin


6. Install Indexer Diagnostics Plugin


Just download, unpack and copy the folder into /opt/knowledgeTree/plugins/

http://forge.ktdms.com/frs/?group_id=29

login as admin in KT, "Administration" -> "Miscellaneous" -> "Manage Plugin" -> "Reread Plugins"

activate the plugin and then "Update".

after this you'll find the a new point under
"Administration" -> "Miscellaneous" ->"Advanced Indexing Assistance"

where you can chose your folders and files that you want to re-index.

That's all folks..

MasterSleepy,  
is it possible to have unified authentication with Smeserver thr POP3 auth or otherwise .

Jon..

wookie

:oops: Oops !
« Reply #4 on: October 21, 2006, 02:11:04 PM »
cp /opt/knowledgeTree/config/config.ini /etc/e-smith/custom-template/opt/knowledgeTree/config/

Should this not be /etc/e-smith/templates-custom/opt/knowledgeTree/config/

mcedit /etc/e-smith/custom-templates/opt/knowledgeTree/config/config.ini and /etc/e-smith/templates-custom/opt/knowledgeTree/config/

however buy doing so a kt3 template error occurs unfortunatly.

re-installing the rpm and just editing /opt/knowledgeTree/config/config.ini
its working and recognizing the plugins ..

regards

T :shock:  [/b]

Offline russs

  • ***
  • 77
  • +0/-0
[ANNOUNCE] KnowledgeTree 3.1b
« Reply #5 on: March 06, 2007, 05:11:06 PM »
Can anybody help me with how to force SSL on the KnowledgeTree directory.

From reading other posts I'm not sure if I can use the .htaccess file within the KnowledgeTree directory, is it possible as this would be the easiest way as far as I can tell?

It's just that, because KnowTree installs under /opt I'm not sure how to set it up.

Any help appreciated!

Russ
...

Offline bunkobugsy

  • *
  • 278
  • +4/-0
[ANNOUNCE] KnowledgeTree 3.1b
« Reply #6 on: March 06, 2007, 06:31:49 PM »
..and while at it, could anybody update to the latest 3.4 version, or is there an update procedure?

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
[ANNOUNCE] KnowledgeTree 3.1b
« Reply #7 on: March 06, 2007, 08:44:31 PM »
bunkobugsy i'm working on the new RPM but i don't have the time right now so i'll update it when i have it.

Untill then this works for me.....
Just rewrite all the data in opt with the new files and run http://server/konwledgeTree/setup/upgrade.php
"It should just work" if it doesn't report it. Thanks!

Offline russs

  • ***
  • 77
  • +0/-0
[ANNOUNCE] KnowledgeTree 3.1b
« Reply #8 on: March 06, 2007, 09:53:24 PM »
Thanks Guys.
...

Offline bunkobugsy

  • *
  • 278
  • +4/-0
[ANNOUNCE] KnowledgeTree 3.1b
« Reply #9 on: March 12, 2007, 03:32:00 PM »
But seriously guys, could somebody update the original rpm the right way because the overwrite and upgrade.php way won't work (for me).
Maybe I missed some chowning/chmodding or what?! I get
[db_error: message="DB Error: connect failed" code=-24 mode=return level=notice prefix="" info=" [nativecode=Access denied for user 'dmsadmin'@'localhost' (using password: YES)] ** Array"]
when I try to upgrade and
Fatal error: Call to a member function on a non-object /opt/knowledgeTree/lib/authentication/interceptorregistry.inc.php on line 77
when accesing the main page.

Offline russs

  • ***
  • 77
  • +0/-0
[ANNOUNCE] KnowledgeTree 3.1b
« Reply #10 on: March 12, 2007, 03:36:35 PM »
I know it's a bit of a bodge-job but have you tried it the way I did on this thread Mate?
It's in an iBay which I know is not meant to be such a secure way of doing it but it works perfectly for me this way!

http://forums.contribs.org/index.php?topic=35899.0

Cheers

Russ
...

Offline ldkeen

  • *
  • 403
  • +0/-0
[ANNOUNCE] KnowledgeTree 3.1b
« Reply #11 on: March 28, 2007, 04:45:48 PM »
Russ.
I've put a modded template fragment on my website that will force SSL (copied from phpsysinfo) on the knowledgeTree directory. You can get it from here: comnetel.com/kt
copy the file into /etc/e-smith/templates/etc/httpd/conf/httpd.conf/ then
Code: [Select]
#expand-template /etc/httpd/conf/httpd.conf
#svc -t /service/httpd-e-smith

bunkobugsy,
to fix the db error try the following:
Code: [Select]
#mysql
mysql>use dms
mysql>GRANT ALL PRIVILEGES ON * TO dmsadmin@localhost IDENTIFIED BY 'js9281djw';
mysql>exit

It worked for me, YMMV.
Regards, Lloyd

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
[ANNOUNCE] KnowledgeTree 3.1b
« Reply #12 on: March 29, 2007, 06:01:31 AM »
Ok I did the SLL force update on my test server ... but with this setup only admin can get into KnowledgeTree ... how can you allow all users to access not just Admin.

Even my phpsysinfo is only accesable using admin user ... no other user can access.

I read in the script

Code: [Select]

AllowOverride None
    AuthName "knowledgeTree"
    AuthType Basic
    AuthExternal pwauth
    require user admin
    Satisfy all


Only admin user allowed ... this is no good in a multi user evironment.

Regards,

Tib

Offline ldkeen

  • *
  • 403
  • +0/-0
[ANNOUNCE] KnowledgeTree 3.1b
« Reply #13 on: March 29, 2007, 07:36:44 AM »
Tib
Quote
how can you allow all users to access not just Admin

I'm not 100% sure, you'd have to read up on apache but I guess changing
Code: [Select]
require user admin
to
Code: [Select]
require group everyone
or
Code: [Select]
require user admin user1 user2 etc
might do it. You'd have to try it. I only done this as a quick hack cause I didn't want my knowledgtree open to the internet (even though it does use it's own auth). I've now changed my setup so it's restricted to my LAN only.
Lloyd

Offline russs

  • ***
  • 77
  • +0/-0
[ANNOUNCE] KnowledgeTree 3.1b
« Reply #14 on: March 29, 2007, 11:10:25 AM »
Quote from: "ldkeen"
Russ.
I've put a modded template fragment on my website that will force SSL (copied from phpsysinfo) on the knowledgeTree directory. You can get it from here: comnetel.com/kt
copy the file into /etc/e-smith/templates/etc/httpd/conf/httpd.conf/ then
Code: [Select]
#expand-template /etc/httpd/conf/httpd.conf
#svc -t /service/httpd-e-smith

bunkobugsy,
to fix the db error try the following:
Code: [Select]
#mysql
mysql>use dms
mysql>GRANT ALL PRIVILEGES ON * TO dmsadmin@localhost IDENTIFIED BY 'js9281djw';
mysql>exit

It worked for me, YMMV.
Regards, Lloyd


Thanks Lloyd, I will give this a go.
...

Offline bunkobugsy

  • *
  • 278
  • +4/-0
[ANNOUNCE] KnowledgeTree 3.1b
« Reply #15 on: March 29, 2007, 04:51:13 PM »
Thanks ldkeen,
but I still get

Fatal error: Call to a member function on a non-object in /opt/knowledgeTree/lib/authentication/interceptorregistry.inc.php on line 77

 :(

Can't just somebody update the original RPMs ?