Thank you for your donation!


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


Problem: Listen port changed in nginx.conf
#1
Hello all,

I'm Giovanni, from Italy.

I'm a new user of Moode Audio, and I'm trying to make it work on a Raspberri PI 3 B+.
I changed the nginx.conf file, in manner to change the Listen port from 80 to a different one; of course, now I get the "Integrity check failed" error, and cannot access anymor my library nor the Radio stations (cause MPD does not load correctly).
I know that Moode check the nginx.conf crc, and that now my nginx.conf cannot pass the test.
Is there a way to update the crc moode audio does expect for the file, so I can use it modified?
Please help me, I'd really like to have adifferent http port for Moode.
Thank you in advance.

Ciao,
GIovanni

PS: I searched the forum, but found nothing.
If the question has already been answered, I apologize; but, please, address me to the informations, if there is any.
Reply
#2
Ok,

A deeper research in the forum led me to the solution.
Quite easy, I would add.

So, after you modify nginx.conf, you have to instruct Moode Audio to do not raise an error on the modified file, but to only warn us about it.
So, open your ssh terminal (or use the web ssh page) and run the following two commands:

Code:
sudo sqlite3 /var/local/www/db/moode-sqlite3.db "DROP TRIGGER ro_columns"

This will grant you the rights to run the following command:

Code:
sudo sqlite3 /var/local/www/db/moode-sqlite3.db "UPDATE cfg_hash SET ACTION = 'warning' WHERE PARAM = '/etc/nginx/nginx.conf'"

That's it.
From now on you'll receive a simple warning about your modified nginx.conf file, but everything will work flawlessy.

Thanks to the guys that started the following thread, where I found the solution:
http://moodeaudio.org/forum/showthread.php?tid=341

HEllo all!
Reply


Forum Jump: