WhiteCoreSim / WhiteCore-Dev

WhiteCoreSim - Software to create your own virtual world
BSD 3-Clause "New" or "Revised" License
26 stars 34 forks source link

Region not found #179

Closed BogusCurry closed 8 years ago

BogusCurry commented 8 years ago

After long time 22/11/15, I have update over git my local gridserver. When I now log in, comes the message region not found ? Is that a bug or must I change everyfhing in the inis ?

emperorstarfinder commented 8 years ago

This will generally mean either:

a) you have the url to your grid server not properly configured in your region server which can be fixed easily in the Config/Sim/Grid/GridCommon.ini.

b) you have your database server info incorrect (Note: you must use the same database service for your region server as your grid server. i.e. MySQL or SQLite. The FileBasedStorage handles the assets.)

c) you have a port that is being blocked by your firewall (either windows or router/ modem).

There isn't currently a known bug that would be causing this so the first guess is one of the 3 possibilities mentioned above. If you can provide further info this will help to figure out what the issue is in the event there is a bug. i.e. is the region showing up as registering with your grid server? etc.

BogusCurry commented 8 years ago

no, the grid is only local, not online in internet. But I will see what say the ini file ;D

Thanks for your fast answer ;D

PS: Ok, the url in the ini is ok, both region and gridserver has the same database service. When I delete sim file, can I make a new start from my grid ?

emperorstarfinder commented 8 years ago

That should at least give you some idea those usually are the general issues but im not aware of an actual bug that would cause that.

BogusCurry commented 8 years ago

Ok, I will make new my local grid ;D

thanks for help ;D

greythane commented 8 years ago

Hi Bogus, If your previous version was form November then changes in the ini files will be minimal. The bigger problem is that if you are running from the WhiteCoreSim folder in your Git repo then any changes pulled from the master will overwrite your config and possibly others as well.

To run a local setup it is better to copy out the WhiteCoreSim folder entirely before you start configuring your grid. e.g.. Use the repo to build the latest code but use a different location to run your actual grid.

To update this way just means you update your repo using git pull etc, rebuild the latest code using the runprebuild or autobuild scripts and when finished, the update only involves copying the 'bin' folder from the repo WhiteCoreSim and replacing the same folder in your local running grid setup.

So essentially.. WhiteCore repo - Get updates and build the latest code WhiteCoreSim - Copy of the repo folder, configured etc to your requirements Update > Get the latest code (pull), build, copy the WhiteCoreSim\bin folder from the repo and replace the bin folder i your running grid.
--- Restart, and continue. --- This way most, if not all, details will be preserved and maybe only minor configuration changes are needed if something new has been introduced.

I'll try and get a tutorial on how to update on the whitecore-sim.org site when I can.

BogusCurry commented 8 years ago

Hi ;) OK, thanks for you post greythan ;D The grid was a test for me, I will make new and then make a grid on my root server ;D Greetings Bogus

emperorstarfinder commented 8 years ago

@BogusCurry when you go to try again be sure to pull the latest master as i think this might have been due to an accidental bug which is now fixed.

BogusCurry commented 8 years ago

ahh ok, thanks ;D

greythane commented 8 years ago

A bug crept in that tried to retrieve the ownership of the region's parcels before they actually existed :(

Sorted in commit #9a0ca5b... of Feb 8th 2016