Kkula
Browse Questions » Industrial Edge: Issue adding Software Via adding tar

About User

Questions Asked: 24.4K

Answers Given: 0

0
  • Open

Industrial Edge: Issue adding Software Via adding tar

Hello,
I tried to import an application through App publisher by selecting a tar file.
I am getting the following error:
Error: Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?
I created the tar ball using the following command:
docker save hello-world:1.0.0 > hello-world.tar
Can anyone explain what is wrong here? Also, let me know in case more information is needed.

0 Likes 0 Favourites 0 Followers 0 Comments
Answers(1)

Error: Invalid tar header - App Publisher Import

The error "Invalid tar header" typically occurs when the tar archive is not created in a format compatible with the Siemens App Publisher. The `docker save` command creates a tar archive specifically designed for Docker, which isn't directly usable by the App Publisher.

Solution: You need to package your application according to the Siemens App Publisher's requirements. This usually involves creating a tarball containing a manifest.json file and your application components.

Steps:

  1. Refer to the App Publisher documentation for detailed packaging instructions.
  2. Ensure your application is packaged as a standard tar archive (not a Docker save archive).
  3. Verify the manifest.json file is correctly formatted and present in the root of your archive.

If the issue persists, please provide the following information for further assistance:

  • The contents of your manifest.json file (redact any sensitive information).
  • The exact steps you followed to create the tarball.
  • The version of App Publisher you are using.
0
Add a comment