Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

0 byte files in Manager program 2

Status
Not open for further replies.

azrael2000

Technical User
Jun 10, 2008
982
CA
Hi All.

I have to bring a customer up to 11.0.4.3 per the customer, not what I would do, but the customer is the customer.

I remember one of the versions of ip office having an issue with 0 byte files messing up a transfer of files, but for the life of me I can't remember which one.

Does someone out there remember which one, and what the fix was... I know we had to rename the 0 byte files, but can't remember where they are hiding.

Regards
 
11.0 FP4 SP1 was the problem child.

11.0 FP4 SP2 is stable, except SCN discovery in Manager is broken

11.0 FP4 SP3 can not recreate an SD card due to missing files but can upgrade a control unit through the wizard

11.0 FP4 SP4 is the most current, I have recreated an SD card just fine but have not had a chance to try upgrading a control unit through the wizard


 
@TouchToneTommy, I upgraded a couple of IPO to R11.04.4 and it went OK. But you never know :D
 
You can find the files that are 0 bytes by running the following command via command prompt within the [tt]C:\Program Files (x86)\Avaya\IP Office\Manager\MemoryCards\Common\[/tt] directory.

Code:
forfiles /S /M *.* /C "cmd /c if @fsize EQU 0 (if @isdir EQU FALSE echo @path)" > list.txt

This will make a file, [tt]list.txt[/tt], within that folder that will give the file names of each file that is 0 bytes.

