GrecoTechnology / Bizbox

Bizbox project
GNU General Public License v3.0
1 stars 0 forks source link

Can't load Portainer portal #7

Open GrecoTechnology opened 1 year ago

GrecoTechnology commented 1 year ago

Describe the bug Can't load Traefik at dash.domain.com

Error message in the browser when loading website

This page isn’t working
portainer.domain.com is currently unable to handle this request.
HTTP ERROR 500

One error in the docker logs about encryption key missing, but otherwise looks like it's fine

docker logs domain-com-portainer
2023/03/28 06:13PM INF github.com/portainer/portainer/api/cmd/portainer/main.go:534 > encryption key file not present | filename=portainer
2023/03/28 06:13PM INF github.com/portainer/portainer/api/cmd/portainer/main.go:553 > proceeding without encryption key |
2023/03/28 06:13PM INF github.com/portainer/portainer/api/database/boltdb/db.go:124 > loading PortainerDB | filename=portainer.db
2023/03/28 18:13:58 server: Reverse tunnelling enabled
2023/03/28 18:13:58 server: Fingerprint 8b:0c:f4:b1:b8:c0:e4:ec:21:6e:16:7b:01:05:ee:7e
2023/03/28 18:13:58 server: Listening on 0.0.0.0:8000...
2023/03/28 06:14PM INF github.com/portainer/portainer/api/cmd/portainer/main.go:810 > starting Portainer | build_number=27403 go_version=1.19.4 image_tag=linux-amd64-2.17.0 nodejs_version=18.14.0 version=2.17.0 webpack_version=5.68.0 yarn_version=1.22.19
2023/03/28 06:14PM INF github.com/portainer/portainer/api/http/server.go:342 > starting HTTPS server | bind_address=:9443
2023/03/28 06:14PM INF github.com/portainer/portainer/api/http/server.go:327 > starting HTTP server | bind_address=:9000
2023/03/28 06:18PM INF github.com/portainer/portainer/api/cmd/portainer/main.go:534 > encryption key file not present | filename=portainer
2023/03/28 06:18PM INF github.com/portainer/portainer/api/cmd/portainer/main.go:553 > proceeding without encryption key |
2023/03/28 06:18PM INF github.com/portainer/portainer/api/database/boltdb/db.go:124 > loading PortainerDB | filename=portainer.db
2023/03/28 18:18:35 server: Reverse tunnelling enabled
2023/03/28 18:18:35 server: Fingerprint 8b:0c:f4:b1:b8:c0:e4:ec:21:6e:16:7b:01:05:ee:7e
2023/03/28 18:18:35 server: Listening on 0.0.0.0:8000...
2023/03/28 06:18PM INF github.com/portainer/portainer/api/cmd/portainer/main.go:810 > starting Portainer | build_number=27403 go_version=1.19.4 image_tag=linux-amd64-2.17.0 nodejs_version=18.14.0 version=2.17.0 webpack_version=5.68.0 yarn_version=1.22.19
2023/03/28 06:18PM INF github.com/portainer/portainer/api/http/server.go:327 > starting HTTP server | bind_address=:9000
2023/03/28 06:18PM INF github.com/portainer/portainer/api/http/server.go:342 > starting HTTPS server | bind_address=:9443

My guess is it's broken by the config / _data folder structure that was introduced to support headers for wordpress and invoiceninja

To Reproduce Steps to reproduce the behavior: Install primary domain or install portainer command

bb install domain.com --primary

or

bb install domain.com portainer
btmarouane commented 1 year ago

Portainer is working. Please use portainer.domain.tld