Hi everyone, and thanks again to the AMTM-OSR team for all the work on these add-ons. I wanted to share some troubleshooting notes after encountering a hang while utilizing the automatic update feature in amtm v6.7 on my ASUS RT-AX82U v1 (with gnuton firmware).
The
amtmupdate background daemon hung indefinitely. Upon checking
/tmp/syslog.log and running
lsof against the hanged PID, I traced the hang directly to Diversion waiting for an interactive STDIN response during its unattended execution.
The Root Cause:
Diversion throws a reboot acknowledgment prompt (probably
read) during the update. Because
amtmupdate executes this in the background probably not expecting any interactivity, the script hangs forever waiting for an Enter keypress that cannot be sent.
Log Evidence 1: Diversion-amtm-update.log
Code:
Changes were made that requires this router to
reboot after Diversion installation is completed.
This is necessary for Diversion to work.
[!] Press Enter to acknowledge
View attachment 71266
Log Evidence 2: amtmUpdate.log
Code:
Apr 13 2026 16:43 Updating Diversion
Diversion update failed
Apr 13 2026 17:08 Updating YazFi
YazFi sucessfully updated
(Note the 25-minute gap where the process sat hung until I manually terminated the orphaned processes).
View attachment 71267
If
@thelonelycoder or the rest of the team needs any further logs, process traces, or testing from this incident, please let me know. Happy to assist.