UFOP Troubleshooting Guide
Version 0.1.0
Table of Contents
- Installation Issues
- Startup Problems
- Connection Issues
- Transfer Problems
- Sync Issues
- Performance
- Cross-Platform Compatibility
- Security and Encryption
- AI Assistant
- Admin Console
- CLI Issues
- Logs and Diagnostics
Installation Issues
macOS: "App is damaged and can't be opened"
This occurs when the app is downloaded from the internet and macOS Gatekeeper blocks it.
Fix:
- Open System Settings > Privacy & Security
- Scroll to the "Security" section
- Click "Open Anyway" next to the UFOP message
Windows: SmartScreen Warning
Windows Defender SmartScreen may block the installer if the code signing certificate is not yet established.
Fix:
- Click "More info" on the SmartScreen dialog
- Click "Run anyway"
- For enterprise deployment, add the UFOP installer hash to your allow list
Linux: Missing Dependencies
On Debian/Ubuntu systems, the following packages are required:
sudo apt-get install libwebkit2gtk-4.1-0 libgtk-3-0 libayatana-appindicator3-1
For building from source, additional dependencies are needed:
sudo apt-get install libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libssl-dev
Startup Problems
Application fails to start with database error
Symptom: Error message about database initialization failure.
Cause: The SQLite database file may be corrupted or the data directory is not writable.
Fix:
- UFOP will automatically fall back to an in-memory database. Data will not persist across restarts in this mode.
- Check the log output for the specific error.
- The database is stored in the OS-specific data directory:
- macOS:
~/Library/Application Support/com.ufop.app/ - Windows:
%APPDATA%\com.ufop.app\ - Linux:
~/.local/share/com.ufop.app/
- macOS:
- If the database is corrupted, rename or delete the
ufop.dbfile. A new one will be created on next launch.
Blank white screen on startup
Symptom: The window opens but shows a blank white area.
Fix:
- Wait 5-10 seconds -- the frontend may still be loading.
- Try resizing the window.
- Check if the dev tools console shows JavaScript errors (View > Developer Tools if available).
- Delete the WebView cache:
- macOS:
~/Library/WebKit/com.ufop.app/ - Windows:
%LOCALAPPDATA%\com.ufop.app\EBWebView\
- macOS:
Transfer queue not restored after crash
Symptom: Active transfers are lost after an unexpected shutdown.
How UFOP handles this:
- On normal shutdown, the transfer queue is persisted to the database.
- On startup, UFOP recovers queued and active transfers from the database.
- Active transfers are automatically re-queued (reset to "Queued" status).
- The three-layer transfer journal provides crash recovery for in-progress transfers.
If transfers are still missing, check the database for the transfer_queue table.
Connection Issues
SFTP: "Host key verification failed"
Cause: The SSH server's host key doesn't match the known key.
Fix:
- If the server was reinstalled or its keys changed, remove the old key from
~/.ssh/known_hosts. - Reconnect and accept the new host key.
- For jump host configurations, verify both the jump host and target host keys.
FTP: Connection times out
Cause: Firewall blocking FTP data connections.
Fix:
- Try switching between active and passive mode in connection settings.
- Passive mode is recommended for most NAT/firewall setups.
- Ensure the FTP data port range is open if using active mode.
WebDAV: 401 Unauthorized
Cause: Credentials are incorrect or the server requires app-specific passwords.
Fix:
- Verify username and password.
- For Nextcloud/ownCloud, generate an app-specific password in the web UI.
- Check if the WebDAV URL is correct (e.g.,
https://cloud.example.com/remote.php/dav/files/username/).
SMB: Share not discovered
Cause: SMB discovery relies on network broadcasts which may be blocked.
Fix:
- Try connecting directly using
smb://hostname/sharename. - Verify the computer is on the same subnet.
- Check that SMB is enabled on the target machine.
- On macOS, check System Settings > General > Sharing > File Sharing.
S3: Access Denied
Cause: IAM permissions or bucket policy blocking access.
Fix:
- Verify the access key and secret key are correct.
- Check IAM permissions include
s3:ListBucket,s3:GetObject,s3:PutObject. - For S3-compatible services (MinIO, Wasabi), verify the endpoint URL.
- Check the bucket region matches the configured region.
Cloud OAuth: "Token expired"
Cause: OAuth refresh token has expired or been revoked.
Fix:
- Disconnect the cloud connection.
- Reconnect and re-authenticate through the OAuth flow.
- For Google Drive, check the app's access in your Google Account settings.
Keychain Access Denied
Cause: The OS keychain denied access to stored credentials.
Fix:
- macOS: Open Keychain Access, find the UFOP entry, and click "Always Allow."
- Windows: Check Windows Credential Manager for UFOP entries.
- Linux: Verify the Secret Service (GNOME Keyring or KWallet) is running.
Transfer Problems
Transfer stuck at 0%
Possible causes:
- Network connectivity issue -- check your connection.
- Bandwidth throttle set too low -- check Settings > Transfers > Throttle.
- Destination is read-only or full.
- Firewall blocking the transfer.
Fix: Cancel the transfer, verify the connection with ufop connection test, and retry.
Transfer fails with checksum mismatch
Symptom: Transfer completes but verification reports a checksum mismatch.
Cause: Data corruption during transfer (network issue, storage error, or encoding problem).
Fix:
- Retry the transfer with
--resumeto re-transfer only the corrupted portions. - If the issue persists, try with
--parallel 1to use a single stream. - Check the source file hasn't changed during transfer.
Large file transfers fail
Cause: Some protocols have file size limits or timeout issues with large files.
Fix:
- For S3/B2, UFOP uses multipart uploads automatically. Verify your timeout settings.
- For SFTP/FTP, increase the connection timeout in settings.
- Use
--resumeto recover from network interruptions. - Consider using
--parallel 8for faster throughput on large files.
Sync Issues
Sync reports "conflict" for every file
Cause: Clock skew between source and destination, or timezone differences.
Fix:
- Verify both systems have synchronized clocks (NTP).
- Run a dry run to inspect the specific conflicts.
- Consider using checksum-based verification instead of timestamp comparison.
Filesystem watcher not detecting changes
Cause: OS limits on filesystem watchers, or the filesystem doesn't support notification.
Fix:
- macOS: Uses FSEvents natively. Should work on all HFS+/APFS volumes.
- Linux: Check
inotifywatch limit:cat /proc/sys/fs/inotify/max_user_watches. Increase if needed:echo 524288 | sudo tee /proc/sys/fs/inotify/max_user_watches - Network filesystems (NFS, SMB) may not support change notifications. Use scheduled sync instead.
Sync rollback failed
Cause: The pre-sync backup was deleted or moved.
Fix:
- Check the quarantine directory for backup copies.
- Rollback is only available if the backup from the last sync run is intact.
- Future runs will create new backups.
Performance
File list loads slowly for directories with many files
Fix:
- UFOP uses virtual scrolling (via
@tanstack/react-virtual) to handle large directories. Only visible rows are rendered. - If still slow, try switching to List view instead of Grid view.
- Use filter text to narrow down the visible files.
High memory usage
Fix:
- Close unused tabs.
- Reduce the number of active transfers.
- Disable the preview pane for directories with many large files.
- Clear the activity feed if it has accumulated many entries.
Workspace restore takes too long
UFOP is designed to restore workspace state in under 500ms. If it takes longer:
- Check the database file size. If very large, run
reset_databaseto start fresh. - Reduce the number of saved searches, favorites, and recent locations.
Cross-Platform Compatibility
Files renamed unexpectedly during transfer
What happened: UFOP detected names incompatible with the destination platform and renamed them.
What you can do:
- Look for a compatibility notification in the Activity feed.
- Use the "Restore Original Names" guided wizard to undo the renames.
- Adjust compatibility settings if you only transfer between specific platforms.
Unicode normalization warnings
Cause: macOS uses NFD (decomposed) Unicode while Windows/Linux use NFC (composed). This means the same filename can appear different on different systems.
Fix: UFOP normalizes filenames during transfer. The original names are preserved and can be restored.
Security and Encryption
Cannot unlock vault
Cause: Incorrect password or vault file corruption.
Fix:
- Verify the password is correct (no extra spaces).
- Check that the vault file hasn't been moved or renamed.
- Vault encryption uses Argon2 for key derivation, which is intentionally slow to prevent brute force.
Transport security warning
Symptom: UFOP warns about insecure transport.
Cause: A connection is using unencrypted FTP or HTTP instead of FTPS/SFTP or HTTPS.
Fix:
- Switch to SFTP instead of FTP, or enable TLS for the FTP connection.
- Use HTTPS URLs for WebDAV connections.
- In enterprise environments, use encryption policies to enforce transport security.
AI Assistant
AI responses are slow or unavailable
Cause: The AI model may be loading or the local model is resource-constrained.
Fix:
- Check model routing in AI settings (Settings > AI > Model Routing).
- Local models require sufficient RAM and CPU.
- The AI gracefully falls back to structured error messages when unavailable.
AI suggests incorrect actions
Fix:
- Dismiss the suggestion.
- Destructive actions always require confirmation before execution.
- Review the AI audit log for previous interactions.
- Disable specific AI features in Settings > AI > Feature Toggles if needed.
Admin Console
Admin console shows blank page
Fix:
- Verify the admin server is running:
pnpm admin:devor check production deployment. - Clear browser cache and cookies.
- Check the browser console for JavaScript errors.
API returns 401 for admin endpoints
Fix:
- Re-authenticate via the login page.
- Check that your API key or JWT token hasn't expired.
- Verify the admin role permissions include the requested resource.
CLI Issues
CLI cannot connect to server
Fix:
- Check
UFOP_API_URLenvironment variable or--api-urlflag. - Test connectivity:
curl <API_URL>/api/health - Verify the server is running and accessible from your network.
- Check for proxy settings that may interfere.
CLI output is garbled
Cause: Terminal doesn't support ANSI colors or Unicode.
Fix:
- Use
--format jsonor--format yamlfor machine-readable output. - Pipe output through a pager:
ufop status | less -R - Set
NO_COLOR=1to disable colors.
Logs and Diagnostics
Enabling Verbose Logging
Desktop app: Set the RUST_LOG environment variable before launching:
RUST_LOG=debug /path/to/ufop
RUST_LOG=trace /path/to/ufop # Maximum verbosity
CLI: Use the -v flags:
ufop status -v # Info level
ufop status -vv # Debug level
ufop status -vvv # Trace level
Log Locations
- Desktop: Logs are written to stderr. On macOS, check Console.app. On Linux, check
journalctl. - CLI: Logs are written to stderr by default.
- Admin Console: Check the Next.js server logs.
Reporting Issues
When reporting a bug, include:
- UFOP version (
ufop status --json) - Operating system and version
- Steps to reproduce
- Relevant log output (with sensitive data redacted)
- Error messages (exact text)