Magnolia 5.3 reached end of life on June 30, 2017. This branch is no longer supported, see End-of-life policy.

Page tree
Skip to end of metadata
Go to start of metadata

Magnolia Community Edition is distributed free-of-charge and without any warranty under the terms of the GNU General Public License (version 3), a license that permits you to redistribute and modify the software under certain terms and conditions. It is important that you read the license to understand your rights and obligations.

Prerequisites

Java Runtime Environment (JRE)

Magnolia needs a Java Runtime Environment (JRE). Apple supplies their own version of Java. Most likely you already have it on your Mac. Use the Java Tester to check. Use the Software Update feature available in the Apple menu to check that you have the most up-to-date version of Java for your Mac. If you want to switch to a different version of Java, use the Java Preferences application in Applications > Utilities.

Download

Download the Magnolia Tomcat bundle zip file from Nexus. The file name depends on the release, for example magnolia-tomcat-bundle-5.0-tomcat-bundle.zip. Get the latest.

Install

Extract the zip to /Applications or another directory on your computer.

The extracted folder structure looks like this:

magnolia-5.0
   add-ons
   apache-tomcat
      bin
      conf
      logs
      webapps
         MagnoliaAuthor
         MagnoliaPublic
         ROOT

Start

To start Magnolia:

  1. Open a terminal window in Applications > Utilities > Terminal.
  2. Go to the Magnolia installation directory.
    cd /Applications/magnolia-5.0/apache-tomcat/bin
    Your path may be different.
  3. Start Magnolia
    ./magnolia_control.sh start && tail -f ../logs/catalina.out

The first part of the startup command ./magnolia_control.sh start launches Magnolia. The second part && tail -f ../logs/catalina.out displays startup messages written to /apache-tomcat/logs/catalina.out log file. This makes it easier to troubleshoot startup errors.

Magnolia reports startup information. If startup fails, look for the reason in the report. See Troubleshooting to resolve the issues. In a successful startup the last line reads:
INFO: Server startup in 12345 ms

To stop Magnolia, type ./magnolia_control.sh stop and press RETURN.

Update

To run the Web update:

  1. Open a browser and go to http://localhost:8080.
  2. Click the Run the Web update on the author instance link. 
    A list of modules that need updating is displayed.
  3. Click Start install
    The modules are updated.
  4. Click Start up Magnolia.

Repeat the update on the public instance.

  1. Open a browser and go to http://localhost:8080.
  2. Click the Run the Web update on the public instance link. 
    A list of modules that need updating is displayed.
  3. Click Start install
    The modules are updated.
  4. Click Start up Magnolia.

Log in

  1. Open a browser and go to http://localhost:8080/magnoliaAuthor/.magnolia/admincentral
  2. At the login page, sign in with:
    • Username: superuser
    • Password: superuser

The app launcher is displayed.

Superuser is a system administration account that has permission to every function. End users should not use this account. See Users for instructions on how to create new user accounts and Default users for accounts that you can use for testing right away.

Troubleshooting

Having problems? See Known issues.

  • No labels