virtualMachinemulticraft

Upgrade Multicraft

It is strongly recommended to create a backup before starting the update process. If you have important data, create and try to restore a backup to ensure that everything works properly.

In order to upgrade Multicraft, you must follow these steps:

  • Stop all Multicraft services:

    $ sudo /opt/bitnami/ctlscript.sh stop
    
  • Download the latest available Multicraft version from multicraft.org to a temporary directory and unpack it. In this case, we’ll suppose that Multicraft files were unpacked to /tmp/multicraft.

  • Copy the new binaries and configure their ownership:

    $ sudo rsync -a /tmp/multicraft/bin/ /opt/bitnami/apps/multicraft/bin/
    $ sudo chown -R multicraft:multicraft /opt/bitnami/apps/multicraft/bin/
    $ sudo chown root:multicraft /opt/bitnami/apps/multicraft/bin/useragent
    $ sudo chmod 4550 /opt/bitnami/apps/multicraft/bin/useragent
    
  • Copy the new front-end files with proper ownership:

    $ sudo rsync -a /tmp/multicraft/panel/ /opt/bitnami/apps/multicraft/htdocs/
    $ sudo chown -R bitnami:daemon /opt/bitnami/apps/multicraft/htdocs/
    $ sudo chown -R daemon:daemon /opt/bitnami/apps/multicraft/htdocs/assets/
    $ sudo chown -R daemon:daemon /opt/bitnami/apps/multicraft/htdocs/protected/
    
  • Start all Multicraft services:

    $ sudo /opt/bitnami/ctlscript.sh start
    
  • Run the install.php script by browsing to http://SERVER-IP/install.php*. When running the wizard, you must ensure the used database is bitnami_multicraft_panel for the Panel, and bitnami_multicraft_daemon for the Daemon.

  • Once the wizard finishes, delete the install.php file:

    $ sudo rm /opt/bitnami/apps/multicraft/htdocs/install.php
    

After this, you will have successfully upgraded Multicraft to the latest available version.

You can find more information on Multicraft’s upgrade procedure in the official Multicraft documentation.

Last modification August 31, 2018