This file can be used to verify that the 'Update HMS' button successfully pulls from GitHub on the live server. If this file appears in your remote server directory after git pull, the update mechanism is working correctly.
30 lines
753 B
Markdown
30 lines
753 B
Markdown
# System Operations Panel - Test File
|
|
|
|
**Date:** August 4, 2026
|
|
**Version:** 1.0.0
|
|
|
|
## Latest Updates
|
|
|
|
### Network IP Detection
|
|
- Method 1: `$_SERVER['SERVER_ADDR']` (Apache/Nginx)
|
|
- Method 2: `/sbin/ip` (absolute path)
|
|
- Method 3: `/proc/net/route` parsing
|
|
- Method 4: `hostname -I`
|
|
- Method 5: `ifconfig`
|
|
- Method 6: Socket connection to 8.8.8.8
|
|
|
|
### Internet Connectivity Check
|
|
- 8 fallback methods for robust detection
|
|
- Tests multiple DNS providers (Google, Cloudflare, Quad9)
|
|
- Returns "Online" or "Offline" (never "Unavailable")
|
|
|
|
### Maintenance Actions
|
|
- Update HMS (git pull)
|
|
- Restart Web Server
|
|
- Restart PHP-FPM
|
|
- Shutdown Server
|
|
- Reboot Server
|
|
|
|
---
|
|
**If you can see this file on live server after git pull, the update system is working!**
|