[CDash] Upgrading from 2.0.2 to 2.4.0

François Bertel fbopensource at gmail.com
Sun Jul 9 04:54:46 UTC 2017


I am currently running CDash 2.0.2 and I would like to upgrade to 2.4.0.
I am using Ubuntu 17.04 with postgresql 9.6.3.

I have some questions about steps 5,6,7 as well as the new "public"
hierarchy and
the required "public" symlink.

Side note: https://www.cdash.org/download/ is still saying that 2.2.3 is the
current stable release but I downloaded CDash-2.4.0.zip from the wiki:

I extracted the archive in my home directory at:


therefore the root directory is at: ~/install/cdash/cdash-2.4.0/CDash

I see that composer.phar is already part of the archive, I assume that I
have to apply step 5 of the upgrade, correct?


"step 5: Download composer (if you haven't already) and run php
composer.phar install --no-dev --optimize-autoloader."

Same question for step 6 (npm install) and 7 (gulp). Are they just here for
people using git instead or are they mandatory when using the zip archive
as well?

If I need to follow step 6, where do I run "npm install" from? Is is from
~/install/cdash/cdash-2.4.0/CDash for me?

(Note that I installed the Ubuntu packages for composer and npm, the
composer package does not provide a composer.phar but /usr/bin/composer

Last question, where do I setup the symlink to public and do I have to do
it? To help you answer my question, here are some details about my current
2.0.2 setup:

The 2.0.2 is extracted here:
~/install/cdash/CDash-2-0-2 where I have a custom config file in

Therefore I will copy my config.local.php to
~/install/cdash/cdash-2.4.0/CDash/config/ , right?

My /var/www looks like this:
drwxr-xr-x  4 root     root      152 Apr 27  2014 ./
drwxr-xr-x 16 root     root      432 Apr 21  2016 ../
drwx------ 17 www-data www-data 4912 Apr 26  2016 CDash/
drwxr-xr-x  2 root     root       48 Apr  3  2014 html/
-rw-r--r--  1 root     root      177 Oct 19  2013 index.html
-rw-------  1 www-data www-data   20 Mar  2  2012 test.php

In /etc/apache2/,

./sites-enabled/default-ssl.conf and ./sites-enabled/000-default.conf
are symlink to files in ./sites.available both having DocumentRoot pointing
to /var/www

./conf-enabled/cdash.conf is a symlink to ./conf-available/cdash.conf which
is just:
<Directory /home/fbertel/install/cdash/CDash-2-0-2/>
   Order allow,deny
   Allow from all

Therefore, I will change it to:
<Directory /home/fbertel/install/cdash/cdash-2.4.0/CDash/>
   Order allow,deny
   Allow from all

right? Or is it where I should use "public" instead with the following
(and not use a symlink) ?

<Directory /home/fbertel/install/cdash/cdash-2.4.0/CDash/public/>
   Order allow,deny
   Allow from all


François Bertel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cdash/attachments/20170709/e930ce5b/attachment.htm>

More information about the CDash mailing list