Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mythtv-0.29 available yet? [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
nobody13
Apprentice
Apprentice


Joined: 21 Jan 2006
Posts: 186

PostPosted: Mon Jan 29, 2018 9:53 pm    Post subject: mythtv-0.29 available yet? [solved] Reply with quote

Is there some place i can get a beta ebuild of mythtv. It was released in august and i have it on an Ubuntu box but it won't talk to my server due to a version mismatch.

Last edited by nobody13 on Tue Jan 30, 2018 12:50 am; edited 1 time in total
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6620
Location: Austria

PostPosted: Mon Jan 29, 2018 10:02 pm    Post subject: Reply with quote

mythtv is unmaintained.

https://bugs.gentoo.org/645850
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
nobody13
Apprentice
Apprentice


Joined: 21 Jan 2006
Posts: 186

PostPosted: Tue Jan 30, 2018 12:49 am    Post subject: Reply with quote

Thanks
Back to top
View user's profile Send private message
tld
Veteran
Veteran


Joined: 09 Dec 2003
Posts: 1327

PostPosted: Tue Mar 27, 2018 8:33 pm    Post subject: Reply with quote

For anyone interested, I've attached a mythtv-29.1.ebuild, which was based on the existing EAPI 6 mythtv-0.28.1-r4.ebuild here:

https://bugs.gentoo.org/645850

I've upgraded to that from an older 0.28.1 ebuild and it's all good so far.

Tom
Back to top
View user's profile Send private message
RayDude
Veteran
Veteran


Joined: 29 May 2004
Posts: 1464
Location: San Jose, CA

PostPosted: Sat Sep 22, 2018 5:32 pm    Post subject: Reply with quote

Thanks for this. I've been putting off the upgrade, but today mariadb forced an update and 28 is no longer compatible...

I don't suppose you have an ebuild for mythplugins 29?
_________________
Some day there will only be free software.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13039

PostPosted: Sat Sep 22, 2018 6:08 pm    Post subject: Reply with quote

RayDude: what version of Mariadb did you install? In what way was it incompatible? Does Myth 0.28 no longer build? Did a previously installed Myth 0.28 break? If it breaks, is it completely broken or are only certain features unusable?
Back to top
View user's profile Send private message
RayDude
Veteran
Veteran


Joined: 29 May 2004
Posts: 1464
Location: San Jose, CA

PostPosted: Sat Sep 22, 2018 10:51 pm    Post subject: Reply with quote

Hu wrote:
RayDude: what version of Mariadb did you install? In what way was it incompatible? Does Myth 0.28 no longer build? Did a previously installed Myth 0.28 break? If it breaks, is it completely broken or are only certain features unusable?


This is from my package.mask:
Code:
/etc/portage/package.mask/mariadb:>dev-db/mariadb-10.1.31-r1


Edit: I wonder why this mask didn't work to prevent the new mariadb from installing?

The old versions disappeared...

And this is what's currently installed:

Code:
equery list mariadb
 * Searching for mariadb ...
[IP-] [  ] dev-db/mariadb-10.0.35-r2:0/18


Apparently mariadb changed something that made it incompatible with mythtv which is fixed on 29, perhaps. It may be that the problem I just solved actually solved the problem I was having previously. No way to know at this point...

Apparently mariadb has made logging into the database more difficult. It checks where hosts are coming from and is more specific when checking for permissions.

The old command we used to enable remote frontends:

Code:
grant all on mythconverg.* to 'mythtv'@'localhost' identified by 'mythtv';


Needs to be changed to specifically enable the IP address of the server.

Code:
grant all on mythconverg.* to 'mythtv'@'YOUR_HOST_IP_ADDY' identified by 'mythtv';


Or perhaps, this line from the mythtv wiki will work: (Edit: I had this command in my command history so I guess it's not really good enough)

Code:
grant all on mythconverg.* to 'mythtv'@'%' identified by 'passwd';


Although I thought I had used that on my server at some point... My database is 14 years old now...

I also had to change mariadb /etc/mysql/my.cnf file to have the IP address of my server or 0.0.0.0 for the bind address:

Code:
bind-address = 0.0.0.0


127.0.0.1 or localhost will not work anymore (even for local frontends as far as I can tell)
_________________
Some day there will only be free software.
Back to top
View user's profile Send private message
ChrisJumper
Advocate
Advocate


Joined: 12 Mar 2005
Posts: 2182
Location: Germany

PostPosted: Mon Oct 29, 2018 8:54 pm    Post subject: Reply with quote

Congrats RayDude!
Quote:
My database is 14 years old now...


Just set a post here, because its the last actual visited mythtv Post.

Sorry i still use mysql and not mariadb.

After this or last week update from

dev-db/mysql-5.6.40-r2 to dev-db/mysql-5.7.23-r2

i got some hick ups. My Clients could not login on the Server.

First i had to run an upgrade script of mysql as root on the Server
Code:
 # mysql_upgrade -u root -h localhost -p


you should shut down every Service/Process which use mysql before or you end up in mixed tables or entry's and mysql complain to re run mysql_upgrade again.. and with --force..

Second My Client (mythtvfrontend) cant login.. again. Mysql just listen on 127.0.0.1, so i had to change /etc/mysql/mysql.d/50-distro-server.cnf

Code:
# security:
# using "localhost" in connects uses sockets by default
# skip-networking
bind-address                                    = 127.0.0.1
...
bind-address                                    = 0.0.0.0


But be careful. This setting activate mysql to listen on every Network Device! So you have to set your firewall on the mysql Server to allow an access just to your client hosts, or use some ssh or vpn tunnel.
Back to top
View user's profile Send private message
Bragor
n00b
n00b


Joined: 06 Mar 2013
Posts: 6

PostPosted: Tue Dec 11, 2018 1:12 pm    Post subject: Reply with quote

I am a noob regarding ebuilds. If anyone is interested however, I modified the existing mythplugin and mythweb ebuilds in a way that they use the mythtv 29 code, compile and work for my installation.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13039

PostPosted: Wed Dec 12, 2018 3:14 am    Post subject: Reply with quote

Please post your modifications. If they are of use, someone will want them eventually, but you may have moved on before that person arrives. By posting them now, you ensure they will be available to those who want them.
Back to top
View user's profile Send private message
Bragor
n00b
n00b


Joined: 06 Mar 2013
Posts: 6

PostPosted: Wed Dec 12, 2018 9:25 pm    Post subject: Reply with quote

I just had to change the ebuild filename from 0.28.1 to 29.1 and generate a new ebuild (ebuild mythplugins-29.1.ebuild manifest clean merge) according to this:
https://wiki.gentoo.org/wiki/Basic_guide_to_write_Gentoo_Ebuilds
Then the ebuilds fetched the correct files and everything worked.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13039

PostPosted: Thu Dec 13, 2018 1:12 am    Post subject: Reply with quote

Thank you. From your previous post, I thought you modified the text content of the ebuilds to adapt to upstream changes. If a simple rename is sufficient, having that on record is helpful too.
Back to top
View user's profile Send private message
Bragor
n00b
n00b


Joined: 06 Mar 2013
Posts: 6

PostPosted: Thu Dec 13, 2018 7:42 pm    Post subject: Reply with quote

Sorry, I just reread my previous post and it was indeed misleading. So far I don't have any problems with the ebuilds. If anyone needs any testing in that direction just let me know - I might be able to help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum