Bug 277930

Summary: www/owncast: not starting after the update to 0.1.2
Product: Ports & Packages Reporter: gnunix <mhengst>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: New ---    
Severity: Affects Only Me CC: de-freebsd
Priority: --- Flags: bugzilla: maintainer-feedback? (de-freebsd)
Version: Latest   
Hardware: amd64   
OS: Any   

Description gnunix 2024-03-24 19:55:55 UTC
Owncast (www/owncast port) doesnt seem to want to start after update to 1.0.2.

Runs fine when i install the package version owncast: 0.0.13_4, starts with no problem but with the new port it seems to not be able to read the pidfile in /var/run, as shown here:



/usr/local/etc/rc.d/owncast: DEBUG: pid file (/var/run/owncast.pid): not readable.

command run:

service owncast start
/usr/local/etc/rc.d/owncast: DEBUG: pid file (/var/run/owncast.pid): not readable.
/usr/local/etc/rc.d/owncast: DEBUG: checkyesno: owncast_enable is set to YES.
/usr/local/etc/rc.d/owncast: DEBUG: run_rc_command: doit:  owncast_start
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2024-03-24 21:39:56 UTC
*** Bug 277931 has been marked as a duplicate of this bug. ***
Comment 2 gnunix 2024-03-26 09:06:07 UTC
After reading the debug.log it seemed that the port doesnt set the user and group of the /usr/local/www/owncast directory right, setting these with 

chmod -r owncast:owncast /usr/local/www/owncast solved my issue.


Mar 25 16:07:25 de4dcpu owncast[26073]: time="2024-03-25T16:07:25+01:00" level=fatal msg="Cannot set up emoji directory unable to create custom emoji directory: mkdir data/emoji: permission denied"
Mar 25 16:07:50 de4dcpu owncast[26121]: time="2024-03-25T16:07:50+01:00" level=error msg="stat data/emoji: permission denied"



Issue solved.