Back

Docker Error: tar: short read

  • 0
  • Cloud
Marius Bolik
2 Nov, 2023, 13:49

Hello,

I am getting this error when deploying a function via github integration. I also used this yesterday on another function and it worked. Both functions are in the same repo but in different directories. I set the directory and entry point correctly and also added the build command.

What could be wrong?

Kind regards, Marius

TL;DR
User is encountering the error "tar: short read" when deploying a function via GitHub integration. The function worked previously but is now encountering the error. The function directory and entry point are set correctly and the build command is added. User asks for assistance in resolving the issue. Solution: Check for any extra spaces in the root directory and folder names. Verify that the paths are correct.
Drake
2 Nov, 2023, 16:47

do both no longer work?

Drake
2 Nov, 2023, 16:47

what's your project id?

Marius Bolik
2 Nov, 2023, 16:50

@Steven Project ID: mysf Function: predict-dev

Drake
2 Nov, 2023, 17:06

do both no longer work?

Marius Bolik
2 Nov, 2023, 17:28

@Steven just predict-dev. The other function "compare-dev" is working fine with github.

Drake
2 Nov, 2023, 17:38

maybe some of the paths are incorrect?

Marius Bolik
2 Nov, 2023, 17:50

This is the github repo https://github.com/<company>/appwrite-functions/tree/develop/predict/src/ On the screenshot you see my function settings. 😦 @Steven

Drake
8 Nov, 2023, 00:57

Do you have any spaces in and folder names?

Drake
8 Nov, 2023, 00:57

There are no extra spaces in the root directory, right?

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