•  
      request #8919 No default tracker templates found
    Infos
    #8919
    Chris Leeworthy (leewoc)
    2016-03-02 12:17
    2016-03-01 17:30
    9027
    Details
    No default tracker templates found

    I have installed Tuleap 8.11.99.92 on Centos 6.7.

    All is running OK and I have created a new project.

    When I try to add a tracker to the project instead of seeing the default templates I see "No Template Found".

    This is important as I want to use the default tracker templates wherever possible rather than having project managers inventing their own trackers from scratch each time.

    Trackers
    8.11
    CentOS 6
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed
    2016-03-02
    Attachments
    Empty
    References

    Follow-ups

    User avatar
    All seems to be working OK now.

    Thank you for all your help.

    I would be interested in helping to develop Tuleap but as you can see I'd probably need help to get up to speed.

    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar

    Please clean your local cache before running yum update:

    yum clean all

    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    Hi Manuel thanks for such a quick response.

    I'm afraid I don't know how to get the patch from gerrit onto my system, perhaps you could advise?

    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar

    First, you should change the permissions of codendi_cache to codendiadm:codendiadm

    Then I pushed a patch for the initial issue as gerrit #5178

    For reference, once merged, in order to re-import missing templates:

    /bin/ls /usr/share/tuleap/plugins/tracker/www/resources/templates/*.xml | while read f; do /usr/share/tuleap/src/utils/php-launcher.sh /usr/share/tuleap/plugins/tracker/bin/import_tracker_xml_template.php $f; done

    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    last edited by: Chris Leeworthy (leewoc) 2016-03-01 18:46

    <p>permissions and ownership of /var/tmp/tuleap_cache</p> <p>ownership is codendiadm:codendiadm</p> <p>Permissions are drwxr-xr-x</p> <p>There is also a link, codendi_cache which points to this directory&nbsp;</p> <p>its ownership is root:root</p> <p>its permisions are lrwxrwxrwx</p> <p>getenforce returns Disabled.</p> <p>&nbsp;</p>


    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar

    I think I identified the issue at the origin of your problem but it seems that you have anohter one:

    Could you check:

    • Permissions & ownership on /var/tmp/tuleap_cache
    • what is the result of "getenforce"

    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar

    There appear to be lots of permissions errors in the error log Manuel.  They all look very similar, like the examples below

    [Tue Mar 01 15:40:14 2016] [error] [client 10.8.20.150] PHP Warning:  Unknown: open(/var/tmp/tuleap_cache/sess_8c2vvutm2448bnv62e0cuahhm5, O_RDWR) failed: Permission denied (13) in Unknown on line 0, referer: http://tuleap.localdomain/admin/groupedit.php?group_id=101
    [Tue Mar 01 15:40:14 2016] [error] [client 10.8.20.150] PHP Warning:  Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/tmp/tuleap_cache) in Unknown on line 0, referer: http://tuleap.localdomain/admin/groupedit.php?group_id=101
    [Tue Mar 01 15:40:29 2016] [error] [client 10.8.20.150] PHP Warning:  session_start(): open(/var/tmp/tuleap_cache/sess_8c2vvutm2448bnv62e0cuahhm5, O_RDWR) failed: Permission denied (13) in /usr/share/tuleap/src/common/include/LoaderScheduler.php on line 44, referer: http://tuleap.localdomain/admin/userlist.php?group_id=101

    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar

    What's the error you get in /Var/log/httpd/error_log on the server ?


    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar

    More information - I have found the actual template XML files in /usr/share/tuleap/plugins/tracker/www/resources/templates/ 

    I tried downloading the XML files to my own machine and then installing them as XML files via the create tracker from XML file option but this caused a 500 error on the server.

    Some problem importing the templates maybe?


    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes