Date: Thu, 29 Dec 2022 14:34:48 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 268641] www/redmine50: fix logfile path for thin server Message-ID: <bug-268641-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268641 Bug ID: 268641 Summary: www/redmine50: fix logfile path for thin server 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: olevole@olevole.ru Assignee: mikael@FreeBSD.org Flags: maintainer-feedback?(mikael@FreeBSD.org) Created attachment 239120 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D239120&action= =3Dedit www/redmine50: fix logfile path for thin server The ruby 'thin' server does not use an absolute path for logs file/dir.=20 This leads to problems running Redmine on readonly bases (for example in ja= ils with nullfs RO base): -- redmine5:/@[17:26] # service redmine start 2022-12-29 17:26:32 +0300 Deleting stale PID file tmp/pids/thin.pid /usr/local/lib/ruby/3.0/fileutils.rb:253:in `mkdir': Read-only file system @ dir_s_mkdir - /log (Errno::EROFS) from /usr/local/lib/ruby/3.0/fileutils.rb:253:in `fu_mkdir' from /usr/local/lib/ruby/3.0/fileutils.rb:231:in `block (2 levels) = in mkdir_p' from /usr/local/lib/ruby/3.0/fileutils.rb:229:in `reverse_each' from /usr/local/lib/ruby/3.0/fileutils.rb:229:in `block in mkdir_p' from /usr/local/lib/ruby/3.0/fileutils.rb:211:in `each' from /usr/local/lib/ruby/3.0/fileutils.rb:211:in `mkdir_p' from /usr/local/lib/ruby/gems/3.0/gems/thin-1.8.1/lib/thin/daemonizing.rb:56:in `daemonize' from /usr/local/lib/ruby/gems/3.0/gems/thin-1.8.1/lib/thin/controllers/controlle= r.rb:62:in `start' from /usr/local/lib/ruby/gems/3.0/gems/thin-1.8.1/lib/thin/runner.rb:203:in `run_command' from /usr/local/lib/ruby/gems/3.0/gems/thin-1.8.1/lib/thin/runner.rb:159:in `run= !' from /usr/local/lib/ruby/gems/3.0/gems/thin-1.8.1/bin/thin:6:in `<t= op (required)>' from /usr/local/bin/thin:25:in `load' from /usr/local/bin/thin:25:in `<main>' -- We can fix the logfile path via rc.d/redmine script ( check `thin -h` for -= -log args ) --=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-268641-7788>