Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deploy to webApp issues #59

Open
karyeun opened this issue Dec 14, 2023 · 0 comments
Open

deploy to webApp issues #59

karyeun opened this issue Dec 14, 2023 · 0 comments

Comments

@karyeun
Copy link

karyeun commented Dec 14, 2023

hi,

i've encountered

  1. "Offset to Central Directory cannot be held in an Int64." on **S1 pla**n
  2. "Number of entries expected in End Of Central Directory does not correspond to number of entries in Central Directory." on P1v2 plan

it seems the .zip file generated by "azure tool: deploy to webapp" process was somehow facing issue at the web app end. below are some tracing at the server end when I try to unzip the file manually.

Archive:  /c/local/Temp/zipdeploy/p5gtz44z.zip
error [/c/local/Temp/zipdeploy/p5gtz44z.zip]:  missing 11854 bytes in zipfile
  (attempting to process anyway)
  inflating: /c/local/Temp/zipdeploy/extracted/static/css/18.641ade96.chunk.css.map  
  inflating: /c/local/Temp/zipdeploy/extracted/static/css/19.142bee5e.chunk.css  
  inflating: /c/local/Temp/zipdeploy/extracted/static/css/19.142bee5e.chunk.css.map  
  inflating: /c/local/Temp/zipdeploy/extracted/static/css/20.31b5b8b4.chunk.css  
  inflating: /c/local/Temp/zipdeploy/extracted/static/css/20.31b5b8b4.chunk.css.map  
error [/c/local/Temp/zipdeploy/p5gtz44z.zip]:  attempt to seek before beginning of zipfile
  (please check that you have transferred or created the zipfile in the
  appropriate BINARY mode and that you have compiled UnZip properly)
  (attempting to re-compensate)
file #1:  bad zipfile offset (local header sig):  0
  (attempting to re-compensate)
error [/c/local/Temp/zipdeploy/p5gtz44z.zip]:  attempt to seek before beginning of zipfile
  (please check that you have transferred or created the zipfile in the
  appropriate BINARY mode and that you have compiled UnZip properly)
error [/c/local/Temp/zipdeploy/p5gtz44z.zip]:  attempt to seek before beginning of zipfile ...

It was all working fine before and i've upgraded to Azure Tools 1.2.0 some time ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant