Add Vagrant-caused permissions problem to Possible Issues.

This commit is contained in:
Ian Whitlock 2015-09-27 19:19:26 -05:00 committed by Tim Abbott
parent b6c1f1d162
commit 54fd321941
1 changed files with 13 additions and 10 deletions

View File

@ -164,19 +164,22 @@ individual tests, e.g.:
Possible testing issues Possible testing issues
======================= =======================
The Casper tests are flaky on the Virtualbox environment (probably due - The Casper tests are flaky on the Virtualbox environment (probably due
to some performance-sensitive races). Until this issue is debugged, to some performance-sensitive races). Until this issue is debugged,
you may need to rerun them to get them to pass. you may need to rerun them to get them to pass.
When running the test suite, if you get an error like this: When running the test suite, if you get an error like this:
``` ```
sqlalchemy.exc.ProgrammingError: (ProgrammingError) function ts_match_locs_array(unknown, text, tsquery) does not exist sqlalchemy.exc.ProgrammingError: (ProgrammingError) function ts_match_locs_array(unknown, text, tsquery) does not exist
LINE 2: ...ECT message_id, flags, subject, rendered_content, ts_match_l... LINE 2: ...ECT message_id, flags, subject, rendered_content, ts_match_l...
^ ^
``` ```
… then you need to install tsearch-extras, described above. Afterwards, re-run the `init*-db` and the `do-destroy-rebuild*-database` scripts. … then you need to install tsearch-extras, described above. Afterwards, re-run the `init*-db` and the `do-destroy-rebuild*-database` scripts.
- When building the development environment using Vagrant and the LXC provider, if you encounter permissions errors, you may need to `chown -R 1000:$(whoami) /path/to/zulip` on the host before running `vagrant up` in order to ensure that the synced directory has the correct owner during provision. This issue will arise if you run `id username` on the host where `username` is the user running Vagrant and the output is anything but 1000.
This seems to be caused by Vagrant behavior; more information can be found here https://github.com/fgrehm/vagrant-lxc/wiki/FAQ#help-my-shared-folders-have-the-wrong-owner
License License
======= =======