Certificate

So basically with https/ssl I get this

But without I get to the login page. But of course then I can’t register.
For me it seems like a certificate issue because I can’t find one and if now you now tell me I need to create it myself, how?

This is not a certificate issue, the socket is not reachable.

and how do I fix this because without ssl enabled I can reach it?

I am sorry but I do not even know what you did until now. This seems like a local network issue but without information what you are trying to achieve and what you did it is quite hard to give you any advice.

---
version: "3.8"

services:
  bitwarden:
    depends_on:
      - db
    env_file:
      - settings.env
    image: bitwarden/self-host:beta
    restart: always
    ports:
      - "8080"
    volumes:
      - bitwarden:/etc/bitwarden

  db:
    environment:
      MARIADB_USER: "bitwarden"
      MARIADB_PASSWORD: "super_strong_password"
      MARIADB_DATABASE: "bitwarden_vault"
      MARIADB_RANDOM_ROOT_PASSWORD: "true"
    image: mariadb:10
    restart: always
    volumes:
      - data:/var/lib/mysql

volumes:
  bitwarden:
  data:

# Container user ID/group ID
#PUID=1000
#PGID=1000

# Webserver ports
#BW_PORT_HTTP=8080
#BW_PORT_HTTPS=8443

# SSL
BW_ENABLE_SSL=true
#BW_ENABLE_SSL_CA=true
#BW_SSL_CERT=ssl.crt
#BW_SSL_KEY=ssl.key
#BW_SSL_CA_CERT=ca.crt

# Services
# Some services, namely for enterprise use cases, are disabled by default. Defaults shown below.
BW_ENABLE_ADMIN=true
BW_ENABLE_API=true
BW_ENABLE_EVENTS=false
BW_ENABLE_ICONS=true
BW_ENABLE_IDENTITY=true
BW_ENABLE_NOTIFICATIONS=true
BW_ENABLE_SCIM=false
BW_ENABLE_SSO=false

#BW_ICONS_PROXY_TO_CLOUD=false

# Mail
#globalSettings__mail__replyToEmail=noreply@$BW_DOMAIN
#globalSettings__mail__smtp__host=smtphost.example.com
#globalSettings__mail__smtp__port=587
#globalSettings__mail__smtp__ssl=false
#globalSettings__mail__smtp__username=smtpusername
#globalSettings__mail__smtp__password=smtppassword

# Yubikey
#globalSettings__yubico__clientId=REPLACE
#globalSettings__yubico__key=REPLACE

# Other
#globalSettings__disableUserRegistration=false
#globalSettings__hibpApiKey=REPLACE
#[email protected],[email protected]

So basically the first one is my docker-compose file and the second on is the settings.env file, nothing is port forwarded but I am trying to access it from the same network. Also there is no firewall on the rasberry pi, atleast there is noone I know of. Side note: I also have AdguardHome running on the pi and that works I can access the website over my computer.

Your docker-compose file is not forwarding the port you mentioned. Try this:

ports:
  - "8080"
  - "8443"

Ok I did that and now if I head to https://jupi.local:8443, it doens’t work, also doesn’t the format have to be like

"80:8080"

If thats the case I have no idea what I need to put infront of the “:”

Ok the solution was to do

"8443:8443"

Then I went to the website, Firefox warned me about self signed cert and after that I tried to get an account but now I get

Error
An error has occurred.
An unhandled server error has occurred.

On the forum I saw that it said it could be caused buy a outage, is that true or the case right now?

This maps the host port (80) to the container port (8080). According to the manpage it is okay to omit the hostport:

-p, --publish ip:[hostPort]:containerPort | [hostPort:]containerPort

I thought this would work with docker-compose, too. But it seems, I was wrong.

For server errors you should check the log files in your container.

So the logs are at

/var/lib/docker/containers

, right? If so I can‘t access them because it says permission denied.

There is only a Justrom account I can access there is root but I think I’m not able to access that and neither there is a docker account.

Ok I have now figured out how to access the logs, I now looked at the log of the container with the bitwarden/self:host not the mariadb log and my log is full of

The mariadb container log is full of

What does that mean and how can I fix it?

Please do not make screenshots of logfiles. They are not searchable and it is not possible to copy text from those.

The error looks like you forgot to set BW_DB_PASSWORD. Are you following this guide?

# Database
# Available providers are sqlserver, postgresql, mysql/mariadb, or sqlite
BW_DB_PROVIDER=mysql
BW_DB_SERVER=db
BW_DB_DATABASE=bitwarden_vault
BW_DB_USERNAME=justrom
BW_DB_PASSWORD=********

This is my settings.env file and I’d say I have set the password ofcourse it’s not just the stars. Could it be that my password involves a “%”?

When I remove the % from my password, I get anther error

An error has occurred.
NetworkError when attempting to fetch resource. 

This happens when I try to create an account but the logs still give the same errors as before.