Upgrading OpenSim/D2


  1. Go to bin of the current installation and type:

    $ [mono] Upgrade.exe

    This downloads and installs the new version. Answer 'yes' to the question about porting the Wifi pages.
  2. Stop OpenSim. The new release will be in a parallel folder with the release's number. Change to bin there and start OpenSim from there. Everything should work fine.

Upgrading the Universal Campus


  1. If you added content to it, make sure to take copies of the new content into your inventory, because everything inworld will be wiped out.

  2. Download the new oars from here: http://uc.onikenkon.com/

  3. At this point you can try loading the new oars into the existing OpenSim/D2, but very likely you will run into problems with the ScriptEngine.

    Symptoms include crashes like this:

                    16:13:20 - [ARCHIVER]: Clearing all existing scene objects
                    mmap(...PROT_NONE...) failed
                    Stacktrace:
                    
                    Native stacktrace:
                           mono [0x49362d]
                           /lib64/libpthread.so.0 [0x2b29aa40eb70]
                           /lib64/libc.so.6(gsignal+0x35) [0x2b29aa64b265]
                           /lib64/libc.so.6(abort+0x110) [0x2b29aa64cd10]
                

    If you run into these problems, the solution is to stop the script engine while loading the oars and turn it back on after the new oars are loaded.

    Like this:

    1. Stop OpenSim

    2. Edit bin/config-include/MyWorld.ini and add this to it at the very end:

      [XEngine] Enabled = false

    3. Start OpenSim - This will be faster than the other times, because the scripts don't start.

    4. Load the oars

    5. Stop OpenSim - This may take some time while the objects are flushed to the DB.

    6. Edit bin/config-include/MyWorld.ini and remove the lines you added in step b

    7. Start OpenSim again