Comments (25)
This is the latest log.
from veeamdiscordnotifications.
Hi @stefanelul2000. Once you've attached logs I can take a look into this for you 👍
from veeamdiscordnotifications.
I have attached the logs. Hopefully they are the right ones as they do not mention from what Veeam backup job they origiate,
from veeamdiscordnotifications.
Another job finished just now. This is the latest log for that job
from veeamdiscordnotifications.
I saw something in the logs. Line 56 in file "DiscordVeeamAlertSender.ps1" needs to be changed to "Import-Module Veeam.Backup.PowerShell"
Issue is similar to #17
Edit: That didn't do anything.
Another important thing to point out is this
"WARNING: This cmdlet is no longer supported for computer backup jobs. Use "Get-VBRComputerBackupJob" instead.
You cannot call a method on a null-valued expression."
from veeamdiscordnotifications.
Didn't see your update; good thing to sort anyway though. Thought I sorted that one!
So does this line match yours then? DiscordVeeamAlertSender.ps1#L56
Do you see anything else in the logs after making that change?
I'm aware of the warning, thanks. A lot of this needs a rewrite, I'm just quite short of time. Progress is happening, just quite slowly 😄
from veeamdiscordnotifications.
Yeah, the line matches mine now but it still does not work. I am unsure why.
from veeamdiscordnotifications.
Do you see anything else in the logs after making that change?
from veeamdiscordnotifications.
The same errors as before. But without the line with the snappin module missing.
from veeamdiscordnotifications.
This is another log after that change. Still the same errors as before. I am not really sure what is wrong.
from veeamdiscordnotifications.
Could you try the following and show me the output?
- Open PowerShell on your Veeam server
- Run
Import-Module Veeam.Backup.PowerShell -Verbose
from veeamdiscordnotifications.
I have attached the output of the command.
from veeamdiscordnotifications.
Please try replacing your DiscordNotificationBootstrap.ps1 with this (make sure the filename isn't changed). Trigger a job and please attach the new debug.log once the script has run.
It seems it's failing to get the session information but this should confirm it.
If that's the case, I'm currently not sure why that would fail, but once it's confirmed I'll see if I can work out what's happening.
from veeamdiscordnotifications.
I have update it with the provided file. I will report as soon as the next job runs.
from veeamdiscordnotifications.
I have attached the latest logs.
from veeamdiscordnotifications.
Hello, do you have any update on this?
from veeamdiscordnotifications.
Apologies, I've been quite busy lately. I'm hoping to look into this some more ASAP as I'm currently unsure why it's failing.
from veeamdiscordnotifications.
Ok, sure. Let me know if you have any update.
from veeamdiscordnotifications.
@stefanelul2000 Apologies for the delay, life has been very busy, but I haven't forgotten about this.
A collaborator and I are investigating the issue and I realised I've not actually confirmed which version you're running.
Are you running the latest release or have you cloned one of the branches?
from veeamdiscordnotifications.
I am running on 1.5 I believe with small modifications. The ones mentioned in this ticket.
from veeamdiscordnotifications.
Great, thanks Stefan.
from veeamdiscordnotifications.
I have also checked, since 12.06.2021 There haven't been any notifications sent to my discord even thought the script is still enabled on the veeam server.
from veeamdiscordnotifications.
Ah, that's very useful actually, seems it's failing to get job and session details. Thanks.
I'll spend some more time on this this weekend and hopefully have something for you to try.
from veeamdiscordnotifications.
@tigattack Do you have any update for me?
from veeamdiscordnotifications.
Hi @stefanelul2000, could you please try the latest release and let me know if the issue persists?
from veeamdiscordnotifications.
Related Issues (13)
- Reduce fields when job status is fail
- Add Time of Completion to notification HOT 1
- Add option(s) for custom content.
- [FEAT] Query on use of "mention_on_fail" HOT 5
- Add docs for conf.json options
- Failure detection in the update script. HOT 1
- Improve duration field in backup report.
- Move notification process to own module.
- Error detection in the alert sender script. HOT 1
- Improve logging
- Generate HTML report with additional info.
- Add compatibility for Veeam Agent. HOT 2
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 veeamdiscordnotifications.