[Support] Linuxserver.io - HTPC-Manager (Hellowlol)


Recommended Posts

  • Replies 83
  • Created
  • Last Reply

Top Posters In This Topic

Thanks for another awesome docker container.

 

I have learned so much about Unraid, Linux, and Docker thanks to your works.

 

Can you tell me how to modify x-frame-options in this container so I can render  htpc manager in iframe?

 

I currently have an nginx load balancer that forwards traffic from sub.domain.com to this docker container on non-standard ssl port.  I have the pub and priv keys mapped to the docker container and I can navigate to the site over https no problem.  I cannot find the web server in the container where I could possibly specify x-frame-options, which I can do with other docker containers which have apache or nginx contained within them, or rely on an external web server.  Since my load balancer only forwards traffic at the tcp level and does not terminate ssl, the web service must be on the docker container :)

 

Thanks in advance for your help!

 

EDIT: Also, I want to specify that I have enabled in the general settings "Allow iFrame" but this refers to allowing iFrame within HTPC Manager so that links to connected web apps render within HTPC Manager.  I want to frame HTPC Manager itself into another site.

Edited by napalmyourmom
Link to comment
  • 2 weeks later...
  • 5 months later...

I have re-installed htpcmanager now 3 times.  It will work for 2-3 days and then fails to start.  I have psutil and smartctrl disabled in the docker as it can't find it however it errors out with this in the logs:


2018-03-10 15:26:38 :: root :: INFO :: Welcome to Hellowlol's HTPC Manager fork
2018-03-10 15:26:38 :: root :: INFO :: Loglevel set to info
2018-03-10 15:26:38 :: htpc.updater :: INFO :: Using GitUpdater engine
2018-03-10 15:26:38 :: apscheduler.scheduler :: INFO :: Added job "Updater.update_needed" to job store "default"
2018-03-10 15:26:38 :: modules.kodi :: WARNING :: No configured kodi-Servers.
2018-03-10 15:26:38 :: modules.newznab :: WARNING :: No configured Indexers.
2018-03-10 15:26:38 :: modules.stats :: ERROR :: Required package 'smartmontools' is not installed, or 'smartctl'
component is not on the system path. Please install and try again.The current env path is: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2018-03-10 15:26:38 :: htpc.server :: INFO :: Starting up webserver
*******************************************************************
Starting HTPC Manager on port 8085.
Start your browser and go to http://localhost:8085
*******************************************************************
2018-03-10 15:26:38 :: cherrypy.error :: INFO :: [10/Mar/2018:15:26:38] ENGINE Listening for SIGHUP.
2018-03-10 15:26:38 :: cherrypy.error :: INFO :: [10/Mar/2018:15:26:38] ENGINE Listening for SIGTERM.
2018-03-10 15:26:38 :: cherrypy.error :: INFO :: [10/Mar/2018:15:26:38] ENGINE Listening for SIGUSR1.
2018-03-10 15:26:38 :: cherrypy.error :: INFO :: [10/Mar/2018:15:26:38] ENGINE Bus STARTING
Info: SIGTERM received, exiting.
2018-03-10 15:26:40 :: cherrypy.error :: INFO :: [10/Mar/2018:15:26:40] ENGINE Caught signal SIGTERM.
2018-03-10 15:26:40 :: cherrypy.error :: INFO :: [10/Mar/2018:15:26:40] ENGINE Bus STOPPING
2018-03-10 15:26:40 :: apscheduler.scheduler :: INFO :: Scheduler has been shut down
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] syncing disks.
2018-03-10 15:26:40 :: cherrypy.error :: INFO :: [10/Mar/2018:15:26:40] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('192.168.1.175', 8085)) already shut down
2018-03-10 15:26:40 :: cherrypy.error :: INFO :: [10/Mar/2018:15:26:40] ENGINE Bus STOPPED
2018-03-10 15:26:40 :: cherrypy.error :: INFO :: [10/Mar/2018:15:26:40] ENGINE Bus EXITING
2018-03-10 15:26:40 :: cherrypy.error :: INFO :: [10/Mar/2018:15:26:40] ENGINE Bus EXITED

 

Pre-work: 

root@NAS:# find /usr -name smartctl
/usr/local/sbin/smartctl
/usr/sbin/smartctl
/usr/bin/smartctl

 

Link to comment
  • 2 years later...

Sorry to wake an old thread but I see that psutil has been removed from the image (no clue when, just noticed this issue today!!).

 

This seems to break the System Info page in HTPC Manager:

 

image.png.8298c44522460dd1a6e287d646e5d1ae.png

 

I have tried installing psutil via NerdPack to the host system but this is not working either.

 

 

Am I missing somthing? 

 

As always, thanks for all your work.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.