Open changchichung opened 4 years ago
have the same prob It is "Postal::ConfigError: No Let's Encrypt private key found at /opt/postal/config/lets_encrypt.pem" he cant find this file.
Workaround:
docker exec -it postal bash
/opt/postal/bin/postal make_user
Then fill out the fields and the user ist created
I'm not using ngnix as it works fine without it. This is the offending line
- persistent_assets:/storage
removed it and the error went away.
Workaround:
docker exec -it postal bash /opt/postal/bin/postal make_user
Then fill out the fields and the user ist created
There is no command called make_user. Running the correct make-user give this error
root@a212ba745a55:/# /opt/postal/bin/postal make-user
Traceback (most recent call last):
7: from script/make_user.rb:4:in <main>' 6: from script/make_user.rb:4:in
require_relative'
5: from /opt/postal/config/environment.rb:2:in <top (required)>' 4: from /opt/postal/config/environment.rb:2:in
require_relative'
3: from /opt/postal/config/application.rb:1:in <top (required)>' 2: from /opt/postal/config/application.rb:1:in
require_relative'
1: from /opt/postal/config/boot.rb:9:in <top (required)>' /opt/postal/lib/postal/config.rb:198:in
check_config!': No Let's Encrypt private key found at /opt/postal/config/lets_encrypt.pem (Postal::ConfigError)
So it does in way solve the error.
Seems like your install might be broken.
You can use docker-compose for clean reinstall, but make sure to backup your Postal files beforehand.
BEWARE: The following command will take down all associated services and volumes. All Postal data will be LOST! So backup first!
docker-compose down -v
docker-compose.yml in ubuntu I change nothing here.
and docker logs postal
please , any suggestions ?