Common issues and solutions - 100% Free & Open Source
Problem: Command not found error when running npm commands
Solution: Install Node.js 22.16 or newer from nodejs.org, or use a version manager like nvm
# Install using nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
nvm install --lts
nvm use --lts
Problem: npm install fails with errors
Solution: Try clearing npm cache and reinstalling
npm cache clean --force
rm -rf node_modules package-lock.json
npm install
Problem: Electron binary download fails
Solution: Set Electron mirror or use proxy
# Set Electron mirror
export ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/
# Or use proxy
export ELECTRON_MIRROR=https://ghproxy.com/
Problem: Server fails to start on specified port
Solution: Check if port is already in use
# Check port usage (defaults: SFTP 2222, FTP 2121, web GUI 3000)
ss -tlnp | grep -E ':(2222|2121|3000)\b'
# Stop whatever holds the port, or pick another port with Listeners → Edit
Ports below 1024 (such as 21 and 22) need administrator rights on Linux and macOS; SLightSFTP uses 2121 and 2222 by default so it can run as a normal user.
Problem: Clients cannot connect to the server
Solution: Check firewall settings and binding address
# Check firewall status
sudo ufw status
# Allow ports
sudo ufw allow 2222/tcp # SFTP
sudo ufw allow 2121/tcp # FTP (plus the passive port range, if you use FTP)
# Ensure server is bound to correct IP
# Use 0.0.0.0 for all interfaces
Problem: Users cannot authenticate
Solution: Verify user credentials and authentication method
Problem: File transfer speeds are slow
Solution: Check network and system resources
Problem: Application uses excessive memory
Solution: Monitor connections and database size
Problem: Electron window fails to open
Solution: Check display environment and dependencies
# Check display environment
echo $DISPLAY
# On Linux, ensure X11 is running
# On Windows, ensure no display scaling issues
# Try running in dev mode for error details
npm run dev
Problem: GUI shows database connection errors
Solution: Verify database file and permissions
# Check database file exists
ls -la config.db
# Check file permissions
chmod 644 config.db
# Test database integrity
sqlite3 config.db "PRAGMA integrity_check;"
Problem: Users get access denied for files
Solution: Check virtual path mappings and permissions
Problem: Users cannot access configured paths
Solution: Verify path configuration and existence
The web GUI uses it only with HTTPS on (Listeners → Web GUI Server). Renewed certificates apply to new connections; reload the page.
Register exactly the Redirect URI shown under Security → Single Sign-On. Behind a proxy or on a different host name, first set Public address of this server so that the URI matches what browsers use.
The name shown came from the chosen username claim. Create a user with that name, or tick Ignore the domain, or choose another claim. The user also needs GUI access (web GUI) or web file access (portal).
The server's clock is wrong. Synchronise it with NTP.
EMAIL_FAILED.https://: the Windows WebClient sends passwords only over HTTPS with a certificate it trusts.sc query webclient).The WebClient service limits files to 50 MB by default. Raise
HKLM\SYSTEM\CurrentControlSet\Services\WebClient\Parameters\FileSizeLimitInBytes and restart the service.
Enable debug logging with the LOG_LEVEL environment variable (error, warn, info (default), http, verbose, debug):
# desktop app from source
LOG_LEVEL=debug npm start
# headless server
LOG_LEVEL=debug node dist/web-only.js