Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Unexpected Application Error #70

Closed
5 tasks done
JHarding86 opened this issue Mar 20, 2025 · 6 comments · Fixed by #76
Closed
5 tasks done

Bug: Unexpected Application Error #70

JHarding86 opened this issue Mar 20, 2025 · 6 comments · Fixed by #76
Labels
bug Something isn't working

Comments

@JHarding86
Copy link

Describe the Bug

In the channels section, when I click the drop down menu for the group filters, an "Unexpected Application Error" occurs. I expect the drop down menu to show a list that I can use to filter by group filter.

Image

Steps to Reproduce

  1. Add an M3U via the M3U files dialog:
  2. Image
  3. Create channels from the streams:
  4. Image
  5. Im not sure if this matters, but my channels are in their own custom stream group:
  6. Image
  7. Click the filter drop down:
  8. Image
  9. Watch it crash:
  10. Image

Stream Master Version

0.0.0.3

Relevant Logs

""2025-03-20 03:14:47","Warning","10400","Microsoft.EntityFrameworkCore.Infrastructure.SensitiveDataLoggingEnabledWarning","Sensitive data logging is enabled. Log entries and exception messages may include sensitive application data; this mode should only be enabled during development.",\n\n"2025-03-20 03:14:48","Error","20102","Microsoft.EntityFrameworkCore.Database.Command.CommandError","Failed executing DbCommand (10ms) [Parameters=[], CommandType=\u0027Text\u0027, CommandTimeout=\u002730\u0027]\nSELECT ""MigrationId"", ""ProductVersion""\nFROM ""__EFMigrationsHistory""\nORDER BY ""MigrationId"";",\n\n"2025-03-20 03:14:49","Warning","35","NoXMLEncryptorConfiguredKeyMayBePersistedToStorageInUnencryptedForm","No XML encryptor configured. Key {eea5d891-9be6-4f0f-9b58-428387b0a509} may be persisted to storage in unencrypted form.",\n\n"2025-03-20 03:14:49","Information","0","","Stream Master is starting.",\n"2025-03-20 03:14:49","Warning","15","","Overriding HTTP_PORTS \u00278080\u0027 and HTTPS_PORTS \u0027\u0027. Binding to values defined by URLS instead \u0027http://0.0.0.0:7095\u0027.",\n"2025-03-20 03:14:49","Information","14","ListeningOnAddress","Now listening on: http://0.0.0.0:7095",\n"2025-03-20 03:14:49","Information","0","","Application started. Press Ctrl\u002BC to shut down.",\n"2025-03-20 03:14:49","Information","0","","Hosting environment: Production",\n"2025-03-20 03:14:49","Information","0","","Content root path: /app",\n"2025-03-20 03:14:49","Information","0","","Current migration: 20250217190832_M3UFileId",\n"2025-03-20 03:14:49","Information","0","","Pending migrations: ",\n"2025-03-20 03:14:49","Information","0","","Executing script: 001_channelgroup_indexes.sql",\n"2025-03-20 03:14:49","Information","0","","Executing script: 002_create_or_update_smstreams_and_channels.sql",\n"2025-03-20 03:14:49","Information","0","","Executing script: 003_delete_sm_channels.sql",\n"2025-03-20 03:14:49","Information","0","","Executing script: 004_epgfile_indexes.sql",\n"2025-03-20 03:14:49","Information","0","","Executing script: 005_get_unique_smchannel_name.sql",\n"2025-03-20 03:14:49","Information","0","","Executing script: 006_smchannel_indexes.sql",\n"2025-03-20 03:14:49","Information","0","","Executing script: 007_smchannelstreamlink_indexes.sql",\n"2025-03-20 03:14:49","Information","0","","Executing script: 008_smstream_indexes.sql",\n"2025-03-20 03:14:49","Information","0","","Executing script: 009_streamgroup_indexes.sql",\n"2025-03-20 03:14:49","Information","0","","Executing script: 010_streamgroupsmchannellink_indexes.sql",\n"2025-03-20 03:14:49","Information","0","","Executing script: 011_update_channel_group_counts.sql",\n"2025-03-20 03:14:49","Information","0","","Executing script: 012_migrate_new_channel_ids.sql",\n"2025-03-20 03:14:49","Information","0","","Added EPGSync to Queue",\n"2025-03-20 03:14:49","Information","0","","Got EPGSync from Queue",\n"2025-03-20 03:14:49","Information","0","","Starting EPGSync",\n"2025-03-20 03:14:49","Information","0","","Added ScanForTvLogos to Queue",\n"2025-03-20 03:14:49","Information","0","","Added ScanDirectoryForEPGFiles to Queue",\n"2025-03-20 03:14:49","Information","0","","Added ScanForCustomPlayLists to Queue",\n"2025-03-20 03:14:49","Information","0","","Starting task: EPGSync",\n"2025-03-20 03:14:49","Information","0","","Added ScanDirectoryForM3UFiles to Queue",\n"2025-03-20 03:14:49","Information","0","","Added CacheChannelLogos to Queue",\n"2025-03-20 03:14:49","Information","0","","Added CacheStreamLogos to Queue",\n"2025-03-20 03:14:49","Information","0","","Added CreateSTRMFiles to Queue",\n"2025-03-20 03:14:49","Information","0","","Finished task: EPGSync",\n"2025-03-20 03:14:49","Information","0","","Finished EPGSync",\n"2025-03-20 03:14:49","Information","0","","Got ScanForTvLogos from Queue",\n"2025-03-20 03:14:49","Information","0","","Starting ScanForTvLogos",\n"2025-03-20 03:14:49","Information","0","","Starting task: ScanForTvLogos",\n"2025-03-20 03:14:49","Information","0","","Finished task: ScanForTvLogos",\n"2025-03-20 03:14:49","Information","0","","Finished ScanForTvLogos",\n"2025-03-20 03:14:49","Information","0","","Got ScanDirectoryForEPGFiles from Queue",\n"2025-03-20 03:14:49","Information","0","","Starting ScanDirectoryForEPGFiles",\n"2025-03-20 03:14:49","Information","0","","Starting task: ScanDirectoryForEPGFiles",\n"2025-03-20 03:14:49","Information","0","","Finished task: ScanDirectoryForEPGFiles",\n"2025-03-20 03:14:49","Information","0","","Finished ScanDirectoryForEPGFiles",\n"2025-03-20 03:14:49","Information","0","","Got ScanForCustomPlayLists from Queue",\n"2025-03-20 03:14:49","Information","0","","Starting ScanForCustomPlayLists",\n"2025-03-20 03:14:49","Information","0","","Starting task: ScanForCustomPlayLists",\n"2025-03-20 03:14:49","Information","0","","Bulk update 0 channels in 0ms.",\n"2025-03-20 03:14:49","Information","0","","Total elapsed time: 44ms.",\n"2025-03-20 03:14:49","Information","0","","Finished task: ScanForCustomPlayLists",\n"2025-03-20 03:14:49","Information","0","","Finished ScanForCustomPlayLists",\n"2025-03-20 03:14:49","Information","0","","Got ScanDirectoryForM3UFiles from Queue",\n"2025-03-20 03:14:49","Information","0","","Starting ScanDirectoryForM3UFiles",\n"2025-03-20 03:14:49","Information","0","","Starting task: ScanDirectoryForM3UFiles",\n"2025-03-20 03:14:49","Information","0","","Finished task: ScanDirectoryForM3UFiles",\n"2025-03-20 03:14:49","Information","0","","Finished ScanDirectoryForM3UFiles",\n"2025-03-20 03:14:49","Information","0","","Got CacheChannelLogos from Queue",\n"2025-03-20 03:14:49","Information","0","","Starting CacheChannelLogos",\n"2025-03-20 03:14:49","Information","0","","Starting task: CacheChannelLogos",\n"2025-03-20 03:14:49","Information","0","","Finished task: CacheChannelLogos",\n"2025-03-20 03:14:49","Information","0","","Finished CacheChannelLogos",\n"2025-03-20 03:14:49","Information","0","","Got CacheStreamLogos from Queue",\n"2025-03-20 03:14:49","Information","0","","Starting CacheStreamLogos",\n"2025-03-20 03:14:49","Information","0","","Starting task: CacheStreamLogos",\n"2025-03-20 03:14:49","Information","0","","Finished task: CacheStreamLogos",\n"2025-03-20 03:14:49","Information","0","","Finished CacheStreamLogos",\n"2025-03-20 03:14:49","Information","0","","Got CreateSTRMFiles from Queue",\n"2025-03-20 03:14:49","Information","0","","Starting CreateSTRMFiles",\n"2025-03-20 03:14:49","Information","0","","Starting task: CreateSTRMFiles",\n"2025-03-20 03:14:49","Information","0","","Finished task: CreateSTRMFiles",\n"2025-03-20 03:14:49","Information","0","","Finished CreateSTRMFiles",\n"2025-03-20 03:14:49","Information","0","","Added CacheEPGChannelLogos to Queue",\n"2025-03-20 03:14:49","Information","0","","Got CacheEPGChannelLogos from Queue",\n"2025-03-20 03:14:49","Information","0","","Starting CacheEPGChannelLogos",\n"2025-03-20 03:14:49","Information","0","","Starting task: CacheEPGChannelLogos",\n"2025-03-20 03:14:49","Information","0","","Finished task: CacheEPGChannelLogos",\n"2025-03-20 03:14:49","Information","0","","Finished CacheEPGChannelLogos",\n"2025-03-20 03:14:49","Information","0","","Added SetIsSystemReady to Queue",\n"2025-03-20 03:14:49","Information","0","","Got SetIsSystemReady from Queue",\n"2025-03-20 03:14:49","Information","0","","Starting SetIsSystemReady",\n"2025-03-20 03:14:49","Information","0","","Starting task: SetIsSystemReady",\n"2025-03-20 03:14:49","Information","0","","System build 0.11.3",\n"2025-03-20 03:14:49","Information","0","","Finished task: SetIsSystemReady",\n"2025-03-20 03:14:49","Information","0","","Finished SetIsSystemReady",\n\n"2025-03-20 03:15:32","Information","0","","Adding M3U \u00274klive\u0027",\n\n"2025-03-20 03:15:32","Information","0","","Adding M3U \u00274klive\u0027",\n"2025-03-20 03:15:32","Information","0","","Reading m3uFile 4klive",\n"2025-03-20 03:15:32","Information","0","","Added ProcessM3UFile to Queue",\n"2025-03-20 03:15:32","Information","0","","Got ProcessM3UFile from Queue",\n"2025-03-20 03:15:32","Information","0","","Starting ProcessM3UFile",\n"2025-03-20 03:15:32","Information","0","","Starting task: ProcessM3UFile",\n"2025-03-20 03:15:32","Information","0","","M3U \u00274klive\u0027 added successfully",\n"2025-03-20 03:15:32","Information","0","","Reading m3uFile 4klive",\n"2025-03-20 03:15:32","Information","0","","Processed 0/0 streams in 0ms at 0 streams/sec",\n"2025-03-20 03:15:32","Information","0","","Processed 80 streams in 26ms",\n"2025-03-20 03:15:32","Information","0","","Processed 4klive : 80 total streams in file, removed 0 missing steams and ignored 1 duplicate streams",\n"2025-03-20 03:15:32","Information","0","","80 total streams in file 
removed 0 missing steams and ignored 1 duplicate streams",\n"2025-03-20 03:15:32","Information","0","","Updated M3UFile with ID: 1.",\n"2025-03-20 03:15:32","Information","0","","Updating channel groups took 0.0032559 seconds",\n"2025-03-20 03:15:32","Information","0","","Updated M3UFile with ID: 1.",\n"2025-03-20 03:15:32","Information","0","","ProcessM3UFile 4klive took 71ms",\n"2025-03-20 03:15:32","Information","0","","Added CreateSTRMFiles to Queue",\n"2025-03-20 03:15:32","Information","0","","Processed M3U \u00274klive\u0027 successfully",\n"2025-03-20 03:15:32","Information","0","","Finished task: ProcessM3UFile",\n"2025-03-20 03:15:32","Information","0","","Finished ProcessM3UFile",\n"2025-03-20 03:15:32","Information","0","","Got CreateSTRMFiles from Queue",\n"2025-03-20 03:15:32","Information","0","","Starting CreateSTRMFiles",\n"2025-03-20 03:15:32","Information","0","","Starting task: CreateSTRMFiles",\n"2025-03-20 03:15:32","Information","0","","Finished task: CreateSTRMFiles",\n"2025-03-20 03:15:32","Information","0","","Finished CreateSTRMFiles",\n\n"2025-03-20 03:15:49","Information","0","","Added EPGRemovedExpiredKeys to Queue",\n"2025-03-20 03:15:49","Information","0","","Got EPGRemovedExpiredKeys from Queue",\n\n"2025-03-20 03:15:49","Information","0","","Starting EPGRemovedExpiredKeys",\n"2025-03-20 03:15:49","Information","0","","Starting task: EPGRemovedExpiredKeys",\n"2025-03-20 03:15:49","Information","0","","Finished task: EPGRemovedExpiredKeys",\n"2025-03-20 03:15:49","Information","0","","Finished EPGRemovedExpiredKeys",\n\n"2025-03-20 03:15:53","Information","0","","Stream Group \u00274klive\u0027 added successfully",\n\n"2025-03-20 03:15:59","Information","0","","Add StreamGroup 80 channels have been processed in 20ms.",\n\n"2025-03-20 03:16:00","Information","0","","BulkUpdate 80 channels have been processed in 41ms.",\n"2025-03-20 03:16:00","Information","0","","80 channels have been added in 199ms.",\n"2025-03-20 03:16:00","Information","0","","Bulk update 0 channels in 1ms.",\n"2025-03-20 03:16:00","Information","0","","Total elapsed time: 202ms.",\n\n"2025-03-20 03:16:11","Information","0","","Auto Set #s For Channels",\n\n"

