Getting "Docker Error: tar: Ignoring unknown extended header keyword " When using gitpod.
- 1
- Self Hosted
- Functions
- Apple
I'm using gitpod for hosting Appwrite. When I try to deploy my function here, it gives the following error. Can anyone help me please?
Runtime -> Swift-5.8 Appwrite version - 1.4.5 (The provided .yml file by gitpod was 1.4.4)
This did not work for me.
Still getting the docker error
How are you deploying?
Does this happen for any Function? Just this one? Any Swift Function?
So my swift functions works fine in a locally hosted instance. Executes all requests as intented.
But I needed that domain generated by Appwrite for function. So I used gitpod, uploaded the same tar.gz file and nothing worked.
Tried using the commands mentioned in stackoverflow. No progress.
How are you creating the .tar.gz file?
running this command -> tar --exclude code.tar.gz -czf code.tar.gz .
Also made one with this command -> tar --no-xattrs --exclude code.tar.gz -czf code.tar.gz . | grep -v 'SCHILY.fflags'
This is the logs after uploading the .tar.gz file made using the second command.
I also switched between runtimes (Swift 5.8 vs 5.5) but nothing changed in the logs.
I do see that the logs start off with the error, but the build still seems to proceed. Do you see any other errors in the logs?
Yes. But the errors are varying quite a bit. Here. I got 3 different errors with the same .tar.gz file. Just I redeployed it one after another and all produced different errors.
Also same .tar.gz file works fine with locally hosted instance.
All these erros seem to be related to the version of XCode where the code is getting build. Also one thing, the version of Appwrite in .yml is 1.4.4
The one in my locally hosted instance is 1.4.5. I'll try to match them and let you know here.
Iād recommend getting to the latest version (1.4.13)
Still same errors.
Recommended threads
- Function connected custom domain error: ...
My domain is served through Cloudflare. Domain is now connected with the appwrite function. But when accessing the domain, I get the below error. Any suggestion...
- Error | general_unknown
I have built a website using Appwrite Cloud as backend, and also using sites for deployment. My website is live but sometimes it shows Appwrite's Error general_...
- Invalid token passed in the request
Hello, I have an issue using updateMagicURLSession. I send the email using sendMagicLink, which works fine. When i click the link in the email i get the invali...