# HG changeset patch # User nipkow # Date 1569429587 -7200 # Node ID 36283f21635c18291d1a5b141ac591b815844280 # Parent 59341cfb8fed9b8c3e991a5cd96a777900af548d# Parent 3fb16bed5d6c6ceb6e3e4129dcd91abc262ad300 merged diff -r 3fb16bed5d6c -r 36283f21635c Admin/Phabricator/README --- a/Admin/Phabricator/README Wed Sep 25 17:22:57 2019 +0200 +++ b/Admin/Phabricator/README Wed Sep 25 18:39:47 2019 +0200 @@ -20,11 +20,26 @@ https://secure.phabricator.com/book/phabricator/article/installation_guide https://secure.phabricator.com/source/phabricator/browse/master/scripts/install/install_ubuntu.sh -- Configuration/Setup Issues: ignore "Alternate File Domain Not Configured" + ./bin/storage upgrade --force + admin user: makarius + +- Configuration/Setup Issues: + + ignore "Alternate File Domain Not Configured" + + Add Auth Provider: Username/Password + ./bin/auth lock -- Configuration/Accounts: local, *not* Google, Github etc. + ./bin/phd start + +- Configuration / Authentication: https://secure.phabricator.com/book/phabricator/article/configuring_accounts_and_registration + . only local User/Password, *not* Google, Github etc. + . auth.require-email-verification true + + . policy.allow-public true + - Configuration/Mail: https://secure.phabricator.com/book/phabricator/article/configuring_outbound_email @@ -39,14 +54,32 @@ $ cp ssh/sshd-phabricator.service /etc/systemd/system/. $ cp ssh/sudoers.d/phabricator /etc/sudoers.d/. + /etc/passwd: + phab-daemon:x:118:126::/nonexistent:/bin/false + vcs:x:119:125::/home/vcs:/bin/bash + + /etc/group: + phab-daemon:x:126: + vcs:x:125: + + ./bin/config set phd.user phab-daemon + ./bin/config set diffusion.ssh-user vcs + ./bin/config set diffusion.ssh-port 2222 + Test: $ echo "{}" | ssh -p2222 vcs@phabricator.sketis.net conduit conduit.ping +- Repository Local Path: + mkdir -p /var/www/phabricator/repo + chown phab-daemon:phab-daemon /var/www/phabricator/repo + - Update: https://secure.phabricator.com/book/phabricator/article/upgrading sudo ./update + ./bin/diviner generate + - Backup: https://secure.phabricator.com/book/phabricator/article/configuring_backups