我正在尝试在Phabricator中配置LDAP身份验证.
/ config/group/ldap /上的设置已完成.但是,当尝试使用LDAP登录时,phabricator正在回答以下错误:
>>> UNRECOVERABLE FATAL ERROR <<<
Call to undefined function ldap_connect()
/sfrphabricator/phabricator/src/applications/auth/ldap/PhabricatorLDAPProvider.php:110
??? ? ¯\_(?)_/¯ ? ???
Run Code Online (Sandbox Code Playgroud)
是否有针对phabricator的ldap验证的配置技巧?
我试图登陆我的弧形补丁.我是最新的原点/主人,我的补丁被审查和接受.在phahicator网站上说:Next Step arc land 'arcpatch-D37'.但如果我使用arc patch D37然后arc land我遇到问题.
它拉开了:
Switched back to branch ?[1marcpatch-D37?[m.
[2014-04-29 14:06:50] EXCEPTION: (CommandException) Command failed with error #1
28!
COMMAND
git pull --ff-only --no-stat
STDOUT
(empty)
STDERR
fatal: Not possible to fast-forward, aborting.
at [D:\arcanist\libphutil\src\future\exec\ExecFuture.php:398]
Run Code Online (Sandbox Code Playgroud)
我尝试先拉,没有问题/冲突.不知道该做什么/下一步尝试.
我可以进入造粒机的网址。当我从phabricator目录运行以下脚本时,收到以下复制的错误。我还从custom / myconfig.conf.php文件中复制了mysql配置信息(凭据有效-我可以使用mysql -u root -p通过终端登录)。一旦我可以测试设置,就将凭据更改为非root用户。
myconfig.conf.php
// DatabaseConfigurationProvider.
'mysql.configuration-provider' => 'DefaultDatabaseConfigurationProvider',
// The username to use when connecting to MySQL.
'mysql.user' => 'root',
// The password to use when connecting to MySQL.
'mysql.pass' => 'xxxxxxxxx',
// The MySQL server to connect to.
'mysql.host' => '127.0.0.1', ///'localhost',
// If you want to connect to a different port than the default (which is 3306)
'mysql.port' => null,
Run Code Online (Sandbox Code Playgroud)
运行./bin/storage升级后出错
Unable To Connect: Attempt to connect to root@localhost failed with error #1045: Access …Run Code Online (Sandbox Code Playgroud) 也许我是个白痴,但我有一个非常简单的问题:如何将Phabricator安装的主页更改为仪表板?我可以在Phabricator中制作一个仪表板......但是我怎样才能确保当用户访问安装的基础uri时会显示这个仪表板?
我做了一个arc install-certificate但是每次做一次电弧调用都会返回一个"Segmentation fault:11".我确实输入了令牌.弧差的痕迹对我没有多大帮助:
$ arc diff --trace
libphutil loaded from '/xxx/arcinstall/libphutil/src'.
arcanist loaded from '/xxx/arcinstall/arcanist/src'.
Config: Reading user configuration file "/xxx/.arcrc"...
Config: Did not find system configuration at "/etc/arcconfig".
Working Copy: Reading .arcconfig from "/xxx/.arcconfig".
Working Copy: Path "/xxx" is part of `git` working copy "/xxx".
Working Copy: Project root is at "/xxx".
Config: Did not find local configuration at "/xxx/.git/arc/config".
>>> [0] <conduit> user.whoami() <bytes = 117>
>>> [1] <http> https://xxx.xx.xx/api/user.whoami
<<< [1] <http> 327,750 us
<<< [0] <conduit> …Run Code Online (Sandbox Code Playgroud) 我在一个特定的分支上进行了提交,然后进行了区别。现在,我忘记了此特定差异的差异ID。我想找回我该如何做到这一点。
我正在尝试构建一个 ssh 服务以允许推/拉到 phabricator 存储库。我已经对所有服务进行了 docker 化,目前遇到了一个奇怪的错误,无法执行 ssh 必需的身份验证脚本。
docker 镜像同时运行php-fpm和sshd服务,其想法是将 ssh 与必需的 php 脚本结合起来。
特别是,我有以下 /etc/ssh/sshd_config:
AuthorizedKeysCommand /usr/libexec/phabricator-ssh-hook.sh
AuthorizedKeysCommandUser git
AllowUsers git
Port 2222
Protocol 2
PermitRootLogin no
AllowAgentForwarding no
AllowTcpForwarding no
PrintMotd no
#PrintLastLog no
PasswordAuthentication no
ChallengeResponseAuthentication no
AuthorizedKeysFile none
PidFile /var/run/sshd-phabricator.pid
Run Code Online (Sandbox Code Playgroud)
(顺便说一句,当我启动 sshd 时,PrintLastLog 抛出一个错误,我认为这不相关,但可能是?)
当我手动运行时
su - git -c "/srv/phabricator/scripts/ssh/ssh-auth.php git",我能够成功执行该脚本。
但是,当我sshd在调试模式 ( /usr/sbin/sshd -d -d -d) 下运行时检查日志时,收到以下错误:
...other stuff...
debug3: monitor_read: checking request 22
debug3: mm_answer_keyallowed …Run Code Online (Sandbox Code Playgroud) 我使用Phabricator很长一段时间.它工作正常,直到我错误地按下键盘上的某个组合键.现在它始终显示"消息"部分(代码审查模式,票证详细信息模式等).它削减了很多有用的空间.
我试图在"Phabricator用户文档"上找到答案,但没有成功.有人知道如何隐藏"消息"部分吗?
我在OS X 10.10.4上使用Safari 8.0.7.
这是我需要做的情况。我在本地有一个分支,例如 testBranch (其中包含修改后的文件file.txt)。我已经将 testBranch 推送到远程git push origin testBranch。所以我不能 arc diff 以便其他人可以通过 Phabricator 查看我的代码(因为我已经推送了)
我的同事所做的是创建一个新分支,例如 testBranch1,如下所示:
git checkout testBranch
git merge master // merge master to testBranch
git checkout master
git pull --rebase // git pull while my local update reserved
git checkout testBranch
git merge master // merge master to testBranch
git checkout master
git merge testBranch // merge testBranch to master
git reset origin/master // set the current HEAD to origin/master in my local
git …Run Code Online (Sandbox Code Playgroud)