[DRE-maint] Bug#589033: redmine: Not possible to start webrick as stated in documentation
jerry at edagames.com
Wed Jul 14 12:47:21 UTC 2010
On 14/07/2010 14:20, Torbjørn Thorsen wrote:
> sudo -u www-data X_DEBIAN_SITEID="default" ruby script/server webrick -e production
> When I tried running that line, ruby exited with the following output:
> => Booting WEBrick
> => Rails 2.3.5 application starting on http://127.0.0.1:3000
> /usr/lib/ruby/1.8/fileutils.rb:243:in `mkdir': Permission denied - /usr/share/redmine/tmp (Errno::EACCES)
You're right, and i can't fix this, except by properly documenting
that webrick NEEDS to be able to create those directories in /usr/share/redmine/tmp
chown www-data:www-data /usr/share/redmine/tmp
and relaunch webrick.
Mind that webrick is intended for quick testing only. It should not be used
for production use.
Also, it is wise to remove /usr/share/redmine/tmp once you're done testing.
I can't add that tmp/ dir in redmine package, because it is not policy compliant.
More information about the Pkg-ruby-extras-maintainers