Relevant Configuration

I have tried clearing my cache in y browser.
I have tried clearing my config directory to start from scratch.

My Docker Configuration:

#!/bin/sh

docker pull ghcr.io/carlreid/streammaster:latest
docker stop smCarl
docker rm smCarl

docker run -d \
  --name=smCarl \
  -e PUID=1000 \
  -e PGID=1000 \
  -e POSTGRES_USER=postgres \
  -e POSTGRES_PASSWORD=sm123 \
  -e PGDATA=/config/DB \
  -e POSTGRES_HOST=127.0.0.1 \
  -e POSTGRES_DB=StreamMaster \
  -e BACKUP_VERSIONS_TO_KEEP=5 \
  -p 7095:7095 \
  -p 7096:7096 \
  -v /home/james/smCarl/config:/config \
  -v /home/james/smCarl/tv-logos:/config/tv-logos \
  --dns 1.1.1.1 \
  --restart unless-stopped \
  ghcr.io/carlreid/streammaster:latest

Verification

  • I have included COMPLETE logs, not just error messages
  • I have provided detailed reproduction steps
  • I have checked for similar issues before creating this report
  • I have tried the latest release to see if the issue has already been fixed
  • I understand that incomplete reports may be closed without investigation
@JHarding86 JHarding86 added the bug Something isn't working label Mar 20, 2025
@carlreid
Copy link
Owner

Thanks for the detailed report. I'm don't seem to be having much luck reproducing this, though I have just made a new PR relating also to a similar UI error popping up.

As such, could you possibly test if the changes in the PR also resolve your issue here? If not, let me know and I can try to debug the issue further. You can test it by pulling the image ghcr.io/carlreid/streammaster:pr-67. If you read this right away, please wait for the build to finish before pulling.

@carlreid
Copy link
Owner

Sorry I made a mistake, I mean ghcr.io/carlreid/streammaster:pr-71, if you would be willing to try that (#71).

@JHarding86
Copy link
Author

I just tried pr-71. Sadly it did not fix this issue for me. I cleared my config directory (started from scratch) and I still have the same issue.

@JHarding86
Copy link
Author

I thought it might be a browser related issue. I tried in firefox and chrome. Looks like two different errors in the two different browsers.

Firefox Error:

Image

Chrome Error:

Image

@carlreid
Copy link
Owner

Thanks for trying it out. I'll have a look into it at some point.

Definitely strange that you encounter two different kinds of errors in different browsers.

@carlreid
Copy link
Owner

I believe the latest release should resolve this for you. If not just ping me here again and I can try look into it further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants