Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 5

CLI to check upgrade status?

I'm writing an Ansible role to upgrade our Github Enterprise installation. During the upgrade, Github reboots the server, and once it recovers, it resumes installation. Is there a way via CLI command to check if the status of the upgrade process after the reboot?

4 Replies
Community Manager
Message 2 of 5

Re: CLI to check upgrade status?

Hi @ZillaG,

 

Yes. If you SSH to your GitHub Enterprise appliance, you can use the following command to get an upgrade status:

sudo tail -f /data/user/common/ghe-config.log 

 

If you have other questions about upgrading GitHub Enterprise, I recommend reaching out to GitHub Enterprise support directly so that they can help you more effectively.

 

Thanks!

Highlighted
Copilot Lvl 2
Message 3 of 5

Re: CLI to check upgrade status?

Thanks. I should've been clearer in my question. I meant to ask "How can I tell when the upgrade is done? And then how can I tell if the upgrade passed or failed?" I viewed that log and see an entry that says "0000 came up ok!" and "0001 came up ok!" I should just grep for those? If so this doesn't seem future-proof since log messages can change.

Community Manager
Message 4 of 5

Re: CLI to check upgrade status?

Hi @ZillaG,

 

The final message saying that everything came up okay should be "Done!" Any errors during the upgrade will be marked with "ERROR".

 

Thanks!

Copilot Lvl 2
Message 5 of 5

Re: CLI to check upgrade status?