RandomNinjaAtk / arr-scripts

Extended Container Scripts - Automation scripts to make life easier!
GNU General Public License v3.0
692 stars 71 forks source link

[BUG] - EXTRAS - PermissionError #303

Open Jorman opened 1 month ago

Jorman commented 1 month ago

Application Radarr

Host platform Docker in debian 12.2

Script Extras.bash

Script Version 1.4

Describe the bug Discovered by accident, it may not be anything compromising, but it is still a error inside the log.

[download]  23.3% of    2.14MiB at   12.34MiB/s ETA 00:00
[download]  46.6% of    2.14MiB at   19.08MiB/s ETA 00:00
[download]  93.3% of    2.14MiB at   27.82MiB/s ETA 00:00
[download] 100.0% of    2.14MiB at   29.09MiB/s ETA 00:00
[download] 100% of    2.14MiB in 00:00:00 at 12.54MiB/s  
[Merger] Merging formats into "/config/extended/temp/L'Esorcismo Ultimo Atto Trailer Ufficiale.mkv"
Deleting original file /config/extended/temp/L'Esorcismo Ultimo Atto Trailer Ufficiale.f248.webm (pass -k to keep)
Deleting original file /config/extended/temp/L'Esorcismo Ultimo Atto Trailer Ufficiale.f251.webm (pass -k to keep)
[EmbedSubtitle] There aren't any subtitles to embed
2024-08-28 22:18:41 :: Extras :: 1.4 :: L'esorcismo - Ultimo atto :: 1 of 1 :: Trailer :: L'Esorcismo - Ultimo Atto | Trailer Ufficiale (EWgZzp5KaSU) :: Compete
Traceback (most recent call last):
  File "/usr/local/sma/manual.py", line 27, in <module>
    log = getLogger("MANUAL")
          ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/sma/resources/log.py", line 131, in getLogger
    checkLoggingConfig(configfile)
  File "/usr/local/sma/resources/log.py", line 105, in checkLoggingConfig
    fp = open(configfile, "w")
         ^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: '/usr/local/sma/config/logging.ini'
2024-08-28 22:18:42 :: Extras :: 1.4 :: L'esorcismo - Ultimo atto :: 1 of 1 :: Trailer :: L'Esorcismo - Ultimo Atto | Trailer Ufficiale :: ERROR :: SMA Processing Error
rm: cannot remove '/data/Multimedia/Film/The Exorcism (2024)/trailers/L'\''Esorcismo Ultimo Atto Trailer Ufficiale.mkv': No such file or directory
2024-08-28 22:18:42 :: Extras :: 1.4 :: L'esorcismo - Ultimo atto :: 1 of 1 :: Trailer :: L'Esorcismo - Ultimo Atto | Trailer Ufficiale :: INFO: deleted: /config/extended/temp/L'Esorcismo Ultimo Atto Trailer Ufficiale.mkv
2024-08-28 22:18:42 :: Extras :: 1.4 :: L'esorcismo - Ultimo atto :: 1 of 1 :: Trailer :: L'Esorcismo - Ultimo Atto | Trailer Ufficiale :: Moving file to final destination
2024-08-28 22:18:42 :: Extras :: 1.4 :: Using PlexNotify.bash to update Plex....

This's the actual configuration

enableAutoConfig="true" # true = enabled :: Enables AutoConfig script to run after startup
enableExtras="true" # true = enabled :: Enables Extras and AutoExtras scripts to run in the background and during import process
enableRecyclarr="true" # true = enabled :: Enables Recyclarr to run
enableQueueCleaner="false" # true = enabled :: Enables QueueCleaner Script that automatically removes stuck downloads that cannot be automatically imported
enableUnmappedFolderCleaner="true" # true = enabled :: Purges any folders that are considered Unmapped in Radarr
enableInvalidMoviesAutoCleaner="false" # true = enabled :: Enables InvalidMoviesAutoCleaner script to run, removes movies that are no longer mapped to TMDB site