SYSTEM DIAGNOSTICS
Solutions for common issues and problems
AUTOMATED SOLUTIONS
Standard Resolution Process
This checks your entire build environment and identifies specific issues.
This automatically installs missing requirements for your platform.
This runs with automatic environment checking and setup.
Test that the application starts correctly.
MANUAL FIXES (RARELY NEEDED)
Build/Installation Failures
If automatic setup fails, these manual commands may help:
Python setuptools missing (automatically handled by setup script).
Build from source required (automatically handled during npm install).
Build tools missing (automatically detected by diagnostic tool).
Application Won't Start
Ensure your system meets the minimum requirements listed in the requirements section.
Antivirus or security software may block the application. Add Crono to your security software's whitelist.
Go to System Preferences > Security & Privacy and allow Crono to run.
Make sure the executable file has proper permissions: chmod +x Crono
Files Showing as "Missing"
Files may show as missing if:
- The original file was moved or deleted
- The copied file was manually deleted from the .crono directory
- File permissions have changed
Solution: You can still access the database entry and description. Re-upload the file if needed.
Upload Fails
- Disk Space: Ensure sufficient disk space in the .crono directory
- File Permissions: Make sure you have read access to the source file
- File in Use: Close the file in other applications before uploading
- Network Drives: Uploading from network drives may be slower or fail
Database Corruption
If the database becomes corrupted:
- Close Crono completely
- Navigate to the .crono directory
- Backup the entire directory
- Delete the crono.db file
- Restart Crono (will create new database)
- Import from a backup if available
AUTOMATED PLATFORM SETUP
Automated Setup Process
The setup script automatically handles platform-specific requirements:
- macOS: Detects and installs Xcode Command Line Tools and Python setuptools
- Windows: Checks for Visual Studio Build Tools and installs Python setuptools
- Linux: Installs build-essential and python3-setuptools via package manager
Manual Platform Setup (If Automatic Fails)
If the automated setup cannot complete, use these platform-specific commands:
Verification
MAINTENANCE
Database Reset
To completely reset Crono and start fresh:
Moving Data Directory
The .crono directory can be moved, but you'll need to:
- Close Crono completely
- Move the entire .crono directory to new location
- Create a symbolic link from the original location to the new one
- Restart Crono
AUTOMATED BUILD RECOVERY
Build recovery is now automated. Follow this simplified process:
This automatically detects and installs missing requirements for your platform.
This includes automatic environment checking and setup.
PLATFORM-SPECIFIC RUNTIME ISSUES
Windows Issues
- Windows Defender: May flag the application as unknown software
- Build Failures: Install Visual Studio Build Tools with C++ workload
- File Path Length: Very long file paths may cause issues
- UAC Permissions: Run as administrator if file access issues occur
- Python Issues: Ensure Python is in PATH and setuptools is installed
macOS Issues
- Gatekeeper: Application may be blocked on first run
- Build Failures: Install Xcode Command Line Tools and setuptools
- Homebrew Python: Most common cause of distutils errors
- Quarantine: Downloaded files may need quarantine attribute removal
- File Permissions: Check app has full disk access if needed
Linux Issues
- AppImage: Ensure AppImage has execute permissions
- Build Failures: Install build-essential and python3-setuptools
- Desktop Integration: May need manual desktop file creation
- Font Rendering: Install appropriate fonts if terminal fonts appear incorrect
- Permission Issues: Ensure user has write access to home directory
PERFORMANCE ISSUES
Slow Performance
AUTOMATED DIAGNOSTICS
Use the built-in diagnostic tools to check your environment:
GETTING HELP
Automated Issue Resolution
Before reporting build issues, run the automated tools:
- ✅ Run
npm run diagnosefor comprehensive analysis - ✅ Run
npm run setupfor automatic configuration - ✅ Try
npm installwith automatic environment setup - ✅ Check the output of automated tools for specific guidance
- ✅ Only attempt manual fixes if automated tools fail
Log Files
Crono logs important information to the console. If you're experiencing issues:
- Start Crono from the command line to see console output
- Look for error messages or warnings
- Include these logs when reporting issues
- For build errors, include the complete npm install output
System Information
When reporting issues, include:
- Operating system and version
- Output of
npm run diagnose(most important) - Output of
npm run setup - Complete error message from npm install
- Steps to reproduce the problem
- Any manual fixes attempted
Safe Mode
If Crono is crashing on startup, try these troubleshooting steps:
- Check if the .crono directory is accessible
- Verify file permissions on the database
- Try starting with a fresh database (backup first)
- Check available disk space
EMERGENCY PROCEDURES
Complete System Recovery
Before any recovery action, backup your current .crono directory entirely.
Download and reinstall Crono Desktop with a fresh copy.
Import your most recent export archive to restore your data.
Test all major functions: upload, search, export, and file operations.
FAQ
Why does npm install fail with "No module named 'distutils'"?
Python 3.12+ removed the distutils module. Install setuptools: python3 -m pip install setuptools (see platform-specific commands above).
Should I use Node.js 22 or an older version?
Node.js 18 or 20 (LTS versions) have better prebuilt binary support and fewer build issues. Use Node 22 only if you need its features and are willing to build from source.
How do I know if the build setup is correct?
Run the diagnostic commands above. You should see: Node.js version, Python version, "setuptools OK", and build tools version.
Can I skip the build process?
No, better-sqlite3 requires native compilation. You must have proper build tools and Python setuptools installed.
Can I recover deleted files?
Files deleted from Crono are removed from the archive but original files remain untouched. You can re-add files from their original locations.
What happens if I move the original files?
Crono will show them as "missing" but the copied versions in .crono remain accessible. You can update file paths or rely on the copies.
How do I clean up orphaned files?
Export your database, perform a fresh install, and import the archive. This will clean up any orphaned or corrupted data.
Can I use multiple Crono instances?
Each user account can run one Crono instance. For multiple archives, use export/import to switch between datasets.
npm run diagnose and npm run setup for comprehensive automated assistance.