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
- HTTP POST to function returning "No Appw...
Hi everyone, I’m running into an issue with my self-hosted Appwrite instance. I’ve set up my environment variables (APPWRITE_FUNCTION_PROJECT_ID, APPWRITE_FUNC...
- [SOLVED] React Native Appwrite SDK not w...
So I'm trying to generate a unique ID using the ID.unique() and its generating properly, but its saying its longer than 36 characters but it isnt.. ```typescri...
- Can't add dart 3.5 runtime
Modified the `.env` to enable dart 3.5 runtime on my self-hosted instance but still can't find the runtime when creating a new function. I manually pulled the i...