Hi Brian, It seems your management server is not started. You can check the error in log file /var/log/cloudstack/management/management-server.log
since cloudstack 4.15.1.0, cloudstack will check systemvm template before database changes in upgrade, so if you forget to register systemvm template, it is not a big issue any more. what you need to do: (1) downgrade cloudstack (2) register new systemvm template; (3) upgrade cloudstack. cloudstack 4.16 will provide an option to install a new systemvm template from rpm/deb packages. -Wei On Fri, 23 Jul 2021 at 16:56, Brian Fitzpatrick <b.fitzpatr...@chester.ac.uk> wrote: > Hi Wei, > > Thanks very much for the reply > > I have updated the mysql and restarted the management server but > unfortunately I am still getting the error > > curl: (7) Failed to connect to localhost port 8096: Connection refused > > when I run > > cloudstack-sysvmadm > > I am not sure the management server is fully starting up as a result of my > upgrade. I think I made a mistake in not updating the templates before the > ubuntu 20.04 apt update and upgrade > > I am not sure on the best option, either resolve this connection refused > or try to rollback the upgrade (but I am not sure what state that will > leave me in?) > > Thanks > > Brian > > -----Original Message----- > From: Wei ZHOU <ustcweiz...@gmail.com<mailto: > wei%20zhou%20%3custcweiz...@gmail.com%3e>> > Reply-To: users@cloudstack.apache.org<mailto:users@cloudstack.apache.org> > To: users <users@cloudstack.apache.org<mailto: > users%20%3cus...@cloudstack.apache.org%3e>> > Subject: Re: cloudstack-sysvmadm access to 8096 > Date: Fri, 23 Jul 2021 16:27:18 +0200 > > > CAUTION ! > > > This email was NOT sent using a University of Chester account, so we are > unable to verify the identity of the sender. Do not click links or open > attachments unless you recognise the sender and know the content is safe. > > > ===== > > > > If you have access to database > > > mysql > update cloud.configuration set value='8096' where > > name='integration.api.port'; > > > then restart mgt server > > > -Wei > > > > > On Fri, 23 Jul 2021 at 16:19, Brian Fitzpatrick < > > <mailto:b.fitzpatr...@chester.ac.uk> > > b.fitzpatr...@chester.ac.uk > > > > > wrote: > > > Hello all, > > > I wonder if you could help, I have managed to get myself stuck in an > > upgrade from 4.15.0 to 4.15.1 > > > (I think I overlooked a stage, apologies) > > > I have lost my management interface (only one - small-test install) > > > I need to run the cloudstack-sysvmadm script > > > but I am getting the error > > > port 8096: Connection refused > > > I can't see a way of enabling api access without the web interface (which > > isn't working) > > > Is there a way up doing this through command line? > > > Thanks > > > Brian > > > >