[SOLVED] Problem missing directories updating to TL1.9.5

LATEST Official version.
Questions and discussions - NO ISSUES
FOR ISSUES => http://mantis.testlink.org

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
mrommel
Advanced user
Posts: 16
Joined: Thu Jul 19, 2012 9:37 pm

[SOLVED] Problem missing directories updating to TL1.9.5

Post by mrommel »

Hello together,

we are using TL for our Tests.
While i have to administrate this, i had sometimes a look for updates...
Now I've seen that there is a update to version 1.9.6.
So i wanted update our TL Version (first to 1.9.5 than to 1.9.6), but i receive every time while starting the "installCheck.php" the error that TL couldn't access to the following directories:

Checking if /var/testlink/logs/ directory exists [S] Failed!
Checking if /var/testlink/upload_area/ directory exists [S] Failed!


i never did an update of TL before, so could you please explain what i am doing wrong?

Thanks a lot.
Last edited by mrommel on Tue Jun 04, 2013 10:05 am, edited 1 time in total.
ganesanvijay
Advanced user
Posts: 15
Joined: Thu Sep 27, 2012 10:00 pm

Re: Problem with missing directories while updating to TL1.9

Post by ganesanvijay »

Hello,
It seems the directories do not exist. This is the standard directory structure for Unix. For Wiondows change it to point the directory.
Create the directories in your box and
Edit the following under "config.inc.php"

Code: Select all

$g_repositoryPath = '/var/testlink/upload_area/';  /* unix example */
$g_repositoryPath = 'C:\..\htdocs\testlink\upload_area'; /* windows example */

$tlCfg->log_path = '/var/testlink/logs/'; /* unix example */
$tlCfg->log_path = 'C:\..\htdocs\testlink\logs'; /* windows example */
Regards
ganesanvijay
Advanced user
Posts: 15
Joined: Thu Sep 27, 2012 10:00 pm

Re: Problem with missing directories while updating to TL1.9

Post by ganesanvijay »

Sorry better do not touch config.inc.php but add these lines to customconfig.inc.php

Regards
mrommel
Advanced user
Posts: 16
Joined: Thu Jul 19, 2012 9:37 pm

Re: Problem with missing directories while updating to TL1.9

Post by mrommel »

Thanks for the answer.
These directories are already on my system.
That's why i don't know what i should do now...

I've tried the solution, but i receive this error till now.

The protection of the folders was removed every time while i try to do the update, but it them are every time while i receive this error protected...
It seems like testlink changes the status of the folders/files while checking the configuration....


I am trying to update a windows version on my lokale pc.
But if this is works i will update the testlink version on a unix server...
So i hope this error will not appear on the server, or if it appears i know how to deal with... ;)
mrommel
Advanced user
Posts: 16
Joined: Thu Jul 19, 2012 9:37 pm

Re: Problem with missing directories while updating to TL1.9

Post by mrommel »

Hello together,

now i've found the error.
I was using the default path without updating the file "config.inc.php".
So there was the wrong path that should have been uses for the update.

I don't know why everything else got the right path expect those two entries, but after some tries I changed it to the absolute path.
After changing this everything was working right.

Regards
Post Reply