•  
      request #13600 installation failed with plugin-git
    Infos
    #13600
    Stefan K (superb00b)
    2019-12-26 13:07
    2019-07-04 12:06
    14045
    Details
    installation failed with plugin-git
    When I follow the instructions from here [1] the installation failed because of package tuleap-plugin-git.noarch 0:4.897-11.3_1.el7. It also doesn't matter if I use stable or dev -branch from the repo.
    I guess the important output from the installation is:
    162/169
    useradd: cannot create directory /var/lib/gitolite
    chmod: cannot access ‘/var/lib/gitolite’: No such file or directory
    error: %pre(tuleap-plugin-git-4.897-11.3_1.el7.noarch) scriptlet failed, exit status 1
    Error in PREIN scriptlet in rpm package tuleap-plugin-git-4.897-11.3_1.el7.noarch
    Installing : tuleap-plugin-pullrequest-0.27.190-11.3_1.el7.noarch 164/169
    error: tuleap-plugin-git-4.897-11.3_1.el7.noarch: install failed

    I also attached the mostly complete output from the installation


    [1] https://docs.tuleap.org/installation-guide/full-installation.html#tuleap-installation
    Empty
    Installation process
    development
    CentOS 7
    Empty
    Stage
    Empty
    New
    Empty
    Attachments
    References
    References list is empty

    Follow-ups

    • User avatar
      Lek (lek)1 month ago
      Hi there, I found that if I disable SELinux, installation will be worked.
    • User avatar
      Lek (lek)1 month ago
      Hi, I met this error also when I install on CentOS, here is the content of /etc/centos-release:

      ```
      CentOS Linux release 7.6.1810 (Core)
      ```
    • User avatar
      cat /etc/centos-release
      CentOS Linux release 7.7.1908 (Core)
    • User avatar

      What's your base system (/etc/redhat-release or /etc/centos-release) ?

    • User avatar
      last edited by: Michael Kesper (mkesper) 4 months ago
      Gitolite is in reality gitolite3.
      As a workaround, I created a symlink from /var/lib/gitolite3 to /var/lib/gitolite.
      This should be fixed in the package, however.

      This workaround seems not really successful, though, leads later to errors:

      # LC_ALL=C /usr/share/tuleap/tools/setup.el7.sh --configure --server-name=my_server --mysql-server=localhost
      Apache is already configured
      su: warning: cannot change directory to /var/lib/gitolite: Permission denied
      -bash: /var/lib/gitolite/.bash_profile: Permission denied
      FATAL: errors found but logfile could not be created
      FATAL: /var/lib/gitolite/.gitolite/logs/gitolite-2019-10.log: Permission denied
      FATAL: die open /var/lib/gitolite/.gitolite.rc.10103 failed: Permission denied<<newline>>