WhiteCore-Dev icon indicating copy to clipboard operation
WhiteCore-Dev copied to clipboard

Errors after restart from region

Open BogusCurry opened this issue 8 years ago • 7 comments

Hi there ;D I would restart a region, but not change in the root path. I becomes this erros messages and crash the region server. https://paste.md-5.net/doyenobotu.avrasm

Maybe is not a bug, but I think the user must become a message, thats he must change in the root path or ?

Data: Ubuntu 16.04 64bit. Last repo from git Server, not local

Greetings

Bogus Founder from GridTalk.de

BogusCurry avatar Feb 20 '17 03:02 BogusCurry

This is most likely a bug that is basically not a bug

The restart function has been failing for some time now, not sure if it's even worth using.

A full shutdown and restart would always be better then a restart

fly-man- avatar Mar 20 '17 19:03 fly-man-

Part of the processing is to change back to the 'root' before the restart. This error appears to be associated with serialising the user data.

Where you the only user logged in? Where there other users in the sandbox region during the restart? Where there other users on another region during the restart?

greythane avatar Mar 20 '17 20:03 greythane

You wouldn't necessarily need to change back to root to restart a single region being run by the instance. The Region Restart will in fact work if you have the region set to Sandbox via the change region command. If you were wanting to restart all the regions in the instance then you would change to root.

Also keep in mind that if an avatar was in the region at the time of the restart of the region then it is likely to throw an error but shouldn't cause the region to crash (or the console for that matter) as we had added in the ability to restart regions even with avatars in the region.

I have stumbled on instances before where inputting the command incorrectly or a command which isn't recognized could cause the console to crash.

That being said "Reference not set to an instance of an object" messages usually means that it cannot find the specific item it is looking for. I am sure that the following suggestions for debugging are probably in place but because stranger things do happen (even with old hands), here are a couple things to check to help verify there is an actual bug and not a strange occurrence:

  1. Verify that the .sim file for your region is in the Data/Regions folder (it should be there but just in case a strange occurrence put it elsewhere)
  2. Verify the command you input (and if possible provide the command you used for further testing). In this way. It is possible the command used is not being recognized and is causing the console to crash (Not as likely but it is possible).

I will attempt to test this further as well in order to verify the commands and the restart process.

emperorstarfinder avatar Mar 20 '17 23:03 emperorstarfinder

Oh my, that is so long, sorry I can't remmember what I have do.

Hmm .. the regionname is sandbox, I have not set the region to a sandbox. And one user was logged in on the region. So I have make the restart as I was on the region ;D

Have a nice Day ;D

Bogus | Founder of GridTalk.de | WhiteCoreSim.de

BogusCurry avatar Mar 21 '17 00:03 BogusCurry

When an avatar is in the region during a region restart the viewer will go grey for 10 to 20 seconds while the region restarts and then will recover all functionality. This lets users stay in the region and logged in during a region restart. After the region restarts and functionality is recovered by the viewer the user can continue on with what they were doing without any negative impact.

emperorstarfinder avatar Mar 21 '17 00:03 emperorstarfinder

@emperorstarfinder What will you me say ?

BogusCurry avatar Mar 22 '17 10:03 BogusCurry

Guess I am not sure what your asking here with your last comment. However my internal testing shows the region restart is working as it is supposed to be.

emperorstarfinder avatar Mar 22 '17 23:03 emperorstarfinder