TestLink installation failed on Managed Web Server

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
zd3rHn3uS
TestLink user
Posts: 10
Joined: Sat Nov 03, 2018 5:45 pm

TestLink installation failed on Managed Web Server

Post by zd3rHn3uS »

After uploading Testlink on managed Hosting Server, I start running the installation and got the following two errors:

Code: Select all

Checking if /var/testlink/logs/ directory exists [S] --> FAILED
Checking if /var/testlink/upload_area/ directory exists [S] --> FAILED
I do not have the permissions to create this paths:

Code: Select all

mkdir /var/testlink: permission denied
So, can anyone give me some help? Many thanks!
zd3rHn3uS
TestLink user
Posts: 10
Joined: Sat Nov 03, 2018 5:45 pm

Re: TestLink installation failed on Managed Web Server

Post by zd3rHn3uS »

The `README.md` does not provide any help.
How to manage the two directories on a managed web-server?:

Code: Select all

/var/testlink/logs/
/var/testlink/upload_area/
Can someone help me? - How to install TestLink on web-server?
zd3rHn3uS
TestLink user
Posts: 10
Joined: Sat Nov 03, 2018 5:45 pm

Re: TestLink installation failed on Managed Web Server

Post by zd3rHn3uS »

After hours of research I found a solution:

a) Make copy of `custom_config.inc.php.example` and rename it to `custom_config.inc.php`.

b) Add two lines into `custom_config.inc.php`:

Code: Select all

// $tlCfg->log_path = '/var/testlink-ga-testlink-cde/logs/'; /* unix example */
$tlCfg->log_path = '../logs'; /* for web-server */
// $g_repositoryPath = '/var/testlink-ga-testlink-code/upload_area/';  /* unix example */
$g_repositoryPath = '../upload_area';  /* for web-server */
c) upload `custom_config.inc.php` to your web-server.
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: TestLink installation failed on Managed Web Server

Post by fman »

Dear user:
if in your company you have people with the minimum sysadmin skills, you can not use hours to understand how to fix.
Testlink documentation cannot be perfect but is IMHO good enough.
Post Reply