cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4939
Views
20
Helpful
13
Replies
Beginner

BAT 8.5 import/export - edit tar file problem

I have exported my CTI Route Points (with dependencies) to a .tar using BAT, and downloaded to my PC. I used 7-zip to extract all of the files, including header.txt, made my changes to the ctiroutepoint.csv and saved the file. Then I added all of the files to a new .tar file and uploaded to CUCM import.

I have also tried simply adding the modified .csv to the actual .tar archive downloaded.

Either way, I get this error, when I go to import/export - import and select the file

Unmapped Exception bad  header in block 1 record 15, header magic is not 'ustar' or unix-style zeros, it  is '82848932737884', or (dec) 82, 84, 89, 32, 73, 78,  84

I have done this before with CM 6, 7 and even 8.0 I believe, but for some reason when I modify these .tars it seems to create an issue.

Is something changed in 8.5 or is anyone else seeing this issue?

13 REPLIES 13
Beginner

Re: BAT 8.5 import/export - edit tar file problem

I should also mention, there was only 1 CTI RP on the system export, I am trying to add a bunch, these are not existing

Participant

Re: BAT 8.5 import/export - edit tar file problem

Did you find a resolution?

I'm running into the same problem after patching to CUCM 8.5.1.12900-7

I did not see it in CUCM 8.5.1.11900-21

From what I see on the web, this may be a Java problem in the GUI.

If I un-TAR the file, make no changes, then TAR it back up & Import, there are no errors.

If I change anything at all, I get these errors:

Validate Import - "Tar File does not have the header file" (yes, it has a valid header file)

Import File - "Unmapped Exception bad header in block 0 record 17, header magic is not 'ustar' or unix-style zeros, it is '78738479823268', or (dec) 78, 73, 84, 79, 82, 32, 68"

Randy

Beginner

Re: BAT 8.5 import/export - edit tar file problem

Hi guys

i have exactly the same problem with CUCM 8.6.2a.

Do you have a solution for this problem.

Regards Markus

Re: BAT 8.5 import/export - edit tar file problem

Hi

Can you post up your original (unedited) tar, and the edited .tar you are trying to upload?

I guess 'header magic' refers to the magic number string of the tar file rather than the hearder file embedded in the csv. Would need to compare with a hex editor.

Have you guys tried simply removing/readding the same, unedited CSV file in the tar to verify whether it's definately the tar or the contents that is the problem?

I've done this process on 8.5 (not for CTI bits, but it's all the same in theory) lots this month without major problems.

Aaron

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!
Beginner

Re: BAT 8.5 import/export - edit tar file problem

Hi

The Files are uploaded.

Regards Markus

Beginner

Re: BAT 8.5 import/export - edit tar file problem

Aaron,

Are you using 7-zip or another program to unpack/rebuild the tar?

Beginner

Re: BAT 8.5 import/export - edit tar file problem

Hi

Yes I use 7-zip.

BAT 8.5 import/export - edit tar file problem

Hi,

I've exactly the same issue; did You solved it ?

If i try to validate the tar file ( made with 7zip ) i get:

Validate Configuration Items

Begin Time : 11/27/2012 12:09:57

Failure Details :

FileName Error Code Error Description

-----------------------------------------------------------------------------------------

Gateway-IMP.tar Tar File does not have the header file

Result Summary :

VALIDATE for 1 FILES could not be processed.

VALIDATE for 0 FILES passed.

VALIDATE for 0 FILES failed.

Beginner

BAT 8.5 import/export - edit tar file problem

Hi,

    I have the same problem (CUCM 8.6.2.22900-9), could you solve it?

Thanks,

Javier.

Beginner

BAT 8.5 import/export - edit tar file problem

I'll answer myself. Import/Export does not support special characters...

Beginner

BAT 8.5 import/export - edit tar file problem

This isn't true.

You just need to pay attention to the character encoding of your csv files.

I guess (all) your files were encoded in ANSI.

You have to convert them to "UTF-8 without BOM".

You should be able to do this in every editor better than standard-notepad.

For reference: I used Notepad++

Regards.

Highlighted

Thank you. I had the same

Thank you. I had the same problem on CUCM 10.5.

Explorer

We had a similar problem with

We had a similar problem with 9.1.2.   The solution was usuing 7-zip on windows or tar from the CLI on OS X

CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards