Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save swapnilpatil1682/f4f01a680e50b4cd6294363eb30d77bd to your computer and use it in GitHub Desktop.
Save swapnilpatil1682/f4f01a680e50b4cd6294363eb30d77bd to your computer and use it in GitHub Desktop.
Logs for the manual SSL type
administrator@portal:~$ sudo docker run \
> --rm -p 680:80 -p 6443:443 -p 622:22 \
> --env PHABRICATOR_HOST=phabricator.xxxxxx \
> --env MYSQL_HOST=172.17.0.2 \
> --env MYSQL_USER=admin \
> --env MYSQL_PASS=admin \
> --env PHABRICATOR_REPOSITORY_PATH=/repos \
> -v /home/administrator/phab_repo_backup:/repos \
> --env PHABRICATOR_HOST_KEYS_PATH=/hostkeys/persisted \
> -v /home/administrator/phab_ssh_keys:/hostkeys \
> --env SSL_TYPE=manual \
> --env SSL_CERTIFICATE=/ssl/cert.pem \
> --env SSL_PRIVATE_KEY=/ssl/cert.key \
> -v /home/administrator/phab_ssl_certs:/ssl \
> --link uat35:database \
> redpointgames/phabricator
[sudo] password for administrator:
+ /app/startup/10-boot-conf
+ '[' -f /baked ']'
+ '[' '' '!=' '' ']'
+ '[' '' == '' ']'
+ MYSQL_STORAGE_NAMESPACE=phabricator
+ '[' '' == tcp:// ']'
+ '[' manual == '' ']'
+ '[' '' == '' ']'
+ PHABRICATOR_VCS_USER=git
+ '[' '' == '' ']'
+ PHABRICATOR_STORAGE_TYPE=mysql
+ '[' '' '!=' '' ']'
+ '[' '' '!=' '' ']'
+ '[' '' '!=' '' ']'
+ '[' '' '!=' '' ']'
+ '[' '' '!=' '' ']'
+ '[' '' '!=' '' ']'
+ '[' -f /config/script.pre ']'
+ '[' -f /config/script.premig ']'
+ '[' -f /config/script.post ']'
+ '[' -f /config/script.phd ']'
+ '[' -f /config/script.letsencrypt ']'
+ '[' -f /config/letsencrypt.config ']'
+ '[' -d /config/keycache ']'
+ set +x
+ source /config.saved
++ OVERRIDE_PHABRICATOR_URI=
++ OVERRIDE_PHABRICATOR_BRANCH=
++ OVERRIDE_ARCANIST_URI=
++ OVERRIDE_ARCANIST_BRANCH=
++ OVERRIDE_LIBPHUTIL_URI=
++ OVERRIDE_LIBPHUTIL_BRANCH=
++ PHABRICATOR_HOST=phabricator.xxxxxx
++ PHABRICATOR_CDN=
++ PHABRICATOR_REPOSITORY_PATH=/repos
++ PHABRICATOR_STORAGE_TYPE=mysql
++ PHABRICATOR_STORAGE_PATH=
++ PHABRICATOR_STORAGE_BUCKET=
++ PHABRICATOR_VCS_USER=git
++ PHABRICATOR_VCS_PORT=
++ PHABRICATOR_HOST_KEYS_PATH=/hostkeys/persisted
++ AWS_S3_ACCESS_KEY=
++ AWS_S3_SECRET_KEY=
++ MYSQL_HOST=172.17.0.2
++ MYSQL_PORT=
++ MYSQL_USER=admin
++ set +x
++ MYSQL_STORAGE_NAMESPACE=phabricator
++ ENABLE_APCU=
++ ENABLE_UPDATE_ON_START=
++ SSL_TYPE=manual
++ SSL_CERTIFICATE=/ssl/cert.pem
++ SSL_PRIVATE_KEY=/ssl/cert.key
++ SSL_EMAIL=
++ SSL_DOMAINS=
++ SCRIPT_BEFORE_UPDATE=
++ SCRIPT_BEFORE_MIGRATION=
++ SCRIPT_AFTER_MIGRATION=
++ SCRIPT_AFTER_LETS_ENCRYPT=
++ SCRIPT_BEFORE_DAEMONS=
++ SCRIPT_AFTER_DAEMONS=
++ DISABLE_IOMONITOR=
+ sed -i s/PHABRICATOR/git/g /etc/passwd
+ sed s/__PHABRICATOR_VCS_USER__/git/g /etc/phabricator-ssh/sshd_config.phabricator.template
+ sed s/__PHABRICATOR_VCS_USER__/git/g /etc/phabricator-ssh/phabricator-ssh-hook.sh.template
+ sed s/__PHABRICATOR_VCS_USER__/git/g /etc/php5/fpm/php-fpm.conf.template
+ chmod 755 /etc/phabricator-ssh/phabricator-ssh-hook.sh
+ '[' '' '!=' '' ']'
/srv/phabricator/phabricator /
+ '[' '' == true ']'
+ pushd /srv/phabricator/phabricator
+ '[' 172.17.0.2 '!=' '' ']'
+ sudo -u git ./bin/config set mysql.host 172.17.0.2
Set 'mysql.host' in local configuration.
+ '[' '' '!=' '' ']'
+ '[' admin '!=' '' ']'
+ sudo -u git ./bin/config set mysql.user admin
Set 'mysql.user' in local configuration.
+ set +x
Set 'mysql.pass' in local configuration.
+ '[' phabricator '!=' '' ']'
+ sudo -u git ./bin/config set storage.default-namespace phabricator
Set 'storage.default-namespace' in local configuration.
+ '[' phabricator.xxxxxx '!=' '' ']'
+ '[' manual == none ']'
+ sudo -u git ./bin/config set phabricator.base-uri https://phabricator.xxxxxx/
Set 'phabricator.base-uri' in local configuration.
+ '[' '' '!=' '' ']'
+ '[' '' '!=' '' ']'
+ sudo -u git ./bin/config set phd.user git
Set 'phd.user' in local configuration.
+ sudo -u git ./bin/config set diffusion.ssh-user git
Set 'diffusion.ssh-user' in local configuration.
+ sudo -u git ./bin/config set pygments.enabled true
Set 'pygments.enabled' in local configuration.
+ '[' /repos '!=' '' ']'
+ sudo -u git ./bin/config set repository.default-local-path /repos
Set 'repository.default-local-path' in local configuration.
+ '[' mysql == mysql ']'
+ sudo -u git ./bin/config set storage.mysql-engine.max-size 67108864
Set 'storage.mysql-engine.max-size' in local configuration.
+ '[' mysql == disk ']'
+ '[' mysql == s3 ']'
+ '[' '' '!=' '' ']'
+ '[' '' '!=' '' ']'
+ '[' manual == none ']'
+ APHLICT_PROTOCOL=https
+ APHLICT_PORT=443
+ sudo -u git ./bin/config set notification.servers '[{"type": "client","host": "phabricator.xxxxxx","port": 443,"protocol": "https","path": "/ws/"},{"type": "admin","host": "127.0.0.1","port": 22281,"protocol": "http"}]'
Set 'notification.servers' in local configuration.
+ unset APHLICT_PROTOCOL
/
+ unset APHLICT_PORT
+ popd
+ '[' '' == true ']'
+ '[' '' '!=' '' ']'
+ set +x
phabricator_search.edge OK
phabricator_search.edgedata OK
phabricator_search.search_document OK
phabricator_search.search_documentfield OK
phabricator_search.search_documentrelationship OK
phabricator_search.search_editengineconfiguration OK
phabricator_search.search_editengineconfigurationtransaction OK
phabricator_search.search_indexversion OK
phabricator_search.search_namedquery OK
phabricator_search.search_profilepanelconfiguration OK
phabricator_search.search_profilepanelconfigurationtransaction OK
phabricator_search.search_savedquery OK
phabricator_search.stopwords OK
+ /srv/phabricator/phabricator/bin/storage upgrade --force
Storage is up to date. Use "storage status" for details.
Synchronizing static tables...
Verifying database schemata on "172.17.0.2"...
Found no adjustments for schemata.
+ '[' '' '!=' '' ']'
+ /app/startup/15-https-conf
++ MYSQL_STORAGE_NAMESPACE=phabricator
++ ENABLE_APCU=
++ ENABLE_UPDATE_ON_START=
++ SSL_TYPE=manual
++ SSL_CERTIFICATE=/ssl/cert.pem
++ SSL_PRIVATE_KEY=/ssl/cert.key
++ SSL_EMAIL=
++ SSL_DOMAINS=
++ SCRIPT_BEFORE_UPDATE=
++ SCRIPT_BEFORE_MIGRATION=
++ SCRIPT_AFTER_MIGRATION=
++ SCRIPT_AFTER_LETS_ENCRYPT=
++ SCRIPT_BEFORE_DAEMONS=
++ SCRIPT_AFTER_DAEMONS=
++ DISABLE_IOMONITOR=
+ '[' manual == letsencrypt ']'
+ '[' manual == manual ']'
+ '[' '!' -f /baked ']'
+ cp -f /ssl/cert.pem /etc/nginx/cert.pem
+ cp -f /ssl/cert.key /etc/nginx/cert.key
+ chown nginx:nginx /etc/nginx/cert.pem /etc/nginx/cert.key
+ chmod 0400 /etc/nginx/cert.pem /etc/nginx/cert.key
+ mv /app/disabled-server-https-manual.conf /app/nginx.ssl.manual.conf
+ supervisord -c /app/supervisord.conf
2017-04-25 13:14:49,778 CRIT Supervisor running as root (no user in config file)
2017-04-25 13:14:49,780 INFO supervisord started with pid 44
2017-04-25 13:14:50,784 INFO spawned: 'postfix' with pid 47
2017-04-25 13:14:50,790 INFO spawned: 'php-fpm' with pid 48
2017-04-25 13:14:50,795 INFO spawned: 'aphlict' with pid 49
2017-04-25 13:14:50,805 INFO spawned: 'phd' with pid 50
2017-04-25 13:14:50,809 INFO spawned: 'cron' with pid 51
2017-04-25 13:14:50,816 INFO spawned: 'nginx' with pid 53
2017-04-25 13:14:50,818 INFO spawned: 'letsencrypt' with pid 55
2017-04-25 13:14:50,820 INFO spawned: 'ssh' with pid 56
2017-04-25 13:14:50,823 INFO spawned: 'nginx-ssl' with pid 57
2017-04-25 13:14:50,825 INFO spawned: 'iomonitor' with pid 59
+ export SYSTEMD_NO_WRAP=true
+ SYSTEMD_NO_WRAP=true
+ /etc/init.d/postfix start
2017-04-25 13:14:50,826 INFO success: letsencrypt entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
+ source /config.saved
++ OVERRIDE_PHABRICATOR_URI=
++ OVERRIDE_PHABRICATOR_BRANCH=
++ OVERRIDE_ARCANIST_URI=
++ OVERRIDE_ARCANIST_BRANCH=
++ OVERRIDE_LIBPHUTIL_URI=
++ OVERRIDE_LIBPHUTIL_BRANCH=
++ PHABRICATOR_HOST=phabricator.xxxxxx
++ PHABRICATOR_CDN=
++ PHABRICATOR_REPOSITORY_PATH=/repos
++ PHABRICATOR_STORAGE_TYPE=mysql
++ PHABRICATOR_STORAGE_PATH=
++ PHABRICATOR_STORAGE_BUCKET=
++ PHABRICATOR_VCS_USER=git
++ PHABRICATOR_VCS_PORT=
++ PHABRICATOR_HOST_KEYS_PATH=/hostkeys/persisted
++ AWS_S3_ACCESS_KEY=
++ AWS_S3_SECRET_KEY=
++ MYSQL_HOST=172.17.0.2
++ MYSQL_PORT=
++ MYSQL_USER=admin
++ set +x
++ MYSQL_STORAGE_NAMESPACE=phabricator
++ ENABLE_APCU=
++ ENABLE_UPDATE_ON_START=
++ SSL_TYPE=manual
++ SSL_CERTIFICATE=/ssl/cert.pem
++ SSL_PRIVATE_KEY=/ssl/cert.key
++ SSL_EMAIL=
++ SSL_DOMAINS=
++ SCRIPT_BEFORE_UPDATE=
++ SCRIPT_BEFORE_MIGRATION=
++ SCRIPT_AFTER_MIGRATION=
++ SCRIPT_AFTER_LETS_ENCRYPT=
++ SCRIPT_BEFORE_DAEMONS=
++ SCRIPT_AFTER_DAEMONS=
++ DISABLE_IOMONITOR=
+ '[' '!' -f /baked ']'
+ touch /var/log/aphlict.log
+ chown git:wwwgrp-phabricator /var/log/aphlict.log
/srv/phabricator/phabricator /
++ MYSQL_STORAGE_NAMESPACE=phabricator
++ ENABLE_APCU=
++ ENABLE_UPDATE_ON_START=
++ SSL_TYPE=manual
++ SSL_CERTIFICATE=/ssl/cert.pem
++ SSL_PRIVATE_KEY=/ssl/cert.key
++ SSL_EMAIL=
++ SSL_DOMAINS=
++ SCRIPT_BEFORE_UPDATE=
++ SCRIPT_BEFORE_MIGRATION=
++ SCRIPT_AFTER_MIGRATION=
++ SCRIPT_AFTER_LETS_ENCRYPT=
++ SCRIPT_BEFORE_DAEMONS=
++ SCRIPT_AFTER_DAEMONS=
++ DISABLE_IOMONITOR=
+ '[' '' '!=' '' ']'
+ pushd /srv/phabricator/phabricator
+ sudo -u git bin/phd start
+ cp -Rv /usr/lib/node_modules /srv/phabricator/phabricator/support/aphlict/server/
+ source /config.saved
++ OVERRIDE_PHABRICATOR_URI=
++ OVERRIDE_PHABRICATOR_BRANCH=
++ OVERRIDE_ARCANIST_URI=
++ OVERRIDE_ARCANIST_BRANCH=
++ OVERRIDE_LIBPHUTIL_URI=
++ OVERRIDE_LIBPHUTIL_BRANCH=
++ PHABRICATOR_HOST=phabricator.xxxxxx
++ PHABRICATOR_CDN=
++ PHABRICATOR_REPOSITORY_PATH=/repos
++ PHABRICATOR_STORAGE_TYPE=mysql
++ PHABRICATOR_STORAGE_PATH=
++ PHABRICATOR_STORAGE_BUCKET=
++ PHABRICATOR_VCS_USER=git
++ PHABRICATOR_VCS_PORT=
++ PHABRICATOR_HOST_KEYS_PATH=/hostkeys/persisted
++ AWS_S3_ACCESS_KEY=
++ AWS_S3_SECRET_KEY=
++ MYSQL_HOST=172.17.0.2
++ MYSQL_PORT=
Starting mail service (Postfix)++ MYSQL_USER=admin
'/usr/lib/node_modules' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules'
'/usr/lib/node_modules/options' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/options'
'/usr/lib/node_modules/options/package.json' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/options/package.json'
'/usr/lib/node_modules/options/test' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/options/test'
'/usr/lib/node_modules/options/test/fixtures' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/options/test/fixtures'
'/usr/lib/node_modules/options/test/fixtures/test.conf' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/options/test/fixtures/test.conf'
'/usr/lib/node_modules/options/test/options.test.js' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/options/test/options.test.js'
'/usr/lib/node_modules/options/lib' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/options/lib'
'/usr/lib/node_modules/options/lib/options.js' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/options/lib/options.js'
'/usr/lib/node_modules/ws' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws'
'/usr/lib/node_modules/ws/index.js' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/index.js'
'/usr/lib/node_modules/ws/package.json' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/package.json'
'/usr/lib/node_modules/ws/test' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test'
'/usr/lib/node_modules/ws/test/WebSocket.integration.js' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/WebSocket.integration.js'
'/usr/lib/node_modules/ws/test/testserver.js' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/testserver.js'
'/usr/lib/node_modules/ws/test/Sender.test.js' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/Sender.test.js'
'/usr/lib/node_modules/ws/test/hybi-common.js' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/hybi-common.js'
'/usr/lib/node_modules/ws/test/Receiver.hixie.test.js' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/Receiver.hixie.test.js'
'/usr/lib/node_modules/ws/test/WebSocketServer.test.js' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/WebSocketServer.test.js'
'/usr/lib/node_modules/ws/test/Validation.test.js' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/Validation.test.js'
'/usr/lib/node_modules/ws/test/autobahn-server.js' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/autobahn-server.js'
'/usr/lib/node_modules/ws/test/Receiver.test.js' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/Receiver.test.js'
'/usr/lib/node_modules/ws/test/BufferPool.test.js' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/BufferPool.test.js'
'/usr/lib/node_modules/ws/test/Extensions.test.js' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/Extensions.test.js'
'/usr/lib/node_modules/ws/test/WebSocket.test.js' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/WebSocket.test.js'
'/usr/lib/node_modules/ws/test/fixtures' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/fixtures'
'/usr/lib/node_modules/ws/test/fixtures/agent1-cert.pem' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/fixtures/agent1-cert.pem'
'/usr/lib/node_modules/ws/test/fixtures/ca1-key.pem' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/fixtures/ca1-key.pem'
'/usr/lib/node_modules/ws/test/fixtures/certificate.pem' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/fixtures/certificate.pem'
'/usr/lib/node_modules/ws/test/fixtures/agent1-key.pem' -> '/srv/phabricator/phabricator/support/aphli++ set +x
++ MYSQL_STORAGE_NAMESPACE=phabricator
++ MYSQL_STORAGE_NAMESPACE=phabricator
++ ENABLE_APCU=
++ ENABLE_UPDATE_ON_START=
++ SSL_TYPE=manual
++ SSL_CERTIFICATE=/ssl/cert.pem
++ SSL_PRIVATE_KEY=/ssl/cert.key
++ SSL_EMAIL=
++ SSL_DOMAINS=
++ SCRIPT_BEFORE_UPDATE=
++ SCRIPT_BEFORE_MIGRATION=
++ SCRIPT_AFTER_MIGRATION=
++ SCRIPT_AFTER_LETS_ENCRYPT=
++ SCRIPT_BEFORE_DAEMONS=
++ SCRIPT_AFTER_DAEMONS=
++ DISABLE_IOMONITOR=
+ '[' /hostkeys/persisted == '' ']'
+ '[' '!' -f /baked ']'
+ '[' -d /hostkeys/persisted ']'
+ cp -v /hostkeys/persisted/ssh_host_dsa_key /hostkeys/persisted/ssh_host_dsa_key.pub /hostkeys/persisted/ssh_host_ecdsa_key /hostkeys/persisted/ssh_host_ecdsa_key.pub /hostkeys/persisted/ssh_host_ed25519_key /hostkeys/persisted/ssh_host_ed25519_key.pub /hostkeys/persisted/ssh_host_key /hostkeys/persisted/ssh_host_key.pub /hostkeys/persisted/ssh_host_rsa_key /hostkeys/persisted/ssh_host_rsa_key.pub /etc/ssh/
++ ENABLE_APCU=
ct/server/node_modules/ws/test/fixtures/agent1-key.pem'
'/usr/lib/node_modules/ws/test/fixtures/request.pem' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/fixtures/request.pem'
'/usr/lib/node_modules/ws/test/fixtures/ca1-cert.pem' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/fixtures/ca1-cert.pem'
'/usr/lib/node_modules/ws/test/fixtures/key.pem' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/fixtures/key.pem'
'/usr/lib/node_modules/ws/test/fixtures/textfile' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/fixtures/textfile'
'/usr/lib/node_modules/ws/test/Sender.hixie.test.js' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/Sender.hixie.test.js'
'/usr/lib/node_modules/ws/test/PerMessageDeflate.test.js' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/PerMessageDeflate.test.js'
'/usr/lib/node_modules/ws/test/autobahn.js' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/autobahn.js'
'/usr/lib/node_modules/ws/lib' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/lib'
'/usr/lib/node_modules/ws/lib/BufferUtil.fallback.js' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/lib/BufferUtil.fallback.js'
'/usr/lib/node_modules/ws/lib/BufferPool.js' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/lib/BufferPool.js'
'/usr/lib/node_modules/ws/lib/Extensions.js' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/lib/Extensions.js'
'/usr/lib/node_modules/ws/lib/browser.js' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/lib/browser.js'
'/usr/lib/node_modules/ws/lib/PerMessageDeflate.js' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/lib/PerMessageDeflate.js'
'/usr/lib/node_modules/ws/lib/ErrorCodes.js' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/lib/ErrorCodes.js'
'/usr/lib/node_modules/ws/lib/WebSocketServer.js' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/lib/WebSocketServer.js'
'/usr/lib/node_modules/ws/lib/WebSocket.js' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/lib/WebSocket.js'
'/usr/lib/node_modules/ws/lib/Receiver.hixie.js' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/lib/Receiver.hixie.js'
'/usr/lib/node_modules/ws/lib/Validation.js' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/lib/Validation.js'
'/usr/lib/node_modules/ws/lib/Sender.hixie.js' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/lib/Sender.hixie.js'
'/usr/lib/node_modules/ws/lib/BufferUtil.js' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/lib/BufferUtil.js'
'/usr/lib/node_modules/ws/lib/Receiver.js' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/lib/Receiver.js'
'/usr/lib/node_modules/ws/lib/Validation.fallback.js' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/lib/Validation.fallback.js'
'/usr/lib/node_modules/ws/lib/Sender.js' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/lib/Sender.js'
'/usr/lib/node_modules/ultron' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ultron'
'/usr/lib/node_modules/ultron/index.js' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ultron/index.js'
'/usr/lib/node_modules/ultron/test.js' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ultron/test.js'
'/usr/lib/node_modules/ultron/package.json' -> '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ultron/package.json'
+ chown -Rv git:wwwgrp-phabricator /srv/phabricator/phabricator/support/aphlict/server/node_modules
++ ENABLE_UPDATE_ON_START=
++ MYSQL_STORAGE_NAMESPACE=phabricator
++ ENABLE_APCU=
++ ENABLE_UPDATE_ON_START=
++ SSL_TYPE=manual
++ SSL_CERTIFICATE=/ssl/cert.pem
++ SSL_PRIVATE_KEY=/ssl/cert.key
++ SSL_EMAIL=
++ SSL_DOMAINS=
++ SCRIPT_BEFORE_UPDATE=
++ SCRIPT_BEFORE_MIGRATION=
++ SCRIPT_AFTER_MIGRATION=
++ SCRIPT_AFTER_LETS_ENCRYPT=
++ SCRIPT_BEFORE_DAEMONS=
++ SCRIPT_AFTER_DAEMONS=
++ DISABLE_IOMONITOR=
+ '[' '' '!=' true ']'
+ '[' '!' -f /is-baking ']'
+ /opt/iomonitor/iomonitor
++ SSL_TYPE=manual
++ SSL_CERTIFICATE=/ssl/cert.pem
++ SSL_PRIVATE_KEY=/ssl/cert.key
++ SSL_EMAIL=
++ SSL_DOMAINS=
++ SCRIPT_BEFORE_UPDATE=
++ SCRIPT_BEFORE_MIGRATION=
++ SCRIPT_AFTER_MIGRATION=
'/hostkeys/persisted/ssh_host_dsa_key' -> '/etc/ssh/ssh_host_dsa_key'
'/hostkeys/persisted/ssh_host_dsa_key.pub' -> '/etc/ssh/ssh_host_dsa_key.pub'
'/hostkeys/persisted/ssh_host_ecdsa_key' -> '/etc/ssh/ssh_host_ecdsa_key'
'/hostkeys/persisted/ssh_host_ecdsa_key.pub' -> '/etc/ssh/ssh_host_ecdsa_key.pub'
'/hostkeys/persisted/ssh_host_ed25519_key' -> '/etc/ssh/ssh_host_ed25519_key'
'/hostkeys/persisted/ssh_host_ed25519_key.pub' -> '/etc/ssh/ssh_host_ed25519_key.pub'
'/hostkeys/persisted/ssh_host_key' -> '/etc/ssh/ssh_host_key'
'/hostkeys/persisted/ssh_host_key.pub' -> '/etc/ssh/ssh_host_key.pub'
'/hostkeys/persisted/ssh_host_rsa_key' -> '/etc/ssh/ssh_host_rsa_key'
'/hostkeys/persisted/ssh_host_rsa_key.pub' -> '/etc/ssh/ssh_host_rsa_key.pub'
+ chmod 600 /etc/ssh/ssh_host_dsa_key /etc/ssh/ssh_host_ecdsa_key /etc/ssh/ssh_host_ed25519_key /etc/ssh/ssh_host_key /etc/ssh/ssh_host_rsa_key
Reading /etc/sysconfig and updating the system...
++ SCRIPT_AFTER_LETS_ENCRYPT=
++ SCRIPT_BEFORE_DAEMONS=
++ SCRIPT_AFTER_DAEMONS=
++ DISABLE_IOMONITOR=
+ '[' manual == letsencrypt ']'
2017-04-25 13:14:50,853 INFO exited: letsencrypt (exit status 0; expected)
Enter PEM pass phrase:changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/options/package.json' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/options/test/fixtures/test.conf' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/options/test/fixtures' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/options/test/options.test.js' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/options/test' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/options/lib/options.js' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/options/lib' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/options' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/index.js' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/package.json' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/WebSocket.integration.js' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/testserver.js' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/Sender.test.js' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/hybi-common.js' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/Receiver.hixie.test.js' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/WebSocketServer.test.js' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/Validation.test.js' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/autobahn-server.js' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/Receiver.test.js' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/BufferPool.test.js' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/Extensions.test.js' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/WebSocket.test.js' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/fixtures/agent1-cert.pem' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/fixtures/ca1-key.pem' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/fixtures/certificate.pem' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/fixtures/agent1-key.pem' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/fixtures/+ /usr/sbin/sshd-gen-keys-start
request.pem' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/fixtures/ca1-cert.pem' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/fixtures/key.pem' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/fixtures/textfile' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/fixtures' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/Sender.hixie.test.js' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/PerMessageDeflate.test.js' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test/autobahn.js' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/test' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/lib/BufferUtil.fallback.js' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/lib/BufferPool.js' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/lib/Extensions.js' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/lib/browser.js' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/lib/PerMessageDeflate.js' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/lib/ErrorCodes.js' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/lib/WebSocketServer.js' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/lib/WebSocket.js' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/lib/Receiver.hixie.js' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/lib/Validation.js' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/lib/Sender.hixie.js' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/lib/BufferUtil.js' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/lib/Receiver.js' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/lib/Validation.fallback.js' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/lib/Sender.js' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws/lib' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ws' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ultron/index.js' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ultron/test.js' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ultron/package.json' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules/ultron' from root:root to git:wwwgrp-phabricator
changed ownership of '/srv/phabricator/phabricator/support/aphlict/server/node_modules' from root:root to git:wwwgrp-phabricator
+ cat
+ chmod a+rwX /run/watch
Checking for missing server keys in /etc/ssh
+ mkdir -pv /hostkeys/persisted
+ '[' '!' -f /is-baking ']'
+ pushd /srv/phabricator/phabricator
/srv/phabricator/phabricator /
+ sudo -u git bin/aphlict start --config=/srv/aphlict.conf
+ cp -vn /etc/ssh/ssh_host_dsa_key /etc/ssh/ssh_host_dsa_key.pub /etc/ssh/ssh_host_ecdsa_key /etc/ssh/ssh_host_ecdsa_key.pub /etc/ssh/ssh_host_ed25519_key /etc/ssh/ssh_host_ed25519_key.pub /etc/ssh/ssh_host_key /etc/ssh/ssh_host_key.pub /etc/ssh/ssh_host_rsa_key /etc/ssh/ssh_host_rsa_key.pub /hostkeys/persisted/
+ '[' '!' -f /is-baking ']'
+ /usr/sbin/sshd -f /etc/phabricator-ssh/sshd_config.phabricator
+ set +e
+ set +x
Waiting for /run/sshd-phabricator.pid to appear...
2017/04/25 13:14:50 [notice] 53#53: using the "epoll" event method
2017/04/25 13:14:50 [notice] 53#53: nginx/1.8.0
2017/04/25 13:14:50 [notice] 53#53: built by gcc 4.8.5 (SUSE Linux)
2017/04/25 13:14:50 [notice] 53#53: OS: Linux 4.4.0-72-generic
2017/04/25 13:14:50 [notice] 53#53: getrlimit(RLIMIT_NOFILE): 65536:65536
2017/04/25 13:14:50 [notice] 53#53: start worker processes
2017/04/25 13:14:50 [notice] 53#53: start worker process 100
Freeing active task leases...
Freed 0 task lease(s).
Launching daemons:
(Logs will appear in "/var/tmp/phd/log/daemons.log".)
(Pool: 1) PhabricatorRepositoryPullLocalDaemon
(Pool: 1) PhabricatorTriggerDaemon
(Pool: 4) PhabricatorTaskmasterDaemon
Reading configuration from: /srv/aphlict.conf
Aphlict Server started.
Writing logs to: /dev/stdout
Done.
/
+ popd
+ set +e
+ set +x
+ '[' '' '!=' '' ']'
+ popd
/
2017-04-25 13:14:51,161 INFO exited: phd (exit status 0; not expected)
2017-04-25 13:14:52,162 INFO success: postfix entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2017-04-25 13:14:52,162 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2017-04-25 13:14:52,162 INFO success: aphlict entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2017-04-25 13:14:52,165 INFO spawned: 'phd' with pid 177
2017-04-25 13:14:52,166 INFO success: cron entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2017-04-25 13:14:52,167 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2017-04-25 13:14:52,167 INFO success: ssh entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2017-04-25 13:14:52,167 INFO success: nginx-ssl entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2017-04-25 13:14:52,168 INFO success: iomonitor entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
++ MYSQL_STORAGE_NAMESPACE=phabricator
++ ENABLE_APCU=
++ ENABLE_UPDATE_ON_START=
++ SSL_TYPE=manual
/srv/phabricator/phabricator /
++ SSL_CERTIFICATE=/ssl/cert.pem
++ SSL_PRIVATE_KEY=/ssl/cert.key
++ SSL_EMAIL=
++ SSL_DOMAINS=
++ SCRIPT_BEFORE_UPDATE=
++ SCRIPT_BEFORE_MIGRATION=
++ SCRIPT_AFTER_MIGRATION=
++ SCRIPT_AFTER_LETS_ENCRYPT=
++ SCRIPT_BEFORE_DAEMONS=
++ SCRIPT_AFTER_DAEMONS=
++ DISABLE_IOMONITOR=
+ '[' '' '!=' '' ']'
+ pushd /srv/phabricator/phabricator
+ sudo -u git bin/phd start
Freeing active task leases...
Freed 0 task lease(s).
Launching daemons:
(Logs will appear in "/var/tmp/phd/log/daemons.log".)
(Pool: 1) PhabricatorRepositoryPullLocalDaemon
(Pool: 1) PhabricatorTriggerDaemon
(Pool: 4) PhabricatorTaskmasterDaemon
Done.
+ '[' '' '!=' '' ']'
+ popd
/
2017-04-25 13:14:52,466 INFO exited: phd (exit status 0; not expected)
Setting up postfix local as MDA...
2017-04-25 13:14:52,622 INFO gave up: phd entered FATAL state, too many start retries too quickly
Setting SPAM protection to "off"...
Rebuilding /etc/aliases.db.
rebuilding /etc/postfix/virtual.db
rebuilding /etc/postfix/transport.db
rebuilding /etc/postfix/access.db
rebuilding /etc/postfix/canonical.db
rebuilding /etc/postfix/sender_canonical.db
rebuilding /etc/postfix/relocated.db
rebuilding /etc/postfix/sasl_passwd.db
rebuilding /etc/postfix/relay_ccerts.db
rebuilding /etc/postfix/helo_access.db
rebuilding /etc/postfix/relay.db
..done
+ PIDFILE=/var/spool/postfix/pid/master.pid
+ set +e
+ set +x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment