Hi! I'm attempting to set up libre.sh on a Digital Ocean node following INSTALL.md. My initial goal is a working Known site. I've gotten as far as enabling/starting haproxy. Yay!
This should probably be a forum post, but the quad indent code samples suck for pasting logs etc..
Anyway:
When I try to provision a known site, the DB provisioning evidently fails:
sudo libre provision -a github.com/indiehosters/known -u edrex.pdxhub.org -s
Cloning into '/data/domains/edrex.pdxhub.org'...
remote: Counting objects: 121, done.
remote: Total 121 (delta 0), reused 0 (delta 0), pack-reused 121
Receiving objects: 100% (121/121), 28.94 KiB | 0 bytes/s, done.
Resolving deltas: 100% (61/61), done.
Checking connectivity... done.
2017-02-06 03:57:25 UTC [ warning] you have no email server setup, we'll print a random configuration in your application. Make sure to check the parameters for your app to send proper emails.
2017-02-06 03:57:25 UTC [ warning] To stop having this warning, please configure your libre.sh to be abble to create email accounts.
2017-02-06 03:57:25 UTC [ warning] You can also contact support@indie.host to setup an email account for you
++ xargs
++ head -c 20
++ tr -dc A-Za-z0-9_
+ MYSQL_ROOT_PASSWORD=redacted
+ echo MYSQL_ROOT_PASSWORD=redacted
+ echo KNOWN_DB_PASSWORD=redacted
+ echo MAIL_PASS=randompass
+ echo MAIL_USER=example@indie.host
+ echo MAIL_HOST=mail.indie.host
+ echo MAIL_PORT=587
+ echo MAIL_SECURE=starttls
Created symlink /etc/systemd/system/multi-user.target.wants/u@edrex.pdxhub.org.service → /etc/systemd/system/u@.service.
core@libre / $ cd /data/domains/edrex.pdxhub.org/
core@libre /data/domains/edrex.pdxhub.org $ libre logs
Attaching to edrexpdxhuborg_web_1, edrexpdxhuborg_app_1, edrexpdxhuborg_db_1
app_1 | Cannot connect to Mysql. Starting anyway...
app_1 | [06-Feb-2017 04:07:43] NOTICE: fpm is running, pid 1
app_1 | [06-Feb-2017 04:07:43] NOTICE: ready to handle connections
db_1 | error: database is uninitialized and password option is not specified
db_1 | You need to specify one of MYSQL_ROOT_PASSWORD, MYSQL_ALLOW_EMPTY_PASSWORD and MYSQL_RANDOM_ROOT_PASSWORD
I have some comfort with docker-compose and systemd but it's going to take me a little time to get used to how libre is set up. Troubleshooting suggestions? Maybe an early exit because I don't have email set up yet or something? Thanks, and please LMK if this should be posted somewhere else.
Hi! I'm attempting to set up libre.sh on a Digital Ocean node following INSTALL.md. My initial goal is a working Known site. I've gotten as far as enabling/starting haproxy. Yay!
This should probably be a forum post, but the quad indent code samples suck for pasting logs etc..
Anyway:
When I try to provision a known site, the DB provisioning evidently fails:
I have some comfort with docker-compose and systemd but it's going to take me a little time to get used to how libre is set up. Troubleshooting suggestions? Maybe an early exit because I don't have email set up yet or something? Thanks, and please LMK if this should be posted somewhere else.