Closed azumukupoe closed 3 years ago
Hi, I don't use containers, so for me is not so easy do a fix, but if you can post some logs I can try to understand what block the script. My first idea is that script can't write the files that it needs to work, but I need to see some log to help.
Sure
2021-3-7 02:43:15.3|Error|AddqBittorrentTrackers.sh|/downloads/AddqBittorrentTrackers.sh: line 45: /root/TorrentTrackersList: Permission denied
2021-3-7 02:43:15.3|Error|AddqBittorrentTrackers.sh|sed: can't read /root/TorrentTrackersList: Permission denied
2021-3-7 02:43:15.3|Error|AddqBittorrentTrackers.sh|cat: /root/TorrentTrackersList: Permission denied
2021-3-7 02:43:15.3|Error|AddqBittorrentTrackers.sh|grep: /root/TorrentTrackersList: Permission denied
Okay, good first guess. I'll try some
Can you try the commit push and tell me if is working? If not please post the log files
J
same here use docker. I have tried new commit, no luck :(
Same
2021-3-7 09:14:34.2|Error|AddqBittorrentTrackers.sh|/downloads/AddqBittorrentTrackers.sh: line 18: /root/TorrentTrackersList: Permission denied
2021-3-7 09:14:44.8|Error|AddqBittorrentTrackers.sh|/downloads/AddqBittorrentTrackers.sh: line 50: /downloads: Is a directory
2021-3-7 09:14:44.8|Error|AddqBittorrentTrackers.sh|sed: couldn't edit /downloads: not a regular file
2021-3-7 09:14:44.8|Error|AddqBittorrentTrackers.sh|cat: /downloads: Is a directory
2021-3-7 09:14:44.8|Error|AddqBittorrentTrackers.sh|grep: /downloads: Is a directory
sorry I just found out my script file did not store at $HOME path After I sort that out, It worked.
Same
2021-3-7 09:14:34.2|Error|AddqBittorrentTrackers.sh|/downloads/AddqBittorrentTrackers.sh: line 18: /root/TorrentTrackersList: Permission denied 2021-3-7 09:14:44.8|Error|AddqBittorrentTrackers.sh|/downloads/AddqBittorrentTrackers.sh: line 50: /downloads: Is a directory 2021-3-7 09:14:44.8|Error|AddqBittorrentTrackers.sh|sed: couldn't edit /downloads: not a regular file 2021-3-7 09:14:44.8|Error|AddqBittorrentTrackers.sh|cat: /downloads: Is a directory 2021-3-7 09:14:44.8|Error|AddqBittorrentTrackers.sh|grep: /downloads: Is a directory
try to use an absolute path I used "/media/download/TorrentTrackersList" instead of "$HOME/TorrentTrackersList"
/media is my docker volume mount point
Okay, the easiest thing to do is to specify a custom path. I added an option in the configuration -> custom_save_path If set the file will be saved on that location, otherwise on home directory.
Let me know if this can bypass this problem
It works! Thank you!
I can run the script within Radarr/Sonarr's containers but it doesn't work as a custom script in both applications