[mythtv-users] web app gets 404 on backend built with cmake on Archlinux

Peter Bennett pb.mythtv at gmail.com
Sun Feb 16 01:32:06 UTC 2025


On 2/15/25 18:12, James Abernathy wrote:
> After a successful build of mythv using cmake on Archlinux, I copied 
> all the files from the "CMAKE_INSTALL_PREFIX=mythtv-qt5-build" 
> location to /usr/local/ and then did 'sudo ldconfig'
>
> I set up the mythtv-backend.service so it's would find mythbackend in 
> /usr/local/bin/
>
> When I reboot, it shows mythtv-backend running but when I send firefox 
> to localhost:6544, I see this in the log and a 404 error in the browser.
>
> This had worked a few days ago on Debian. Maybe I'm missing something?
>
> Feb 15 18:03:27 nucboxg3 mythbackend[1972]: mythbackend[1972]: W HTTP0 
> mythhttpfile.cpp:50 (ProcessFile) HTTPFile: Failed to find 
> '/home/jim/mythtv-qt5-build/share/mythtv/html/apps/backend/index.html'
>
> Jim A
>
>
The value of -DMYTH_RUN_PREFIX= determines where it should run from. I 
suspect that you had -DMYTH_RUN_PREFIX set as some incorrect value.

Also at run time you can use MYTHTVDIR=/usr/local to override an 
incorrect MYTH_RUN_PREFIX used when building.

Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20250215/c5db3be3/attachment.htm>


More information about the mythtv-users mailing list