Troubleshooting
How to Get Error Logs
Error logs are essential for troubleshooting issues and getting help from Jan team. To get error logs from Jan, follow the steps below:
Through Jan Interface
- Open System Monitor in the footer
- Choose App Log

Through Terminal
Application Logs
tail -n 50 ~/Library/Application\ Support/Jan/data/logs/app.log
Server Logs
tail -n 50 ~/Library/Application\ Support/Jan/data/logs/cortex.log
Ensure to redact any private or sensitive information when sharing logs or error details. We retain your logs for only 24 hours.
Broken Build
To resolve the issue where Jan is stuck in a broken build after installation:
-
Uninstall Jan
-
Delete Application Data, Cache, and User Data:
rm -rf ~/Library/Application\ Support/Jan
- If you are using a version before
0.4.2, you need to run the following commands:
ps aux | grep nitro# Looks for processes like `nitro` and `nitro_arm_64`, and kill them one by one by process IDkill -9 <PID>
- Download the latest version of Jan
Following these steps, you can cleanly uninstall and reinstall Jan, ensuring a smooth and error-free experience with the latest version.
Before reinstalling Jan, ensure it's completely removed from all shared spaces if installed on multiple user accounts on your device.
Cannot Relocate Data Folder on Windows
If you are unable to change the data folder location through Jan's interface on Windows, you can manually update it by editing the settings file:
-
Fully quit Jan (right-click the system tray icon → Quit)
-
Open File Explorer and navigate to:
C:\Users\[username]\AppData\Roaming\Jan\ -
Open
settings.jsonwith a text editor (e.g. Notepad) -
Find the
"data_folder"field and update its value to your desired path, for example:{"data_folder": "D:\\Jan"} -
Optionally, copy your data from the old folder to the new folder to preserve your models, chat history, and settings
-
Save the file and restart Jan
Jan will now use the new data folder location.
Use double backslashes (\\) for path separators in the JSON file, e.g. "D:\\Jan\\data".
Troubleshooting NVIDIA GPU
To resolve issues when Jan does not utilize the NVIDIA GPU on Windows and Linux systems.
Step 1: Verify Hardware and System Requirements
1.1. Check GPU Detection
First, verify that your system recognizes the NVIDIA GPU: Windows:
- Right-click desktop → NVIDIA Control Panel
- Or check Device Manager → Display Adapters Linux:
lspci | grep -i nvidia
1.2. Install Required components
NVIDIA Driver:
- Install NVIDIA Driver (opens in a new tab) for your GPU (NVIDIA driver 470.63.01 or higher).
- Verify installation:
nvidia-smi
Expected output should show your GPU model and driver version.
CUDA Toolkit:
- Download and install CUDA toolkit (opens in a new tab) (CUDA 11.7 or higher)
- Verify installation:
nvcc --version
Linux Additional Requirements:
- Required packages are installed:
sudo apt updatesudo apt install gcc-11 g++-11 cpp-11
See detailed instructions (opens in a new tab).
- Set up CUDA environment:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib64
See detailed instructions (opens in a new tab).
Ensure your (V)RAM is accessible; some users with virtual RAM may require additional configuration.
Step 2: Turn on GPU acceleration
Jan manages GPU usage automatically:
- Switches to GPU mode when supported
- Automatically selects GPU with highest VRAM
To verify GPU acceleration is turned on:
- Open Settings > Hardware
- Verify that GPU Acceleration is turned on
- Verify your selected GPU(s) are visible in System Monitor from Jan's footer

