TestLink installation failed on Managed Web Server

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

TestLink installation failed on Managed Web Server

Postby zd3rHn3uS » Mon Nov 05, 2018 6:26 am

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

Postby zd3rHn3uS » Tue Mar 05, 2019 5:42 pm

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

Postby zd3rHn3uS » Tue Mar 05, 2019 7:53 pm

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.
zd3rHn3uS
TestLink user
 
Posts: 10
Joined: Sat Nov 03, 2018 5:45 pm

Re: TestLink installation failed on Managed Web Server

Postby fman » Wed Mar 06, 2019 11:27 am

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.
fman
Member of TestLink Community
 
Posts: 3051
Joined: Tue Nov 15, 2005 7:19 am


Return to Installation and configuration



Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 2 guests