Git Product home page Git Product logo

Comments (25)

stefanelul2000 avatar stefanelul2000 commented on September 24, 2024 1

veeam-discord-log.txt

This is the latest log.

from veeamdiscordnotifications.

tigattack avatar tigattack commented on September 24, 2024

Hi @stefanelul2000. Once you've attached logs I can take a look into this for you 👍

from veeamdiscordnotifications.

stefanelul2000 avatar stefanelul2000 commented on September 24, 2024

debug.log

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.

stefanelul2000 avatar stefanelul2000 commented on September 24, 2024

debug.log

Another job finished just now. This is the latest log for that job

from veeamdiscordnotifications.

stefanelul2000 avatar stefanelul2000 commented on September 24, 2024

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.

tigattack avatar tigattack commented on September 24, 2024

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.

stefanelul2000 avatar stefanelul2000 commented on September 24, 2024

Yeah, the line matches mine now but it still does not work. I am unsure why.

from veeamdiscordnotifications.

tigattack avatar tigattack commented on September 24, 2024

Do you see anything else in the logs after making that change?

from veeamdiscordnotifications.

stefanelul2000 avatar stefanelul2000 commented on September 24, 2024

The same errors as before. But without the line with the snappin module missing.

from veeamdiscordnotifications.

stefanelul2000 avatar stefanelul2000 commented on September 24, 2024

debug.log

This is another log after that change. Still the same errors as before. I am not really sure what is wrong.

from veeamdiscordnotifications.

tigattack avatar tigattack commented on September 24, 2024

Could you try the following and show me the output?

  1. Open PowerShell on your Veeam server
  2. Run Import-Module Veeam.Backup.PowerShell -Verbose

from veeamdiscordnotifications.

stefanelul2000 avatar stefanelul2000 commented on September 24, 2024

Import-Module-Verbose.txt

I have attached the output of the command.

from veeamdiscordnotifications.

tigattack avatar tigattack commented on September 24, 2024

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.

stefanelul2000 avatar stefanelul2000 commented on September 24, 2024

I have update it with the provided file. I will report as soon as the next job runs.

from veeamdiscordnotifications.

stefanelul2000 avatar stefanelul2000 commented on September 24, 2024

debug.log

I have attached the latest logs.

from veeamdiscordnotifications.

stefanelul2000 avatar stefanelul2000 commented on September 24, 2024

Hello, do you have any update on this?

from veeamdiscordnotifications.

tigattack avatar tigattack commented on September 24, 2024

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.

stefanelul2000 avatar stefanelul2000 commented on September 24, 2024

Ok, sure. Let me know if you have any update.

from veeamdiscordnotifications.

tigattack avatar tigattack commented on September 24, 2024

@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.

stefanelul2000 avatar stefanelul2000 commented on September 24, 2024

@tigattack

I am running on 1.5 I believe with small modifications. The ones mentioned in this ticket.

from veeamdiscordnotifications.

tigattack avatar tigattack commented on September 24, 2024

Great, thanks Stefan.

from veeamdiscordnotifications.

stefanelul2000 avatar stefanelul2000 commented on September 24, 2024

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.

tigattack avatar tigattack commented on September 24, 2024

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.

stefanelul2000 avatar stefanelul2000 commented on September 24, 2024

@tigattack Do you have any update for me?

from veeamdiscordnotifications.

tigattack avatar tigattack commented on September 24, 2024

Hi @stefanelul2000, could you please try the latest release and let me know if the issue persists?

from veeamdiscordnotifications.

Related Issues (13)

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.