Wednesday, 8 July 2015

Upgrading Dotproject to latest version

I had to upgrade my running version of dotproject from version 2.1.5 to the latest version 2.1.8.

The process is really straight forward and worked without problems:

Download the new version from HERE:

Unzip the download. It will create a folder dotproject_2_1_18

Copy this folder to the dotproject server in /var/www/html/

On the linux server the current dotproject folder was moved to dotproject.old:

#mv /var/www/html/dotproject /var/www/html/dotproject.old

The dotproject folder inside /var/www/html/dotproject_2_1_18 was moved to /var/www/html:

#mv /var/www/html/dotproject_2_1_18/dotproject /var/www/html/

The config.php was then moved from /var/www/html/dotproject.old/includes/ to the new dotproject folder:

#mv /var/www/html/dotproject.old/includes/config.php /var/www/html/dotproject/includes/

The contents of /var/www/html/dotproject.old/files was also copied from to the new dotproject folder:

#cp -r /var/www/html/dotproject.old/files/* /var/www/html/dotproject/files

The owner of the new dotproject folder was then reset:

sudo chown www-data.www-data /var/www/html/dotproject -Rf
sudo chmod 755 /var/www/html/dotproject -Rf

The updated dotproject was then tested and is working fine.


No comments:

Post a Comment