Authentication Issues
Browser doesn't open during login
Browser doesn't open during login
m87 login doesn’t open a browser window.Solutions:Check if browser is available
Manual authentication
Environment variables
BROWSER environment variable is set correctly:Authentication token expired
Authentication token expired
Credentials not found
Credentials not found
~/.config/m87/. If this directory is missing or corrupted:~/.config directory has proper permissions (755 or 700).Runtime Issues
Device shows as 'pending' indefinitely
Device shows as 'pending' indefinitely
Check approval status
Approve the device
Check runtime logs
Runtime won't start
Runtime won't start
m87 runtime run fails or exits immediately.Diagnostic steps:- Port conflict with another process
- Firewall blocking outbound connections
- Missing network connectivity
- Corrupted configuration file
Systemd service fails to start
Systemd service fails to start
m87 runtime enable --now.Solutions:Check service status
Check logs
Verify binary location
Reinstall service
Connection Issues
Device shows online but commands timeout
Device shows online but commands timeout
m87 <device> shell or other commands timeout.Solutions:Check device status
Verify runtime is running
Check network stability
Shell session keeps disconnecting
Shell session keeps disconnecting
- Unstable network connection on the device
- Device going to sleep or low-power mode
- High network latency
- Check device network stability
- Disable power management features that suspend network interfaces
- Use
m87 <device> execfor non-interactive commands instead
Port forwarding not working
Port forwarding not working
m87 <device> forward command succeeds but port isn’t accessible.Solutions:Verify service is listening
Check bind address
0.0.0.0 or 127.0.0.1, not a specific IP.Test local connectivity
Check port format
Platform-Specific Issues
macOS: Runtime not available
macOS: Runtime not available
m87 login,m87 logoutm87 devices list,m87 devices approvem87 <device> shell,m87 <device> exec- All device management commands
m87 runtime runm87 runtime enable/start/stop
Linux: Permission denied errors
Linux: Permission denied errors
- Runtime service uses
sudofor systemd operations automatically - Binary should be executable:
chmod +x ~/.local/bin/m87 - Config directory permissions:
chmod 700 ~/.config/m87
Build and Installation Issues
Installation script fails
Installation script fails
curl -fsSL https://get.make87.com | sh fails.Solutions:Check network connectivity
Manual download
Verify PATH
~/.local/bin is in your PATH:Cargo build fails
Cargo build fails
Check Rust version
Clean build
Check dependencies
Docker-Specific Issues
Docker commands fail on device
Docker commands fail on device
m87 <device> docker ps returns permission errors.Solutions:- Ensure Docker is installed on the device
- Add user to docker group:
- Restart runtime after group change:
Deployment fails to start containers
Deployment fails to start containers
m87 <device> deploy succeeds but containers don’t start.Diagnostic steps:Getting More Help
If your issue isn’t covered here:-
Enable debug logging:
-
Check audit logs:
-
View runtime logs:
- Report issues: File a bug report at github.com/make87/m87/issues
- m87 version (
m87 --version) - Operating system and architecture
- Full error message
- Debug logs (with sensitive data redacted)