Move data, recover after an upgrade and diagnose problems
Move the data folder
Section titled “Move the data folder”Quit Electerm completely, including the tray process. Copy the entire data root, including the encryption key and the users directory. Point DATA_PATH at the copied root when launching the app. Open a bookmark that uses saved credentials and verify that it still works. Keep the original until you have checked the copy. Avoid running two instances against a shared live database.
| Desktop | Usual data root |
|---|---|
| macOS | ~/Library/Application Support/electerm |
| Linux | ~/.config/electerm |
| Windows | %APPDATA%\electerm |
Recover a previous version’s data
Section titled “Recover a previous version’s data”For the historic 1.x → 2.x migration, look for *.nedb.bak in the old user directory. Work on a copy: restore the old .nedb filenames there, open the copy with the matching 1.x release, export JSON, then import the export into 2.x. For 2.x → 3.x, back up before opening the newer release. Version 3 introduced encryption changes; a version 2 binary cannot read the encrypted records written by version 3.
Start with the symptom
Section titled “Start with the symptom”| What you see | First check |
|---|---|
| The window never opens | Start the application executable from a system terminal and capture the first error. Check the installer architecture and, on Linux, the system libraries. |
| A bookmark has vanished | Check the data root, user directory and last sync direction before writing any new data. |
| SSH disconnects when idle | Check the SSH keepalive setting and the server’s idle policy. See terminal controls. |
| Windows reports port 30975 unavailable | Check whether the port is occupied or reserved. The linked Windows issue covers a WinNAT-specific case. |
| Text is garbled, the desktop is blank, or the file pane follows the wrong path | Narrow it to one bookmark, then check its encoding, desktop protocol or path-follow setting. |
When reporting a reproducible problem, include the Electerm version, OS, protocol, actions and exact error. Remove credentials and private connection details before attaching logs.
Wiki reference
Section titled “Wiki reference”- Data locations and startup diagnostics
- Known issues
- Windows port 30975 and WinNAT
- Recover 1.x bookmarks after a 2.x upgrade
- Migration from version 2 to version 3
