question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

2.288.1 Arm64 Configuration of runner not possible

See original GitHub issue

Describe the bug The configuration step of the runner exists with an error. No helpful information neither in the message nor in the log.

To Reproduce Steps to reproduce the behavior:

  1. EC2 instance of ami-0886e2450125a1f08 (Debian 10 ARM)
  2. Follow the installation steps of the runner applications until the configuration

Expected behavior No errors or helpful error messages

Runner Version and Platform

2.288.1 arm64

What’s not working?

Configuration of the GitHub runner.

Runner and Worker’s Diagnostic Logs

[2022-03-09 13:53:27Z INFO HostContext] No proxy settings were found based on environmental variables (http_proxy/https_proxy/HTTP_PROXY/HTTPS_PROXY)
[2022-03-09 13:53:27Z INFO HostContext] Well known directory 'Bin': '/home/admin/actions-runner/bin'
[2022-03-09 13:53:27Z INFO HostContext] Well known directory 'Root': '/home/admin/actions-runner'
[2022-03-09 13:53:27Z INFO HostContext] Well known config file 'Credentials': '/home/admin/actions-runner/.credentials'
[2022-03-09 13:53:27Z INFO HostContext] Well known directory 'Bin': '/home/admin/actions-runner/bin'
[2022-03-09 13:53:27Z INFO HostContext] Well known directory 'Root': '/home/admin/actions-runner'
[2022-03-09 13:53:27Z INFO HostContext] Well known config file 'Runner': '/home/admin/actions-runner/.runner'
[2022-03-09 13:53:27Z INFO Listener] Runner is built for Linux (Arm64) - linux-arm64.
[2022-03-09 13:53:27Z INFO Listener] RuntimeInformation: Linux 4.19.0-14-arm64 #1 SMP Debian 4.19.171-2 (2021-01-30).
[2022-03-09 13:53:27Z INFO Listener] Version: 2.288.1
[2022-03-09 13:53:27Z INFO Listener] Commit: e95a2b840b74568ec30c993462165ece91040f8e
[2022-03-09 13:53:27Z INFO Listener] Culture:
[2022-03-09 13:53:27Z INFO Listener] UI Culture:
[2022-03-09 13:53:27Z INFO HostContext] Well known directory 'Bin': '/home/admin/actions-runner/bin'
[2022-03-09 13:53:27Z INFO HostContext] Well known directory 'Root': '/home/admin/actions-runner'
[2022-03-09 13:53:27Z INFO Listener] Validating directory permissions for: '/home/admin/actions-runner'
[2022-03-09 13:53:27Z INFO CommandLineParser] Parse
[2022-03-09 13:53:27Z INFO CommandLineParser] Parsing 5 args
[2022-03-09 13:53:27Z INFO CommandLineParser] parsing argument
[2022-03-09 13:53:27Z INFO CommandLineParser] HasArgs: False
[2022-03-09 13:53:27Z INFO CommandLineParser] Adding Command: configure
[2022-03-09 13:53:27Z INFO CommandLineParser] parsing argument
[2022-03-09 13:53:27Z INFO CommandLineParser] HasArgs: True
[2022-03-09 13:53:27Z INFO CommandLineParser] arg: url
[2022-03-09 13:53:27Z INFO CommandLineParser] parsing argument
[2022-03-09 13:53:27Z INFO CommandLineParser] HasArgs: True
[2022-03-09 13:53:27Z INFO CommandLineParser] Adding option 'url': 'https://github.com/***'
[2022-03-09 13:53:27Z INFO CommandLineParser] parsing argument
[2022-03-09 13:53:27Z INFO CommandLineParser] HasArgs: True
[2022-03-09 13:53:27Z INFO CommandLineParser] arg: token
[2022-03-09 13:53:27Z INFO CommandLineParser] parsing argument
[2022-03-09 13:53:27Z INFO CommandLineParser] HasArgs: True
[2022-03-09 13:53:27Z INFO CommandLineParser] Adding option 'token': '***'
[2022-03-09 13:53:27Z INFO Listener] Arguments parsed
[2022-03-09 13:53:27Z INFO Runner] ExecuteCommand
[2022-03-09 13:53:27Z INFO ConfigurationStore] currentAssemblyLocation: /home/admin/actions-runner/bin/Runner.Listener.dll
[2022-03-09 13:53:27Z INFO HostContext] Well known directory 'Bin': '/home/admin/actions-runner/bin'
[2022-03-09 13:53:27Z INFO ConfigurationStore] binPath: /home/admin/actions-runner/bin
[2022-03-09 13:53:27Z INFO HostContext] Well known directory 'Bin': '/home/admin/actions-runner/bin'
[2022-03-09 13:53:27Z INFO HostContext] Well known directory 'Root': '/home/admin/actions-runner'
[2022-03-09 13:53:27Z INFO ConfigurationStore] RootFolder: /home/admin/actions-runner
[2022-03-09 13:53:27Z INFO HostContext] Well known directory 'Bin': '/home/admin/actions-runner/bin'
[2022-03-09 13:53:27Z INFO HostContext] Well known directory 'Root': '/home/admin/actions-runner'
[2022-03-09 13:53:27Z INFO HostContext] Well known config file 'Runner': '/home/admin/actions-runner/.runner'
[2022-03-09 13:53:27Z INFO ConfigurationStore] ConfigFilePath: /home/admin/actions-runner/.runner
[2022-03-09 13:53:27Z INFO HostContext] Well known directory 'Bin': '/home/admin/actions-runner/bin'
[2022-03-09 13:53:27Z INFO HostContext] Well known directory 'Root': '/home/admin/actions-runner'
[2022-03-09 13:53:27Z INFO HostContext] Well known config file 'Credentials': '/home/admin/actions-runner/.credentials'
[2022-03-09 13:53:27Z INFO ConfigurationStore] CredFilePath: /home/admin/actions-runner/.credentials
[2022-03-09 13:53:27Z INFO HostContext] Well known directory 'Bin': '/home/admin/actions-runner/bin'
[2022-03-09 13:53:27Z INFO HostContext] Well known directory 'Root': '/home/admin/actions-runner'
[2022-03-09 13:53:27Z INFO HostContext] Well known config file 'MigratedCredentials': '/home/admin/actions-runner/.credentials_migrated'
[2022-03-09 13:53:27Z INFO ConfigurationStore] MigratedCredFilePath: /home/admin/actions-runner/.credentials_migrated
[2022-03-09 13:53:27Z INFO HostContext] Well known directory 'Bin': '/home/admin/actions-runner/bin'
[2022-03-09 13:53:27Z INFO HostContext] Well known directory 'Root': '/home/admin/actions-runner'
[2022-03-09 13:53:27Z INFO HostContext] Well known config file 'Service': '/home/admin/actions-runner/.service'
[2022-03-09 13:53:27Z INFO ConfigurationStore] ServiceConfigFilePath: /home/admin/actions-runner/.service
[2022-03-09 13:53:27Z INFO CommandSettings] Flag 'help': 'False'
[2022-03-09 13:53:27Z INFO CommandSettings] Flag 'version': 'False'
[2022-03-09 13:53:27Z INFO CommandSettings] Flag 'commit': 'False'
[2022-03-09 13:53:27Z INFO CommandSettings] Flag 'check': 'False'
[2022-03-09 13:53:27Z INFO CommandSettings] Command 'configure': 'True'
[2022-03-09 13:53:27Z INFO Terminal] WRITE LINE:
[2022-03-09 13:53:27Z INFO Terminal] WRITE LINE: --------------------------------------------------------------------------------
[2022-03-09 13:53:27Z INFO Terminal] WRITE LINE: |        ____ _ _   _   _       _          _        _   _                      |
[2022-03-09 13:53:27Z INFO Terminal] WRITE LINE: |       / ___(_) |_| | | |_   _| |__      / \   ___| |_(_) ___  _ __  ___      |
[2022-03-09 13:53:27Z INFO Terminal] WRITE LINE: |      | |  _| | __| |_| | | | | '_ \    / _ \ / __| __| |/ _ \| '_ \/ __|     |
[2022-03-09 13:53:27Z INFO Terminal] WRITE LINE: |      | |_| | | |_|  _  | |_| | |_) |  / ___ \ (__| |_| | (_) | | | \__ \     |
[2022-03-09 13:53:27Z INFO Terminal] WRITE LINE: |       \____|_|\__|_| |_|\__,_|_.__/  /_/   \_\___|\__|_|\___/|_| |_|___/     |
[2022-03-09 13:53:27Z INFO Terminal] WRITE LINE: |                                                                              |
[2022-03-09 13:53:27Z INFO Terminal] WRITE: |
[2022-03-09 13:53:27Z INFO Terminal] WRITE: Self-hosted runner registration
[2022-03-09 13:53:27Z INFO Terminal] WRITE LINE:                         |
[2022-03-09 13:53:27Z INFO Terminal] WRITE LINE: |                                                                              |
[2022-03-09 13:53:27Z INFO Terminal] WRITE LINE: --------------------------------------------------------------------------------
[2022-03-09 13:53:27Z INFO ConfigurationManager] ConfigureAsync
[2022-03-09 13:53:27Z INFO ConfigurationStore] IsConfigured()
[2022-03-09 13:53:27Z INFO ConfigurationStore] IsConfigured: False
[2022-03-09 13:53:27Z INFO ConfigurationManager] Is configured: False
[2022-03-09 13:53:27Z INFO CommandSettings] Arg 'url': 'https://github.com/***'
[2022-03-09 13:53:27Z INFO CommandSettings] Remove url from Arg dictionary.
[2022-03-09 13:53:27Z INFO CommandSettings] Arg 'token': '***'
[2022-03-09 13:53:27Z INFO CommandSettings] Remove token from Arg dictionary.
[2022-03-09 13:53:28Z ERR  Runner] System.NullReferenceException: Object reference not set to an instance of an object.
   at GitHub.Runner.Listener.Configuration.ConfigurationManager.ConfigureAsync(CommandSettings command)
   at GitHub.Runner.Listener.Runner.ExecuteCommand(CommandSettings command)
[2022-03-09 13:53:28Z ERR  Terminal] WRITE ERROR: Object reference not set to an instance of an object.
[2022-03-09 13:53:28Z INFO Listener] Runner execution has finished with return code 1

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:15

github_iconTop GitHub Comments

1reaction
T3rm1commented, Mar 9, 2022

I copy pasted the command from the GitHub page (Runners / Create self-hosted runner)

0reactions
umithyocommented, Mar 15, 2022

I encountered this issue and solved it by simply refreshing the page and copying the new token.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Releases · actions/runner
Note: Actions Runner follows a progressive release policy, so the latest release might not be available to your enterprise, organization, or repository yet....
Read more >
Github action runner error WRITE ERROR: Object ...
During Github action self-runner configuration on Ubuntu 18 getting Error Object reference not set to an instance of an object.
Read more >
Self-hosted runners now support Windows ARM hardware
Windows ARM runners are currently using nodejs's "unofficial" win-arm64 builds; Some first party actions will not work until a win-arm64 ...
Read more >
GitHub Actions: Ubuntu 22.04 is now generally available ...
All actions provided by GitHub are compatible with the runner except for a known issue with setup-python . The fix for that can...
Read more >
GitHub Actions macOS ARM64 runners - Pants build system
Unfortunately, GitHub Actions does not yet have hosted runners for MacOS ARM64. So we must run our own self-hosted runner. This document describes...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found