# HG changeset patch # User wenzelm # Date 1577026122 -3600 # Node ID c898cd5b85191e3d905ae10a2889e341ff830cb1 # Parent 277ee690cb14e101e47f51bc77a5b96e5770cde6 obsolete; diff -r 277ee690cb14 -r c898cd5b8519 Admin/Phabricator/README --- a/Admin/Phabricator/README Sat Dec 21 15:14:34 2019 +0100 +++ b/Admin/Phabricator/README Sun Dec 22 15:48:42 2019 +0100 @@ -1,28 +1,11 @@ Phabricator server ================== -- Apache HTTPS via "Let's Encrypt": - https://letsencrypt.org/getting-started - https://certbot.eff.org/lets-encrypt/ubuntubionic-apache.html - - Configuration / Authentication: https://secure.phabricator.com/book/phabricator/article/configuring_accounts_and_registration . auth.require-email-verification true - . policy.allow-public true - -- Update: - https://secure.phabricator.com/book/phabricator/article/upgrading - - sudo ./update - - Documentation: /var/www/phabricator-vcs/libphutil/scripts/build_xhpast.php ./bin/diviner generate #slow - -- Backup: - https://secure.phabricator.com/book/phabricator/article/configuring_backups - - $ apt install automysqlbackup - edit /etc/default/automysqlbackup: BACKUPDIR diff -r 277ee690cb14 -r c898cd5b8519 Admin/Phabricator/update --- a/Admin/Phabricator/update Sat Dec 21 15:14:34 2019 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,24 +0,0 @@ -#!/usr/bin/env bash -# -# Update Phabricator installation in given ROOT directory -# see https://secure.phabricator.com/book/phabricator/article/upgrading - -set -e - -ROOT="${1:-/var/www/phabricator}" - -"$ROOT/phabricator/bin/phd" stop - -systemctl stop apache2 - -for REPOS in libphutil arcanist phabricator -do - cd "$ROOT/$REPOS" - git pull -done - -"$ROOT/phabricator/bin/storage" upgrade --force - -systemctl start apache2 - -"$ROOT/phabricator/bin/phd" start