Koozali.org: home of the SME Server

KnowledgeTree 2.0.7 on SME Server 6.0.1

howardk

KnowledgeTree 2.0.7 on SME Server 6.0.1
« on: August 10, 2005, 02:39:03 PM »
I am having difficulties to run KnowledgeTree 2.0.7 on SME 6.0.1(can't use MasterSleepy's rpm v.1.1-1 no support for PDF indexing). No errors are displayed but the paths seem to be messed up. Have anyone successfully managed to run KnowledgeTree 2.0.7 on SME 6.0.1?

I have upgraded php 4.4 and MYSQL 4 1 13, using Ergin Özdemir scripts http://ergin.dyndns.org/download/ .

howardk

KnowledgeTree 2.0.7 on SME Server 6.0.1 mini how-to
« Reply #1 on: August 15, 2005, 09:56:17 AM »
I finally got KnowledgeTree 2.0.7 to work on SME Server 6.0.1, here is a mini how-to.

1| Upgraded php 4.4 and MYSQL 4 1 13

-PHP 4.4
wget http://ergin.dyndns.org/download/scripts/php4.4.0-upgrade.sh
sh php4.4.0-upgrade.sh

- MYSQL 4 1 13
wget http://ergin.dyndns.org/download/scripts/MySQL-4_0_24.sh
sh MySQL-4_0_24.sh
wget http://ergin.dyndns.org/download/scripts/MySQL-4_1_13.sh
sh MySQL-4_1_13.sh

2 | Follow steps in KnowledgeTree Installation doc
Code: [Select]

*  Move the knowledgeTree folder to the directory it is going to be served from:
   $ mv knowledgeTree /path/to/your/html/directory/


*  Check the pre-installation checkup:

   If your knowledgeTree installation is at http://localhost/, go to:

       http://localhost/setup/

*  Set up the database
   - Create a database:
     $ mysqladmin -p create dms

   - Create and populate the tables:
     $ mysql -p dms < sql/mysql/install/structure.sql
     $ mysql -p dms < sql/mysql/install/data.sql

   - Create the database perfor
     $ mysql -p dms < sql/mysql/install/user.sql


*  Configure your installation in config/environment.php:
   - The default configuration will determine many settings on your
     installation automatically, and this is the preferred method of
     running KnowledgeTree.  Please do not manually set these settings
     unless you know what you are doing.
   - The default configuration uses the database username and password
     in the user.sql file mentioned above, use the local host for the
     database, and use the database named 'dms'.  If you follow the
     examples above in setting up the database, this means KnowledgeTree
     should be fully configured to start working.
   - However, you should change this once you've performed your initial
     evalution of KnowledgeTree for the security of your documents.
   - The following settings in config/environment.php control the
     database connectivity, and can be set as shown:
        $default->dbUser           = "myuser";
        $default->dbPass           = "mypassword";
        $default->dbHost           = "localhost";
        $default->dbName           = "release206";


*  Check permissions on the folders
   - The "Documents" folder in the root of the KnowledgeTree
     installation MUST be able to be written to by your web server.
   - The "log" folder in the root of the KnowledgeTree installation MUST
     be able to be written to by your web server.
   - The pre-configuration checkup will display the user which must be
     able to write to these folders.
   - The remaining folders should preferably not be able to be written
     to by your web server.

   - eg.
     If your web server is running as user "nobody" and group "nogroup"
     then cd to the files directory and type:

     *nix: 'chown -R nobody.nogroup Documents log'
     Windows: Check the permissions and security tabs


*  Check the post-installation checklist:

   If your knowledgeTree installation is at http://localhost/, go to:

       http://localhost/setup/

   And click on "Post-installation checkup".


3 | Add your rootUrl path in /config/environment.php
// Path to the web application from the root of the web site.
// If KT is at http://example.org/foo/, then rootUrl should be '/foo'
//
// Leave commented to have it automatically detected.
//
//$default->rootUrl  = "";

4 | pear permission
/sbin/e-smith/db accounts setprop your_ibay PHPBaseDir /home/e-smith/files/ibays/your_ibay:/tmp:/usr/bin:/usr/share/pear

/sbin/e-smith/signal-event ibay-modify your_ibay

5 | Login
   - in a web browser go to your KnowledgeTree installation via the web
   - default user is "admin" with password "admin"

howardk

KnowledgeTree 2.0.7 on SME Server 6.0.1
« Reply #2 on: August 17, 2005, 01:36:06 PM »
Sorry forgot pear permission, mini how-to now updated. :-)

RobF

KnowledgeTree 2.0.7 on SME Server 6.0.1
« Reply #3 on: August 18, 2005, 05:41:30 AM »
Thanks Howardk

Ive been looking for a document management system that can do the PDF indexing as well.

How have you found Knowledgetree to use?

howardk

Knowledgetree and DOCMGR
« Reply #4 on: August 18, 2005, 08:31:06 AM »
Knowledgetree is an OK DMS, it’s not super but it works!
Another DMS you cud try is DOCMGR that have PDF indexing support, but I have not been able to run it on SME 6. http://docmgr.sourceforge.net/

howardk

KnowledgeTree 2.0.7 on SME Server 6.0.1
« Reply #5 on: August 18, 2005, 08:36:34 AM »
Mini how-to updated
<code>
4 | Fix bulk upload bug/problem in v. 2.0.7 edit line 195 in presentation\lookAndFeel\knowledgeTree\documentmanagement\bulkUploadBL.php

Before:
'type' => PhysicalDocumentManager::getMimeTypeFromFile($oFile->sFilename),

After:
'type' => "", //PhysicalDocumentManager::getMimeTypeFromFile($oFile->sFilename),
</code>

This bug fix is not working because KT won’t delete files that have been uploaded using this code. :-(

duncan

Re: Knowledgetree and DOCMGR
« Reply #6 on: August 20, 2005, 10:48:02 AM »
Quote from: "howardk"
Knowledgetree is an OK DMS, it’s not super but it works!
Another DMS you cud try is DOCMGR that have PDF indexing support, but I have not been able to run it on SME 6. http://docmgr.sourceforge.net/


docmgr installs pretty easily on 7.26

RobF

KnowledgeTree 2.0.7 on SME Server 6.0.1
« Reply #7 on: August 24, 2005, 01:05:40 PM »
Thanks guys! I'll have a look at them