Install Instructions

You must be using MythTV .25+


This page is for Debian based systems.  Specifically it was written and tested on Ubuntu 12.04 and 14.04.

Alternative Instructions:  Arch Linux Instruction  Fedora Instructions  IIS Instructions

Add to /etc/apt/sources.list
deb repository/
sudo apt-get update
sudo apt-get install mobilemyth

Note there is currently a dependency conflict on debian.



This guide is assuming you already have apache installed and you will place the website in the folder /var/www/mobilemyth.


sudo apt-get install  unzip mono-runtime libmono-microsoft-visualbasic10.0-cil libapache2-mod-mono  mono-apache-server4

wget -O

sudo unzip -d /var/www/

sudo chown www-data:www-data /var/www/mobilemyth -R


sudo mv mobilemyth-apache-config /etc/apache2/sites-available/mobilemyth

sudo a2ensite mobilemyth

sudo service apache2 restart


If you want to be able to control frontends on your network you must edit /var/www/mobilemyth/App_Data/frontends.xml and add your FEs.

Now browser to http://YourServer/mobilemyth to enter the settings and Enojy!

If you are having problems getting the home page to setup after filling in the settings browser to http://YourServer/mobilemyth/admin/default.aspx and double check your backend settings.

13 thoughts on “Install Instructions

  1. Hi, nice idea. I tried to install it it on ArchLinux and changed paths to stock /srv/http.
    When opening SERVER/mobilemyth i get:
    Could not load type ‘System.Runtime.Versioning.TargetFrameworkAttribute’ from assembly ‘App_global.asax’.

    Description: HTTP 500. Error processing request.

    Stack Trace:

    System.TypeLoadException: Could not load type ‘System.Runtime.Versioning.TargetFrameworkAttribute’ from assembly ‘App_global.asax’.
    at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
    at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0

    Version information: Mono Runtime Version: 2.10.8 (tarball Sat Oct 6 23:41:53 UTC 2012); ASP.NET Version: 2.0.50727.1433

    • I am not up on Arch so I can;t help with specifics but based on ASP.NET Version: 2.0.50727.1433 it is trying to run as .Net framework 2.0 vs 4.0. Make sure you are running mono-apache-server4 vs the 2.0 version maybe.

      • Thank you for the hints.
        Short installation instruction for ArchLinux:
        # pacman -S mono mod_mono mono-basic (xsp) (unzip)
        # wget -O
        # sudo unzip -d /srv/http
        # wget
        # sudo mv mobilemyth-apache-config /etc/httpd/conf/
        # systemctl restart httpd
        EDIT /etc/httpd/conf/mobilemyth-apache-config
        Alias /mobilemyth “/srv/http/mobilemyth”

        MonoServerPath mobilemyth “/usr/bin/mod-mono-server4″

        MonoApplications mobilemyth “/mobilemyth:/srv/http/mobilemyth”
        ADD TO /etc/httpd/conf/httpd.conf
        # Mono for MobileMyth Support
        Include /etc/httpd/conf/mod_mono.conf
        # Choose ASP4.0 support instead of the default 1.0
        MonoServerPath “/usr/bin/mod-mono-server4″
        MonoAutoApplication enabled
        # systemctl restart httpd

  2. how would you go about adding a password to this? I tried adding the auth lines from the mythweb.conf file (mythbuntu install) and I’m not getting prompted for a password:

    Alias /mobilemyth “/var/www/mobilemyth”

    MonoServerPath mobilemyth “/usr/bin/mod-mono-server4″
    MonoDebug mobilemyth true
    MonoApplications mobilemyth “/mobilemyth:/var/www/mobilemyth”

    AuthType Digest
    AuthName “MythTV”
    AuthUserFile /etc/mythtv/mythweb-digest
    Require valid-user
    Allow from all
    Order allow,deny
    MonoSetServerAlias mobilemyth

  3. Hi. Quick question. I ran the install steps above (Mythbuntu 12.04) and something seems to have failed in the post-install script. This is what I get when I reload Apache:

    Syntax error on line 3 of /etc/apache2/sites-enabled/mobilemyth:
    Invalid command ‘MonoServerPath’, perhaps misspelled or defined by a module not included in the server configuration
    Action ‘configtest’ failed.
    The Apache error log may have more information.

    Is there a way to re-run the config script to get the path correct?


        • maybe run a dpkg-reconfigure libapache2-mod-mono as it almost sounds like the module did not install right. Or even remove and reinstall it. I am not sure what else to suggest beside google and see it anyone has come across it. Works for me on 12.10.

          • The dpkg-reconfigure didn’t work; but, ‘apt-get purge’ on libapache2-mod-mono and mono-apache-server4, followed by reinstalling libapache2-mod-mono (which brings along mono-apache-server4) fixed the install. Works for me on 12.04 now.

            Very cool stuff, thanks for making it!

  4. Got the site installed and got to the admin page (initially) and configured for my system, but now when I hit the home button, I get a server error in the browser and this error in the error log:

    2013-03-02 22:35:29,362 [Threadpool worker] ERROR ASP.global_asax System.Net.WebException: Error: NameResolutionFailure
    at System.Net.HttpWebRequest.EndGetRequestStream (IAsyncResult asyncResult) [0x00000] in :0
    at System.ServiceModel.Channels.HttpRequestChannel+c__AnonStorey14.m__14 (IAsyncResult r) [0x00000] in :0

    Any ideas?

  5. Hi again. I have upgraded V3 –> V5 by overwriting the mobilemyth webfolder and make the ArchLinux changes. Now i get:
    Server Error in ‘/mobilemyth’ Application
    Argument is out of range. Parameter name: dueTime

    Description: HTTP 400. Error processing request.

    Stack Trace:

    System.ArgumentOutOfRangeException: Argument is out of range.
    Parameter name: dueTime
    at System.Threading.Timer.Change (Int64 dueTime, Int64 period, Boolean first) [0x00000] in :0
    at System.Threading.Timer.Init (System.Threading.TimerCallback callback, System.Object state, Int64 dueTime, Int64 period) [0x00000] in :0
    at System.Threading.Timer..ctor (System.Threading.TimerCallback callback, System.Object state, Int32 dueTime, Int32 period) [0x00000] in :0
    at (wrapper remoting-invoke-with-check) System.Threading.Timer:.ctor (System.Threading.TimerCallback,object,int,int)
    at System.Web.HttpContext.StartTimeoutTimer () [0x00000] in :0
    at System.Web.HttpApplication.PreStart () [0x00000] in :0
    at System.Web.HttpApplication.Start (System.Object x) [0x00000] in :0
    at System.Web.HttpApplication.System.Web.IHttpHandler.ProcessRequest (System.Web.HttpContext context) [0x00000] in :0
    at System.Web.HttpRuntime.Process (System.Web.HttpWorkerRequest req) [0x00000] in :0
    at System.Web.HttpRuntime.RealProcessRequest (System.Object o) [0x00000] in :0
    at System.Web.HttpRuntime.ProcessRequest (System.Web.HttpWorkerRequest wr) [0x00000] in :0
    at Mono.WebServer.MonoWorkerRequest.ProcessRequest () [0x00000] in :0

    Version information: Mono Runtime Version: 2.10.8 (tarball Sat Oct 6 23:41:53 UTC 2012); ASP.NET Version: 4.0.30319.1

Leave a Reply to jheizer Cancel reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>