Step 3: Restart Jan
Restart Jan to make sure it works.
Tested Configurations
These configurations have been verified to work with Jan's GPU acceleration. You can use them as reference points for your setup.
Bare Metal Installations
Windows 11 Pro (64-bit)
| Component | Version/Model |
|---|---|
| GPU | NVIDIA GeForce RTX 4070Ti |
| CUDA | 12.2 |
| NVIDIA Driver | 531.18 |
| OS | Windows 11 Pro 64-bit |
| RAM | 32GB |
Ubuntu 22.04 LTS
| Component | Version/Model |
|---|---|
| GPU | NVIDIA GeForce RTX 4070Ti |
| CUDA | 12.2 |
| NVIDIA Driver | 545 |
| OS | Ubuntu 22.04 LTS |
Virtual Machine Setups
Ubuntu on Proxmox VM
| Component | Version/Model |
|---|---|
| GPU | NVIDIA GeForce GTX 1660Ti |
| CUDA | 12.1 |
| NVIDIA Driver | 535 |
| OS | Ubuntu 20.04/18.04 LTS |
| VM Type | Proxmox |
Performance Notes
- Bare metal installations provide better performance
- VM setups require proper GPU passthrough configuration
- Some laptop GPUs may have reduced performance
- Hybrid graphics (Optimus) may need additional configuration
Permission Denied
When running Jan, you might encounter the following error message:
Uncaught (in promise) Error: Error invoking layout-480796bff433a3a3.js:538 remote method 'installExtension':Error Package /Applications/Jan.app/Contents/Resources/app.asar.unpacked/pre-install/janhq-assistant-extension-1.0.0.tgz does not contain a valid manifest:Error EACCES: permission denied, mkdtemp '/Users/username/.npm/_cacache/tmp/ueCMn4'
Permission problems mainly cause this error during installation. To resolve this issue, follow these steps:
-
Open your Terminal
-
Execute the following command to change ownership of the
~/.npmdirectory to the current user:
sudo chown -R $(whoami) ~/.npm
This command ensures that the necessary permissions are granted for Jan's installation.
"Failed to fetch" or "Something's Amiss" errors
When you start a chat with a model and encounter a Failed to Fetch or Something's Amiss error, here are some possible solutions to resolve it:
1. Check System & Hardware Requirements
- Hardware dependencies: Ensure your device meets all hardware requirements
- OS: Ensure your operating system meets the minimum requirements (Mac (opens in a new tab), Windows, Linux (opens in a new tab)
- RAM: Choose models that use less than 80% of your available RAM
- For 8GB systems: Use models under 6GB
- For 16GB systems: Use models under 13GB
2. Check Model Parameters
- In Engine Settings in right sidebar, check your
ngl(number of GPU layers) setting to see if it's too high - Start with a lower NGL value and increase gradually based on your GPU memory
3. Port Conflicts
If you check your app logs & see "Bind address failed at 127.0.0.1:39291", check port availability:
# Macnetstat -an | grep 39291# Windowsnetstat -ano | find "39291"tasklist /fi "PID eq 39291"# Linuxnetstat -anpe | grep "39291"
Netstat displays the contents of various network-related data structures for active connections.
Default Jan ports:
- Jan and Cortex API Server:
1337 - Jan Documentation:
3001
4. Factory Reset
A factory reset can resolve persistent issues by returning Jan to its original state. This will remove all custom settings, downloaded models, and chat history.
- Go to Settings > Advanced Settings
- At Reset To Factory Settings, click Reset
This will delete all chat history, models, and settings.
5. Try a clean installation
- Uninstall Jan & clean Jan data folders (Mac, Windows, Linux)
- Install the latest stable release
This will delete all your Jan data.
OpenAI Unexpected Token Issue
The "Unexpected token" error usually relates to OpenAI API authentication or regional restrictions.
Step 1: API Key Sepup
- Get a valid API key from OpenAI's developer platform (opens in a new tab)
- Ensure the key has sufficient credits & appropriate permissions
Step 2: Regional Access
- If you're in a region with restricted access, use a VPN service from a supported region
- Verify your network can reach OpenAI's API endpoints
Performance Issues
Models Running Slowly:
- Enable GPU acceleration (see NVIDIA section above)
- Use appropriate model size for your hardware
- Close other memory-intensive applications
- Check Task Manager/Activity Monitor for resource usage
High Memory Usage:
- Switch to smaller model variants
- Reduce context length in model settings
- Enable model offloading in engine settings
Frequent Crashes:
- Update graphics drivers
- Check system temperature
- Reduce GPU layers if using GPU acceleration
- Verify adequate power supply (desktop systems)
Jan CLI
Windows: running jan opens the Jan application window
If typing jan in a terminal opens the Jan desktop app instead of the CLI, your system is resolving the jan command to the app launcher rather than the CLI binary.
To fix this, add the CLI binary directory to your Path environment variable:
- Open System Properties → Advanced → Environment Variables
- Under System variables (or User variables), select Path and click Edit
- Click New and add:
ReplaceC:\Users\<username>\AppData\Local\Programs\Jan\resources\bin
<username>with your Windows username. - Click OK to save, then open a new terminal window and try
jan-cliinstead.
Need Further Support?
If these solutions don't work:
- Gather Information: Copy your error logs and note your system specs
- Get Community Support: Join our Discord (opens in a new tab) and post in #🆘|jan-help with your logs and system info
Remove personal information before sharing logs. We only keep logs for 24 hours, so report issues promptly.