Changes

From Amahi Wiki
Jump to: navigation, search
440 bytes added ,  01:42, 15 September 2016
= Upgrading Multicraft to Version 2.0.1 =
Following is a step-by-step guide on upgrading the Amahi v1.8.1 app to the latest (v2.0.1).Assumed: Multicraft 1.8.2 is already successfully running. you can log into the multicraft web app, as well as have direct or ssh access to the server. 1. read the upgrade tips here; http://multicraft.org/site/docs/install#3 2. download new multicraft installer from http[https://www.multicraftamahi.org/ (get the linux x64 install file) 3. Stop your minecraft server (use the multicraft webb app) 4. stop your minecraft daemon - using ssh: sudo ./var/hda/web-apps/multicraft/app/bin/multicraft stop 5Multicraft] v1. Backup your current files8- if you havent already, set up a share, and change it's address to /var/hda/web-apps/multicraft- copy all files and folders to a different location. Be sure to get the content of the /1 app/server folder in particular. - if you have permissions issues copying files, use the hda/ shares menu to fix permissions. 6. unzip (twice) the latest v2.tar file downloaded at step 207. create a new folder, and copy all files in the installer to /var/hda/web-apps/multicraft/install 8. using ssh run setup: sudo ./var/hda/web-apps/multicraft/install/setup.sh 91. Assuming you have a default amahi install, you will need the following information: install directory - <br /var/hda/web-apps/multicraft/app>
Assumed: Multicraft 1.8.2 is already successfully running. You can log into the app, as well as have direct or SSH access to the server.
<ol>
<li>Read the upgrade tips [http://multicraft.org/site/docs/install#3 here].</li><br />
<li>Download new Multicraft installer from http://www.multicraft.org (get the linux x64 install file)</li><br />
<li>Stop your Minecraft server (use the [https://www.amahi.org/apps/multicraft Multicraft] webb app)</li><br />
<li>Stop your Minecraft daemon - using SSH:
<pre>sudo ./var/hda/web-apps/multicraft/app/bin/multicraft stop</pre></li>
<li>Backup your current files.</li><br />
<ul>
<li>If you havent already, set up a share, and change it's address to ''/var/hda/web-apps/multicraft''</li><br />
<li>Copy all files and folders to a different location. Be sure to get the content of the ''/app/server'' folder in particular. </li><br />
<li>If you have permissions issues copying files, use the HDA Shares menu to fix permissions.</li><br />
</ul>
<li>Unzip (twice) the .tar file downloaded at step 2.</li><br />
<li>Create a new folder, and copy all files in the installer to ''/var/hda/web-apps/multicraft/install''</li><br />
<li>Using SSH run setup:
<pre>sudo ./var/hda/web-apps/multicraft/install/setup.sh</pre></li>
<li>Assuming you have a default Amahi install, you will need the following information:<br />
<pre>install directory - /var/hda/web-apps/multicraft/app
panel install dir - /var/hda/web-apps/multicraft/html
 
user - apache:users (or simply 'apache')
 
dbname - multicraft
 
dbUser - multicraft
 
dbPassword - multicraft
 
database type - mysql
 
licence (as needed, you can add it in later easily)
ftp - no</pre>
From memory you can leave everything else at default (it can be changed during the next phase anyway)</li><br />
<li>Using your shares, check that your ''multicraft/app/server'' directory still exists (and any server files are correctly in the folder)</li><br />
<li>Using your HDA click on Multicraft, then change the extension to ''install.php''</li><br />
<ul>
<li>This should open an installer script. </li><br />
<li>Check prerequisites. You will probably get a protected mode error, which doesn't matter as the Multicraft panel is only on local server anyway. </li><br />
<li>Click continue, and enter all details required.</li><br />
</ul>
<li>Assuming it all worked correctly it will now ask you to log into the new Multicraft menu. Default login and password are <code>admin</code></li><br />
<li>Using SSH, start your daemon:
<pre>sudo ./var/hda/web-apps/multicraft/app/bin/multicraft start</pre></li>
<li>Change password, relog.</li><br />
<li>Update Multicraft - update .conf and .jar files to whatever you desire.</li><br />
<li>Check settings.</li><br />
<li>Start Minecraft server using Multicraft panel (if not already running).</li></ol>
<br />
ftp - no from memory you can leave everything else at default (it can be changed during the next phase anyway) 10. Using your shares, check that your multicraft/app/server directory still exists (and any server files are correctly in the folder) 11. Using your HDA/ click on multicraft, then change the extension to /install.php - this should open an installer script. - check prereq:'''s. You will probably get a protected mode error, which doesnt matter as the multicraft panel is only on local server anyway. - click continue, and enter all details required. 12. assuming it all worked correctly it will now ask you to log into the new multicraft menu. default login and password are "admin" 13. using ssh, start your daemonNOTES: sudo ./var/hda/web-apps/multicraft/app/bin/multicraft start''' 14. change password, relog. 15. update multicraft - update .conf and .jar files to whatever you desire. 16. check settings. 17. start minecraft server using multicraft panel (if not already running). notes:licenceLicence: if you have a .key file, place it in ''/var/hda/web-apps/multicraft'', stop your minecraft Minecraft server, :then reboot your server (hdaHDA). when you start your server it will pick up the licence automatically. :You may need to reset permissions after install - use the hda/ shares HDA Shares menu to do so.
12,424

edits