From 88ff159c400a6c74eb9b1944ef6b3ac6362d6e8d Mon Sep 17 00:00:00 2001 From: zadam Date: Fri, 15 Jan 2021 20:15:35 +0100 Subject: [PATCH] Updated Troubleshooting (markdown) --- Troubleshooting.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Troubleshooting.md b/Troubleshooting.md index f4f7a6e..fa25336 100644 --- a/Troubleshooting.md +++ b/Troubleshooting.md @@ -51,7 +51,13 @@ In such case, it is recommended to file a bug report and attach anonymized datab ## Broken script prevents application startup -See https://github.com/zadam/trilium/wiki/Document#restoring-demo-document +If you experiment with scripting, it might happen that you create a script which crashes whole Trilium. That's even worse if you set it as a startup script or in an active [[custom widget]]. + +In such cases you can start Trilium in "safe mode" which will not execute any custom scripts: + +```bash +TRILIUM_SAFE_MODE=true ./trilium +``` ## Reporting bugs