Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Fehler im Skript mit Unraid Notifications

Featured Replies

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 ?

  • Author

Habe es gelöst. Die Dateien ._Telegram.sh sowie ._Discord.sh waren überbleibsel vom Downgrade 6.10-rc5 auf 6.9.2 diese werde nicht benötigt und können somit gelöscht werden. Es reicht wenn die Dateien Telegram.sh und Discord.sh vorhanden sind.

 

Viele Grüße

Thorsten

1 hour ago, Thorsten said:
cannot execute binary file

Das heißt, dass die Datei kein Script ist, sondern eine Binärdatei. Eventuell waren diese Dateien also korrupt.

 

  • Author

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

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.