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
- Local appwrite run functions --user-id n...
Hi, I'm running into an issue when testing Appwrite functions locally with user impersonation. I'm using a self-hosted Appwrite instance and running functions ...
- Selfhosted Github App installation
I've followed this guide: https://appwrite.io/docs/advanced/self-hosting/configuration/version-control to connect GitHub to my self-hosted Appwrite instance (1....
- User ID case sensitivity
I see that through REST (and SDK as well), getting a user is not case sensitive. And even though documentation does not clearly state that it is, the wording "V...