Page MenuIniciProjectes

Actualitzat 1,593 Day(s) AgoPúblic

This is the main entry point for the Wiki on Phabricator. Get (back) to the Commons Cloud project.

Documents externs d'ajuda sobre Phabricator:

Questions de configuració d'aquesta instancia:

  • policy.allow-public : posem a "yes" aquest policy per permetre objectes públics, és a dir que no cal estar loggeats per accedir-hi.

Editar permisos de acceso por omisión sobre nuevos proyectos

Can Use Application
    All Users 
Can Configure Application
Can Create Projects
Can Lock Project Membership
Default View Policy
    Project Members 
Default Edit Policy
    Project Members 
Default Join Policy
    All Users


Enter in the server and create a json file mail.smtp.json

  "type": "smtp",
  "options": {
   "host": "docker-host",
   "port": 25

Now import it

./bin/config set cluster.mailers --stdin < mail.smtp.json

See your config

./bin/config get cluster.mailers

Test the config

Make a file with an email body text hello.txt

./bin/mail  send-test --to <username> --subject hi < /hello.txt

Database backup


Programme the crontab -e

15 5 * * * /var/www/phabricator/phabricator/bin/storage dump | gzip > /var/backups/mysql/backup.sql.gz

Run some mechanism that copies /var/backups/mysql/backup.sql.gz and other data to backup server.


Had some problems with the file integrity hash after moving the data directory to the new server.

/var/www/phabricator/phabricator/bin/files integrity --all Showed ok, but web interface threw php error when trying to access files.

/etc/init.d/apache2 restart
/var/www/phabricator/phabricatorbin/phd stop
/var/www/phabricator/phabricatorbin/phd start

Is the problem solved? If not try these..
/var/www/phabricator/phabricator/bin/files integrity --help

/var/www/phabricator/phabricator/bin/files integrity --compute --all
/var/www/phabricator/phabricator/bin/files integrity --strip --all
/var/www/phabricator/phabricator/bin/files integrity --overwite --all

Git config

git-http-backend is required.

apk add git-daemon

LDAP config

Base Distinguished Name: ou=users,o=femprocomuns,dc=commonscloud,dc=coop
Username Attribute: uid
Search Attributes: (&(uid=${login})(|(objectclass=inetOrgPerson)))
Realname Attributes: displayName

Install Prototype Apps

You can see non-installed apps when you change the query in the Apps overview. In order to really use them however, one needs to configure the following over ssh:
$/srv/phabricator ./bin/config set true
This setting is not saved in the DB as global setting, but local, in: conf/local/local.json

SSH server

apk add openssh-server
/usr/bin/ssh-keygen -A

Start manually

Últim autor
Last Edited
Jul 31 2019, 11:45