Failed Function build due to "Unable to clone code repository: fatal: remote error"
- 0
- React Native
- Functions
Hello. We recently pushed some code into our main branch and this error showed up during our function build. I went through some of the earlier threads, but couldn't understand if this is a GitHub issue or something to do with AppWrite.
This is also the first time this issue came up since we have been pushing to main consistently without any problem. Not sure if last weeks issue caused some disturbance?
I am tempted to disconnect my github repository and reconnect, but not sure if that would break anything so holding off to the experts for suggestions. :appwritecheers:
Appreciate all the help! Thank you:appwriteparty:
Here is the full error:
Unable to clone code repository: fatal: remote error: upload-pack: not our ref 0000000000000000000000000000000000000000
/usr/src/code/vendor/appwrite/server-ce/src/Appwrite/Platform/Workers/Builds.php:235
#0 /usr/src/code/vendor/appwrite/server-ce/src/Appwrite/Platform/Workers/Builds.php(93): Appwrite\Platform\Workers\Builds->buildDeployment(Object(Utopia\Storage\Device\DOSpaces), Object(Appwrite\Event\Func), Object(Appwrite\Event\Event), Object(Appwrite\Event\Usage), Object(Appwrite\Cloud\Database\ProxyDatabase), Object(Appwrite\Cloud\Database\ProxyDatabase), Object(Utopia\VCS\Adapter\Git\GitHub), Object(Utopia\Database\Document), Object(Utopia\Database\Document), Object(Utopia\Database\Document), Object(Utopia\Database\Document), Object(Utopia\Logger\Log))
#1 /usr/src/code/vendor/appwrite/server-ce/src/Appwrite/Platform/Workers/Builds.php(55): Appwrite\Platform\Workers\Builds->action(Object(Utopia\Queue\Message), Object(Appwrite\Cloud\Database\ProxyDatabase), Object(Appwrite\Event\Event), Object(Appwrite\Event\Func), Object(Appwrite\Event\Usage), Object(Utopia\Cache\Cache), Object(Appwrite\Cloud\Database\ProxyDatabase), Object(Utopia\Storage\Device\DOSpaces), Object(Utopia\Logger\Log))
#2 /usr/src/code/vendor/utopia-php/queue/src/Queue/Server.php(248): Appwrite\Platform\Workers\Builds->Appwrite\Platform\Workers\{closure}(Object(Utopia\Queue\Message), Object(Appwrite\Cloud\Database\ProxyDatabase), Object(Appwrite\Event\Event), Object(Appwrite\Event\Func), Object(Appwrite\Event\Usage), Object(Utopia\Cache\Cache), Object(Appwrite\Cloud\Database\ProxyDatabase), Object(Utopia\Storage\Device\DOSpaces), Object(Utopia\Logger\Log))
#3 [internal function]: Utopia\Queue\Server->Utopia\Queue\{closure}('4')
#4 /usr/src/code/vendor/utopia-php/queue/src/Queue/Adapter/Swoole.php(37): call_user_func(Object(Closure), '4')
#5 [internal function]: Utopia\Queue\Adapter\Swoole->Utopia\Queue\Adapter\{closure}(Object(Swoole\Process\Pool), '4')
#6 {main}
Recommended threads
- Function deployment failed: Unable to re...
Hi Appwrite team, I have been experiencing persistent errors when i attempt to push my appwrite functions. The logs on the deployment detail page on the console...
- Server Down
Appwrite services are down. When will they start working again?
- My cloud functions failing 3 days ago (P...
Hi, My cloud function using python has been failing for 3 days, I didn't push any new deployments... Its something to do with it not recognising the entrypoi...