TestingDocs.com
    Software Testing website
    • Automation
      • Selenium
      • JBehave Framework
    • Tutorials
      • MySQL Tutorials
      • Testlink
      • Maven
      • Git
    • IDEs
      • IntelliJ IDEA
      • Eclipse
    • Flowcharts
      • Flowgorithm
      • Raptor
    • About

    TestLink Tutorial

    How to fix read/write permissions Failed! error during TestLink Install

    Overview

    In this tutorial, we will go through the folder read/write failed permissions errors during the new installation of TestLink instance on the Linux machine. The root for the error is that the install script doesn’t recognize the directories in the errors.

    Environment

    Linux Ubuntu Distro.

    TestLink version: 1.9.2

    Note that the directory paths vary vary based on your install environment.

    Fixes

    Two possible fixes for this issue are:

    • Either we can change the PHP file paths to match your install environment.
    • Create the folder and give appropriate permissions on those directories.

    Changing PHP variables

    Check the file paths in the file : config.inc.php

    Override these settings in a custom_config.inc.php file. Correct the paths that match on your install environment.

    The variables have the default file paths. We can change them to point the the directories as per the install environment as shown below:

    /*logs file path*/
    
    $tlCfg->log_path = '/public_html/testlink/logs/';
    
    /* upload_area path */
    $g_repositoryPath = '/public_html/testlink/upload_area/';

    Creating Directories

    templates_c directory

    Error:

    Checking if /var/www/html/testlink-code/gui/templates_c directory is writable (by user used to run webserver process)

     

    read write errors TestLink

    Fix:

    Open terminal window

    Issue the following command.

    $ sudo chmod -R a+rwx /var/www/html/testlink-code/gui/templates_c

    The above command is an example. We need to replace the exact path on your install for the templates directory.

     

    Failed! logs directory

    The failed directory exists error.

    Create the directory and issue the chmod commands. The following commands would fix the errors for the failed logs directory errors during the new install of TestLink.

    $ sudo mkdir /var/testlink/
    $ sudo mkdir /var/testlink/logs
    $ sudo chmod -R a+rwx /var/testlink/

     

    Failed! upload_area directory

    Create the directory and issue the chmod commands. The following commands would fix the errors for the failed upload-area directory errors during the new install of TestLink.

    $ sudo mkdir /var/testlink/

    $ sudo mkdir /var/testlink/upload_area/

    $ sudo chmod -R a+rwx /var/testlink/

     

    The above commands would fix the folder errors during the TestLink install.

    After fixing the folder errors and permissions, re-launch the TestLink web installer to continue with the installation.

     

    write permissions Failed

     

    —

     

    TestLink Tutorial on this website can be found at:
    https://www.testingdocs.com/testlink-tutorials/

    TestLink is an open-source Test Management Tool. More information on the official website at: http://testlink.org

    Related Posts

    TestLink Bitnami Cloud Image

    TestLink Tutorial /

    TestLink Bitnami Cloud Image

    Apache Server Configuration

    TestLink Tutorial /

    TestLink REST API Apache Server Configuration

    TestLink Install on Domain

    TestLink Tutorial /

    Install TestLink Software via CPanel Platform

    Test Suite Import Export TestLink

    TestLink Tutorial /

    Import/Export TestSuite in TestLink

    TestLink Tutorial /

    Commercial Alternatives to TestLink Tool

    ‹ How to fix Uncaught Error: Call to undefined function curl_init()› TestLink Inventory Management

    Recent Posts

    • ChatGPT Plans Free and PlusChatGPT Subscription Plans
    • Stellar Converter for Database ToolStellar Converter for Database
    • Stellar MySQL Log AnalyzerStellar Log Analyzer for MySQL
    • Stellar Repair for MySQLStellar Repair for MySQL
    • ChatGPT IntroductionChatGPT Capabilities
    • How to secure your SQL Database: Tips and Tricks
    • ChatGPT4 Conversational AI FeaturesChatGPT4 Conversational AI Features
    • Trends in Software EngineeringShaping the Future of Development: Exploring Key Trends in Software Engineering
    • Java PerformanceImproving Java Performance with Multithreading
    • QDrant Vector DatabaseOpen-source Vector Databases
    • Difference between PHP and JavaScript?
    • Bing AI Browser Web ContentBing Conversation Styles
    • ChatGPT PreviewChatGPT Introduction
    • Open Source AI Frameworks TensorFlowOpen Source AI Frameworks
    • Artificial Intelligence Tools

    Back to Top

    Links

    • Contact
    • Privacy Policy
    • Cookie Policy

    www.TestingDocs.com