kmartinka 3 Posted November 28, 2024 Posted November 28, 2024 (edited) Hello, I am trying to determine the problem with Live TV guide on the Roku Emby app. I am running Roku Emby client version 4.1.26. I have attached the log file and can see entries in the log that could be related to the problem with the path that the Emby client is trying to access. The IP address for the Emby server is still valid. If the path is invalid, how can this be fixed? Please let me know if you need additional info. Thanks again for the help. 2024-11-28 07:07:28.650 Info Server: http/1.1 Response 500 to host4. Time: 264ms. GET http://192.168.1.184:8096/emby/LiveTv/Channels?userId=415f3717572e463db743b78255fc1726&SortBy=Number&sortOrder=Ascending&tagIds=&Limit=1500 2024-11-28 07:07:30.719 Info Server: http/1.1 Response 404 to host4. Time: 0ms. GET http://192.168.1.184:8096/emby/Items//Images/Backdrop/0?EnableImageEnhancers=true&maxwidth=1280&maxHeight=1080&quality=90 2024-11-28 07:07:31.451 Info Server: http/1.1 Response 404 to host4. Time: 0ms. GET http://192.168.1.184:8096/emby/Items//Images/Backdrop/0?EnableImageEnhancers=true&maxwidth=1280&maxHeight=1080&quality=90 embyserver.txt Edited November 28, 2024 by kmartinka
ebr 16169 Posted November 28, 2024 Posted November 28, 2024 Hi. Exactly what problem are you experiencing?
kmartinka 3 Posted November 28, 2024 Author Posted November 28, 2024 (edited) Hello, thanks for responding so soon. Especially if you are celebrating the US holiday today. I had the topic incorrectly quoted. It should have said "Channels not available yet". Sorry for not being clear with my issue. Attached is a picture that should show the state of the problem. This keeps revolving and never produces the guide. This happens on both my Rokus. Edited November 28, 2024 by kmartinka
speechles 2055 Posted November 28, 2024 Posted November 28, 2024 (edited) I believe you need to be more patient and make sure the guide task has completed and ran at least once. Quote 2024-11-28 07:07:28.650 Info Server: http/1.1 Response 500 to host4. Time: 264ms. GET http://192.168.1.184:8096/emby/LiveTv/Channels?userId=415f3717572e463db743b78255fc1726&SortBy=Number&sortOrder=Ascending&tagIds=&Limit=1500 2024-11-28 07:07:30.719 Info Server: http/1.1 Response 404 to host4. Time: 0ms. GET http://192.168.1.184:8096/emby/Items//Images/Backdrop/0?EnableImageEnhancers=true&maxwidth=1280&maxHeight=1080&quality=90 2024-11-28 07:07:31.451 Info Server: http/1.1 Response 404 to host4. Time: 0ms. GET http://192.168.1.184:8096/emby/Items//Images/Backdrop/0?EnableImageEnhancers=true&maxwidth=1280&maxHeight=1080&quality=90 Response 500 Response 404 Response 404 Those are the 3 http conditions for the request to obtain guide data. The first is the 500 error which means the server cannot complete the request. The next two are 404 because the server already told it was 500. Now it is telling the resource has moved to stop making the request it cannot complete. Have you run this task? Has it completed? ---- You need to sometimes wait to go to the LiveTV guide on the Roku until the app has fully loaded the homescreen. If you attempt to go there before the homescreen has fully rendered you might experience this issue. Edited November 28, 2024 by speechles
kmartinka 3 Posted November 28, 2024 Author Posted November 28, 2024 (edited) Thanks for the reply. The Live TV guide is in Scheduled Tasks and runs successfully on its scheduled time. I manually ran the task as well without error. I can say that my Windows 10 HTPC Emby client has no issue as seen in the attached image. I understand the code for handling the calls in Windows maybe different than the Roku Emby client. It's been about 30 minutes on Roku Emby client and still the same issue is occurring. Edited November 28, 2024 by kmartinka
speechles 2055 Posted November 28, 2024 Posted November 28, 2024 Is it the exact same user logged into Windows as logged into the Roku? Have you exited the app using the Home button on your Roku remote and then restarted the Emby app to make sure nothing is stuck?
kmartinka 3 Posted November 28, 2024 Author Posted November 28, 2024 (edited) Yes, it is the same user account for both Emby client applications. This issue has been occurring for a while on the Roku Emby client; I now just got a few minutes to start debugging it. Both Rokus have been fully restarted many times. FWIW - The Emby server is located on a local PC with Windows 10 rev 22H2 (up-to-date). I am running the latest version of Emby server. All connections are hardwired ethernet as well. Edited November 28, 2024 by kmartinka
ebr 16169 Posted November 28, 2024 Posted November 28, 2024 How many channels do you have defined? The query may be taking so long that it is timing out.
kmartinka 3 Posted November 28, 2024 Author Posted November 28, 2024 (edited) I have 68 OTA channels. I noticed that some of the channels do not have any data associated because they are a local 1-off channel(college, etc.), but all nationally broadcasted channels do have TV Guide data. Edited November 28, 2024 by kmartinka
ebr 16169 Posted November 28, 2024 Posted November 28, 2024 And that is the entirety of the channels you have defined in Emby? That is not enough to cause a time out. Please follow the instructions to send a log from the app. Once you've turned on the option and confirmed the send logs button is available, re-start the app, wait 30 seconds and then try and enter the guide. Once you get that message, send the log and then come here and tell me what time you did that. Thanks.
kmartinka 3 Posted November 28, 2024 Author Posted November 28, 2024 That is the entirety. I followed the instructions to send the debug log (please ignore the first sent). I sent the log at 3:20 EST and user account is "TV"
ebr 16169 Posted November 28, 2024 Posted November 28, 2024 Okay, the query isn't timing out it is failing due to what looks like database corruption. Did you install a beta and then go back to the release?
kmartinka 3 Posted November 29, 2024 Author Posted November 29, 2024 I don't recall but I have had the Roku Emby app since its inception. How do restore or recreate the DB? I know sqlite3 if that's helpful.
Gilgamesh_48 1240 Posted November 29, 2024 Posted November 29, 2024 3 minutes ago, kmartinka said: I don't recall but I have had the Roku Emby app since its inception. How do restore or recreate the DB? I know sqlite3 if that's helpful. the DB that was mentioned is the DB on the server as is the server (beta or release) that was asked about. That is the error stems from an issue on the server.
kmartinka 3 Posted November 29, 2024 Author Posted November 29, 2024 Ah, sorry for the confusion. That may have happened at some point in the last 10 years that I have been using Emby full time. Let me ask this, as I am not familiar with the under-hood of Emby, does Roku and Windows Emby clients share the same DB? Or are they separate DBs?
pwhodges 2012 Posted November 29, 2024 Posted November 29, 2024 The DB is in the server; the clients are sent data by the server and do not have their own databases. Paul
kmartinka 3 Posted November 29, 2024 Author Posted November 29, 2024 (edited) Thanks for the reply. Yes, I found the DBs are stored in "AppData\Roaming\Emby-Server\data". The question I have is, is the LiveTV Guide DB separate or part of the library.db (or another DB in the directory)? I am trying to determine why Windows Emby client works but Roku Emby client does not. Edited November 29, 2024 by kmartinka
pwhodges 2012 Posted November 29, 2024 Posted November 29, 2024 You've been told that the log you sent shows signs of database corruption. Once the database is corrupt, the best thing is to delete it and rebuild your server installation by deleting the corrupt database and letting Emby rebuild it from scratch. But an alternative first step for testing is to make a second installation of Emby (using the portable setup, and changing the ports you use to access it) and just set up what's going wrong in your present system to compare. You could also provide your server log to let us see if there are any indications of database problems in there. If necessary you can attempt to repair the database using the suggestions here: https://emby.media/support/articles/Corrupt-Database.html but that can't be guaranteed to work. Paul
Luke 42077 Posted November 29, 2024 Posted November 29, 2024 Actually there is an issue here, not database corruption. We'll get this patched in the server. Workaround for now is to sort your guide by something other than channel number.
kmartinka 3 Posted November 29, 2024 Author Posted November 29, 2024 Thanks for the confirmation on the issue. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now