likeastore / dokku-pm2 Goto Github PK
View Code? Open in Web Editor NEWDokku plugin to utilize the power of pm2
License: MIT License
Dokku plugin to utilize the power of pm2
License: MIT License
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
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?
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.