Fatal error when tying to use Mythweb on a slave backend

Have a MythTV related problem? Ask for help from other MythTV users here.

Moderator: Forum Moderators

Post Reply
Julius22
Newcomer
Posts: 8
Joined: Sat Mar 21, 2020 9:40 am
France

Fatal error when tying to use Mythweb on a slave backend

Post by Julius22 »

When i try to use Mythweb to access a slave backend, I get the following:

Code: Select all

Fatal Error

!!NoTrans: Access denied for user ''@'localhost' (using password: NO) [#1045]

Backtrace
Array
(
[0] => Array
(
[file] => /usr/share/mythtv/mythweb/classes/Database/Query/mysqlicompat.php
[line] => 65
[function] => error
[class] => Database
[object] => Database_mysqlicompat Object
(
[dbh] =>
[error] => Access denied for user ''@'localhost' (using password: NO) [#1045]
[err] => Access denied for user ''@'localhost' (using password: NO)
[errno] => 1045
[last_sh] => Database_Query_mysqlicompat Object
(
[dbh] =>
[query] => Array
(
[0] => SET SESSION sql_mode = "";
)

[last_query] => SET SESSION sql_mode = "";
[warnings] => Array
(
)

[num_args_needed] => 0
[num_rows] =>
[affected_rows] =>
[insert_id] =>
[db] => Database_mysqlicompat Object
*RECURSION*
)

[fatal_errors] => 1
[query_count] => 0
[query_time] => 0
[global_name] =>
[destruct_handlers] => Array
(
)

)

[type] => ->
[args] => Array
(
)

)

[1] => Array
(
[file] => /usr/share/mythtv/mythweb/classes/Database.php
[line] => 263
[function] => execute
[class] => Database_Query_mysqlicompat
[object] => Database_Query_mysqlicompat Object
(
[dbh] =>
[query] => Array
(
[0] => SET SESSION sql_mode = "";
)

[last_query] => SET SESSION sql_mode = "";
[warnings] => Array
(
)

[num_args_needed] => 0
[num_rows] =>
[affected_rows] =>
[insert_id] =>
[db] => Database_mysqlicompat Object
(
[dbh] =>
[error] => Access denied for user ''@'localhost' (using password: NO) [#1045]
[err] => Access denied for user ''@'localhost' (using password: NO)
[errno] => 1045
[last_sh] => Database_Query_mysqlicompat Object
*RECURSION*
[fatal_errors] => 1
[query_count] => 0
[query_time] => 0
[global_name] =>
[destruct_handlers] => Array
(
)

)

)

[type] => ->
[args] => Array
(
[0] => Array
(
)

)

)

[2] => Array
(
[file] => /usr/share/mythtv/mythweb/classes/Database.php
[line] => 124
[function] => query
[class] => Database
[object] => Database_mysqlicompat Object
(
[dbh] =>
[error] => Access denied for user ''@'localhost' (using password: NO) [#1045]
[err] => Access denied for user ''@'localhost' (using password: NO)
[errno] => 1045
[last_sh] => Database_Query_mysqlicompat Object
(
[dbh] =>
[query] => Array
(
[0] => SET SESSION sql_mode = "";
)

[last_query] => SET SESSION sql_mode = "";
[warnings] => Array
(
)

[num_args_needed] => 0
[num_rows] =>
[affected_rows] =>
[insert_id] =>
[db] => Database_mysqlicompat Object
*RECURSION*
)

[fatal_errors] => 1
[query_count] => 0
[query_time] => 0
[global_name] =>
[destruct_handlers] => Array
(
)

)

[type] => ->
[args] => Array
(
[0] => SET SESSION sql_mode = "";
)

)

[3] => Array
(
[file] => /usr/share/mythtv/mythweb/includes/database.php
[line] => 44
[function] => connect
[class] => Database
[type] => ::
[args] => Array
(
[0] =>
[1] =>
[2] =>
[3] =>
[4] =>
[5] => mysqlicompat
)

)

[4] => Array
(
[file] => /usr/share/mythtv/mythweb/includes/init.php
[line] => 43
[args] => Array
(
[0] => /usr/share/mythtv/mythweb/includes/database.php
)

[function] => require_once
)

[5] => Array
(
[file] => /usr/share/mythtv/mythweb/mythweb.php
[line] => 20
[args] => Array
(
[0] => /usr/share/mythtv/mythweb/includes/init.php
)

[function] => require_once
)

)
!!

If you choose to submit a bug report please make sure to include a brief description of what you were doing, along with the following backtrace as an attachment (please don\'t just paste the whole thing into the ticket)
    datetime:  2022-09-24 21:54:54 (CEST)
    errornum:  256
  error type:  User Error
error string:  !!NoTrans: Access denied for user ''@'localhost' (using password: NO) [#1045]

Backtrace
Array
(
    [0] => Array
        (
            [file] => /usr/share/mythtv/mythweb/classes/Database/Query/mysqlicompat.php
            [line] => 65
            [function] => error
            [class] => Database
            [object] => Database_mysqlicompat Object
                (
                    [dbh] => 
                    [error] => Access denied for user ''@'localhost' (using password: NO) [#1045]
                    [err] => Access denied for user ''@'localhost' (using password: NO)
                    [errno] => 1045
                    [last_sh] => Database_Query_mysqlicompat Object
                        (
                            [dbh] => 
                            [query] => Array
                                (
                                    [0] => SET SESSION sql_mode = "";
                                )

                            [last_query] => SET SESSION sql_mode = "";
                            [warnings] => Array ( )
                            [num_args_needed] => 0
                            [num_rows] => 
                            [affected_rows] => 
                            [insert_id] => 
                            [db] => Database_mysqlicompat Object
 *RECURSION*
                        )

                    [fatal_errors] => 1
                    [query_count] => 0
                    [query_time] => 0
                    [global_name] => 
                    [destruct_handlers] => Array ( )
                )

            [type] => ->
            [args] => Array ( )
        )

    [1] => Array
        (
            [file] => /usr/share/mythtv/mythweb/classes/Database.php
            [line] => 263
            [function] => execute
            [class] => Database_Query_mysqlicompat
            [object] => Database_Query_mysqlicompat Object
                (
                    [dbh] => 
                    [query] => Array
                        (
                            [0] => SET SESSION sql_mode = "";
                        )

                    [last_query] => SET SESSION sql_mode = "";
                    [warnings] => Array ( )
                    [num_args_needed] => 0
                    [num_rows] => 
                    [affected_rows] => 
                    [insert_id] => 
                    [db] => Database_mysqlicompat Object
                        (
                            [dbh] => 
                            [error] => Access denied for user ''@'localhost' (using password: NO) [#1045]
                            [err] => Access denied for user ''@'localhost' (using password: NO)
                            [errno] => 1045
                            [last_sh] => Database_Query_mysqlicompat Object
 *RECURSION*
                            [fatal_errors] => 1
                            [query_count] => 0
                            [query_time] => 0
                            [global_name] => 
                            [destruct_handlers] => Array ( )
                        )

                )

            [type] => ->
            [args] => Array
                (
                    [0] => Array ( )
                )

        )

    [2] => Array
        (
            [file] => /usr/share/mythtv/mythweb/classes/Database.php
            [line] => 124
            [function] => query
            [class] => Database
            [object] => Database_mysqlicompat Object
                (
                    [dbh] => 
                    [error] => Access denied for user ''@'localhost' (using password: NO) [#1045]
                    [err] => Access denied for user ''@'localhost' (using password: NO)
                    [errno] => 1045
                    [last_sh] => Database_Query_mysqlicompat Object
                        (
                            [dbh] => 
                            [query] => Array
                                (
                                    [0] => SET SESSION sql_mode = "";
                                )

                            [last_query] => SET SESSION sql_mode = "";
                            [warnings] => Array ( )
                            [num_args_needed] => 0
                            [num_rows] => 
                            [affected_rows] => 
                            [insert_id] => 
                            [db] => Database_mysqlicompat Object
 *RECURSION*
                        )

                    [fatal_errors] => 1
                    [query_count] => 0
                    [query_time] => 0
                    [global_name] => 
                    [destruct_handlers] => Array ( )
                )

            [type] => ->
            [args] => Array
                (
                    [0] => SET SESSION sql_mode = "";
                )

        )

    [3] => Array
        (
            [file] => /usr/share/mythtv/mythweb/includes/database.php
            [line] => 44
            [function] => connect
            [class] => Database
            [type] => ::
            [args] => Array
                (
                    [0] => 
                    [1] => 
                    [2] => 
                    [3] => 
                    [4] => 
                    [5] => mysqlicompat
                )

        )

    [4] => Array
        (
            [file] => /usr/share/mythtv/mythweb/includes/init.php
            [line] => 43
            [args] => Array
                (
                    [0] => /usr/share/mythtv/mythweb/includes/database.php
                )

            [function] => require_once
        )

    [5] => Array
        (
            [file] => /usr/share/mythtv/mythweb/mythweb.php
            [line] => 20
            [args] => Array
                (
                    [0] => /usr/share/mythtv/mythweb/includes/init.php
                )

            [function] => require_once
        )

)
!!
    filename:  /usr/share/mythtv/mythweb/classes/Database/Query/mysqlicompat.php
  error line:  66

==========================================================================

Backtrace: 

    file:  /usr/share/mythtv/mythweb/classes/Database/Query/mysqlicompat.php
    line:  66
   class:  
function:  trigger_error
    type:  
    args:  Array
(
    [0] => Access denied for user ''@'localhost' (using password: NO) [#1045]

Backtrace
Array
(
    [0] => Array
        (
            [file] => /usr/share/mythtv/mythweb/classes/Database/Query/mysqlicompat.php
            [line] => 65
            [function] => error
            [class] => Database
            [object] => Database_mysqlicompat Object
                (
                    [dbh] => 
                    [error] => Access denied for user ''@'localhost' (using password: NO) [#1045]
                    [err] => Access denied for user ''@'localhost' (using password: NO)
                    [errno] => 1045
                    [last_sh] => Database_Query_mysqlicompat Object
                        (
                            [dbh] => 
                            [query] => Array
                                (
                                    [0] => SET SESSION sql_mode = "";
                                )

                            [last_query] => SET SESSION sql_mode = "";
                            [warnings] => Array ( )
                            [num_args_needed] => 0
                            [num_rows] => 
                            [affected_rows] => 
                            [insert_id] => 
                            [db] => Database_mysqlicompat Object
 *RECURSION*
                        )

                    [fatal_errors] => 1
                    [query_count] => 0
                    [query_time] => 0
                    [global_name] => 
                    [destruct_handlers] => Array ( )
                )

            [type] => ->
            [args] => Array ( )
        )

    [1] => Array
        (
            [file] => /usr/share/mythtv/mythweb/classes/Database.php
            [line] => 263
            [function] => execute
            [class] => Database_Query_mysqlicompat
            [object] => Database_Query_mysqlicompat Object
                (
                    [dbh] => 
                    [query] => Array
                        (
                            [0] => SET SESSION sql_mode = "";
                        )

                    [last_query] => SET SESSION sql_mode = "";
                    [warnings] => Array ( )
                    [num_args_needed] => 0
                    [num_rows] => 
                    [affected_rows] => 
                    [insert_id] => 
                    [db] => Database_mysqlicompat Object
                        (
                            [dbh] => 
                            [error] => Access denied for user ''@'localhost' (using password: NO) [#1045]
                            [err] => Access denied for user ''@'localhost' (using password: NO)
                            [errno] => 1045
                            [last_sh] => Database_Query_mysqlicompat Object
 *RECURSION*
                            [fatal_errors] => 1
                            [query_count] => 0
                            [query_time] => 0
                            [global_name] => 
                            [destruct_handlers] => Array ( )
                        )

                )

            [type] => ->
            [args] => Array
                (
                    [0] => Array ( )
                )

        )

    [2] => Array
        (
            [file] => /usr/share/mythtv/mythweb/classes/Database.php
            [line] => 124
            [function] => query
            [class] => Database
            [object] => Database_mysqlicompat Object
                (
                    [dbh] => 
                    [error] => Access denied for user ''@'localhost' (using password: NO) [#1045]
                    [err] => Access denied for user ''@'localhost' (using password: NO)
                    [errno] => 1045
                    [last_sh] => Database_Query_mysqlicompat Object
                        (
                            [dbh] => 
                            [query] => Array
                                (
                                    [0] => SET SESSION sql_mode = "";
                                )

                            [last_query] => SET SESSION sql_mode = "";
                            [warnings] => Array ( )
                            [num_args_needed] => 0
                            [num_rows] => 
                            [affected_rows] => 
                            [insert_id] => 
                            [db] => Database_mysqlicompat Object
 *RECURSION*
                        )

                    [fatal_errors] => 1
                    [query_count] => 0
                    [query_time] => 0
                    [global_name] => 
                    [destruct_handlers] => Array ( )
                )

            [type] => ->
            [args] => Array
                (
                    [0] => SET SESSION sql_mode = "";
                )

        )

    [3] => Array
        (
            [file] => /usr/share/mythtv/mythweb/includes/database.php
            [line] => 44
            [function] => connect
            [class] => Database
            [type] => ::
            [args] => Array
                (
                    [0] => 
                    [1] => 
                    [2] => 
                    [3] => 
                    [4] => 
                    [5] => mysqlicompat
                )

        )

    [4] => Array
        (
            [file] => /usr/share/mythtv/mythweb/includes/init.php
            [line] => 43
            [args] => Array
                (
                    [0] => /usr/share/mythtv/mythweb/includes/database.php
                )

            [function] => require_once
        )

    [5] => Array
        (
            [file] => /usr/share/mythtv/mythweb/mythweb.php
            [line] => 20
            [args] => Array
                (
                    [0] => /usr/share/mythtv/mythweb/includes/init.php
                )

            [function] => require_once
        )

)

    [1] => 256
)

    file:  /usr/share/mythtv/mythweb/classes/Database.php
    line:  263
   class:  Database_Query_mysqlicompat
function:  execute
    type:  ->
    args:  Array
(
    [0] => Array ( )
)

    file:  /usr/share/mythtv/mythweb/classes/Database.php
    line:  124
   class:  Database
function:  query
    type:  ->
    args:  Array
(
    [0] => SET SESSION sql_mode = "";
)

    file:  /usr/share/mythtv/mythweb/includes/database.php
    line:  44
   class:  Database
function:  connect
    type:  ::
    args:  Array
(
    [0] => 
    [1] => 
    [2] => 
    [3] => 
    [4] => 
    [5] => mysqlicompat
)

    file:  /usr/share/mythtv/mythweb/includes/init.php
    line:  43
   class:  
function:  require_once
    type:  
    args:  Array
(
    [0] => /usr/share/mythtv/mythweb/includes/database.php
)

    file:  /usr/share/mythtv/mythweb/mythweb.php
    line:  20
   class:  
function:  require_once
    type:  
    args:  Array
(
    [0] => /usr/share/mythtv/mythweb/includes/init.php
)


==========================================================================

$_SESSION: Array
(
    [language] => English
    [date_statusbar] => %a %b %e, %Y, %I:%M %p
    [date_scheduled] => %a %b %e, %Y (%I:%M %p)
    [date_scheduled_popup] => %a %b %e, %Y
    [date_recorded] => %a %b %e, %Y (%I:%M %p)
    [date_search] => %a %b %e, %Y, %I:%M %p
    [date_listing_key] => %a %b %e, %Y, %I:%M %p
    [date_listing_jump] => %a %b %e, %Y
    [date_channel_jump] => %a %b %e, %Y
    [date_job_status] => %a %b %e, %Y, %I:%M %p
    [time_format] => %I:%M %p
)

==========================================================================

$_SERVER: Array
(
    [REDIRECT_STATUS] => 200
    [db_server] => 
    [db_name] => 
    [db_login] => 
    [db_password] => 
    [HTTP_HOST] => 192.168.10.22
    [HTTP_USER_AGENT] => Mozilla/5.0 (X11; Linux x86_64; rv:104.0) Gecko/20100101 Firefox/104.0
    [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
    [HTTP_ACCEPT_LANGUAGE] => en-US,en;q=0.5
    [HTTP_ACCEPT_ENCODING] => gzip, deflate
    [HTTP_DNT] => 1
    [HTTP_CONNECTION] => keep-alive
    [HTTP_UPGRADE_INSECURE_REQUESTS] => 1
    [PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    [SERVER_SIGNATURE] => <address>Apache/2.4.54 (Debian) Server at 192.168.10.22 Port 80</address>

    [SERVER_SOFTWARE] => Apache/2.4.54 (Debian)
    [SERVER_NAME] => 192.168.10.22
    [SERVER_ADDR] => 192.168.10.22
    [SERVER_PORT] => 80
    [REMOTE_ADDR] => 192.168.10.2
    [DOCUMENT_ROOT] => /var/www/html
    [REQUEST_SCHEME] => http
    [CONTEXT_PREFIX] => /mythweb
    [CONTEXT_DOCUMENT_ROOT] => /usr/share/mythtv/mythweb
    [SERVER_ADMIN] => webmaster@localhost
    [SCRIPT_FILENAME] => /usr/share/mythtv/mythweb/mythweb.php
    [REMOTE_PORT] => 38948
    [REDIRECT_URL] => /mythweb/
    [GATEWAY_INTERFACE] => CGI/1.1
    [SERVER_PROTOCOL] => HTTP/1.1
    [REQUEST_METHOD] => GET
    [QUERY_STRING] => 
    [REQUEST_URI] => /
    [SCRIPT_NAME] => /mythweb/mythweb.php
    [PHP_SELF] => /mythweb/mythweb.php
    [REQUEST_TIME_FLOAT] => 1664049294.8686
    [REQUEST_TIME] => 1664049294
    [STATUS] => 200
    [URL] => /mythweb/
    [HTTP_X_FORWARDED_PROTO] => 
    [HTTPS] => 
    [HTTP_PORT] => 80
)

==========================================================================

$constant_list["user"]: Array
(
    [ERROR] => 512
    [E_ASSERT_ERROR] => 4096
    [FATAL] => 256
    [PHP_MIN_VERSION] => 5.3
    [WARNING] => 1024
    [error_email] => 
    [gb] => 1073741824
    [hostname] => centre-multimedia
    [http_host] => 192.168.10.22
    [kb] => 1024
    [mb] => 1048576
    [module] => 
    [modules_path] => /usr/share/mythtv/mythweb/modules
    [root] => /mythweb/
    [root_auth_url] => http://192.168.10.22/mythweb/
    [root_url] => http://192.168.10.22/mythweb/
    [stream_url] => http://192.168.10.22:80//mythweb/
    [tb] => 1099511627776
)



Warning: Use of undefined constant tmpl - assumed 'tmpl' (this will throw an Error in a future version of PHP) in /usr/share/mythtv/mythweb/includes/utils.php on line 334

Warning: Use of undefined constant tmpl - assumed 'tmpl' (this will throw an Error in a future version of PHP) in /usr/share/mythtv/mythweb/includes/utils.php on line 335

Fatal error: Uncaught Error: Call to undefined function t() in /usr/share/mythtv/mythweb/modules/_shared/tmpl/default/footer.php:21 Stack trace: #0 /usr/share/mythtv/mythweb/modules/_shared/tmpl/_errors/fatal.php(43): require() #1 /usr/share/mythtv/mythweb/includes/errors.php(128): require_once('/usr/share/myth...') #2 [internal function]: error_handler() #3 /usr/share/mythtv/mythweb/classes/Database/Query/mysqlicompat.php(66): trigger_error() #4 /usr/share/mythtv/mythweb/classes/Database.php(263): Database_Query_mysqlicompat->execute() #5 /usr/share/mythtv/mythweb/classes/Database.php(124): Database->query() #6 /usr/share/mythtv/mythweb/includes/database.php(44): Database::connect() #7 /usr/share/mythtv/mythweb/includes/init.php(43): require_once('/usr/share/myth...') #8 /usr/share/mythtv/mythweb/mythweb.php(20): require_once('/usr/share/myth...') #9 {main} thrown in /usr/share/mythtv/mythweb/modules/_shared/tmpl/default/footer.php on line 21
The slave backend I try access is using Debian 10, as is the master backend. I can use Mythweb installed on the master backend without any problem. So, there must be some kind of problem on the slave backend. Before the upgrade of Debian 9 to Debian 10, I had no problem with Mythweb on both backends.

I made a search on the web to try and find a solution with no luck. :(
I found two topics on this forum (viewtopic.php?t=4609 and viewtopic.php?f=29&t=4328) which were not helpful either.
I also found an other discussion here about MySQLi (as it is mentioned in the messages I receive). I did not try what was suggested there. But it might be interesting if you think it is the case. :?:
On another topic in this forum (viewtopic.php?t=4343), the same problem was solved. I tried the solution on /etc/mysql/conf.d/mythtv.cnf and /etc/mysql/conf.d/mysql.cnf, but with no luck.

So, if someone has a clue on how to solve my problem, I'm interested!
blm-ubunet
Senior
Posts: 265
Joined: Sun Jun 15, 2014 1:08 am
Cambodia

Re: Fatal error when tying to use Mythweb on a slave backend

Post by blm-ubunet »

My understanding is that MythWeb is a web server that uses apache & always connects to master backend.
It is not a frontend client in itself & it does not connect to a specific backend but only to master.
The client is the web page loaded in the browser & you can open multiple connections to the same MythWeb server.

I guess you may be able to run (2) different MythWeb servers on different PCs..
Julius22
Newcomer
Posts: 8
Joined: Sat Mar 21, 2020 9:40 am
France

Re: Fatal error when tying to use Mythweb on a slave backend

Post by Julius22 »

Thanks blm-ubunet for your answer,
I agree that Mythweb is a web server that uses Apache. But I don't know if it always connects to master backend. Il also agree that it is not a frontend client in itself. As I wrote it, you can actually run different Mythweb servers on different PC as I used to to it for several years.
Now, my point is to find a solution to make it work again with my slave backend.
User avatar
bill6502
Developer
Posts: 2307
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: Fatal error when tying to use Mythweb on a slave backend

Post by bill6502 »

Hi Julius22. I've only used a master backend for years. I recall that that remote
backends use the same database as the master. What information is required from
the remote that the master doesn't have?
Julius22
Newcomer
Posts: 8
Joined: Sat Mar 21, 2020 9:40 am
France

Re: Fatal error when tying to use Mythweb on a slave backend

Post by Julius22 »

Thanks bill6502 for your answer.
I'm not sure to understand what you ask in your question. Where does the information you mention should one find?
By the way, I use MythTV and Mythweb for many years and it is the first time I'm facing the problem of this discussion. My machines are configured similarly to be able to use Mythweb without any password in the browser.
User avatar
bill6502
Developer
Posts: 2307
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: Fatal error when tying to use Mythweb on a slave backend

Post by bill6502 »

I was trying to understand what mythweb running on a remote backend has
that isn't available from mythweb running on the master.

My memory was that when I had a remote backend, there was still only
one mythconverg database.
blm-ubunet
Senior
Posts: 265
Joined: Sun Jun 15, 2014 1:08 am
Cambodia

Re: Fatal error when tying to use Mythweb on a slave backend

Post by blm-ubunet »

Correct, there can be only one..
The DB server can be running on any PC but it must be used by all backends of the same cluster.

Your 2nd MythWeb server will never connect to MythTV DB using localhost unless your DB server is actually running on the slave backend PC.

I don't see how running a 2nd MythWeb server achieves anything but invite trouble.
User avatar
Steve Goodey
Moderator
Posts: 219
Joined: Fri Feb 07, 2014 6:30 pm
Location: Colchester, England
Great Britain

Re: Fatal error when tying to use Mythweb on a slave backend

Post by Steve Goodey »

one mythconverg database to rule them all? :lol:
Don't forget the Wiki.
Julius22
Newcomer
Posts: 8
Joined: Sat Mar 21, 2020 9:40 am
France

Re: Fatal error when tying to use Mythweb on a slave backend

Post by Julius22 »

Steve Goodey wrote:
Thu Sep 29, 2022 12:05 pm
one mythconverg database to rule them all? :lol:
I didn't understand the joke. :?

In response to the previous posts, I actually have only one database. About the fact that "running a 2nd MythWeb server achieves anything but invite trouble", I have to say that I actually opened this thread because I want to download the file of a recording from my slave backend on which my TV cards are installed on on which the recordings were made (my master backend doesn't have any TV card). So, to me, there is an interest in using Mythweb installed on a slave backend, as you can understand. I didn't have this problem before, so I don't see any reason why it couldn't be solved.
blm-ubunet
Senior
Posts: 265
Joined: Sun Jun 15, 2014 1:08 am
Cambodia

Re: Fatal error when tying to use Mythweb on a slave backend

Post by blm-ubunet »

The joke relates to film "Highlander"

All recordings saved on any backend are available to all frontend clients.
And with Storage Groups you can move the files around between backends / HDD/ folders & it all still works.

Even without storage groups I think the MythWeb requests file from master BE & it streams it..
There is an obscure setting that forces all files to stream through master BE. This is less efficient for remote FE accessing local BE storage files.
Julius22
Newcomer
Posts: 8
Joined: Sat Mar 21, 2020 9:40 am
France

Re: Fatal error when tying to use Mythweb on a slave backend

Post by Julius22 »

blm-ubunet wrote:
Fri Sep 30, 2022 8:50 pm
The joke relates to film "Highlander"
Thanks for the explanation.
blm-ubunet wrote:
Fri Sep 30, 2022 8:50 pm
All recordings saved on any backend are available to all frontend clients.
And with Storage Groups you can move the files around between backends / HDD/ folders & it all still works.

Even without storage groups I think the MythWeb requests file from master BE & it streams it..
There is an obscure setting that forces all files to stream through master BE. This is less efficient for remote FE accessing local BE storage files.
I agree about the files being available to all frontend clients. I have no problem using, on my master backend machine, (all) my recordings that are made and saved on my slave backend.
The problem of this topic, though, is different.
And it is not either about streaming the recordings (with the "ASX Stream" button), but about downloading it (with the "Direct Download" button). And in order to do it, I need to be able to access Mythweb on the slave backend.
User avatar
Steve Goodey
Moderator
Posts: 219
Joined: Fri Feb 07, 2014 6:30 pm
Location: Colchester, England
Great Britain

Re: Fatal error when tying to use Mythweb on a slave backend

Post by Steve Goodey »

Julius22 wrote:
Sun Oct 02, 2022 6:58 am
blm-ubunet wrote:
Fri Sep 30, 2022 8:50 pm
The joke relates to film "Highlander"
Thanks for the explanation.

Actually Lord of the Rings. :D
Don't forget the Wiki.
blm-ubunet
Senior
Posts: 265
Joined: Sun Jun 15, 2014 1:08 am
Cambodia

Re: Fatal error when tying to use Mythweb on a slave backend

Post by blm-ubunet »

Can you imagine Tolkien watching Highlander or listening to Queen?

Direct downloading was not mentioned before.
Post Reply