How do I enter safe mode? #6174
Replies: 2 comments
-
Hi @whyeverythingsohard! I'm Dosu and I’m helping the Trilium team. To start Trilium Notes in safe mode, you need to set the On Linux/macOS (Terminal):
This sets the environment variable just for that command. Make sure you run this in the directory where the On Windows (Command Prompt):
Or, in one line:
On Windows (PowerShell):
If you use a desktop shortcut (Linux):
This way, safe mode will be enabled whenever you launch Trilium from that shortcut source. Environment variables set in a terminal session only last as long as that terminal is open. If you want to always start in safe mode, you can add the export command to your shell profile (like Let me know if you need instructions for a different setup! To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
To start Trilium Notes in safe mode, you need to set the TRILIUM_SAFE_MODE environment variable to true before launching the app. The exact method depends on your operating system:
There is currently no GUI or menu option to enable safe mode; it must be done via the environment variable. Environment variables set in a terminal session only last as long as that terminal is open, so for troubleshooting, it's best to set it just for the session reference. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
How do I enter safe mode? I went into the trouble shooting it was saying to input TRILIUM_SAFE_MODE=true ./trilium but I'm not sure where to put it into? Where is the environment variables?
Beta Was this translation helpful? Give feedback.
All reactions