Page MenuHomePhabricator

Add note to daemon documention page about running as daemon user
AbandonedPublic

Authored by hartman on May 27 2014, 2:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 22, 10:45 PM
Unknown Object (File)
Sat, Apr 20, 6:58 PM
Unknown Object (File)
Thu, Apr 18, 6:45 AM
Unknown Object (File)
Fri, Mar 29, 3:06 AM
Unknown Object (File)
Thu, Mar 28, 8:27 AM
Unknown Object (File)
Tue, Mar 26, 4:48 PM
Unknown Object (File)
Mar 14 2024, 1:17 PM
Unknown Object (File)
Feb 24 2024, 2:40 AM

Details

Reviewers
None
Group Reviewers
Blessed Reviewers
Summary

It is important that the daemons run as the configured phd.user. The
phd command does not enforce or inform you about this explicitly, so add an extra
note of this detail in the documentation page that I expected it to be mentioned
in. Long term, T5196 should fix this.

Test Plan

Run upgrade_phabricator without paying to much attention and get
bitten.

Diff Detail

Repository
rP Phabricator
Branch
master
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 721
Build 721: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

hartman retitled this revision from to Add note to daemon documention page about running as daemon user.
hartman updated this object.
hartman edited the test plan for this revision. (Show Details)

I missed this little bit when moving to local disk file storage, which has write permissions for the user running the web server (www-data) and then the GarbageCollectorDaemon emitted:

unlink(/srv/phabricator_files/69/aa/178c834ec7e0c1c9badd11389387)

errors, even though I had read this page, and found and set the phd.user setting to www-data on my own.

This would be handy to land so it gets in the docs.

No longer required because of D11036