Skip to content

pm-install missing creation of /var/lib/strong-pm? #10

@notbrain

Description

@notbrain

(Moved from strongloop/strongloop#244)

I've just upgraded to 5.0.0 and our apps are no longer spawning with strong-pm. See strong-pm issue 270, strange syntax error when I simply try to run the upstart job.

But also now that I've attempted a fresh global install of strongloop, a subsequent sudo slc pm-install no longer knows how to create the /var/lib/strong-pm directory.

This is after a complete removal of strongloop and deleting /var/lib/strong-pm:

$ sudo npm install -g strongloop
...
$ sudo slc pm-install
Error installing service 'strong-pm': ENOENT, open '/var/lib/strong-pm/env.json'

A manual creation of /var/lib/strong-pm (+ chown -R strong-pm:strong-pm) seems to have fixed it and allowed the upstart job to start.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions