Koozali.org: home of the SME Server

Contribs.org Forums => Koozali SME Server 10.x => Topic started by: simone686 on November 23, 2023, 11:28:18 AM

Title: Reconfigure Stuck
Post by: simone686 on November 23, 2023, 11:28:18 AM
Hello everyone...
I'll make a premise...I'm an idiot...
When reconfiguring the network from the console of an Sme 10 I got stuck and found myself unable to go forward or backward.
Opening the console doesn't allow me to relaunch the configuration.
I (stupidly I'm afraid), tried to launch a post-upgrade signal-event and it took a long time and then lost the connection (I was connected with putty). Now everything still works but I'm afraid that restarting will ruin the whole installation.
What do you recommend me to do to avoid losing all the configurations?
Thanks and sorry for the inconvenience....
Title: Re: Reconfigure Stuck
Post by: Jean-Philippe Pialasse on November 23, 2023, 01:08:18 PM
are you able to ssh in again?
what access do you have?
are you remote to the server or on premise?
 
what change did you do and what was needed?
Title: Re: Reconfigure Stuck
Post by: simone686 on November 23, 2023, 04:16:00 PM
SSh is Ok. I didn't restart the server yet.
I have root access over internet and i can even go local (3 km).

I changed default gateway.

Title: Re: Reconfigure Stuck
Post by: Jean-Philippe Pialasse on November 23, 2023, 06:20:31 PM
server only or server gateway?
Title: Re: Reconfigure Stuck
Post by: simone686 on November 24, 2023, 09:04:23 AM
Server Only.
Title: Re: Reconfigure Stuck
Post by: Jean-Philippe Pialasse on November 24, 2023, 03:12:02 PM
there are multiple ways.
1- you should be good with
Code: [Select]
config get GatewayIP
config set GatewayIP newip
then the post-upgrade and reboot

2- you might be able to get console access by
Code: [Select]
config seprop bootstrap-console ForceSave no
config setprop bootstrap-console Run no


then proceed to configure option in console and post-upgrade then reboot

of course take care of doing it at a non critical time and moment you can have easy physical access in case it is not working as expected.  as any network change.
Title: Re: Reconfigure Stuck
Post by: simone686 on November 24, 2023, 05:20:13 PM
Ok..thanks...I'll go to the client tomorrow morning...in the meantime I'm preparing an emergency pc to carry me forward if things go wrong.
One thing...post-upgrade signal-event has been stuck for several minutes....bad sign?
Title: Re: Reconfigure Stuck
Post by: ReetP on November 24, 2023, 06:43:04 PM
Ok..thanks...I'll go to the client tomorrow morning...in the meantime I'm preparing an emergency pc to carry me forward if things go wrong.

Well prepared!

Quote
One thing...post-upgrade signal-event has been stuck for several minutes....bad sign?

It can take a while, but check /var/log/messages and see where it has got to.
Title: Re: Reconfigure Stuck
Post by: Jean-Philippe Pialasse on November 24, 2023, 07:35:40 PM
One thing...post-upgrade signal-event has been stuck for several minutes....bad sign?
depends on what is installed. 
nextcloud contribs can make the event very long
Title: Re: Reconfigure Stuck
Post by: simone686 on November 30, 2023, 06:06:47 PM
signal-event post-upgrade took 24 minutes to complete...but afterwards everythings was fine..

Thanks
Title: Re: Reconfigure Stuck
Post by: Jean-Philippe Pialasse on December 01, 2023, 01:20:22 AM
would be interesting to check why.

you could check the log to see what was taking so much time