Giter VIP home page Giter VIP logo

Comments (11)

jwhazel avatar jwhazel commented on September 17, 2024 1

@gopher194 and anyone else having the same problem with the EISDIR error and happens to land here: the issue seems to be from setting package to point to a directory instead of a file. This fixed it for me:

    package: *.zip
    type: ZIP

Suggestion for Azure team: make the reason for this error a little more verbose.

from webapps-deploy.

tschirky avatar tschirky commented on September 17, 2024

I have the same issue with v3 (v2 works). When digging into the AppServicePlatformLogs, I can find the following logs:

EventName:ContainerStopped - Reason: - Message: - ContainerIDs:4c98f9dc3faec6fc00a299e9acdd5870c9bc483076471716353dacc837f5f4e7 - AdditionalInfo:
Stopping site <app-name> because it exceeded memory limits.

from webapps-deploy.

dannysongg avatar dannysongg commented on September 17, 2024

Thanks for bring this to our attention @barinalex. Are you trying to deploy to a consumption (serverless) function app?

from webapps-deploy.

tschirky avatar tschirky commented on September 17, 2024

@dannysongg We're using a consumption plan, yes.

from webapps-deploy.

sgollapudi77 avatar sgollapudi77 commented on September 17, 2024

Hey @tschirky , @barinalex if you're deploying the Function apps, did you try using this action.

from webapps-deploy.

tschirky avatar tschirky commented on September 17, 2024

@sgollapudi77 No we haven't. What's the rational behind using the "functions-action" and not the "webapp-deploy" action? I'm a bit confused, as we're having a web app on app services, and not a pure function app.

from webapps-deploy.

github-actions avatar github-actions commented on September 17, 2024

This issue is idle because it has been open for 14 days with no activity.

from webapps-deploy.

gopher194 avatar gopher194 commented on September 17, 2024

Hi, I was testing v3, but can't make it work:

  • replaced:
- name: Deploy APP
  uses: azure/webapps-deploy@v2
  with:
    app-name: ${{ env.AZ_APP_NAME }}
    package: app-artifact

That deploys successfully, with:

- name: Deploy APP
  uses: azure/webapps-deploy@v3
  with:
    app-name: ${{ env.AZ_APP_NAME }}
    package: app-artifact
    type: ZIP
    clean: false
    restart: true

that lamentably fails with this error:

Run azure/webapps-deploy@v3
Package deployment using OneDeploy initiated.
node:events:491
      throw er; // Unhandled 'error' event
      ^

Error: EISDIR: illegal operation on a directory, read
Emitted 'error' event on ReadStream instance at:
    at emitErrorNT (node:internal/streams/destroy:157:8)
    at emitErrorCloseNT (node:internal/streams/destroy:122:3)
    at processTicksAndRejections (node:internal/process/task_queues:83:21) {
  errno: -21,
  code: 'EISDIR',
  syscall: 'read'
}

from webapps-deploy.

dannysongg avatar dannysongg commented on September 17, 2024

@gopher194 I will need the name of your app to look into this. If you do not want to post it here, please email me at [email protected].

from webapps-deploy.

github-actions avatar github-actions commented on September 17, 2024

This issue is idle because it has been open for 14 days with no activity.

from webapps-deploy.

github-actions avatar github-actions commented on September 17, 2024

This issue is idle because it has been open for 14 days with no activity.

from webapps-deploy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.