Skip to content
Back

Unable to init function via cli

  • 0
  • 1
  • Self Hosted
  • Tools
24 Aug, 2026, 11:56

Hello! I have created a new self hosted instance of appwrite 1.9.6 and have connected to that insatnce with the cli 27.2.0 that was released a few hours ago. When I attempt to create a new function I get the following error.

βœ— Error: exit status 128
Cloning into '.'...
fatal: Remote branch 0.3.* not found in upstream origin

I tried to figure out what line of code was calling the git clone command by searching both the cli and server repos for the string "0.3.*" But I could not find any useful results.

https://github.com/search?q=repo%3Aappwrite%2Fsdk-for-cli++%220.3.*%22&type=code https://github.com/search?q=repo%3Aappwrite%2Fappwrite++%220.3.*%22&type=code

Its 6am and the ai's are hallucinating about imaginary verbose logging commands I should attempt. Any ideas on what else I can try to debug this?

TL;DR
User is unable to initialize a function via CLI on a self-hosted Appwrite instance, encountering a git clone error. The error message indicates a remote branch issue, but searching for the specified string in the codebase yields no results. Looking for suggestions on further debugging steps.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more