graylog-labs / graylog-plugin-twiliosms

Transport that sends alarms via the Twilio SMS API
http://www.graylog2.org/
Other
2 stars 6 forks source link

plugin not loading in graylog-interface #1

Closed oba11 closed 10 years ago

oba11 commented 10 years ago

I tried installing the plugin using

 java -jar graylog2-server.jar --install-plugin twilio_sms_transport --plugin-version 0.10.0

I got this error:

 java.io.FileNotFoundException: plugin/alarm_transports/org.graylog2.twiliosmstransport.transport.TwilioSmsTransport_gl2plugin.jar (No such file or directory)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:209)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:99)
    at org.graylog2.plugins.PluginInstaller.downloadAndCopyJar(PluginInstaller.java:166)
    at org.graylog2.plugins.PluginInstaller.install(PluginInstaller.java:100)
    at org.graylog2.Main.main(Main.java:110)

Creating the directory alarm_transports seem to fix the installation challenges but the plugin doesnt seem to be loaded on graylog-server restart

I'm using graylog2-server 0.12.0

lennartkoopmann commented 10 years ago

Did you see any error messages during plugin installation? v0.12.0 has some problems with relative plugin paths. Make sure to execute all plugin installation commands from the graylog2-server directory root and probably set an absolute path as plugin_dir in your graylog2.conf.

oba11 commented 10 years ago

Specifying the plugin_dir doesnt seem to have an effect.

I got a temporary fix by moving the downloaded twillo plugin to "transport" directory

joschi commented 10 years ago

I'm closing this issue because of old…