I also get the <code>use --repository or -R to specify the repository database</code> error, but only when the server is running against an unopened project.