nativeInstallermulticraft

Upgrade Multicraft

Before running the commands shown on this page, you should load the Bitnami stack environment by executing the installdir/use_APPNAME script (Linux and MacOS) or by clicking the shortcut in the Start Menu under “Start -> Bitnami APPNAME Stack -> Application console” (Windows). On OS X VMs, the installation directory is /opt/bitnami and OS X VM users can click the “Open Terminal” button to run commands. Learn more about the Bitnami stack environment and about OS X VMs.

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 installdir/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/ installdir/apps/multicraft/bin/
    $ sudo chown -R multicraft:multicraft installdir/apps/multicraft/bin/
    $ sudo chown root:multicraft installdir/apps/multicraft/bin/useragent
    $ sudo chmod 4550 installdir/apps/multicraft/bin/useragent
    
  • Copy the new front-end files with proper ownership:

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

    $ sudo installdir/ctlscript.sh start
    
  • Run the install.php script by browsing to http://localhost/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 installdir/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