My Snap with a NodeJS application stopped working suddenly in last week. I dont know why. My snapcraft.yaml is a follow:
name: xxxx base: core18 version: git summary: xxxx description: xxxx grade: devel confinement: devmode environment: SNAPCRAFT_ENABLE_DEVELOPER_DEBUG: "yes" apps: mongo: command: env LC_ALL=C mongod --bind_ip 0.0.0.0 --port=27017 --pidfilepath $SNAP_USER_DATA/mongod.pid --journal --dbpath $SNAP_USER_DATA/mongo daemon: simple restart-condition: always node: command: env NODE_ENV=production node $SNAP/server.js daemon: simple restart-condition: always after: [mongo] hooks: install: plugs: [home, network, network-bind] plugs: home: network: network-bind: parts: kernel: source: . plugin: nodejs nodejs-version: 12.13.0 nodejs-package-manager: npm stage-packages: - mongodb-server
The build for my destination archtecture occur has no problems:
The right output is as follow (in local environment):
But the Snap logs repports nothing:
The app ‘mongo’ works fine. But ‘node’ no prints anything! The same application has works fine until the last week.
Anybody has any suggestion?