Note: To simplify maintenance www.futurelogisticslivinglab.com.au shares libraries and modules with www.embeddedsystemsaustralia.com.au
/opt/lampp/htdocs/futurelogisticslivinglab/sites/all/libraries -> ../../../embeddedsystemsaustralia/sites/all/libraries// /opt/lampp/htdocs/futurelogisticslivinglab/sites/all/modules -> ../../../embeddedsystemsaustralia/sites/all/modules//
This means that updates should probably be done from the www.embeddedsystemsaustralia.com.au site. Core file upgrades have to be done on both websites.
Note: There are better ways of having one Drupal installation shared by two sites. See Drupal documentation.
The Plugin Manager module is useful to search and upgrade modules. It is linked to the software that tracks the status of modules (whether they are out of date) this link, however, is not perfect.
If Plugin Manager is not detecting the correct software to install then a manual download and install is required. Here is an example of manually upgrading the Backup Migrate module:
sudo -i
NEWTAR=backup_migrate-6.x-1.2.tar.gz
MODULE=${NEWTAR%%-*}
echo ${NEWTAR%%-*}
cd /opt/lampp/htdocs/drupal/sites/all/modules
wget http://ftp.drupal.org/files/projects/$NEWTAR
mv $MODULE $MODULE.old
# Note: Check above is OK before this next step!
tar xvf $NEWTAR
rm $NEWTAR
Follow the upgrade notes in the new drupal distribution. Note: Upgrades to core files is a major headache mainly because you are supposed to disable all contributed modules before proceeding!
# Change user to root: sudo -i cd /opt/lampp/htdocs # Set a bash environment variable to the website directory WEBDIR=embeddedsystemsaustralia # Set a bash environment variable to the correct new drupal version name: NEW=drupal-6.XX # Set a date variable too: DATE=`date +%Y%m%d`; echo $DATE # Get the new version: wget http://ftp.drupal.org/files/projects/$NEW.tar.gz # Backup all: tar -czvf $DATE-esa_all.tar.gz $WEBDIR/ # Extract new drupal version: mv $WEBDIR $WEBDIR-old tar -xvpf $NEW.tar.gz mv $NEW $WEBDIR # Fix ownerships: chown -R local-admin $WEBDIR chgrp -R local-admin $WEBDIR # Move across old sites directory to new installation: cd $WEBDIR mv sites sites.orig mv ../$WEBDIR-old/sites . # Copy across the style sheet used when printing newsletters: mv misc/print.css misc/print-old.css cp ../$WEBDIR-old/misc/print.css misc cd .. # Restart Apache /opt/lampp/lampp restart # Cleanup rm $NEW.tar.gz