Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Nextcloud
#3
(12-19-2020, 12:36 PM)soundchippy Wrote: Ok, so before flashing the new 7.0 image I installed Nextcloud on my current sd card. It borked the Moode webui but i can still connect to MPD via Cantata on my laptop, which is nice. Wondering if there is a way to preserve both Moode and Nextclouds web interfaces, but perhaps using an MPD client is the trade off

Maybe easy, maybe not. It's certainly possible to run multiple http servers on the same device.

Some points in no particular order or significance:


1. The two web interfaces can't be using the same TCP ports on the same host, notably the well-known port 80. One fix is to change the configuration of one or the other and remember how to address the one you change (explicitly as http://moode:xx, say)

2. If Nextcloud also uses the nginx server it may be overwriting the /etc/nginx/nginx.conf file which defines moOde's setup. The fix is to meld the two configurations.

3. For every HTTP server I've worked with, including nginx, it's possible to set up virtual web hosts. You have to play games with DNS on your LAN, but it's possible for the nginx server on your moOde player to serve both http://moode on port 80 and http://nextcloud also on port 80.

ETA

4. I just checked and Nextcloud does use nginx. I forgot to mention that besides nginx virtual hosts (aka server blocks) it should be possible to make Nextcloud a subroot subdir of the webroot, so it would be addressed as http://moode/nextcloud. Truth-in-advertising: I've never tried this but the docs say it is possible.


Regards,
Kent
Reply


Messages In This Thread
Nextcloud - by soundchippy - 12-19-2020, 11:39 AM
RE: Nextcloud - by soundchippy - 12-19-2020, 12:36 PM
RE: Nextcloud - by TheOldPresbyope - 12-19-2020, 01:51 PM
RE: Nextcloud - by hindumagic - 02-09-2021, 04:21 AM
RE: Nextcloud - by Tim Curtis - 02-09-2021, 12:31 PM

Forum Jump: