Mailinglist Archive: opensuse (793 mails)

< Previous Next >
[opensuse] How does one setup mythtv?
  • From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
  • Date: Thu, 30 Nov 2017 04:12:12 +0100 (CET)
  • Message-id: <alpine.LSU.2.21.1711300344110.31979@Telcontar.valinor>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi,

I'm unsure how to setup mythtv.

I installed:

mythtv-docs-0.28.1+git.20170712.eef6a480b0-1.2.noarch
mythtv-common-0.28.1+git.20170712.eef6a480b0-1.2.x86_64
mythtv-frontend-0.28.1+git.20170712.eef6a480b0-1.2.x86_64
mythtv-base-themes-0.28.1+git.20170712.eef6a480b0-1.2.noarch
mythtv-setup-0.28.1+git.20170712.eef6a480b0-1.2.x86_64
mythtv-backend-0.28.1+git.20170712.eef6a480b0-1.2.x86_64

In file /usr/share/doc/packages/mythtv-docs/docs/README.HOWTO says one has to read http://www.mythtv.org/wiki/MythTV-HOWTO, so I do.

.../Category:Software_Installation says nothing for *SUSE, so I assume I just need to install the openSUSE packages.

Next step is "Post_Installation_Tasks", and again, nothing to do.

Nest is "Configuring_MythTV". It says:

«This guide assumes you have already installed MythTV, MySQL, created the MySQL user id and set up your backend to automatically start. If you used a Mythbuntu or a package from the Mythbuntu PPA these have already been done.»

MySQL was installed automatically at some point (María*) and I started it - - I did not configure anything on it, everything is at defaults.

Run "/usr/share/mysql-test/suse-test-run" to verify mysql does work.

How do I create the "MySQL user id"? There are no instructions on that.

Start the backend automatically? It is not configured yet. Sure?


Next step is <https://www.mythtv.org/wiki/Setup_General>


I try run "mythtv-setup" as root. It asks country and language, then tries to access mysql, apparently fails, asks where it is, click finish, and it loops again to the first step, nothing saved despite having clicked "save".


What can I do? Those instructions are not clear at all, and I see no docus for
openSUSE. None in our wiki, either.

Is not the setup program supposed to create and configure the database?



Isengard:~ # mythtv-setup
2017-11-30 03:54:03.315318 I Setup Interrupt handler
2017-11-30 03:54:03.315355 I Setup Terminated handler
2017-11-30 03:54:03.315365 I Setup Segmentation fault handler
2017-11-30 03:54:03.315373 I Setup Aborted handler
2017-11-30 03:54:03.315381 I Setup Bus error handler
2017-11-30 03:54:03.315389 I Setup Floating point exception handler
2017-11-30 03:54:03.315401 I Setup Illegal instruction handler
2017-11-30 03:54:03.315415 I Setup Real-time signal 0 handler
2017-11-30 03:54:03.315430 I Setup Hangup handler
2017-11-30 03:54:03.315570 C mythtv-setup version: [v0.28.1] www.mythtv.org
2017-11-30 03:54:03.315584 C Qt version: compile: 5.6.1, runtime: 5.6.1
2017-11-30 03:54:03.315588 N Enabled verbose msgs: general
2017-11-30 03:54:03.315610 N Setting Log Level to LOG_INFO
2017-11-30 03:54:03.326593 I Added logging to the console
2017-11-30 03:54:03.525984 N Using runtime prefix = /usr
2017-11-30 03:54:03.525996 N Using configuration directory = /root/.mythtv
2017-11-30 03:54:03.526138 I Assumed character encoding: POSIX
2017-11-30 03:54:03.526144 W This application expects to be running a locale
that specifies a UTF-8 codeset, and many features may behave improperly with
your current language settings. Please set the LANG variable(s) in the
environment in which this program is executed to include a UTF-8 codeset (such
as 'en_US.UTF-8').
2017-11-30 03:54:03.526733 N Empty LocalHostName.
2017-11-30 03:54:03.526741 I Using localhost value of Isengard
2017-11-30 03:54:03.535945 E [DBManager0] Unable to connect to database!
2017-11-30 03:54:03.535987 E Driver error was [1/1045]:
QMYSQL: Unable to connect
Database error was:
Access denied for user 'mythtv'@'localhost' (using password: YES)

