[Bug 262762] www/redmine42: Unable to start do to log directory
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 24 Mar 2022 16:44:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262762 Bug ID: 262762 Summary: www/redmine42: Unable to start do to log directory Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: mikael@FreeBSD.org Reporter: meka@tilda.center Flags: maintainer-feedback?(mikael@FreeBSD.org) Assignee: mikael@FreeBSD.org Created attachment 232677 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=232677&action=edit redmine.diff Although -c in thin should take the process to WWWDIR, starting redmine complains it can not create /log. The full error is: Traceback (most recent call last): 13: from /usr/local/bin/thin:25:in `<main>' 12: from /usr/local/bin/thin:25:in `load' 11: from /usr/local/lib/ruby/gems/2.7/gems/thin-1.8.1/bin/thin:6:in `<top (required)>' 10: from /usr/local/lib/ruby/gems/2.7/gems/thin-1.8.1/lib/thin/runner.rb:159:in `run!' 9: from /usr/local/lib/ruby/gems/2.7/gems/thin-1.8.1/lib/thin/runner.rb:203:in `run_command' 8: from /usr/local/lib/ruby/gems/2.7/gems/thin-1.8.1/lib/thin/controllers/controller.rb:62:in `start' 7: from /usr/local/lib/ruby/gems/2.7/gems/thin-1.8.1/lib/thin/daemonizing.rb:56:in `daemonize' 6: from /usr/local/lib/ruby/2.7/fileutils.rb:211:in `mkdir_p' 5: from /usr/local/lib/ruby/2.7/fileutils.rb:211:in `each' 4: from /usr/local/lib/ruby/2.7/fileutils.rb:226:in `block in mkdir_p' 3: from /usr/local/lib/ruby/2.7/fileutils.rb:226:in `reverse_each' 2: from /usr/local/lib/ruby/2.7/fileutils.rb:228:in `block (2 levels) in mkdir_p' 1: from /usr/local/lib/ruby/2.7/fileutils.rb:250:in `fu_mkdir' /usr/local/lib/ruby/2.7/fileutils.rb:250:in `mkdir': Read-only file system @ dir_s_mkdir - /log (Errno::EROFS) Tweaking the /usr/local/etc/rc.d/redmine like I did (included in the uploaded file) the error goes away and everything works, but I'm not too happy about it. -- You are receiving this mail because: You are the assignee for the bug.