05-03-2011 11:25 AM - edited 03-16-2019 04:46 AM
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?
05-05-2011 10:35 PM
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
07-15-2011 05:07 PM
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
11-29-2011 03:10 AM
11-29-2011 03:23 AM
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
11-29-2011 11:50 AM
Hi
The Files are uploaded.
Regards Markus
11-29-2011 12:38 PM
Aaron,
Are you using 7-zip or another program to unpack/rebuild the tar?
11-29-2011 12:42 PM
Hi
Yes I use 7-zip.
11-27-2012 03:16 AM
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.
02-22-2013 10:32 AM
Hi,
I have the same problem (CUCM 8.6.2.22900-9), could you solve it?
Thanks,
Javier.
02-22-2013 10:47 AM
I'll answer myself. Import/Export does not support special characters...
03-06-2013 06:20 AM
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.
06-09-2016 09:36 AM
Thank you. I had the same problem on CUCM 10.5.
06-23-2014 08:19 AM
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
09-02-2020 12:38 PM - edited 03-18-2021 12:15 PM
Note that I use a Mac. Mac Excel is not the same as Excel on Windows. I've learned the hard way to do this on windows. The steps below are written from a Mac OS perspective.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide