Auto updating of actions-runner is failing

self hosted runner is getting disconnected when a newer version of action-runner is available. If says “Updating…” and run.sh is getting killed.
Logs:
Runner update in progress, do not shutdown runner.
Downloading 2.169.0 runner
Waiting for current job finish running.
Generate and execute update script.
Runner will exit shortly for update, should back online within 10 seconds.
An error occurred: The operation was canceled.

[1]+ Stopped ./run.sh

@koteswara-kelam,

The current latest version of the runner application is 2.263.0. The version 2.169.0 is outdated and no longer works.

Please uninstall the old version from your machine, then download and install the latest version on the machine.

Apologize for the inconvenience caused to you.

Same problem with latest version also and all jobs will be in queue indefinitely:

Runner update in progress, do not shutdown runner.
Downloading 2.267.1 runner
Waiting for current job finish running.
Generate and execute update script.
Runner will exit shortly for update, should back online within 10 seconds.

@koteswara-kelam,

There is an issue ticket (actions/runner#422) I had created to reported the similar problems to the appropriate engineering team for further investigation.

I have helped you report the problem you are facing in this issue ticket. You can follow this issue ticket and add your comments in it.