Koozali.org: home of the SME Server

Reconfigure Stuck

Offline simone686

  • ***
  • 71
  • +0/-0
Reconfigure Stuck
« 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....

Offline Jean-Philippe Pialasse

  • *
  • 2,765
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Reconfigure Stuck
« Reply #1 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?

Offline simone686

  • ***
  • 71
  • +0/-0
Re: Reconfigure Stuck
« Reply #2 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.


Offline Jean-Philippe Pialasse

  • *
  • 2,765
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Reconfigure Stuck
« Reply #3 on: November 23, 2023, 06:20:31 PM »
server only or server gateway?

Offline simone686

  • ***
  • 71
  • +0/-0
Re: Reconfigure Stuck
« Reply #4 on: November 24, 2023, 09:04:23 AM »
Server Only.

Offline Jean-Philippe Pialasse

  • *
  • 2,765
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Reconfigure Stuck
« Reply #5 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.

Offline simone686

  • ***
  • 71
  • +0/-0
Re: Reconfigure Stuck
« Reply #6 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?

Offline ReetP

  • *
  • 3,740
  • +5/-0
Re: Reconfigure Stuck
« Reply #7 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.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline Jean-Philippe Pialasse

  • *
  • 2,765
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Reconfigure Stuck
« Reply #8 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

Offline simone686

  • ***
  • 71
  • +0/-0
Re: Reconfigure Stuck
« Reply #9 on: November 30, 2023, 06:06:47 PM »
signal-event post-upgrade took 24 minutes to complete...but afterwards everythings was fine..

Thanks

Offline Jean-Philippe Pialasse

  • *
  • 2,765
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Reconfigure Stuck
« Reply #10 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