mirror of
https://github.com/MarekWo/mc-webui.git
synced 2026-07-05 01:11:06 +02:00
9180aa4ac9
- Fix typos in README.md installation section: - "Chose" -> "Choose" - "prepeare" -> "prepare" - Fix code block formatting (line 156-158) - Fix markdown formatting (line 254) - Add COMMON_ISSUES.md for troubleshooting (separate from README) - Add DOCKER_INSTALL.md with Docker installation guide - Add installation guide images - Remove FRESH_INSTALL.md (consolidated into README) - Remove MIGRATION.md (no longer needed) - Update version date to 2026-01-06 in COMMON_ISSUES.md 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
3.3 KiB
3.3 KiB
Common Issues and Solutions
Issue: Container won't start
Check logs:
docker compose logs meshcore-bridge
docker compose logs mc-webui
Common causes:
- Serial port not found → Verify MC_SERIAL_PORT in .env
- Permission denied → Add user to dialout group (Step 4)
- Port 5000 already in use → Change FLASK_PORT in .env
Issue: Cannot access web interface
Check if port is open:
sudo netstat -tulpn | grep 5000
Check firewall:
# Allow port 5000 (if using UFW)
sudo ufw allow 5000/tcp
Check container is running:
docker compose ps
Issue: No messages appearing
Verify meshcli is working:
# Test meshcli directly in bridge container
docker compose exec meshcore-bridge meshcli -s /dev/ttyUSB0 infos
Check .msgs file:
docker compose exec mc-webui cat /root/.config/meshcore/YourDeviceName.msgs
Replace YourDeviceName with your MC_DEVICE_NAME.
Issue: USB device errors
Check device connection:
ls -l /dev/serial/by-id/
Restart bridge container:
docker compose restart meshcore-bridge
Check device permissions:
ls -l /dev/serial/by-id/usb-Espressif*
Should show crw-rw---- with group dialout.
Maintenance Commands
View logs:
docker compose logs -f # All services
docker compose logs -f mc-webui # Main app only
docker compose logs -f meshcore-bridge # Bridge only
Restart services:
docker compose restart # Restart both
docker compose restart mc-webui # Restart main app only
docker compose restart meshcore-bridge # Restart bridge only
Stop application:
docker compose down
Update to latest version:
git pull origin main
docker compose down
docker compose up -d --build
View container status:
docker compose ps
Access container shell:
docker compose exec mc-webui sh
docker compose exec meshcore-bridge sh
Backup Your Data
All important data is in the data/ directory:
# Create backup
cd ~/mc-webui
tar -czf ../mc-webui-backup-$(date +%Y%m%d).tar.gz data/
# Verify backup
ls -lh ../mc-webui-backup-*.tar.gz
Recommended backup schedule:
- Weekly backups of
data/directory - Before major updates
- After significant configuration changes
Restore from backup:
# Stop application
cd ~/mc-webui
docker compose down
# Restore data
tar -xzf ../mc-webui-backup-YYYYMMDD.tar.gz
# Restart
docker compose up -d
Next Steps
After successful installation:
- Join channels - Create or join encrypted channels with other users
- Configure contacts - Enable manual approval if desired
- Test Direct Messages - Send DM to other CLI contacts
- Set up backups - Schedule regular backups of
data/directory - Read full documentation - See README.md for all features
Getting Help
Documentation:
- Full README: README.md
- MeshCore docs: https://meshcore.org
- meshcore-cli docs: https://github.com/meshcore-dev/meshcore-cli
Issues:
- GitHub Issues: https://github.com/MarekWo/mc-webui/issues
- Check existing issues before creating new ones
- Include logs when reporting problems
Version: 2026-01-06