Tuleap Community Edition development and releases are no longer public. You have until September 30th to download packages and sources in Tuleap project. You can contact the team if you need further assistance.

    •  
      request #30010 GIT : The repository is in queue for creation. Please check back here in a few minutes
    Infos
    #30010
    Marc (marcicdc)
    2023-01-02 16:33
    2022-12-29 11:48
    31645
    Details
    GIT : The repository is in queue for creation. Please check back here in a few minutes

    Hi, I have some issue on my git. I just add the plugin and did some try on it but when create a repository on my project i get "The repository is in queue for creation. Please check back here in a few minutes"

    It run on a docker => enterprise Version 14.2-5

    I didn't notice it at the begging, because i was thinking get some issue with my cert or my ssh key, when i try to clone it but finnaly after configure all, I saw it.

    Some similar issue but finnaly they didn't give any solution on it https://tuleap.net/plugins/tracker/?aid=11398

    SCM/Git
    14.2
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    New
    Empty
    Attachments
    Empty
    References
    References list is empty

    Follow-ups

    User avatar
    Marc (marcicdc)2023-01-02 16:33

    I recreated my docker and ran the command at the begenning, and it's work.

    Thank you Thomas

    User avatar
    Thomas Gerbet (tgerbet)2023-01-02 10:26

    This clearly confirms the initial initialization was not successful. You can try to execute the following command as root in the container su codendiadm -c sh -c 'cd /var/lib/tuleap/gitolite/admin/ && /usr/lib/tuleap/git/bin/git push --porcelain --force -- origin master' but at this stage I would strongly recommend to drop everything and start from scratch to avoid other potential issues.

    User avatar
    Landser (landser)2022-12-30 11:49

    After have some issue with permission for tun the command, I finnaly run it. I try to relaunch the failed system events, but i still have some issue, i try to recreate an new repositorrie on a new projects and still have issue but with an other error :

    id: 686

    Type: SystemEvent_GIT_REPO_UPDATE

    Parameters: 1first-repo (main)

    Created date: 2022-12-30 10:29:16

    Owner: app

    Priority: Low

    Start date: 2022-12-30 10:29:37

    End date 2022-12-30 10:29:37

    Time taken: 0 s

    Status: Error

    Log: Command execution failure: /usr/lib/tuleap/git/bin/git -c init.defaultBranch='main' --work-tree='/var/lib/tuleap/gitolite/admin' --git-dir='/var/lib/tuleap/gitolite/admin/.git' push --porcelain -- origin master (return value: 1): To gl-adm:gitolite-admin error: failed to push some refs to 'gl-adm:gitolite-admin' hint: Updates were rejected because the remote contains work that you do hint: not have locally. This is usually caused by another repository pushing hint: to the same ref. You may want to first integrate the remote changes hint: (e.g., 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. ! refs/heads/master:refs/heads/master [rejected] (fetch first) Done

    User avatar
    Thomas Gerbet (tgerbet)2022-12-29 17:06

    I would need the logs of the first time the container was started to be sure but it looks like the initial initialization has failed/did not complete. Try to execute the following command as root in the container: /usr/share/tuleap/tools/setup.el7.sh --configure --mysql-server="$TULEAP_SYS_DBHOST" --mysql-password="$DB_ADMIN_PASSWORD" and then restart the failed system events via the site administration UI.

    User avatar
    Marc (marcicdc)2022-12-29 16:42
    last edited by: Marc (marcicdc) 2022-12-29 16:43

    A status error comming after try to create one branch:

    Id: 587

    Type: SystemEvent_GIT_REPO_UPDATE

    Parameters : GitBranch-For-issue (main)

    Created date: 2022-12-29 15:38:13

    Owner: app

    Priority: Low

    Start date: 2022-12-29 15:39:16

    End date: 2022-12-29 15:39:16

    Time taken: 0 s

    Status: Error

    Log: Command execution failure: /usr/lib/tuleap/git/bin/git -c init.defaultBranch='main' --work-tree='/var/lib/tuleap/gitolite/admin' --git-dir='/var/lib/tuleap/gitolite/admin/.git' push --porcelain -- origin master (return value: 128): Permission denied (publickey). fatal: Could not read from remote repository.

    Please make sure you have the correct access rights and the repository exists.

    User avatar
    Thomas Gerbet (tgerbet)2022-12-29 15:53

    As a site administrator can you please check the status of the system events in the Git queue?

    User avatar
    Marc (marcicdc)2022-12-29 15:33

    I am not sure to understand but yes when I am in my project and I access to Git, I can see my repository and inside it , I have the message "The repository is in queue for creation. Please check back here in a few minutes"