•  
      request #1763 Can not add renderer on Tracker Reports (Table / Charts / Card Wall) ?
    Infos
    #1763
    Yann BARRAULT (ybarrault)
    2012-11-15 17:43
    2012-11-14 13:14
    901
    Details
    Can not add renderer on Tracker Reports (Table / Charts / Card Wall) ?
    I tried to follow the documentation : 7.4.3 Tracker Report Management

    When I select the [+] tab on the right of the renderer tabs, then I can select the kind of renderer I want to add (table, charts or cardwall), I can give the renderer a name and a description, and select the submit button.

    But nothing appears !?
    Trackers
    5.6
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Nicolas Terray (nterray)
    Closed (disabled)
    Empty
    Attachments
    Empty
    References
    References list is empty

    Follow-ups

    User avatar
    > My bad, I though we wrote it in the "How to install" document.

    It is in the Tuleap installation checklist: doc #307

    • Platform set to
    • Is an Enhancement or an internal improvement? set to
    User avatar
    My bad, I though we wrote it in the "How to install" document.

    In any cases your should disable selinux in /etc/selinux/config

    • Status changed from New to Closed (disabled)
    • Assigned to changed from None to Nicolas Terray (nterray)
    User avatar
    It's a permission problem :

    - Permission to create directories in /var/tmp/codendi_cache ,
    - Permission to execute some php code /usr/share/codendi/src/...

    Why the codendiadmn user does not have those rights ?

    I guess we missed something during the install or config process ?

    Yann
    User avatar
    Hi Nicolas,

    Thanks for your consideration.

    I've checked in /var/log/httpd/error_log with a tail -f on it while I'm creating the renderer...

    Here is the error msg :

    [Thu Nov 15 03:46:49 2012] [error] [client 127.0.0.1] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/var/tmp/codendi_cache/sess_9qgnrnrc4u94fg1ki1soc96jg3, O_RDWR) failed: Permission denied (13) in /usr/share/codendi/src/www/include/pre.php on line 99, referer: https://localhost/plugins/tracker/?tracker=16
    [Thu Nov 15 11:46:50 2012] [error] [client 127.0.0.1] PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /usr/share/codendi/src/common/language/BaseLanguage.class.php on line 240, referer: https://localhost/plugins/tracker/?tracker=16
    [Thu Nov 15 11:46:50 2012] [error] [client 127.0.0.1] PHP Warning: Unknown: open(/var/tmp/codendi_cache/sess_9qgnrnrc4u94fg1ki1soc96jg3, O_RDWR) failed: Permission denied (13) in Unknown on line 0, referer: https://localhost/plugins/tracker/?tracker=16
    [Thu Nov 15 11:46:50 2012] [error] [client 127.0.0.1] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/tmp/codendi_cache) in Unknown on line 0, referer: https://localhost/plugins/tracker/?tracker=16
    [Thu Nov 15 11:46:50 2012] [error] [client 127.0.0.1] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/var/tmp/codendi_cache/sess_9qgnrnrc4u94fg1ki1soc96jg3, O_RDWR) failed: Permission denied (13) in /usr/share/codendi/src/www/include/pre.php on line 99, referer: https://localhost/plugins/tracker/?tracker=16
    [Thu Nov 15 11:46:50 2012] [error] [client 127.0.0.1] PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /usr/share/codendi/src/common/language/BaseLanguage.class.php on line 240, referer: https://localhost/plugins/tracker/?tracker=16
    [Thu Nov 15 11:46:50 2012] [error] [client 127.0.0.1] PHP Warning: Unknown: open(/var/tmp/codendi_cache/sess_9qgnrnrc4u94fg1ki1soc96jg3, O_RDWR) failed: Permission denied (13) in Unknown on line 0, referer: https://localhost/plugins/tracker/?tracker=16
    [Thu Nov 15 11:46:50 2012] [error] [client 127.0.0.1] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/tmp/codendi_cache) in Unknown on line 0, referer: https://localhost/plugins/tracker/?tracker=16
    [Thu Nov 15 03:46:51 2012] [error] [client 127.0.0.1] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/var/tmp/codendi_cache/sess_9qgnrnrc4u94fg1ki1soc96jg3, O_RDWR) failed: Permission denied (13) in /usr/share/codendi/src/www/include/pre.php on line 99, referer: https://localhost/plugins/tracker/?report=128&renderer=-2
    [Thu Nov 15 03:46:51 2012] [error] [client 127.0.0.1] PHP Warning: Unknown: open(/var/tmp/codendi_cache/sess_9qgnrnrc4u94fg1ki1soc96jg3, O_RDWR) failed: Permission denied (13) in Unknown on line 0, referer: https://localhost/plugins/tracker/?report=128&renderer=-2
    [Thu Nov 15 03:46:51 2012] [error] [client 127.0.0.1] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/tmp/codendi_cache) in Unknown on line 0, referer: https://localhost/plugins/tracker/?report=128&renderer=-2

    Did I missed something during the install process ? A permission denied problem ?

    Thanks
    User avatar
    Hi Yann,

    Are there any errors in the error logs when you create a renderer?

    /var/log/httpd/error_log

    Yours,
    Nicolas

    • Status set to New