Comments (22)
Not at all, we need to update the documentation.
You can find the plugin there.
from xo.
Perfect, thank you - and the idea is to install those globally, i.e.: npm install --global xo-server-transport-email?
from xo.
If your xo-server is also installed globally, otherwise, clone the repository and build the project yourself in xo-server's node_modules/
.
from xo.
I installed it in my xo-server and after npm install xo-server-transport-email in that directory I can see it under node_modules, however the server does not list it under plugins. Anything else than restarting the server? Rebuilding it?
from xo.
Adding the plugin, as explained in the doc: https://xen-orchestra.com/docs/backups.html#email-notifications (last line)
from xo.
Is any plugin configuration needed? I get an error when configuring the plugin:
| plugin.load(...) [12ms] =!> InvalidParameters: invalid parameter(s)
from xo.
error message in GUI
from xo.
Do you have any error in the browser console?
from xo.
Yes, sorry I forgot to check that:
Error for plugin.load: JsonRpcError {code: -32602, data: "plugin not configured", message: "invalid parameter(s)", name: "JsonRpcError", stack: "JsonRpcError: invalid parameter(s)↵ at JsonRpcS…:20680)↵ at https://xen.serveraddress/app.js:31:22388"…}__stackCleaned__: truecode: -32602data: "plugin not configured"isOperational: truemessage: "invalid parameter(s)"name: "JsonRpcError"stack: "JsonRpcError: invalid parameter(s)↵ at JsonRpcServer.<anonymous> (https://xen.serveraddress/app.js:72:1549)↵ at JsonRpcServer._write (https://xen.serveraddress/app.js:72:519)↵ at doWrite (https://xen.serveraddress/app.js:68:27050)↵ at writeOrBuffer (https://xen.serveraddress/app.js:68:26822)↵ at JsonRpcServer.Writable.write (https://xen.serveraddress/app.js:68:29990)↵ at WebSocket.<anonymous> (https://xen.serveraddress/app.js:71:27413)↵From previous event:↵ at JsonRpcServer.<anonymous> (https://xen.serveraddress/app.js:72:2005)↵From previous event:↵ at https://xen.serveraddress/app.js:71:27777↵From previous event:↵ at Api.call (https://xen.serveraddress/app.js:71:27746)↵ at Xo.<anonymous> (https://xen.serveraddress/app.js:72:24578)↵ at Scope.$eval (https://xen.serveraddress/app.js:28:5228)↵ at Scope.$digest (https://xen.serveraddress/app.js:28:3042)↵ at Scope.$apply (https://xen.serveraddress/app.js:28:5646)↵ at $$debounceViewValueCommit (https://xen.serveraddress/app.js:31:22365)↵ at $setViewValue (https://xen.serveraddress/app.js:31:21821)↵ at HTMLInputElement.listener (https://xen.serveraddress/app.js:29:9081)↵ at HTMLInputElement.jQuery.event.dispatch (https://xen.serveraddress/app.js:56:11101)↵ at HTMLInputElement.elemData.handle (https://xen.serveraddress/app.js:56:5931)↵From previous event:↵ at Xo.call (https://xen.serveraddress/app.js:72:24545)↵ at Object.defineProperties.call (https://xen.serveraddress/app.js:12:29849)↵ at Object.load (https://xen.serveraddress/app.js:14:7086)↵ at _execPluginMethod (https://xen.serveraddress/app.js:7:18936)↵ at toggleLoad (https://xen.serveraddress/app.js:7:19792)↵ at fn (eval at <anonymous> (https://xen.serveraddress/app.js:30:14292), <anonymous>:4:316)↵ at Scope.$eval (https://xen.serveraddress/app.js:28:5228)↵ at https://xen.serveraddress/app.js:31:10910↵ at https://xen.serveraddress/app.js:31:21657↵ at forEach (https://xen.serveraddress/app.js:24:1084)↵ at $$writeModelToScope (https://xen.serveraddress/app.js:31:21600)↵ at writeToModelIfNeeded (https://xen.serveraddress/app.js:31:20810)↵ at https://xen.serveraddress/app.js:31:21501↵ at validationDone (https://xen.serveraddress/app.js:31:20212)↵ at processAsyncValidators (https://xen.serveraddress/app.js:31:19998)↵ at $$runValidators (https://xen.serveraddress/app.js:31:20366)↵ at $$parseAndValidate (https://xen.serveraddress/app.js:31:21363)↵ at $commitViewValue (https://xen.serveraddress/app.js:31:20680)↵ at https://xen.serveraddress/app.js:31:22388"__proto__: JsonRpcError(anonymous function) @ app.js:14tryCatcher @ app.js:37Promise._settlePromiseFromHandler @ app.js:35Promise._settlePromiseAt @ app.js:35Promise._settlePromises @ app.js:36(anonymous function) @ app.js:34Scope.$eval @ app.js:28Scope.$digest @ app.js:28(anonymous function) @ app.js:28completeOutstandingRequest @ app.js:25(anonymous function) @ app.js:25
app.js:34 Unhandled rejection JsonRpcError: invalid parameter(s)
at JsonRpcServer.<anonymous> (https://xen.serveraddress/app.js:72:1549)
at JsonRpcServer._write (https://xen.serveraddress/app.js:72:519)
at doWrite (https://xen.serveraddress/app.js:68:27050)
at writeOrBuffer (https://xen.serveraddress/app.js:68:26822)
at JsonRpcServer.Writable.write (https://xen.serveraddress/app.js:68:29990)
at WebSocket.<anonymous> (https://xen.serveraddress/app.js:71:27413)
From previous event:
at JsonRpcServer.<anonymous> (https://xen.serveraddress/app.js:72:2005)
From previous event:
at https://xen.serveraddress/app.js:71:27777
From previous event:
at Api.call (https://xen.serveraddress/app.js:71:27746)
at Xo.<anonymous> (https://xen.serveraddress/app.js:72:24578)
at Scope.$eval (https://xen.serveraddress/app.js:28:5228)
at Scope.$digest (https://xen.serveraddress/app.js:28:3042)
at Scope.$apply (https://xen.serveraddress/app.js:28:5646)
at $$debounceViewValueCommit (https://xen.serveraddress/app.js:31:22365)
at $setViewValue (https://xen.serveraddress/app.js:31:21821)
at HTMLInputElement.listener (https://xen.serveraddress/app.js:29:9081)
at HTMLInputElement.jQuery.event.dispatch (https://xen.serveraddress/app.js:56:11101)
at HTMLInputElement.elemData.handle (https://xen.serveraddress/app.js:56:5931)
From previous event:
at Xo.call (https://xen.serveraddress/app.js:72:24545)
at Object.defineProperties.call (https://xen.serveraddress/app.js:12:29849)
at Object.load (https://xen.serveraddress/app.js:14:7086)
at _execPluginMethod (https://xen.serveraddress/app.js:7:18936)
at toggleLoad (https://xen.serveraddress/app.js:7:19792)
at fn (eval at <anonymous> (https://xen.serveraddress/app.js:30:14292), <anonymous>:4:316)
at Scope.$eval (https://xen.serveraddress/app.js:28:5228)
at https://xen.serveraddress/app.js:31:10910
at https://xen.serveraddress/app.js:31:21657
at forEach (https://xen.serveraddress/app.js:24:1084)
at $$writeModelToScope (https://xen.serveraddress/app.js:31:21600)
at writeToModelIfNeeded (https://xen.serveraddress/app.js:31:20810)
at https://xen.serveraddress/app.js:31:21501
at validationDone (https://xen.serveraddress/app.js:31:20212)
at processAsyncValidators (https://xen.serveraddress/app.js:31:19998)
at $$runValidators (https://xen.serveraddress/app.js:31:20366)
at $$parseAndValidate (https://xen.serveraddress/app.js:31:21363)
at $commitViewValue (https://xen.serveraddress/app.js:31:20680)
at https://xen.serveraddress/app.js:31:22388
from xo.
Did you configure the plugin from the plugins page (Main menu > Settings > Plugins)?
from xo.
Yes, when I try to save the configuration I get the same "invalid parameter(s)" error.
from xo.
Don't you have more information about the error in the browser console?
from xo.
I did put a password into the field...
from xo.
Looking into it, thanks for the info.
from xo.
Can you check that you are using the latest version of xo-server-transport-email?
Because the password field is now named transport.password
, not transport.pass
.
from xo.
I did npm install xo-server-transport-email@latest in xo-server folder but still get the same error.
from xo.
vatesfr/xo-server-transport-email@master...Phlogi:patch-1
from xo.
Thank you!
from xo.
Published as xo-server-tranport-email 0.0.2.
from xo.
Perfect!
from xo.
Works!
from xo.
Thanks for your fix @Phlogi !
from xo.
Related Issues (20)
- installation does not work on debian 9 HOT 3
- Manual install instructions error HOT 13
- Better repos organisation HOT 6
- Local SR vdisk HOT 6
- Update docs to use n-install HOT 1
- VM Network Questions HOT 1
- Multiple backup processes can spawn for the same job HOT 12
- Container Base HOT 1
- MAC address not preserved on VM restore. HOT 1
- Option to show performance data on console page HOT 1
- After Login get directly logged out HOT 8
- Clarify how authentication providers work HOT 2
- xo-server 5.2.0 Testing results. HOT 1
- Front-end with problem HOT 1
- Add a Virtual Machine Tab to Host Information HOT 2
- Jobs vm.revert no Snapshot ID selectable on UI HOT 1
- [doc] Use XO to install Docker plugin
- Error: Command failed: losetup -D in LVM paritions HOT 2
- Broken link
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xo.