Back

Getting "Docker Error: tar: Ignoring unknown extended header keyword " When using gitpod.

  • 1
  • Self Hosted
  • Functions
  • Apple
Rajat
7 Jan, 2024, 10:39

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)

TL;DR
User is encountering a "Docker Error: tar: Ignoring unknown extended header keyword" when using Gitpod to deploy an Appwrite function. They have tried various solutions from Stack Overflow and other sources, but none have worked. The issue persists across different runtimes. No solution provided in the support thread.
Rajat
9 Jan, 2024, 03:19

This did not work for me.

Rajat
9 Jan, 2024, 03:19

Still getting the docker error

ideclon
9 Jan, 2024, 06:56

How are you deploying?

ideclon
9 Jan, 2024, 06:57

Does this happen for any Function? Just this one? Any Swift Function?

Rajat
9 Jan, 2024, 07:30

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.

Rajat
9 Jan, 2024, 07:30

Tried using the commands mentioned in stackoverflow. No progress.

ideclon
9 Jan, 2024, 08:16

How are you creating the .tar.gz file?

Rajat
9 Jan, 2024, 08:43

running this command -> tar --exclude code.tar.gz -czf code.tar.gz .

Rajat
9 Jan, 2024, 08:44

Also made one with this command -> tar --no-xattrs --exclude code.tar.gz -czf code.tar.gz . | grep -v 'SCHILY.fflags'

Rajat
9 Jan, 2024, 09:02

This is the logs after uploading the .tar.gz file made using the second command.

Rajat
9 Jan, 2024, 10:22

I also switched between runtimes (Swift 5.8 vs 5.5) but nothing changed in the logs.

ideclon
9 Jan, 2024, 18:39

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?

Rajat
10 Jan, 2024, 04:38

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.

Rajat
10 Jan, 2024, 04:41

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.

ideclon
10 Jan, 2024, 04:43

I’d recommend getting to the latest version (1.4.13)

Rajat
10 Jan, 2024, 05:21

Still same errors.

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