After much troubleshooting, I’ve found that the provided plex-auto-languages container is broken on TN Scale 24.10.2. I can run the app via stand-alone run command in the CLI and by building a custom app in the GUI, but the pre-built store app does not work properly.
I’ve opened a GitHub issue with the app creator and more details can be found here:
opened 01:29PM - 06 Feb 25 UTC
bug
### Is there an existing issue for this?
- [x] I have searched for existing iss… ues
### Current Behavior
I'm trying to set up the TrueNAS Application and the container keeps restarting itself.
I've copied a new YAML Config Template and applied appropriate permissions and grabbed a new claim code from my Plex server.
The container looks like it starts but then times out and restarts. Debug below.
NOTE: I do have a very large library. Around 20TB.
### Expected Behavior
Container to start and see different outputs.
### Steps To Reproduce
_No response_
### Environment
```markdown
- OS: TrueNAS SCALE 24.10.2
- Plex Auto Languages Version: 1.3.2
- Plex Version: 1.41.3.9314-a0bfb8370
- Docker Install:
Client: Docker Engine - Community
Version: 27.1.1
API version: 1.46
Go version: go1.21.12
Git commit: 6312585
Built: Tue Jul 23 19:57:19 2024
OS/Arch: linux/amd64
Context: default
Server: Docker Engine - Community
Engine:
Version: 27.1.1
API version: 1.46 (minimum version 1.24)
Go version: go1.21.12
Git commit: cc13f95
Built: Tue Jul 23 19:57:19 2024
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.7.19
GitCommit: 2bf793ef6dc9a18e00cb12efb64355c2c9d5eb41
nvidia:
Version: 1.7.19
GitCommit: v1.1.13-0-g58aa920
docker-init:
Version: 0.19.0
GitCommit: de40ad0
```
- Other Information:
Configuration.yaml:
```
plexautolanguages:
# Update language for the entire show or only for the current season
# Accepted values:
# - show (default)
# - season
update_level: "show"
# Update all episodes of the show/season or only the next ones
# Accepted values:
# - all
# - next (default)
update_strategy: "all"
# Whether or not playing a file should trigger a language update, defaults to 'true'
trigger_on_play: true
# Whether or not scanning the library for new files should trigger a language update, defaults to 'true'
# A newly added episode will be updated based on the most recently watched episode, or the first episode of the show if it has never been watched
trigger_on_scan: true
# Whether or not navigating the Plex library should trigger a language update, defaults to 'false'
# Only the Plex web client and the Plex for Windows app support this feature
# Set this to 'true' only if you want to perform changes whenever the default track of an episode is updated, even when the episode is not played.
# Setting this parameter to 'true' can result in higher resource usage.
trigger_on_activity: false
# Whether or not to refresh the cached library whenever the Plex server scans its own library, defaults to 'true'
# Disabling this parameter will prevent PlexAutoLanguages from detecting updated files for an already existing episode
# It is recommended to disable this parameter if you have a large TV Show library (10k+ episodes)
refresh_library_on_scan: false
# PlexAutoLanguages will ignore shows with any of the following Plex labels
#ignore_labels:
# - PAL_IGNORE
# Plex configuration - provided during container creation as environment variable through TrueNAS GUI
#plex:
# # A valid Plex URL (required)
# url: ""
# A valid Plex Token (required)
# token: ""
scheduler:
# Whether of not to enable the scheduler, defaults to 'true'
# The scheduler will perform a deeper analysis of all recently played TV Shows
enable: true
# The time at which the scheduler start its task with the format 'HH:MM', defaults to '02:00'
schedule_time: "23:30"
notifications:
# Whether or not to enable the notifications through Apprise, defaults to 'false'
# A notification is sent whenever a language change is performed
enable: true
# An array of Apprise configurations, see Apprise docs for more information: https://github.com/caronc/apprise
# The array 'users' can be specified in order to link notification URLs with specific users
# Defaults to all users if not present
# The array 'events' can be specified in order to get notifications only for specific events
# Valid event values: "play_or_activity" "new_episode" "updated_episode" "scheduler"
# Defaults to all events if not present
apprise_configs:
# This URL will be notified of all changes during all events
#- "discord://webhook_id/webhook_token"
- "apprise://REDACTED/apprise?tags=all"
# These URLs will only be notified of language change for users "MyUser1" and "MyUser2"
#- urls:
# - "gotify://hostname/token"
# - "pover://user@token"
# users:
# - "MyUser1"
# - "MyUser2"
# This URL will only be notified of language change for user "MyUser3" during play or activity events
#- urls:
# - "tgram://bottoken/ChatID"
# users:
# - "MyUser3"
# events:
# - "play_or_activity"
# This URL will be notified of language change during scheduler tasks only
#- urls:
# - "gotify://hostname/token"
# events:
# - "scheduler"
#- "..."
# Path where the system and cache files are written, defaults to a standard OS specific path if left empty (recommended)
data_path: ""
# Whether or not to enable the debug mode, defaults to 'false'
# Enabling debug mode will significantly increase the number of output logs
debug: true
```
### Logs
```
2025-02-06 13:23:08.847583+00:00[38;21m2025-02-06 08:23:08,841 [DEBUG] Debug mode enabled[0m
2025-02-06 13:23:09.092265+00:00[38;5;39m2025-02-06 08:23:09,092 [INFO] Starting scheduler[0m
2025-02-06 13:23:09.092486+00:00[38;5;39m2025-02-06 08:23:09,092 [INFO] Starting initialization phase[0m
2025-02-06 13:23:09.636397+00:00[38;5;39m2025-02-06 08:23:09,636 [INFO] Successfully connected as user 'REDACTED' (id: 1)[0m
2025-02-06 13:23:09.636486+00:00[38;5;39m2025-02-06 08:23:09,636 [INFO] Scanning all episodes from the Plex library, this action should only take a few seconds but can take several minutes for larger libraries[0m
2025-02-06 13:23:09.636508+00:00[38;21m2025-02-06 08:23:09,636 [DEBUG] [Cache] Refreshing library cache[0m
2025-02-06 13:23:12.428541+00:00[38;21m2025-02-06 08:23:12,428 [DEBUG] Application is currently initializing[0m
2025-02-06 13:23:22.552653+00:00[38;21m2025-02-06 08:23:22,552 [DEBUG] Application is currently initializing[0m
2025-02-06 13:23:32.682157+00:00[38;21m2025-02-06 08:23:32,681 [DEBUG] Application is currently initializing[0m
2025-02-06 13:23:40.276198+00:00[38;5;39m2025-02-06 08:23:40,275 [INFO] Starting Plex Auto Languages - Version 1.3.2[0m
2025-02-06 13:23:40.278509+00:00[38;5;39m2025-02-06 08:23:40,278 [INFO] Parsing config file '/config/config.yaml'[0m
2025-02-06 13:23:40.282097+00:00[38;5;39m2025-02-06 08:23:40,281 [INFO] Setting value of parameter PLEX_URL from environment variable[0m
2025-02-06 13:23:40.282159+00:00[38;5;39m2025-02-06 08:23:40,281 [INFO] Setting value of parameter PLEX_TOKEN from environment variable[0m
2025-02-06 13:23:40.282352+00:00[38;5;39m2025-02-06 08:23:40,282 [INFO] The provided configuration has been successfully validated[0m
2025-02-06 13:23:40.282480+00:00[38;21m2025-02-06 08:23:40,282 [DEBUG] Debug mode enabled[0m
2025-02-06 13:23:40.438069+00:00[38;5;39m2025-02-06 08:23:40,437 [INFO] Starting scheduler[0m
2025-02-06 13:23:40.438146+00:00[38;5;39m2025-02-06 08:23:40,437 [INFO] Starting initialization phase[0m
2025-02-06 13:23:40.964290+00:00[38;5;39m2025-02-06 08:23:40,964 [INFO] Successfully connected as user 'REDACTED' (id: 1)[0m
2025-02-06 13:23:40.964431+00:00[38;5;39m2025-02-06 08:23:40,964 [INFO] Scanning all episodes from the Plex library, this action should only take a few seconds but can take several minutes for larger libraries[0m
2025-02-06 13:23:40.964487+00:00[38;21m2025-02-06 08:23:40,964 [DEBUG] [Cache] Refreshing library cache[0m
2025-02-06 13:23:44.131226+00:00[38;21m2025-02-06 08:23:44,130 [DEBUG] Application is currently initializing[0m
2025-02-06 13:23:54.224478+00:00[38;21m2025-02-06 08:23:54,224 [DEBUG] Application is currently initializing[0m
```
### Additional Information
_No response_
Additionally, the TrueNAS Community Apps page links to the wrong version:
The link provided goes to:
Automated language selection for Plex TV Shows !
When the version available on the Community App store from the App GUI is:
Automated language selection for Plex TV Shows !
DjP-iX
February 25, 2025, 9:14pm
2
Thanks @Maximilious . If you suspect a bug with the app in the TrueNAS catalog, you can submit an issue directly to truenas/apps .
And for the documentation issue, I’ll take care of updating that link, but for future reference you can either use the Edit Page link to propose changes yourself or click the Feedback button to submit a docs issue.
1 Like