File: phabricator.README.Debian

package info (click to toggle)
phabricator 0~git20220903-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 76,220 kB
  • sloc: php: 589,219; javascript: 27,980; sql: 19,466; ansic: 3,624; yacc: 2,506; sh: 696; xml: 503; lex: 488; python: 403; cpp: 224; makefile: 150; sed: 66
file content (106 lines) | stat: -rw-r--r-- 3,918 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
Security warning
================

After initial installation, phabricator will grant full access to the
first person who connects to it. So do not, repeat: DO NOT make the web
server world-wide accessible until after some configuration.


First installation
==================

The "Loading quickstart template" operation takes some time. Please
be patient.

This package provides only a very basic installation. Many steps are
still left to you.

Initial configuration might be a bit unusual: First you create an
account, possibly named "admin", then you add an "auth provider" (see
below), finally use "Password" in the settings page to trigger a
password reset.


Strongly recommended
--------------------

* Mail configuration

If you have a local mailserver (exim, postfix, nullmailer - anything
that provides /usr/sbin/sendmail), add the following lines to
`/var/lib/phabricator/local.json`

    "cluster.mailers": [
      {
        "key": "default-sendmail",
        "type": "sendmail"
      }
    ]

Where the text in "key" is not important. And make sure this file
is still valid JSON.

* "Auth provider"

See "Auth" in the left tab on the main page. In case of doubt,
"Username/Password" is the way to go.

Afterwards, lock the auth config as suggested by phabricator.


Recommended
-----------

* pygment support

You have to install both python3-pygments and python3-pkg-resources.
Then, as usual, in local.conf set "pygments.enabled" to true (without
quotes).

* Other

There are several "Setup Issues" behind the yellow exclamation mark.
Follow wisely.


Gotchas
=======

Don't be tempted to use an address `...@localhost` for the initial
account creation. This address is accepted but sending a password
recovery e-mail to that address will fail.

php8 is not (yet) supported.

Help needed!
============

phabricator is a huge and complex software, and the Debian package is
certainly far from being perfect. Please let us know if you see room
for improvement.


 -- Christoph Biedl <debian.axhn@manchmal.in-ulm.de>  Tue, 26 Jan 2021 17:43:29 +0100


Older README
============

(might be outdated)


phabricator for Debian
-----------------
* According to phabricator developers, everything in phabricator/externals is external code highly customized for phabricator. It cannot be packaged otherwise. For an example of what was modified and links for further details, see the lintian override for php mailer.
* __tests__ directories are packaged on purpose. Do not remove them if you don't want your phabricator instance to FATAL at runtime
* if you are affected by bug 720434 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=720434), daemons won't be able to start properly. This is unfortunate but has nothing to do with phabricator. Get the correct php.ini (cp /usr/share/php/php.ini-production.cli /etc/php/cli/php.ini) and the daemons will work as expected.
* Debian does not allow us to ship the most used passwords list compiled by openwall, so phabricator won't be able to tell you if your password is vulnerable to bruteforce. The openwall list is 3500+ passwords long, but only 634 are 8+ chars long (the minimum password length with phabricator default settings) and only one (winniethepooh) is 12+ chars long. So ensure your users use a long enough password and you won't miss this file.

Diffusion repository hosting
-----------------
Phabricator allows you to host repositories and serve them by http/ssh. This unfortunately cannot be done automagically by the phabricator package, so you will need to follow the instructions available at https://secure.phabricator.com/book/phabricator/article/diffusion_hosting/. Please note the daemon-user referred in the documentation is created by this package and is called phabricator. The webserver user is created by your webserver and is usually called www-data.

 -- Sylvestre Ledru <sylvestre@debian.org>, Sat, 12 Aug 2017 20:22:39 +0200