Loading...
 
Skip to main content

History: GlitchTip

Source of version: 4

Copy to clipboard
            New in ((Tiki23))

GlitchTip is an Open Source error tracking system and you can self-host GlitchTip or subscribe to [https://glitchtip.com/|GlitchTip.com]

The recommended and fully functional way to track your Tiki errors in GlitchTip is (where yourtiki.org is your Tiki instance and glitchtip.example.com is your GlitchTip instance):

!!# Setup GlitchTip for a new project:
* Add a new project in your Glitchtip instance by clicking the "Create New Project"
* Choose PHP as your platform, input the project name (yourtiki.org) and select your team
* After clicking "Create Project" you will need to runthe following composer command in your Tiki instance path
-+composer require sentry/sdk+-
* Note and copy your DSN from the left panel, it wil be used in the Tiki .ini file:

!!# On the Tiki side, you need to create a new .ini file and modify another one:
* Navigate to your Tiki root /db folder and create a new tiki.ini file containing
{img src=images/code.png}%%% {CODE(caption="db/tiki.ini" colors=php)}
[glitchtip]
preference.error_tracking_enabled_php = y
preference.error_tracking_enabled_js = y
preference.error_tracking_dsn = https://4bd1dec539c9496b9d3f3ef5bd284f70@glitchtip.example.com/4
{CODE}
Of course, replace the preference.error_tracking_dsn link with the DSN generated by GlitchTip

* Now add the following lines to your existing local.php file in the same /db folder
{img src=images/code.png}%%% {CODE(caption="db/local.php" colors=php)}
$system_configuration_file = 'db/tiki.ini';
$system_configuration_identifier = 'glitchtip';
{CODE}

!!# You are done, check the errors in your GlitchTip instance, by navigating to your project.


There is also a work in progress of integrating GlitchTip into Tiki:

Setup Error Tracking feature in Admin > General > Error Tracking

Original commit: https://gitlab.com/tikiwiki/tiki/-/merge_requests/825
        

History

Advanced
Information Version
Marc Laporte Sample rate 27
Alvin Bauma 26
Emmanuel Masikilizano Not sure about this remark 25
Bernard Sfez / Tiki Specialist 24
Bernard Sfez / Tiki Specialist 23
Bernard Sfez / Tiki Specialist Added critical information ? 22
Bernard Sfez / Tiki Specialist 21
Bernard Sfez / Tiki Specialist Adding information about System Configuration 20
Marc Laporte 19
Marc Laporte 18
Marc Laporte 17
Marc Laporte 16
Marc Laporte 15
Marc Laporte 14
Marc Laporte 13
Marc Laporte 12
Horia N. 11
Horia N. 10
Horia N. 9
Horia N. 8
Horia N. 7
Horia N. 6
Horia N. 5
Horia N. 4
Horia N. 3
Marc Laporte 2
Marc Laporte 1