<div dir="ltr">Following on:<div>1) You need to create the postgresql user and the cdash database first.</div><div>2) You then need to config.local.php as appropriate and then set the correct permissions on some folders.</div><div>3) Then in the browser type: <a href="http://localhost/CDash/install.php">http://localhost/CDash/install.php</a></div><div>After filling in the form I get the following error:</div><div>"<span style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium">ERROR: relation "uuid" already exists"</span></div>At this point the build table and indexes have been created.<div>If I do a refresh and resubmit the form, I get this error:</div><div>"<span style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium">ERROR: relation "build" already exists</span>"</div><div><br></div><div>Ok ... "build" already exists but the script will not continue.</div><div><br></div><div>Now after commenting out line 42 in cdash.sql and redoing the install, I get the database built (100 tables).</div><div><br></div><div>Looking at the documentation in: <a href="http://www.postgresql.org/docs/9.0/static/ddl-constraints.html">http://www.postgresql.org/docs/9.0/static/ddl-constraints.html</a></div><div>It seems that "<span style="color:rgb(0,0,0);font-family:verdana,sans-serif;font-size:12.16px;line-height:18.24px">Adding a unique constraint will automatically create a unique btree index on the column or group of columns used in the constraint." so that line is not needed in Postgresql.</span></div><div><span style="color:rgb(0,0,0);font-family:verdana,sans-serif;font-size:12.16px;line-height:18.24px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:verdana,sans-serif;font-size:12.16px;line-height:18.24px">Is this a safe thing to do?</span></div><div><span style="color:rgb(0,0,0);font-family:verdana,sans-serif;font-size:12.16px;line-height:18.24px">When you read on there is this paragraph:</span></div><div><span style="color:rgb(0,0,0);font-family:verdana,sans-serif;font-size:12.16px;line-height:18.24px">"</span><span style="color:rgb(0,0,0);font-family:verdana,sans-serif;font-size:12.16px;line-height:18.24px">In general, a unique constraint is violated when there is more than one row in the table where the values of all of the columns included in the constraint are equal. However, two null values are not considered equal in this comparison. That means even in the presence of a unique constraint it is possible to store duplicate rows that contain a null value in at least one of the constrained columns. This behavior conforms to the SQL standard, but we have heard that other SQL databases might not follow this rule. So be careful when developing applications that are intended to be portable."</span></div><div><span style="color:rgb(0,0,0);font-family:verdana,sans-serif;font-size:12.16px;line-height:18.24px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:verdana,sans-serif;font-size:12.16px;line-height:18.24px">Thanks</span></div><div><span style="color:rgb(0,0,0);font-family:verdana,sans-serif;font-size:12.16px;line-height:18.24px"> Andrew</span></div><div><span style="color:rgb(0,0,0);font-family:verdana,sans-serif;font-size:12.16px;line-height:18.24px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 25, 2016 at 10:32 AM, Andrew Maclean <span dir="ltr"><<a href="mailto:andrew.amaclean@gmail.com" target="_blank">andrew.amaclean@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'm setting up CDash in Ubuntu and I think that I have followed all the instructions Ok, however when I type: <a href="http://localhost/CDash/" target="_blank">http://localhost/CDash/</a> in the browser it comes up with:<div><a href="http://localhost/CDash/viewProjects.php" target="_blank">http://localhost/CDash/viewProjects.php</a>.</div><div>How do I continue the install process?</div><div>The documentation on <a href="http://public.kitware.com/Wiki/CDash:Installation" target="_blank">http://public.kitware.com/Wiki/CDash:Installation</a> seems to indicate that "<span style="color:rgb(0,0,0);font-family:sans-serif;font-size:12.7px;line-height:19.05px">The first step will confirm the host login and password for the database, the default admin account and password are also displayed, make a note of these as you'll need them later, as its easy to skip past this step missing them ".</span></div><div><font color="#000000" face="sans-serif"><span style="font-size:12.7px;line-height:19.05px"><br></span></font></div><div><font color="#000000" face="sans-serif"><span style="font-size:12.7px;line-height:19.05px">Attached is a markdown file documenting what I have done so far. I installed and set up Apache and I am now trying to set up CDash. Then I will set up Postgres. Or do I need to set up Postgresql before setting up CDash? If so what will be the database name and user name?<br></span></font><div><br></div><div><br></div><div>Any help would be appreciated.</div><div><br></div><div>Rgeards</div><span class="HOEnZb"><font color="#888888"><div> Andrew<br clear="all"><div><br></div>-- <br><div>___________________________________________<br>Andrew J. P. Maclean<br><br>___________________________________________</div>
</div></font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">___________________________________________<br>Andrew J. P. Maclean<br><br>___________________________________________</div>
</div>