I am installing odoo 16 on ubuntu 18.0 desktop version. I updated and upgraded ubuntu. I am getting this error message when I run this command:
sudo git clone https://www.github.com/odoo/odoo --depth 1 --branch=16.0 --single-branch
error message:
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
I tried to increase the postBuffer from the default 1MB by using this command:
git config http.postBuffer 524288000DD
2
Answers
Try cloning through ssh –
git clone [email protected]:odoo/odoo.git ...
.In order to do so you need to have ssh key, you can follow the guide – generating a new ssh key
Another point that might help is when you config buffer size, use
--global
, not sure if it would help, but it won’t hurt.You can try cloning through the following command,
git clone –depth 1 –branch 16.0 https://www.github.com/odoo/odoo –single-branch