Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install Guide Additions #146

Open
tjasond opened this issue Feb 4, 2012 · 1 comment
Open

Install Guide Additions #146

tjasond opened this issue Feb 4, 2012 · 1 comment

Comments

@tjasond
Copy link

tjasond commented Feb 4, 2012

Hello,

First of all, thanks for developing this plugin and taking the time to write such a thorough installation guide. I decided to pass along a couple of suggestions based on a recent Ubuntu 11.10 installation:

sudoers

Changes made to this file must be made at the very end of the file in Ubuntu; otherwise the line starting with "admin ..." negates the earlier changes.

www-data user

We found out that in our case, the user that was being used to invoke the Redmine process was actually our main user account that was used to install the Passenger mod. This can be determined by running:

ps -Af | grep redmine

after Apache has been started. The user listed as owning the Redmine process is the one that needs to be used in place of all occurrences of "www-data" in the guide.

Also, no edits to the PATH were needed.

For reference, our base setup consisted of the following packages: lamp-server, ruby, passenger, and redmine 1.3 (manually, not synaptic).

@three18ti
Copy link

This is actually a functionality of Passenger, specifically UserSwitching,

http://www.modrails.com/documentation/Users%20guide%20Apache.html#user_switching

The correct way to solve this problem is to set the ownership of redmine/chiliproject_root/config/enviornment.rb to that of the user you wish to run the application (in this case www-data).

EDIT: Unless you want redmine to run as the redmine user. In which case, you are correct, replace all instances of www-data with redmine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants