Fehler im Skript mit Unraid Notifications


Thorsten

Recommended Posts

Hi,

 

seid zwei Tagen habe ich ein Probem im Skript beim auslösen von Unraid Notifications die zusätzlich über Telegram und Discord gesendet werden.

 

Im Skript wird die Notification wie folgt ausgelöst:

#Unraid Notice
/usr/local/emhttp/webGui/scripts/notify -e "Unraid Server Notice" -s "Server Backup to USB" -d "Backup started" -i "normal"

 

Im Log sehe ich dann folgende Meldungen:

/boot/config/plugins/dynamix/notifications/agents/._Discord.sh: /boot/config/plugins/dynamix/notifications/agents/._Discord.sh: cannot execute binary file
/boot/config/plugins/dynamix/notifications/agents/._Telegram.sh: /boot/config/plugins/dynamix/notifications/agents/._Telegram.sh: cannot execute binary file

 

Im dem angegeben Pfad liegen auch die Files mit dem Recht "rw" somit fehlt meiner Meinung nach das Recht "x"

root@TheTwist:/boot/config/plugins/dynamix/notifications/agents# ls -ltra
total 96
-rw------- 1 root root  5298 Apr 30 12:02 Discord.sh
-rw------- 1 root root  1023 Apr 30 12:03 Telegram.sh
drwx------ 2 root root 16384 Apr 30 12:03 ./
-rw------- 1 root root  4096 Apr 30  2022 ._Telegram.sh
-rw------- 1 root root  4096 Apr 30  2022 ._Discord.sh
drwx------ 4 root root 16384 Apr 30  2022 ../

 

Allerdings kann ich die Rechte nicht ändern es passiert nix was mich sehr wundert:

root@TheTwist:/boot/config/plugins/dynamix/notifications/agents# chmod 700 *.sh
root@TheTwist:/boot/config/plugins/dynamix/notifications/agents# ls -ltra
total 96
-rw------- 1 root root  5298 Apr 30 12:02 Discord.sh
-rw------- 1 root root  1023 Apr 30 12:03 Telegram.sh
drwx------ 2 root root 16384 Apr 30 12:03 ./
-rw------- 1 root root  4096 Apr 30  2022 ._Telegram.sh
-rw------- 1 root root  4096 Apr 30  2022 ._Discord.sh
drwx------ 4 root root 16384 Apr 30  2022 ../
root@TheTwist:/boot/config/plugins/dynamix/notifications/agents# chmod 0700 *.sh
root@TheTwist:/boot/config/plugins/dynamix/notifications/agents# ls -ltra
total 96
-rw------- 1 root root  5298 Apr 30 12:02 Discord.sh
-rw------- 1 root root  1023 Apr 30 12:03 Telegram.sh
drwx------ 2 root root 16384 Apr 30 12:03 ./
-rw------- 1 root root  4096 Apr 30  2022 ._Telegram.sh
-rw------- 1 root root  4096 Apr 30  2022 ._Discord.sh
drwx------ 4 root root 16384 Apr 30  2022 ../
root@TheTwist:/boot/config/plugins/dynamix/notifications/agents# chmod +x *.sh
root@TheTwist:/boot/config/plugins/dynamix/notifications/agents# ls -ltra
total 96
-rw------- 1 root root  5298 Apr 30 12:02 Discord.sh
-rw------- 1 root root  1023 Apr 30 12:03 Telegram.sh
drwx------ 2 root root 16384 Apr 30 12:03 ./
-rw------- 1 root root  4096 Apr 30  2022 ._Telegram.sh
-rw------- 1 root root  4096 Apr 30  2022 ._Discord.sh
drwx------ 4 root root 16384 Apr 30  2022 ../
root@TheTwist:/boot/config/plugins/dynamix/notifications/agents# chmod 755 *.sh
root@TheTwist:/boot/config/plugins/dynamix/notifications/agents# ls -ltr
total 32
-rw------- 1 root root 5298 Apr 30 12:02 Discord.sh
-rw------- 1 root root 1023 Apr 30 12:03 Telegram.sh

Es bleibt immer bei den gleichen Rechten ... ?????

 

Hat jemand eine Idee ?

Link to comment

Hi Mgutt, 

 

ja das ist richtig. Diese Dateien wurden von irgendwas erzeugt Upgrade Downgrade von Unraid oder was auch immer. Diese Dateien werde aber nicht benötigt. In meine Vorherigen Sicherungen waren diese auch nie enthalten. Nachdem löschen der besagten Dateien funktioniert alles so wie es soll. 

 

Viele Grüße

Thorsten

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.