•  
      request #9035 Unable to push changes to git remote repository
    Infos
    #9035
    Eliyas (qauser)
    2017-02-27 12:26
    2016-04-07 15:26
    9143
    Details
    Unable to push changes to git remote repository
    A project is enabled with git plugin in tuleap(Version 8.13). We are able to clone, add, commit the changes and when we push the changes to the repository on http, It throws the error as no DAV locking support on the repository url. and the git version installed in the server is 1.7.12.4. Please help us out of this.
    thanks for the consideration
    SCM/Git
    Empty
    CentOS 6
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Acknowledged
    Empty
    Attachments
    References
    References list is empty

    Follow-ups

    User avatar
    Thomas Gerbet (tgerbet)2017-02-23 08:58
    Do you use the IM plugin? From the logfile extract you provided, it looks like the Openfire server is down so Tuleap can not communicate with it. I advise you disable/remove the IM plugin and then try again to clone your repo.
    User avatar
    Great this memory stuff disappeard.

    ... increased shm_size from 64 to 128M

    Now i guess that im getting further but still the same problem with "DAV locking support" - but new log entries in httpd error_log /usr/share/tuleap/plugins/IM/include/jabbex_api/Jabbex.php related see attached

    User avatar

     require(): Unable to allocate memory for pool. in /usr/share/tuleap/src/common/autoload.php on line 1016

    Means that you don't have enough RAM configured for APC in /etc/php.d/apc.ini for apc.shm_size, try increase this value, restart apache to see if the error disappear.

    Please also note that with http transport php 5.3 and apache you cannot handle large objects (like large blobs of binary data).

    User avatar
    last edited by: Peter Struck (p3t3rstruck) 2017-02-21 15:41

    ive generated a keypair and added it to my account settings - ssh keys. This was a way making it work via ssh!

    My git client: git version 2.9.3 (Apple Git-75)

    git push --verbose
    Pushing to https://cbasealm.ads.dlh.de/plugins/git/cbase-apps-framework/cbase-library-test.git
    XML error: not well-formed (invalid token)
    error: no DAV locking support on https://cbasealm.ads.dlh.de/plugins/git/cbase-apps-framework/cbase-library-test.git/
    fatal: git-http-push failed
    error: failed to push some refs to 'https://cbasealm.ads.dlh.de/plugins/git/cbase-apps-framework/cbase-library-test.git'


    Via https ive got following entries:

    - httpd/error_log

    [Tue Feb 21 15:31:25 2017] [error] [client 10.154.1.202] PHP Warning:  require(): Unable to allocate memory for pool. in /usr/share/tuleap/src/common/autoload.php on line 1016

    [Tue Feb 21 15:31:25 2017] [error] [client 10.154.1.202] PHP Warning:  require(): Unable to allocate memory for pool. in /usr/share/tuleap/plugins/git/include/autoload.php on line 331

    - git_syslog

    2017-02-21T15:31:25+01:00 [23329] [debug] [http] Repository cbase-library-test need authentication

    2017-02-21T15:31:25+01:00 [23329] [debug] [http] Replication user not recognized Invalid Password Or User Name

    2017-02-21T15:31:25+01:00 [23329] [debug] [http] Command: sudo -E -u gitolite /usr/share/gitolite3/gitolite-shell

    2017-02-21T15:31:25+01:00 [23329] [debug] [http] Environment: Array

    (

        [GIT_PROJECT_ROOT] => /var/lib/tuleap/gitolite/repositories

        [GIT_HTTP_EXPORT_ALL] => 1

        [QUERY_STRING] => 

        [REQUEST_METHOD] => GET

        [HTTP_ACCEPT_ENCODING] => gzip

        [SHELL] => /bin/sh

        [REMOTE_USER] => u524036

        [GIT_HTTP_BACKEND] => /opt/rh/git19/root/usr/libexec/git-core/git-http-backend

        [HOME] => /var/lib/gitolite

        [REMOTE_ADDR] => 10.154.1.202

        [TERM] => linux

        [REQUEST_URI] => /plugins/git/cbase-apps-framework/cbase-library-test.git/HEAD

        [REMOTE_PORT] => 55407

        [SERVER_ADDR] => 10.154.7.87

        [SERVER_PORT] => 443

        [GITOLITE_HTTP_HOME] => /var/lib/gitolite

        [PATH_INFO] => /cbase-apps-framework/cbase-library-test.git/HEAD

    )

    User avatar
    Thomas Gerbet (tgerbet)2017-02-10 09:40
    I'm still no able to reproduce the issue.

    Can you please provide the version of your Git client, the full trace of the error provided by your client over HTTP and SSH.
    These logfiles might provide interesting information:
    * /var/log/tuleap/git_http_error_log
    * /var/log/httpd/error_log
    * /var/log/tuleap/git_syslog

    • Reported in version cleared values: 8.13
    User avatar
    I have the same error. Can we somehow gather additional informations for you?
    Tested version is 9.4.99.26 (Updated from 8.9.99.5)
    User avatar
    Thomas Gerbet (tgerbet)2016-04-11 14:28
    Does it works when you use SSH instead of HTTP?
    What's the version of your Git client?