Forums | Mahara Community

Support /
Help Needed upgrade from 22.0.4


Chris Poette's profile picture
Posts: 7

30 August 2024, 6:51

I am currently running version 22.04.2 and would like to upgrade to version 24.  I do have a subscription and its my first time grabbing the releases from git hub.  I grabbed 22.10.0 stable version (figuring I had to be at this release first) and ran into the following 

"CSS files are not present in your htdocs/theme/raw/style directory. If you are running Mahara from a git checkout, run "make css" to build the CSS files. If you are running Mahara from a ZIP download, try downloading and unzipping again."

I do have this folder in 22.04.2 but its not in the download for 22.10.0.  Any help would be appreciated.  

Doris ⚡'s profile picture
Posts: 99

30 August 2024, 9:14

Hi Chris,

If you've not run `make css` before, your 22.04.2 Mahara was likely installed via a pre-compiled package that includes the CSS.

To continue without running 'make css' you'll need to grab the pre-compiled version of 22.10 from the 'Releases' page on the GitLab repo which you have access.

If you'd like to move away from using a pre-compiled package so that you can make customisations, then please take a read of the installation instructions at our GitLab wiki. It steps you through installing the required tools and libraries to build and compile Mahara CSS.

Kind regards,

Doris

Kristina Hoeppner's profile picture
Posts: 4862

05 September 2024, 16:34

Hi Chris,

Further to Doris' note:

  • If you never used Git before to install Mahara, you would have used the download files. You find them on the 'Releases' page in the section 'Mahara download files for use with' for each version of Mahara. If you download the source code, e.g. directly from the Git repository or via the 'Assets' on a release, you don't get the compiled code. That is only available in the section 'Mahara download files for use with...'
  • You are correct to go to Mahara 22.10 first. See the 'Readme'. Mahara 22.10 still requires PHP 7.4.
  • Mahara 24.04 requires at least PHP 8.1. It can also run on PHP 8.2. We have not performed extensive testing with PHP 8.3.
  • If you have a custom theme, watch out. We've made major changes in 24.04 to the theme to allow dark mode.
  • Ideally, you can upgrade a test site first and perform all your testing before going to production.

All the best for your upgrade

Kristina

3 results