Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404 page not found after fresh install #4

Closed
JensForstmann opened this issue Nov 14, 2018 · 4 comments
Closed

404 page not found after fresh install #4

JensForstmann opened this issue Nov 14, 2018 · 4 comments

Comments

@JensForstmann
Copy link
Contributor

When I do the following:

mkdir -p /vb/librenms
cd /vb/librenms
wget https://raw.githubusercontent.com/librenms/docker/master/examples/compose/.env
wget https://raw.githubusercontent.com/librenms/docker/master/examples/compose/docker-compose.yml
wget https://raw.githubusercontent.com/librenms/docker/master/examples/compose/librenms.env
touch acme.json
chmod 600 acme.json
docker-compose up -d
docker-compose logs -f

(so no config changes at all)
...and then go into the browser (http://192.168.10.89) I get the following:

404 page not found


docker ps

shows the following:

root@frigg:~# docker ps
CONTAINER ID        IMAGE                      COMMAND                  CREATED             STATUS                          PORTS                                                NAMES
666b49e2ad36        librenms/librenms:latest   "/entrypoint.sh /usr…"   8 minutes ago       Up 8 minutes                    80/tcp, 0.0.0.0:514->514/tcp, 0.0.0.0:514->514/udp   librenms_syslog-ng_1_cc2e8dbe853a
7a4304ccbee2        librenms/librenms:latest   "/entrypoint.sh /usr…"   8 minutes ago       Up 8 minutes                    80/tcp, 514/tcp, 514/udp                             librenms_cron_1_c85c502798e5
e5dcb5850966        librenms/librenms:latest   "/entrypoint.sh /usr…"   8 minutes ago       Up 8 minutes                    80/tcp, 514/tcp, 514/udp                             librenms_app_1_1e1f6be1f229
c3fccf57893a        juanluisbaptiste/postfix   "/run.sh"                9 minutes ago       Restarting (1) 36 seconds ago                                                        librenms_smtp_1_8c22206c3147
88072406d5b0        traefik:1.6-alpine         "/entrypoint.sh --lo…"   9 minutes ago       Up 8 minutes                    0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp             librenms_traefik_1_d8e9e9320138
5aa5d3d5c336        memcached:alpine           "docker-entrypoint.s…"   9 minutes ago       Up 8 minutes                    11211/tcp                                            librenms_memcached_1_d5c9dfa460b7
20c5443663d3        crazymax/rrdcached         "/entrypoint.sh /usr…"   9 minutes ago       Up 8 minutes                    42217/tcp                                            librenms_rrdcached_1_4dae281a8d67
88308a78d54a        mariadb:10.2               "docker-entrypoint.s…"   9 minutes ago       Up 8 minutes                    3306/tcp                                             librenms_db_1_bcc3b84de649

docker-compose log

shows the following: https://gist.github.com/YenzRanger/2c65600a95c2ee6a5ddeb7835047f206

@JensForstmann
Copy link
Contributor Author

#1 relates to this (i think), but didn't helped

@crazy-max
Copy link
Member

crazy-max commented Nov 14, 2018

@YenzRanger As it is said in the README, :

Edit the compose and env files with your preferences

The examples folder is not intended to work as it is.

@JensForstmann
Copy link
Contributor Author

JensForstmann commented Nov 14, 2018

And what is the minimum configuration? librenms.env looks fine for my by default. And .env also.

@crazy-max
Copy link
Member

crazy-max commented Nov 14, 2018

DOMAINNAME env var is important as it will be used by traefik and librenms service.
So if you keep this config as is, LibreNMS can only be accessible through http(s)://librenms.example.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants