[SOLVED] Problems with fresh install on Ubuntu 24
Moderator: Forum Moderators
-
- Senior
- Posts: 495
- Joined: Thu Feb 23, 2023 8:55 pm
- Location: Safe outside my gilded cage
Re: Problems with fresh install on Ubuntu 24
If you edit your first post, you can change the title to something like "[solved] Problems with ..."
Re: Problems with fresh install on Ubuntu 24
Apparently I spoke too soon, recordings are fine, but if I click on Watch TV, I get the message "Please wait" very briefly, then I get bounced back to the menu. Not often that we watch anything but recordings, but it would be nice to have the option.
-
- Senior
- Posts: 495
- Joined: Thu Feb 23, 2023 8:55 pm
- Location: Safe outside my gilded cage
Re: Problems with fresh install on Ubuntu 24
Same here. frontend log was more useful than the backend log, but neither were much help (didn't try increasing log levels).
My first thought was that I hadn't set up a Live TV storage group, but the logs seem to indicate it was using Default, and adding one didn't help.
Next I checked that the Starting Channel for each tuner was valid (Input Connections)
I suppose next I might look at the timeouts in Capture Cards, but I don't see why that would need to be any different than regular recording. I might look at that, if I ever watched live TV.
My first thought was that I hadn't set up a Live TV storage group, but the logs seem to indicate it was using Default, and adding one didn't help.
Next I checked that the Starting Channel for each tuner was valid (Input Connections)
I suppose next I might look at the timeouts in Capture Cards, but I don't see why that would need to be any different than regular recording. I might look at that, if I ever watched live TV.
Re: Problems with fresh install on Ubuntu 24
Try starting LIve TV from the Program Guide. Does that work?
-
- Senior
- Posts: 495
- Joined: Thu Feb 23, 2023 8:55 pm
- Location: Safe outside my gilded cage
Re: Problems with fresh install on Ubuntu 24
Don't mean to hijack the thread here, but that worked for me and this may be useful...
I had the same issue (or at least it looked the same). I checked http://mythbackend:6544/setupwizard/input-connections to make sure the Starting Channels were set to valid channels, and they were. Then I tried starting from Program Guide, using that same channel, and it worked. I looked at the files that got created, and noticed that the chanids (should have been the same, same channel and all) were different than when it failed (not using PG), so I looked up the one from the failed attempt and sure enough it was a channel that no longer exists (there is nothing on that serviceid on the frequency any more).
So, my Starting Channel was not valid, and it was not reflected correcting in webapp (and still isn't), and the webapp comment "When the value is not valid a suitable default will be chosen. " might not be correct.
I looked in the program guide, and the old channel does still exist there, but if I look at hdhomerun_config_gui there's definitely nothing at that freq/program.
BTW, the Starting Channels in webapp just so happen to be the "lowest" channels I have. Lowest meaning they are 3_1, and I have no 1_x or 2_x. Not the lowest by frequency. Also, probably more importantly, lowest by chanid (select * from channel order by chanid limit 1;)
P.S. I'm still on v34-pre.
Re: Problems with fresh install on Ubuntu 24
There was no joy trying to start TV from the program guide using "Watch Channel" from the context menu.
But in my case, the backend log did provide a clue: Live TV was trying to create a buffer in the directory I had created in setup /var/lib/mythTV/watchTV. Unfortunately, that directory did not exist, no matter how many times I tried to create it in setup/Storage Groups. I couldn't create it as user mythtv, either
So then I went back into setup/Storage Groups and just deleted the Live TV directory /var/lib/mythtv/watchTV that setup showed as existing but didn't. And hey, Presto! Live TV now works. I think I may have screwed up something in originally setting up Storage Groups, but I don't remember what or how. So now I'll just call this as solved.
But in my case, the backend log did provide a clue: Live TV was trying to create a buffer in the directory I had created in setup /var/lib/mythTV/watchTV. Unfortunately, that directory did not exist, no matter how many times I tried to create it in setup/Storage Groups. I couldn't create it as user mythtv, either
Code: Select all
sudo -i -u mythtv
$ ls
$ mkdir /var/lib/mythtv/watchTV
mkdir: cannot create directory ‘/var/lib/mythtv/watchTV’: Permission denied
$ cd /var/lib/mythtv
$ pwd
/var/lib/mythtv
$ mkdir watchTV
mkdir: cannot create directory ‘watchTV’: Permission denied
$ exit