2017-11-30 03:54:03.653334 N Desktop video mode: 1920x1080 59.934 Hz
2017-11-30 03:54:03.769752 E LIRC: Failed to connect to Unix socket
'/var/run/lirc/lircd'
eno: No such file or directory (2)
2017-11-30 03:54:03.769798 I No joystick configuration found, not enabling
joystick control
2017-11-30 03:54:03.938387 E CECAdapter: Failed to find any CEC devices.
2017-11-30 03:54:03.938599 I CECAdapter: Closing down CEC.
2017-11-30 03:54:03.938656 I UDPListener: Enabling
2017-11-30 03:54:03.939349 I Binding to UDP 127.0.0.1:0
2017-11-30 03:54:03.939414 I Binding to UDP 192.168.1.16:0
2017-11-30 03:54:03.939474 I Binding to UDP [::1]:0
2017-11-30 03:54:03.939639 I Binding to UDP [fe80::4ecc:6aff:fe61:50a1%eth0]:0
2017-11-30 03:54:03.939703 I Binding to UDP 192.168.1.255:0
2017-11-30 03:54:03.951401 I Using Frameless Window
2017-11-30 03:54:03.951409 I Using Full Screen Window
libGL error: failed to load driver: swrast
2017-11-30 03:54:04.227727 I UI Screen Resolution: 1920 x 1080
2017-11-30 03:54:04.276658 I Using the Qt painter
2017-11-30 03:54:05.215532 N Setting QT default locale to en_US
2017-11-30 03:54:05.470302 I MythUIWebBrowser: Loading css from -
file:///usr/share/mythtv/themes/default/htmls/mythbrowser.css
2017-11-30 03:54:05.476714 I MythUIWebBrowser: enabling plugins
2017-11-30 03:54:06.141178 I System Locale (en_US), Country (US), Language (en)
2017-11-30 03:54:21.718663 I Loading en_us translation for module mythfrontend
2017-11-30 03:54:28.797334 E [DBManager1] Unable to connect to database!
2017-11-30 03:54:28.797354 E Driver error was [1/1045]:
QMYSQL: Unable to connect
Database error was:
Access denied for user 'mythtv'@'localhost' (using password: YES)

2017-11-30 03:54:28.797378 A Cannot login to database
2017-11-30 03:54:28.913039 E LIRC: Failed to connect to Unix socket
'/var/run/lirc/lircd'
eno: No such file or directory (2)
2017-11-30 03:54:28.913072 I No joystick configuration found, not enabling
joystick control
2017-11-30 03:54:29.067939 E CECAdapter: Failed to find any CEC devices.
2017-11-30 03:54:29.568221 I CECAdapter: Closing down CEC.
2017-11-30 03:54:29.568261 I UDPListener: Enabling
2017-11-30 03:54:29.568480 I Binding to UDP 127.0.0.1:0
2017-11-30 03:54:29.568540 I Binding to UDP 192.168.1.16:0
2017-11-30 03:54:29.568603 I Binding to UDP [::1]:0
2017-11-30 03:54:29.568706 I Binding to UDP [fe80::4ecc:6aff:fe61:50a1%eth0]:0
2017-11-30 03:54:29.568778 I Binding to UDP 192.168.1.255:0
2017-11-30 03:54:29.580310 I Using Frameless Window
2017-11-30 03:54:29.580317 I Using Full Screen Window
2017-11-30 03:54:29.584335 I UI Screen Resolution: 1920 x 1080
2017-11-30 03:54:29.588736 I Using the Qt painter
2017-11-30 03:54:30.633849 I MythUIWebBrowser: Loading css from -
file:///usr/share/mythtv/themes/default/htmls/mythbrowser.css
2017-11-30 03:54:30.639512 I MythUIWebBrowser: enabling plugins
2017-11-30 03:54:31.299038 I System Locale (en_US), Country (US), Language (en)
2017-11-30 03:54:33.398074 I Loading en_us translation for module mythfrontend
2017-11-30 03:54:35.573727 A User cancelled database configuration
2017-11-30 03:54:35.602216 E Failed to init MythContext, exiting.
Isengard:~ #



- -- Cheers

Carlos E. R.
(from 42.2 x86_64 "Malachite" at Telcontar)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlofdxMACgkQtTMYHG2NR9WSFwCePFDyxl/9yQ8Ex4xAYmH+GWqz
xscAnjmhSmW7ViXVKunHTDzJ0fnqhJO5
=O5Xd
-----END PGP SIGNATURE-----
< Previous Next >
Follow Ups