Skip to content
This repository was archived by the owner on Jul 28, 2023. It is now read-only.
This repository was archived by the owner on Jul 28, 2023. It is now read-only.

Node applications go into Crashloop #317

@ralanlittle

Description

@ralanlittle

Describe the bug
Creating a template application with no changes to the source goes in to a crash loop backoff.

To Reproduce
Steps to reproduce the behavior:

  1. configure appsody with the 0.7.0 stack hub.
  2. Appsody init for node's
  3. establish a web hook for the build and deploy pipeline for the stack
  4. store the project in git, the project builds and deploys and produces the following message in the logs

nodejs-simple@0.1.0 start /project/user-app
node app.js

Hello from Node.js 12!

┌───────────────────────────────────────────────────────────────┐
│ npm update check failed │
│ Try running with sudo or get access │
│ to the local update config store via │
│ sudo chown -R $USER:$(id -gn $USER) /opt/app-root/src/.config │
└───────────────────────────────────────────────────────────────┘

As it goes in the crash loop
,

Expected behavior
A clear and concise description of what you expected to happen.

The application to run without the loop

Actual behaviour
What is the actual behaviour.

crashloop

Environment Details (please complete the following information):
fyre, OCP 4.3.0, Kabanero 0.7.0, nodejs stack 0,3,3.

If applicable please specify:

  • CLI version:
  • Collection you are using:

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

The following zip file contains app, build log, and runtime log.
NodeProblem.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions