Appearance
Troubleshooting ​
Solve common MFTPlus issues and find answers to frequently asked questions.
Quick Diagnosis
Most issues can be identified by checking the agent logs and verifying basic connectivity. Start with the Diagnostic Steps below if you're unsure where to begin.
Diagnostic Steps ​
Before diving into specific issues, run these quick checks:
1. Check Agent Status ​
bash
# Is this machine connected? List your agents and their online state
mftctl agents list
# Running the headless agent daemon on a server? Check it directly
mft-agent-cli status2. View Recent Logs ​
| Platform | Log Location |
|---|---|
| Linux | ~/.config/mft-agent/logs/agent.log |
| macOS | ~/Library/Application Support/mft-agent/logs/agent.log |
| Windows | %APPDATA%\mft-agent\logs\agent.log |
bash
# View last 50 lines (Linux/macOS)
tail -n 50 ~/.config/mft-agent/logs/agent.log
# View last 50 lines (Windows PowerShell)
Get-Content "$env:APPDATA\mft-agent\logs\agent.log" -Tail 503. Test Dashboard Connectivity ​
bash
curl -v https://dashboard.mftplus.co.za/api/health4. Verify Configuration ​
bash
# View current configuration
mftctl config listConnection Issues ​
Agent Can't Reach Dashboard ​
Symptoms:
- Agent appears offline in dashboard
- "Connection refused" or "timeout" errors
- Registration fails
Solutions:
Check Your Saved Server URL
bashmftctl config get server-urlEnsure the URL is correct and includes the protocol (
http://orhttps://). For the MFTPlus cloud it should behttps://dashboard.mftplus.co.za.Test Network Connectivity
bash# Test basic connectivity ping dashboard.mftplus.co.za # Test HTTPS curl -v https://dashboard.mftplus.co.za/api/healthCheck Firewall Rules
Ensure outbound connections are allowed:
Platform Command Linux (UFW) sudo ufw statusLinux (firewalld) sudo firewall-cmd --list-allWindows netsh advfirewall show allprofilesmacOS sudo pfctl -s rulesProxy Configuration
If you're behind a proxy, configure it:
bash# Set proxy environment variables export HTTP_PROXY=http://proxy.example.com:8080 export HTTPS_PROXY=http://proxy.example.com:8080DNS Resolution
bash# Verify DNS resolves correctly nslookup dashboard.mftplus.co.za
mTLS / Certificate Errors ​
Symptoms:
- "certificate verify failed" errors
- "unknown certificate authority" warnings
- TLS handshake failures
Solutions:
Verify Certificate Validity
bash# Check certificate expiry openssl s_client -connect dashboard.mftplus.co.za:443 -showcertsSelf-Signed Certificates
For self-signed certificates in development, add the CA cert:
For self-signed certificates in development, add the CA cert path to the environment:
bashexport NODE_EXTRA_CA_CERTS=/path/to/ca-cert.pemCertificate Mismatch
Ensure the certificate's Common Name (CN) or Subject Alternative Name (SAN) matches the server URL in your configuration.
Connection Drops During Transfer ​
Symptoms:
- Transfers start but stop midway
- "connection reset" errors
- Inconsistent file delivery
Solutions:
Rely on Automatic Reconnect
mftctl connectreconnects automatically after a drop, retrying with exponential backoff (1s → 2s → 4s … capped at 30s). Keep the process running; no manual restart is needed for brief network interruptions.Retry Failed Transfers
Scheduled jobs support configurable retry attempts and backoff — set them when creating the job in the dashboard, or with
mft-agent-cli jobs create --max-retries --initial-backoff. One-off failures can be re-sent from the dashboard or withmftctl send.There is no global retry tuning in
~/.config/mft-agent/config.toml— the agent retries failed transfers automatically with exponential backoff, and transfers that fail after all retries move to the dead-letter queue:bash# List transfers that failed after max retries mft-agent-cli dead-letters # Retry a specific transfer mft-agent-cli retry --transfer-id <transfer-id>Check Network Stability
Monitor for packet loss or high latency:
bash# Ping test with 100 packets ping -c 100 dashboard.mftplus.co.za
Authentication Problems ​
Token Expired / Invalid ​
Symptoms:
- "401 Unauthorized" errors
- "token expired" messages
- Sudden authentication failures
Solutions:
Log In Again
Re-authenticate with your API key (create a fresh one in the dashboard if needed):
bashmftctl login sk_xxxxxxxxxxxxxxxx --server https://dashboard.mftplus.co.zaCheck System Clock
Token validation depends on accurate time:
bash# Linux/macOS date timedatectl status # Linux only # Windows w32tm /query /statusIf time is incorrect, sync with an NTP server.
Clear Cached Credentials
bash# Remove stored credentials mftctl logout # Re-authenticate mftctl login sk_xxxxxxxxxxxxxxxx --server https://dashboard.mftplus.co.za
API Key Issues ​
Symptoms:
- API requests rejected with 403 Forbidden
- "invalid API key" errors
Solutions:
Re-authenticate
bashmftctl login sk_xxxxxxxxxxxxxxxx --server https://dashboard.mftplus.co.zaRegenerate API Key
Log into the dashboard and generate a new API key (API Keys → Create API Key), then login again:
bashmftctl login sk_xxxxxxxxxxxxxxxx --server https://dashboard.mftplus.co.zaCheck API Key Permissions
Ensure the API key has the necessary permissions for the operations you're performing.
Transfer Failures ​
Permission Denied ​
Symptoms:
- "permission denied" errors
- "access is denied" on Windows
- Transfers fail with EACCES
Solutions:
Source Directory Permissions
bash# Check read permissions ls -la /path/to/source # Fix if needed chmod +r /path/to/source/fileDestination Directory Permissions
For SFTP/FTP destinations, ensure the user has write permissions:
bash# Test SFTP write permissions sftp user@server.com sftp> put /tmp/test.txt /remote/path/SSH Key Permissions (SFTP)
SSH keys must have restrictive permissions:
bashchmod 600 ~/.ssh/id_rsa chmod 644 ~/.ssh/id_rsa.pubWindows Service Account
If running as a Windows Service, verify the service account has access to network paths:
powershell# Check service account Get-WmiObject Win32_Service | Where-Object {$_.Name -like "*mft*"}
Storage Backend Errors ​
Symptoms:
- "disk full" errors
- "no space left on device"
- Transfer log writes fail
Solutions:
Check Disk Space
bash# Linux/macOS df -h # Windows Get-PSDriveClean Transfer Logs
Archive or delete old transfer log files from the agent's log directory.
Keep Log Size Under Control
Archive or delete old log files on a schedule, for example with a cron job:
bash# Delete agent logs older than 30 days (Linux/macOS) find ~/.config/mft-agent/logs -name "*.log" -mtime +30 -deleteAdjust Log Verbosity
Log rotation is handled automatically and is not configurable, but you can set the verbosity via
log_levelin~/.config/mft-agent/config.toml:toml# config.toml log_level = "warn" # Reduce log volume (e.g., "error", "warn", "info", "debug")
File Not Found ​
Symptoms:
- "no such file or directory"
- Transfers skip files
- Pattern matching fails
Solutions:
Verify File Paths
bash# Check if files exist at source ls -la /path/to/source/*.log # Use absolute paths in job configurationCheck Pattern Syntax
Ensure glob patterns used in jobs and triggers are correct:
text# Correct /var/log/*.log # Incorrect (missing extension) /var/log/*.Case Sensitivity
Remember that Linux is case-sensitive:
bash# These are different on Linux /var/log/app.log /var/log/APP.LOG
Large File Transfer Failures ​
Symptoms:
- Large files fail to transfer
- Connection drops during big transfers
- Partial file at destination
Solutions:
Retry the Transfer
Interrupted transfers can be retried from the dashboard (Transfers → retry), or simply re-sent:
bashmftctl send largefile.bin --to sftp://user@host/path --agent <agent-id>The agent resumes incomplete transfers on the next retry; transfers that exhaust retries land in the dead-letter queue:
bash# List dead letters mft-agent-cli dead-letters # Retry a specific transfer mft-agent-cli retry --transfer-id <transfer-id>Verify Destination Space
bash# For SFTP sftp user@server.com sftp> df -h # For local transfers df -h /destination/path
Installation Problems ​
Binary Won't Run ​
Symptoms:
- "cannot execute binary file"
- "exec format error"
- "command not found"
Solutions:
Verify Architecture Match
bash# Check your system architecture uname -m # Expected outputs: # x86_64 → Download amd64 build (macOS: universal build covers it) # aarch64 → Download aarch64/arm64 build (macOS: universal build covers it)Missing Dependencies on Linux
bash# Check for missing libraries ldd /usr/local/bin/mftctl # Install common dependencies sudo apt-get install libc6 libssl1.1 # Debian/Ubuntu sudo yum install glibc openssl # RHEL/CentOSWindows: Blocked by SmartScreen
Click "More info" → "Run anyway" for the installer. To avoid this in production, code-sign the binary.
macOS: App Can't Be Opened
bash# Remove quarantine attribute xattr -d com.apple.quarantine /Applications/MFTPlus.app # Or allow in System Preferences → Security & Privacy
Permission Errors During Install ​
Symptoms:
- "access denied" during installation
- "permission denied" when writing to config directory
Solutions:
Install with Elevated Privileges
bash# Install the desktop agent (Linux) from the release channel sudo dpkg -i MFT.Agent_<version>_amd64.deb # Debian/Ubuntu sudo rpm -i MFT.Agent-<version>-1.x86_64.rpm # RHEL/CentOS # Windows: Run the installer as AdministratorManual Installation Directory
Install to a user-writable location:
bash# Extract to home directory tar -xzf mftctl_<version>_linux_amd64.tar.gz -C $HOME/ # Add to PATH export PATH=$HOME/bin:$PATH
Service Won't Start (Windows) ​
Symptoms:
- Service fails to start
- "Error 1053: The service did not respond"
- Event Log errors
Solutions:
Check Event Viewer
Look for MFTPlus entries in Windows Event Viewer → Windows Logs → Application.
Verify Service Account
Ensure the service account has necessary permissions:
powershell# View service configuration Get-WmiObject Win32_Service | Where-Object {$_.Name -eq "MFTPlus"}Reinstall the Agent
Uninstall the desktop agent via Windows "Apps & features" (or the original installer's repair option), then re-run the latest installer from the release channel as Administrator.
Configuration Mistakes ​
Invalid Configuration File ​
The headless agent reads its configuration from ~/.config/mft-agent/config.toml (TOML format) and mftctl uses a JSON config file (~/.mftctl/config.json). A malformed file prevents the agent from starting or breaks CLI commands.
Symptoms:
- "parse error" on startup
- Configuration not loading
- CLI commands fail with unexpected errors
Solutions:
mftctl uses a JSON config file (~/.mftctl/config.json) and the headless agent uses TOML (~/.config/mft-agent/config.toml). If you edited either by hand:
Validate Syntax
bash# JSON (mftctl): parse errors are reported with line numbers python3 -m json.tool ~/.mftctl/config.json > /dev/null && echo OKFor the agent's TOML config, use a TOML validator (most editors have built-in TOML linting).
Common Mistakes
json// WRONG: trailing comma { "serverURL": "...", } // RIGHT: no trailing commas, double quotes only { "serverURL": "https://dashboard.mftplus.co.za" }toml# WRONG: Missing quotes around a string value dashboard_url = https://dashboard.example.com # RIGHT: Quote string values dashboard_url = "https://dashboard.example.com" # WRONG: Duplicate keys in the same table log_level = "info" log_level = "debug" # RIGHT: One value per key log_level = "info"Let the CLI Fix It
The safest option is to manage values through
mftctl config set / get / unset, or start fresh:bashmftctl logout # clears stored credentials mftctl login sk_xxxxxxxxxxxxxxxx --server https://dashboard.mftplus.co.za
Wrong Server URL ​
Symptoms:
- Agent can't connect
- 404 Not Found errors
- "host not found"
Solutions:
Verify URL Format
bash# Check what's currently saved mftctl config get server-url # RIGHT: includes protocol mftctl config set server-url https://dashboard.mftplus.co.za # WRONG: missing protocol mftctl config set server-url dashboard.mftplus.co.zaTest URL in Browser
Open the server URL in a web browser. It should load the dashboard.
Check for Trailing Slashes
bash# Use the plain base URL — no path, no trailing slash mftctl config set server-url https://dashboard.mftplus.co.za
Incorrect File Paths ​
Symptoms:
- "file not found" errors
- Transfers fail to find source files
- Patterns match nothing
Solutions:
Use Absolute Paths
text# More reliable (job source setting) /var/log/app/*.log # May fail depending on working directory ./logs/*.logWindows Path Separators
text# Use forward slashes (works on all platforms) C:/Logs/*.log # Or escape backslashes C:\\Logs\\*.logWhen creating the job via the CLI, quote paths containing spaces.
Verify Path Exists
bash# Test path before using in job ls -la /path/to/source/
FAQ ​
General Questions ​
1. What protocols does MFTPlus support?
MFTPlus supports SFTP, FTP, FTPS, and local file transfers. SFTP is recommended for security.
2. Is MFTPlus free?
MFTPlus offers a Community tier for small-scale use. For enterprise features and higher transfer limits, see mftplus.co.za/pricing.
3. Can I run multiple agents on the same machine?
Yes. Each machine that runs mftctl connect registers as its own agent with a unique agent ID, so you can connect as many machines as you need to the same account.
4. How do I upgrade MFTPlus?
Download and run the latest installer. Your configuration and transfer history are preserved automatically.
5. Does MFTPlus work offline?
The agent requires connectivity to the dashboard for job management, but transfers can continue if connectivity is temporarily lost (configurable).
Security Questions ​
6. How are credentials stored?
Credentials are stored locally in encrypted format with restrictive file permissions (600). They are never transmitted unencrypted.
7. Can I use SSH keys instead of passwords?
Yes, for SFTP connections you can configure SSH key authentication in the job settings.
8. Is MFTPlus compliant with security standards?
MFTPlus uses AES-256-GCM encryption for data in transit. Contact sales@mftplus.co.za for compliance documentation (SOC 2, HIPAA, etc.).
Troubleshooting Questions ​
9. Why did my transfer fail with "permission denied"?
This usually means:
- Source file isn't readable by the agent process
- Destination directory isn't writable
- SFTP user lacks necessary permissions
Check file permissions and verify the agent's user account has access.
10. How do I enable debug logging?
bash
# Run any command with debug output
mftctl --debug agents list
# View logs
tail -f ~/.config/mft-agent/logs/agent.log11. The agent shows as offline in the dashboard. What do I do?
- Check that
mftctl connectis running on the machine: it should show an active connection - List your agents and their online state:
mftctl agents list - Verify server URL:
mftctl config get server-url - Test connectivity:
curl -v https://dashboard.mftplus.co.za/api/health - Check firewall rules allow outbound HTTPS
12. Why are my scheduled jobs not running?
- Verify the schedule syntax is valid (cron format)
- Check the agent's timezone matches your expectation
- View job history in the dashboard for error messages
- Ensure the agent was running at the scheduled time
13. How do I reset my configuration?
bash
# Backup current config first
cp ~/.mftctl/config.json ~/.mftctl/config.json.backup
cp ~/.config/mft-agent/config.toml ~/.config/mft-agent/config.toml.backup
# Clear stored credentials, then log in again
mftctl logout
mftctl login sk_xxxxxxxxxxxxxxxx --server https://dashboard.mftplus.co.za14. Can I recover from a failed transfer?
If resume is enabled in the transfer configuration, MFTPlus will automatically resume incomplete transfers on the next retry.
15. Where can I get help?
- Documentation: docs.mftplus.co.za
- Email Support: support@mftplus.co.za
- Community: Coming soon
Still Need Help? ​
If you've tried the solutions above and still can't resolve your issue:
Collect Diagnostic Information
bash# Export configuration mftctl config export # Show your registered agents and their state mftctl agents listContact Support
Email support@mftplus.co.za with:
- MFTPlus version (
mftctl --version) - Operating system and version
- Description of the issue
- Relevant log excerpts or diagnostic bundle
- Steps to reproduce the problem
- MFTPlus version (
Community Resources
- Check the discussion forum for similar issues
- Review GitHub Issues for known problems
Related Topics ​
- Quick Start — Get started in 5 minutes
- Installation — Detailed installation instructions
- Configuration — Configuration reference
- CLI Reference — Complete command reference