fuguhub change port not working

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
l3g0r
Posts: 1
Joined: Sat Jun 05, 2021 12:23 pm

fuguhub change port not working

Post by l3g0r »

hi
I have adguard home running in my pi zero I want to try FuguHub.
"Web access http://<yourIP>/ # Yes it runs on port 80 and optional 443, hence is incompatible with a regular webserver with default setup."
I change port In /home/bd/bdd.conf but it doesn`t work?¿

Code: Select all

- The HTTP and HTTPS ports can be bound to different interfaces.
-- See also the BD command line parameters -p, -s.
--host="www.mysite.com"
--sslhost="www.mysite.com"
--ipv6host="www.mysite.com"
--ipv6sslhost="www.mysite.com"
--port=8888
--sslport=448
--tryports=false -- boolean value. Try alternate ports if opening defaults fail

Code: Select all

journalctl -u bdd
-- Logs begin at Sat 2021-06-05 11:42:55 CEST, end at Sat 2021-06-05 13:04:48 CEST. --
Jun 05 13:03:54 DietPi systemd[1]: /run/systemd/generator.late/bdd.service:14: PIDFile= references path below legacy directory
 /var/run/, updating /var/run/FuguHub.pid → /run/FuguHub.pid; please update the unit file accordingly.
Jun 05 13:03:54 DietPi systemd[1]: Starting LSB: Barracudadrive web server...
Jun 05 13:03:54 DietPi bdd[1294]: Starting FuguHub
Jun 05 13:03:54 DietPi bdd[1294]: Threads: 3
Jun 05 13:03:54 DietPi bdd[1294]: Sessions: 100
Jun 05 13:03:54 DietPi bdd[1294]: Connections: 80
Jun 05 13:03:54 DietPi systemd[1]: bdd.service: Can't open PID file /run/FuguHub.pid (yet?) after start: No such file or directory
Jun 05 13:03:54 DietPi bdd[1294]: Threads: 3
Jun 05 13:03:54 DietPi bdd[1294]: Sessions: 100
Jun 05 13:03:54 DietPi bdd[1294]: Connections: 80
Jun 05 13:03:54 DietPi FuguHub[1297]: FuguHub: daemon started...
Jun 05 13:03:55 DietPi FuguHub[1297]: trace: EPOLL dispatcher; maxcon: 262144
Jun 05 13:03:55 DietPi systemd[1]: Started LSB: Barracudadrive web server.
Jun 05 13:03:55 DietPi FuguHub[1297]: trace: Cannot open server listen port 80: bind
Jun 05 13:03:55 DietPi FuguHub[1297]: trace: Error: .bdconfig:207: Cannot open server listen port 80: bind.
Jun 05 13:03:55 DietPi systemd[1]: bdd.service: Main process exited, code=exited, status=1/FAILURE
Jun 05 13:03:55 DietPi systemd[1]: bdd.service: Failed with result 'exit-code'.
Jun 05 13:04:47 DietPi systemd[1]: Starting LSB: Barracudadrive web server...
Jun 05 13:04:48 DietPi bdd[1321]: Starting FuguHub
Jun 05 13:04:48 DietPi bdd[1321]: Threads: 3
Jun 05 13:04:48 DietPi bdd[1321]: Sessions: 100
Jun 05 13:04:48 DietPi bdd[1321]: Connections: 80
Jun 05 13:04:48 DietPi systemd[1]: bdd.service: Can't open PID file /run/FuguHub.pid (yet?) after start: No such file or directory
Jun 05 13:04:48 DietPi bdd[1321]: Threads: 3
Jun 05 13:04:48 DietPi bdd[1321]: Sessions: 100
Jun 05 13:04:48 DietPi bdd[1321]: Connections: 80
Jun 05 13:04:48 DietPi FuguHub[1324]: FuguHub: daemon started...
Jun 05 13:04:48 DietPi FuguHub[1324]: trace: EPOLL dispatcher; maxcon: 262144
Jun 05 13:04:48 DietPi systemd[1]: Started LSB: Barracudadrive web server.
Jun 05 13:04:48 DietPi FuguHub[1324]: trace: Cannot open server listen port 80: bind
Jun 05 13:04:48 DietPi FuguHub[1324]: trace: Error: .bdconfig:207: Cannot open server listen port 80: bind.
Jun 05 13:04:48 DietPi systemd[1]: bdd.service: Main process exited, code=exited, status=1/FAILURE
Jun 05 13:04:48 DietPi systemd[1]: bdd.service: Failed with result 'exit-code'.

Jun 05 13:04:48 DietPi FuguHub[1324]: trace: Cannot open server listen port 80: bind
Jun 05 13:04:48 DietPi FuguHub[1324]: trace: Error: .bdconfig:207: Cannot open server listen port 80: bind.


Why doesn´t change port?¿ thanks.
User avatar
Joulinar
Posts: 4823
Joined: Sat Nov 16, 2019 12:49 am

Re: fuguhub change port not working

Post by Joulinar »

Better to ask the developer of fuguhub, I guess, why it did not accept your config.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply