supervisord: authentication and webpage is not working
Hi ,
My configure is
[unix_http_server]
file=/tmp/supervisord.sock
[inet_http_server]
port=127.0.0.1:9001
username=root
password=root
[supervisorctl]
serverurl=http://127.0.0.1:9001
[supervisord]
logfile=supervisord.log ; (main log file;default $CWD/supervisord.log)
pidfile=supervisord.pid ; (supervisord pidfile;default supervisord.pid)
childlogdir=supervisor ; ('AUTO' child log dir, default $TEMP)
loglevel =debug
user=root
[program:cat]
command = /bin/cat
when I start as
./supervisord -c supervisor.conf
and
./supervisord -c supervisor.conf ctl status
Bad Response: 401 Unauthorized
even the web page can’t display
404 page not found

I tried
git pull --rebase
go install
but with no luck.
About this issue
- Original URL
- State: open
- Created 6 years ago
- Comments: 15 (5 by maintainers)
It looks like in version v0.6.6 there was a switch from go_rice to fileb0x and the build instructions haven’t been updated. As of current “main” branch, v0.6.8, you need to go generate, then go get -u, then add the
-tags releaseflag to build. The following works for me:P.S. placing
webguifolder next to the compiled binary and changing working directory before executing the binary seems to have solved 404 problem which makes me more convinced that the problem is with packaging static assets. Please update instructions on how to build full self-contained binary from sources.The web GUI is in planning, hope the web GUI feature will be available soon