Troubleshooting¶
Like any software, Zettlr might have some problems here and there. If you encounter such problems, this page contains instructions on how to resolve the issues. We have years of experience with these problems, and as such the options listed below should work in most cases.
Please attempt the steps listed here and consult the FAQ first if you encounter any problems. If these steps do not solve your issue, please ask our community. If our community cannot help you as well, please open an issue on GitHub.
1. Try Turning it Off and On Again¶
This might sound trivial, but many problems can be solved by simply quitting Zettlr and restarting it. If you encounter a problem, it often helps to just restart the app, sometimes also your computer.
If you can reliably reproduce the problem, that is: the problem always appears after you perform a specific action, this indicates that you've found a replicable bug. In that case, please provide us with a these steps when you open an issue.
2. Install the Most Recent Version¶
Due to limited resources, we cannot support many different versions. If you encounter an issue, make sure you have the most recent version installed. Many issues are fixed in newer versions.
3. Try Resetting the App¶
We have heard many times that the app appears to be broken (it does not even start, for example). What we found is that sometimes clearing the cache helps. This seems to be related to the Electron framework we use. That one creates its own cache files, over which we do not have any control, and sometimes it helps to delete these.
Zettlr maintains local settings and metadata (user-defined tags, workspace location, settings, etc.). You may want to reset, read, or modify this data in some cases (e.g. if your installation seems to be broken, if you accidentally loaded a bad workspace, etc.).
This data is located in the application data path whose location depends on your Operating System:
- Windows:
C:\Users\<your username>\AppData\Roaming\Zettlr(note that AppData is a hidden folder, so you might want to change the Explorer settings so it shows up) - macOS:
/Users/<your username>/Library/Application Support/Zettlr(open a Finder window, hold down "Alt" while opening the "Go"-menu, and click on the appearing "Library" entry) - Linux:
/home/<your username>/.config/Zettlr(note that.configis a hidden folder, so you might want to use a command line to open it)
If you want to completely reset your local Zettlr installation, follow these steps:
- First ensure that the application is closed (in some error cases, there is a "zombie" process, which you can close from within your Task Manager or Activity Monitor)
- Make sure to optionally backup these files:
stats.json(your writing statistics)config.json(the app settings — including the location of your workspaces and open files)custom.css(your custom CSS, if any)tags.json(your colour-coded tags)targets.json(your writing targets)user.dic(your own custom dictionary)
- Select everything in this directory and delete it.
- Restart the application. Some of these files will be re-created.
4. Ask the Community for Help¶
If none of the above steps seem to help, you can ask the community. Sometimes, someone else has encountered a similar problem and might be able to help you. The community is active both on the Zettlr subreddit and on Discord, so you can choose which one you like.
5. Open a GitHub Issue¶
If the community couldn't help you, or if it seems to be an actual bug, please open an issue on GitHub. Make sure to include as much information as possible so that we can quickly address the issue.
If you open an issue on GitHub, make sure you receive notifications. We have follow-up questions almost always regarding your issue. The faster you respond, the faster we can ensure the issue is being fixed. If no one answers on your issue, this might indicate that we are not sure how to help you. In this case, it might help to rephrase the issue or add additional information.
6. Revert to a previous version¶
Sometimes, an issue can hinder your productivity. Some users decide to revert to a previous version until we are able to fix the issue. In this section, we want to give you some advice on what could be important in such a situation and what could go wrong doing so.
Always backup everything before reverting! Never just run an older version, this may lead to data loss or corrupt the configuration files that Zettlr needs.
While our homepage only displays the latest stable release, you can always find all releases (even the antique ones!) on our GitHub releases page.
Before installing an older release, you'll want to do a backup first and ensure a clean installation. Especially when we update the configuration which the app uses, older versions may outright crash because they do not understand the (newer) format. Therefore, go back to step three and remove the entire directory for good (after backing up the files!). This ensures that the older version will run on the first attempt.