» To Project

Fix installation instructions

Hydra #15 - Error (by Rob Vermaas on Mar 19)

The manual and installation instruction have never been completed.

    Hi List,

    i try to install Hydra on a server (Ubuntu-server 9.10, nix
    0.15pre20563, hydra 0.1pre20651).
    i found some problems :

    1) the script hydra_init.pl reports many errors and cannot create some
    tables and indexes.
    because it uses hydra.sql instead of hydra-sqlite.sql (preprocessed version)

    2) jobset creation fails with the following message :
    DBIx::Class::ResultSet::create(): DBI Exception: DBD::SQLite::st
    execute failed: Jobsets.emailOverride may not be NULL [for Statement
    "INSERT INTO Jobsets ( name, nixexprinput, nixexprpath, project)
    VALUES ( ?, ?, ?, ? )"] at
    /nix/store/zjx7pqn8m4w0fsxpympznwqycr8w9g72-hydra-0.1pre20651/libexec/hydra/lib/Hydra/Controller/Project.pm
    line 133

    3) the on-line documentation describes :
     - project creation (patchelf)
     - jobset creation (trunk)
    but nothing for :
     - view & job
     - release

    the error message : "Invalid job name: :build" is not helpful
    it doesn't give the convention (see $jobNameRE)

    4) svn.nixos.org uses an invalid security certificate.
    The certificate is not trusted because the issuer certificate is unknown.

    5) the script hydra_scheduler.pl gives :
    considering project patchelf
    considering jobset trunk in patchelf
    checking out Subversion input nixpkgs from
    https://svn.nixos.org/repos/nix/nixpkgs/trunk revision 20671
    error evaluating jobset trunk: Cannot check out Subversion repository
    `https://svn.nixos.org/repos/nix/nixpkgs/trunk':
    hash is 0i29gk22p6cyzsmyxiaxwi4ssihri673w2rkpn33lpa20011anqs
    error: cannot open SQLite database
    sleeping...


    François

Log in to post comments