Giter Club home page Giter Club logo

dokku-pm2's People

Contributors

alexbeletsky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

dokku-pm2's Issues

Support new style of listing with `dokku plugin`

Getting this error when calling simple dokku plugin listing (see https://github.com/dokku/dokku/blob/f328a9940b8652bbf093bf0ec99f2053f48f0db7/HISTORY.md#040):

cat: /var/lib/dokku/plugins/available/dokku-pm2/plugin.toml: No such file or directory
panic: interface conversion: interface is nil, not map[string]interface {}

goroutine 1 [running]:
runtime.panic(0x5ffd60, 0xc2100520c0)
    /usr/lib/go/src/pkg/runtime/panic.c:266 +0xb6
main.TomlGet(0xc21000a030, 0x2, 0x2)
    /home/vagrant/gocode/src/github.com/dokku/plugn/plugn.go:30 +0x1d1
github.com/progrium/go-basher.(*Context).HandleFuncs(0xc21000f320, 0xc21000a000, 0x5, 0x5, 0x0)
    /home/vagrant/gocode/src/github.com/progrium/go-basher/basher.go:182 +0x2ac
github.com/progrium/go-basher.Application(0xc21001ddb0, 0x7f6678e32f00, 0x4, 0x4, 0x6aeb58, ...)
    /home/vagrant/gocode/src/github.com/progrium/go-basher/basher.go:64 +0x4d2
main.main()
    /home/vagrant/gocode/src/github.com/dokku/plugn/plugn.go:98 +0x431

goroutine 3 [runnable]:
os/signal.loop()
    /usr/lib/go/src/pkg/os/signal/signal_unix.go:19
created by os/signal.init·1
    /usr/lib/go/src/pkg/os/signal/signal_unix.go:27 +0x31
cat: /var/lib/dokku/plugins/available/dokku-pm2/plugin.toml: No such file or directory
panic: interface conversion: interface is nil, not map[string]interface {}

goroutine 1 [running]:
runtime.panic(0x5ffd60, 0xc2100530c0)
    /usr/lib/go/src/pkg/runtime/panic.c:266 +0xb6
main.TomlGet(0xc21000a030, 0x2, 0x2)
    /home/vagrant/gocode/src/github.com/dokku/plugn/plugn.go:30 +0x1d1
github.com/progrium/go-basher.(*Context).HandleFuncs(0xc21000f320, 0xc21000a000, 0x5, 0x5, 0x0)
    /home/vagrant/gocode/src/github.com/progrium/go-basher/basher.go:182 +0x2ac
github.com/progrium/go-basher.Application(0xc21001ddb0, 0x7f2a5224cf00, 0x4, 0x4, 0x6aeb58, ...)
    /home/vagrant/gocode/src/github.com/progrium/go-basher/basher.go:64 +0x4d2
main.main()
    /home/vagrant/gocode/src/github.com/dokku/plugn/plugn.go:98 +0x431

goroutine 3 [runnable]:
os/signal.loop()
    /usr/lib/go/src/pkg/os/signal/signal_unix.go:19
created by os/signal.init·1
    /usr/lib/go/src/pkg/os/signal/signal_unix.go:27 +0x31

remote: /bin/bash: /app/.pm2: No such file or directory

Hi.

I am getting this error as part of the -----> Running pm2 script, when I try to git push to dokku:

remote: /bin/bash: /app/.pm2: No such file or directory

It seems like only pre-deploy is getting invoked, and not post-build, as I cannot see any output of -----> Injecting pm2 script. How can I make sure this post-build is also run?

I should also mention that I don't have a default.yaml anywhere in /var/lib/dokku/plugins/ tree. Do I need to create one automatically?

Dokku v0.3.21 does not list the pm2 plugin.

As per the title, when installing the dokku-pm2 plugin with the latest version of dokku, the options do not output in the regular dokku help (assuming they are supposed to). Also the commands when executed do not seem to do anything. Does this work for you on the latest dokku?

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.