🚀 v26.4.11 - Telegram Bot 409 Çakışması Kalıcı Düzeltme
Sürüm Tipi: Hotfix
Odak: Otomatik güncelleme sonrası Telegram botu çift instance sorununun kök nedeni giderildi
🐛 Hata Düzeltmeleri
- Telegram 409 Conflict sorunu kalıcı olarak çözüldü
- Kök neden: Önceki fix'lerde autoinstall bloğu botu
(subshell &)içinde başlatıyordu.$!her zaman subshell'in PID'ini yazıyordu, daemon'ınkini değil. Bu bootstrap problemi nedeniyle fix eski sürüm tarafından çalıştırıldığında hiçbir zaman devreye giremiyordu - Gerçek düzeltme: Autoinstall bloğu artık botu hiç başlatmıyor — sadece durduruyor. Bot yeniden başlatma sorumluluğu tamamen
tgbot_watchdog'a devredildi tgbot_watchdogbotu doğrudan&ile (subshell olmadan) başlatıyor —$!her zaman doğru daemon PID'ini veriyor- Bu yaklaşım eski sürüm kodu tarafından çalıştırıldığında da doğru çalışıyor — bootstrap problemi yok
- Kök neden: Önceki fix'lerde autoinstall bloğu botu
⚙️ Notlar
- Bu sorun yalnızca
HM_AUTOUPDATE_MODE=2(Oto Kur) aktifken tetikleniyordu - Tüm bot başlatma noktaları kontrol edildi — hepsi güvenli
- Mevcut kurulumlar güvenle güncellenebilir
🚀 v26.4.11 - Telegram Bot 409 Conflict Permanent Fix
Release Type: Hotfix
Focus: Root cause of duplicate Telegram bot instance after auto-update permanently resolved
🐛 Bug Fixes
- Telegram 409 Conflict permanently fixed
- Root cause: Previous fixes attempted to start the bot inside a
(subshell &).$!always captured the subshell PID, never the daemon PID. Due to this bootstrap problem, the fix could never take effect when executed by an older version of the script - Real fix: The autoinstall block no longer starts the bot at all — it only stops it. Bot restart responsibility is fully delegated to
tgbot_watchdog tgbot_watchdogstarts the bot directly with&(no subshell) —$!always captures the correct daemon PID- This approach works correctly even when executed by old version code — no bootstrap problem
- Root cause: Previous fixes attempted to start the bot inside a
⚙️ Notes
- This issue only triggered when
HM_AUTOUPDATE_MODE=2(Auto Install) was active - All bot start points reviewed — all confirmed safe
- Existing installations can be safely updated