Date: Thu, 24 Mar 2022 16:44:10 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 262762] www/redmine42: Unable to start do to log directory Message-ID: <bug-262762-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262762 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=3D232677&action= =3Dedit 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/controlle= r.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 mkdi= r_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 leve= ls) 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 upload= ed file) the error goes away and everything works, but I'm not too happy about= it. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262762-7788>