I then created a batch file that would copy a small txt file that was not 0 bytes to overwrite each of those files.
Code:
copy c:\workfiles\0file.txt "C:\Program Files (x86)\Avaya\IP Office\Manager\MemoryCards\Common\system\backup\WebMgmtEE\Version.json"
copy c:\workfiles\0file.txt "C:\Program Files (x86)\Avaya\IP Office\Manager\MemoryCards\Common\system\backup\WebMgmtEE\selfadmin_help\Cloud\de\GUID-D34E8070-85A7-4267-8637-7277A9001AE4.map"
copy c:\workfiles\0file.txt "C:\Program Files (x86)\Avaya\IP Office\Manager\MemoryCards\Common\system\backup\WebMgmtEE\selfadmin_help\Cloud\es\GUID-D34E8070-85A7-4267-8637-7277A9001AE4.map"
copy c:\workfiles\0file.txt "C:\Program Files (x86)\Avaya\IP Office\Manager\MemoryCards\Common\system\backup\WebMgmtEE\selfadmin_help\Cloud\fr\GUID-D34E8070-85A7-4267-8637-7277A9001AE4.map"
copy c:\workfiles\0file.txt "C:\Program Files (x86)\Avaya\IP Office\Manager\MemoryCards\Common\system\backup\WebMgmtEE\selfadmin_help\Cloud\it\GUID-D34E8070-85A7-4267-8637-7277A9001AE4.map"
copy c:\workfiles\0file.txt "C:\Program Files (x86)\Avaya\IP Office\Manager\MemoryCards\Common\system\backup\WebMgmtEE\selfadmin_help\Cloud\pt\GUID-D34E8070-85A7-4267-8637-7277A9001AE4.map"
copy c:\workfiles\0file.txt "C:\Program Files (x86)\Avaya\IP Office\Manager\MemoryCards\Common\system\backup\WebMgmtEE\selfadmin_help\Cloud\ru\GUID-D34E8070-85A7-4267-8637-7277A9001AE4.map"
copy c:\workfiles\0file.txt "C:\Program Files (x86)\Avaya\IP Office\Manager\MemoryCards\Common\system\backup\WebMgmtEE\selfadmin_help\Cloud\zh\GUID-D34E8070-85A7-4267-8637-7277A9001AE4.map"
copy c:\workfiles\0file.txt "C:\Program Files (x86)\Avaya\IP Office\Manager\MemoryCards\Common\system\backup\WebMgmtEE\selfadmin_help\Premise\de\GUID-353430D7-191F-4115-BFB4-C329139187AA.map"
copy c:\workfiles\0file.txt "C:\Program Files (x86)\Avaya\IP Office\Manager\MemoryCards\Common\system\backup\WebMgmtEE\selfadmin_help\Premise\en\GUID-353430D7-191F-4115-BFB4-C329139187AA.map"
copy c:\workfiles\0file.txt "C:\Program Files (x86)\Avaya\IP Office\Manager\MemoryCards\Common\system\backup\WebMgmtEE\selfadmin_help\Premise\es\GUID-353430D7-191F-4115-BFB4-C329139187AA.map"
copy c:\workfiles\0file.txt "C:\Program Files (x86)\Avaya\IP Office\Manager\MemoryCards\Common\system\backup\WebMgmtEE\selfadmin_help\Premise\fr\GUID-353430D7-191F-4115-BFB4-C329139187AA.map"
copy c:\workfiles\0file.txt "C:\Program Files (x86)\Avaya\IP Office\Manager\MemoryCards\Common\system\backup\WebMgmtEE\selfadmin_help\Premise\it\GUID-353430D7-191F-4115-BFB4-C329139187AA.map"
copy c:\workfiles\0file.txt "C:\Program Files (x86)\Avaya\IP Office\Manager\MemoryCards\Common\system\backup\WebMgmtEE\selfadmin_help\Premise\pt\GUID-353430D7-191F-4115-BFB4-C329139187AA.map"
copy c:\workfiles\0file.txt "C:\Program Files (x86)\Avaya\IP Office\Manager\MemoryCards\Common\system\backup\WebMgmtEE\selfadmin_help\Premise\ru\GUID-353430D7-191F-4115-BFB4-C329139187AA.map"
copy c:\workfiles\0file.txt "C:\Program Files (x86)\Avaya\IP Office\Manager\MemoryCards\Common\system\backup\WebMgmtEE\selfadmin_help\Premise\zh\GUID-353430D7-191F-4115-BFB4-C329139187AA.map"
copy c:\workfiles\0file.txt "C:\Program Files (x86)\Avaya\IP Office\Manager\MemoryCards\Common\system\primary\WebMgmtEE\Version.json"
copy c:\workfiles\0file.txt "C:\Program Files (x86)\Avaya\IP Office\Manager\MemoryCards\Common\system\primary\WebMgmtEE\selfadmin_help\Cloud\de\GUID-D34E8070-85A7-4267-8637-7277A9001AE4.map"
copy c:\workfiles\0file.txt "C:\Program Files (x86)\Avaya\IP Office\Manager\MemoryCards\Common\system\primary\WebMgmtEE\selfadmin_help\Cloud\es\GUID-D34E8070-85A7-4267-8637-7277A9001AE4.map"
copy c:\workfiles\0file.txt "C:\Program Files (x86)\Avaya\IP Office\Manager\MemoryCards\Common\system\primary\WebMgmtEE\selfadmin_help\Cloud\fr\GUID-D34E8070-85A7-4267-8637-7277A9001AE4.map"
copy c:\workfiles\0file.txt "C:\Program Files (x86)\Avaya\IP Office\Manager\MemoryCards\Common\system\primary\WebMgmtEE\selfadmin_help\Cloud\it\GUID-D34E8070-85A7-4267-8637-7277A9001AE4.map"
copy c:\workfiles\0file.txt "C:\Program Files (x86)\Avaya\IP Office\Manager\MemoryCards\Common\system\primary\WebMgmtEE\selfadmin_help\Cloud\pt\GUID-D34E8070-85A7-4267-8637-7277A9001AE4.map"
copy c:\workfiles\0file.txt "C:\Program Files (x86)\Avaya\IP Office\Manager\MemoryCards\Common\system\primary\WebMgmtEE\selfadmin_help\Cloud\ru\GUID-D34E8070-85A7-4267-8637-7277A9001AE4.map"
copy c:\workfiles\0file.txt "C:\Program Files (x86)\Avaya\IP Office\Manager\MemoryCards\Common\system\primary\WebMgmtEE\selfadmin_help\Cloud\zh\GUID-D34E8070-85A7-4267-8637-7277A9001AE4.map"
copy c:\workfiles\0file.txt "C:\Program Files (x86)\Avaya\IP Office\Manager\MemoryCards\Common\system\primary\WebMgmtEE\selfadmin_help\Premise\de\GUID-353430D7-191F-4115-BFB4-C329139187AA.map"
copy c:\workfiles\0file.txt "C:\Program Files (x86)\Avaya\IP Office\Manager\MemoryCards\Common\system\primary\WebMgmtEE\selfadmin_help\Premise\en\GUID-353430D7-191F-4115-BFB4-C329139187AA.map"
copy c:\workfiles\0file.txt "C:\Program Files (x86)\Avaya\IP Office\Manager\MemoryCards\Common\system\primary\WebMgmtEE\selfadmin_help\Premise\es\GUID-353430D7-191F-4115-BFB4-C329139187AA.map"
copy c:\workfiles\0file.txt "C:\Program Files (x86)\Avaya\IP Office\Manager\MemoryCards\Common\system\primary\WebMgmtEE\selfadmin_help\Premise\fr\GUID-353430D7-191F-4115-BFB4-C329139187AA.map"
copy c:\workfiles\0file.txt "C:\Program Files (x86)\Avaya\IP Office\Manager\MemoryCards\Common\system\primary\WebMgmtEE\selfadmin_help\Premise\it\GUID-353430D7-191F-4115-BFB4-C329139187AA.map"
copy c:\workfiles\0file.txt "C:\Program Files (x86)\Avaya\IP Office\Manager\MemoryCards\Common\system\primary\WebMgmtEE\selfadmin_help\Premise\pt\GUID-353430D7-191F-4115-BFB4-C329139187AA.map"
copy c:\workfiles\0file.txt "C:\Program Files (x86)\Avaya\IP Office\Manager\MemoryCards\Common\system\primary\WebMgmtEE\selfadmin_help\Premise\ru\GUID-353430D7-191F-4115-BFB4-C329139187AA.map"
copy c:\workfiles\0file.txt "C:\Program Files (x86)\Avaya\IP Office\Manager\MemoryCards\Common\system\primary\WebMgmtEE\selfadmin_help\Premise\zh\GUID-353430D7-191F-4115-BFB4-C329139187AA.map"
pause

Once that is run using Manager to upgrade the IPO works without the HTTP error.

- Qz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top