jumpsmm7 / Asuswrt-Merlin-AdGuardHome-Installer

The Official Installer of AdGuardHome for Asuswrt-Merlin
GNU General Public License v3.0
143 stars 15 forks source link

Port 3000 not 14711 #188

Closed drejjmit closed 1 year ago

drejjmit commented 1 year ago

Took me forever to figure this out. Maybe you should update the notification

AdGuard Home is available on the following addresses:
Go to http://127.0.0.1:3000
Go to http://X.X.X.X:3000

https://github.com/AdguardTeam/AdGuardHome/wiki/Getting-Started

jumpsmm7 commented 1 year ago

In my test it is 14711, that is how this installer sets it up. The adguardhome wiki has nothing to do with how this installer installs adguardhome as far as its webui Port.

https://github.com/jumpsmm7/Asuswrt-Merlin-AdGuardHome-Installer/blob/master/installer#L836

If you changed this back to the default port (or changed back to a default.yaml file), then that is your own doing. Not this installers. Hence, this user peeve you are presenting here is not an "issue" for this installer.

By default, this installer installs adguardhome on a different bind port (not the default one in the wiki.)

using these .yaml file options.

https://github.com/AdguardTeam/AdGuardHome/wiki/Configuration#configuration-file

image

drejjmit commented 1 year ago

Of course i did not change the bind port on my own and then came here to tell you xD Somewhere it's set to 3000. Not sure if it's your script or the AdGuard installer that sets it to 3000 image

jumpsmm7 commented 1 year ago

Of course i did not change the bind port on my own and then came here to tell you xD Somewhere it's set to 3000. Not sure if it's your script or the AdGuard installer that sets it to 3000 image

Did you copy an old .yaml file from a different configuration? I just installed using the installer and my bind port is set properly.

jumpsmm7 commented 1 year ago

Here is my install method: image image image image image image image image

Which of the steps did you skip, or were missing?

drejjmit commented 1 year ago

Here's a copy of the log when I installed

image

jumpsmm7 commented 1 year ago

Here's a copy of the log when I installed image

Yea there is definitely something wrong, or not right ,about your setup. For starters, there are errors trying to create the necessary files in /jffs/scripts

image

Entware is not letting you set the username and password in the terminal, or install the column package:

image

To me, this indicates a problem specific to your setup with /jffs/scripts/ and your Entware setup. Your Entware is not working properly (it is possibly corrupt or on a corrupt USB). ALL of this is indicated from the errors presented from your terminal session.

In order for AdGuardHome to install and work properly using this installer, Your USB must be in tip top shape, and /jffs/scripts and entware must be fully functional. However, this is not an issue created by this installer script. Having a fully functional /jffs/scripts/ and Entware Repo are prerequisites to running this installer, and not something provided by it.

Solution Redo your USB drive you have entware installed on (I would recommend fixing your USB with diskcheck, or replacing the USB all together). Make sure /jffs/scripts is properly enabled. Install AMTM first before attempting to install AdGuardHome, so you can ensure your entware install process is done correctly. Install AMTM diskcheck script so your USB is diskchecked every reboot before mounting.