github RevolutionTR/keenetic-zapret-manager v26.4.10.1
v26.4.10.1 - Telegram Bot 409 Çakışması Kalıcı Düzeltme

latest release: v26.4.11
9 hours ago

🚀 v26.4.10.1 - 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_watchdog botu 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

⚙️ 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.10.1 - 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_watchdog starts 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

⚙️ 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

Don't miss a new keenetic-zapret-manager release

NewReleases is sending notifications on new releases.