Help  Search  Portal
 Portal  Search
Hello There, Guest!  Register  Login

Install other apps - GUI conflict...


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
#1
Hi all,

Just stumbled onto Snakeoil (LOVE the distro name) while looking for media server alternatives and am playing with this now. Although my primary purpose is LMS/Squeezebox my needs are also a little more broad.

I would like to install Plex media server - there are loads of how-to's out there but there appears to be a conflict with the GUI's based on testing with pi-hole (DNS ad blocker). Pihole gives you the option of either installing a web server or using the existing one and both options messed things up but luckily pihole is OK without the GUI so not a deal breaker.. However I found the following after testing.

1. Installed GUI to use existing web server.
http://snakeoil - gives the admin snakeoil console. OK
http://snakeoil/admin - should give the admin to pi-hole but redirects to the snakeoil admin page.

2. I then configured pihole to add web server to run on port 88 
http://snakeoil - gives the admin snakeoil console but missing data - error saying that REST API timed out.
http://snakeoil:88/admin - again redirected to snakeoil admin page

But to confuse things, http://snakeoil:9000 successfully brings up LMS. But I am guessing that LMS GUI does not use REST...

My linux skills are limited (& dangerous!) but am a little unclear how all this works together... is it because both snakeoil and pihole use REST on the same port ?? I guessed that changing the web listening port would also change the REST port but maybe not.
How would I approach installing Plex ? would it also conflict with the snakeoil console ? 
Where are the REST configs stored ??


Any thoughts greatly appreciated.

cheers
 Go to solution  Reply
#2
The web server will re-direct all 404s back to the webpage. I'm guessing the pi-hole admin path don't physically exist in /var/www/

As for :88 re-directing back to port 80. There's possibly a pi-hole configuration where you specify the base URL, that needs to point to the new port.

Have a look at /etc/lighttpd and look at the web server configuration files, and also have a look at the pi-hole configuration files, adjust them to do whatever you want. Thumbs Up
Snakeoil Operating System - Music, your way!
 Reply
#3
(13-Mar-2019, 03:21 PM) agent_kith Wrote: The web server will re-direct all 404s back to the webpage. I'm guessing the pi-hole admin path don't physically exist in /var/www/

As for :88 re-directing back to port 80. There's possibly a pi-hole configuration where you specify the base URL, that needs to point to the new port.

Have a look at /etc/lighttpd and look at the web server configuration files, and also have a look at the pi-hole configuration files, adjust them to do whatever you want. Thumbs Up



Thanks -I will look more closely into that tomorrow. As I said it is not a deal breaker..

Any thoughts on installing Plex ?
 Reply
#4
(13-Mar-2019, 05:51 PM) davem Wrote: Thanks -I will look more closely into that tomorrow. As I said it is not a deal breaker..

Any thoughts on installing Plex ? 

Plex should work, havn't tried it in a while though.. Snakeoil OS is basically a variant of Ubuntu (Debian). And you have root access to the OS, you can basically do everything you want.
Snakeoil Operating System - Music, your way!
 Reply
#5
(13-Mar-2019, 06:05 PM) agent_kith Wrote:
(13-Mar-2019, 05:51 PM) davem Wrote: Thanks -I will look more closely into that tomorrow. As I said it is not a deal breaker..

Any thoughts on installing Plex ? 

Plex should work, havn't tried it in a while though.. Snakeoil OS is basically a variant of Ubuntu (Debian). And you have root access to the OS, you can basically do everything you want. 


As an update (& in case it helps someone else), plex worked right away following the process at https://www.howtoforge.com/tutorial/how-...untu-1604/

Pihole. I started off with a new install and it again failed to load the GUI (everything else was ok). Put it aside and I eventually noticed that the install path went into ~/html/admin instead of ~/admin. The GUI worked if I went the full path with with index.php. Moved the directories up a level and I can live with that..
Certain that I tried this earlier but....

Thanks for the comments to help.
[-] The following 2 users Like davem's post:
  • hkphantomgtr, agent_kith
 Reply
#6
Hi

Unfortunately I am still having issues with pihole playing with snakeoil.

Since the last update, I have updated snakeoil twice to 1.1.6 and I am almost 100% certain that a snakeoil update had removed all the pihole web files from /var/www/html/admin (the html dir was removed) . After reinstalling & reconfiguring & rebooting repeatedly I have pihole admin working but I have totally lost the snakeoil gui ! The files are still there and even if I point my browser to x.x.x.x/index.html it still presents the pihole admin page.

As nice as it is to have the pihole admin page, I think that I really need to have the snakeoil GUI back. And ideally not break with every update.

Any suggestions on what I can do to get these 2 playing nicely ?
 Reply
#7
(5 hours ago) davem Wrote: Hi

Unfortunately I am still having issues with pihole playing with snakeoil.

Since the last update, I have updated snakeoil twice to 1.1.6 and I am almost 100% certain that a snakeoil update had removed all the pihole web files from /var/www/html/admin (the html dir was removed) . After reinstalling & reconfiguring & rebooting repeatedly I have pihole admin working but I have totally lost the snakeoil gui ! The files are still there and even if I point my browser to x.x.x.x/index.html it still presents the pihole admin page.

As nice as it is to have the pihole admin page, I think that I really need to have the snakeoil GUI back. And ideally not break with every update.

Any suggestions on what I can do to get these 2 playing nicely ?


How good are you with lighttpd configuration? That's the webserver Snakeoil is using.

What you need to do is to install the pihole (/admin) folder as /var/www/pihole, instead of in /var/www/html. And configure lighttpd to use /var/www/pihole when you browse to the URL http://snakeoil.local/admin

This needs to be setup in /etc/lighttpd/conf-available, and then linked to the /etc/lighttpd/conf-enabled folder.
Snakeoil Operating System - Music, your way!
 Reply
#8
(3 hours ago) agent_kith Wrote:
(5 hours ago) davem Wrote: Hi

Unfortunately I am still having issues with pihole playing with snakeoil.

Since the last update, I have updated snakeoil twice to 1.1.6 and I am almost 100% certain that a snakeoil update had removed all the pihole web files from /var/www/html/admin (the html dir was removed) . After reinstalling & reconfiguring & rebooting repeatedly I have pihole admin working but I have totally lost the snakeoil gui ! The files are still there and even if I point my browser to x.x.x.x/index.html it still presents the pihole admin page.

As nice as it is to have the pihole admin page, I think that I really need to have the snakeoil GUI back. And ideally not break with every update.

Any suggestions on what I can do to get these 2 playing nicely ?


How good are you with lighttpd configuration? That's the webserver Snakeoil is using.

What you need to do is to install the pihole (/admin) folder as /var/www/pihole, instead of in /var/www/html. And configure lighttpd to use /var/www/pihole when you browse to the URL http://snakeoil.local/admin

This needs to be setup in /etc/lighttpd/conf-available, and then linked to the /etc/lighttpd/conf-enabled folder.


Excellent - thanks for the tip. Will have a hack at it and report back.
 Reply
 
SnakeoilOS Mission
[-]

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.

Latest Threads
[-]
Advertising
[-]
Possibly Related Threads…
 

Users browsing this thread: 1 Guest(s)