Unable to open URL with grist-omnibus docker in TrueNAS

Hi @paul-grist , Thank you for your sincere reply. According to your solution, I have been able to log in to my self-built Grist. I can protect my data now. In the process of modifying the dex.yaml, two more things should be noted.

  1. The environment variable EMAIL still needs to be set. Otherwise, an error will be reported as:
Error: Please provide an EMAIL, needed for certificates and initial login.

The environment variable PASSWORD does not need to be set.

  1. dex.yaml seems to need to be mapped to its default location, otherwise it will still report No /custom/dex.yaml. You can use the command find / -name "dex.yaml" to search for dex.yaml in the entire docker container. In my case (TrueNAS Scale), the path to dex.yaml is /settings/dex.yaml.

For SAML, according to the instructions at the help center, I successfully made the key pair (where I got stuck) and mapped them to the docker container (a very critical step). Now I can also log in to the self-built Grist by using SAML.

The package grist-omnibus is user friendly where Google is not blocked. A good one for first-time self-hosters. One suggestion I have is to remove the A-Z in the TEAM for clarity: GitHub - gristlabs/grist-omnibus: an opinionated Grist+Dex+Traefik package for first-time self-hosters.

Thanks again for your time and patience in solving my problem. I learned a lot about SAML and container while solving the problem. I can use Grist to manage data now. :grinning: :grinning:

Have a nice day! :sunny:

1 Like