Networknet archive Blog

CMSMadeSimple: Upgrade from 1.0.4 “Lanai” to 1.4 “Jamaica”

Originally published

By Ivan Versluis

Before adding new modules to a CMSMadeSimple website I am redesigning, I needed to update its two-year-old installation. No updates had been installed during that time. Version 1.4 “Jamaica” has just been released, so today I upgraded to it.

The process was straightforward and took 15 minutes in total.

Upload the new version

  1. Download cmsmadesimple-1.4-full.tar.gz.
  2. Extract it with 7z and upload the contents to the web server using FTP, SFTP or SSH.

I used WinSCP to copy the files to my Linux machine. I dragged them from the left pane, showing my C drive, to the right pane, where the existing CMSMadeSimple files were located. When asked whether to overwrite files, I clicked Yes.

image

Open the admin page.

image

Upgrade the schema

I had warnings to resolve, including removing the install directory and the “Site Down for Maintainance” message. The main step was the CMSMS schema upgrade. Click Start Upgrade Process and verify that config.php is writable.

image

I checked the configuration file from the SSH console. Its permissions were not set as required:

root@ubuntu-jeos-7:/var/www/cmsmadesimple-1.2.5/hubo-roneijgelsheim/site# ls config.php -all
-rw-r--r-- 1 root root 5829 2008-08-06 10:16 config.php

To fix this, I ran chmod 777 config.php, chown www-data config.php and chgrp www-data config.php.

I returned to the Upgrade System wizard and clicked “Try Again”.

image

The schema was upgraded to version 31. I could then finish the upgrade by clicking the final step.

image

Setup completed all required steps, and the website was running and up to date. I resolved the other two warnings, leaving the site secure and updated. The process went smoothly.