< 142026-02-15⋎16 >

Topic for #farmOS is: farmOS (farmos.org) is a free and open source, web-based farm management system. User guide: farmos.org/guide/ - Forum: farmOS.discourse.groupSet by mstenta on 2021-06-15 at 12:52
13:38mstenta[m]symbioquine: FYI I opened a PR for www.drupal.org/project/farm/issues/32172
13:38mstenta[m]github.com/farmOS/farmOS/pull/1047
13:44symbioquine[m]Seems reasonable. I wouldn't have been surprised to find IE on that list - but I'm glad it's not at this point.
13:44symbioquine[m]TIL: IE may be around 0.3% of browser usage these days 🎉
13:45symbioquine[m](based on caniuse.com/usage-table)
13:45symbioquine[m]Probably higher if you include corporate intranet kinds of usage I'd imagine.
13:45symbioquine[m]Also interesting would be to know what the usage of different browsers is among our actual target demographics.
13:51symbioquine[m]Quick sanity check... trying to fix some of my test harness stuff for the farmOS_wfs module and in my docker-compose.yml I'm doing some setup that (probably) needs to run as root. So I added user: root to the service and added a su www-data as part of exec'ing the docker-entrypoint.sh. Any idea why I'd be running into (13)Permission denied: AH00091: apache2: could not open error log file /var/log/apache2/error.log.?
13:52symbioquine[m]Seems like I shouldn't have caused any change to the permissions of that stuff and it should still be running as the user it expects to be (based on the image).
13:53*sent a yml code block: matrix.org/oftc/media/v1/media/download/
13:55symbioquine[m]Trying adding a `ls -lah /var/log && ls -lah /var/log/apache2` to see if that stuff is somehow getting the wrong permissions...
13:55mstenta[m]Hmm
13:56*uploaded an image: (153KiB) < matrix.org/oftc/media/v1/media/download/ >
13:56symbioquine[m]That's interesting. I guess I need to change the permissions on /dev/stderr and /dev/stdout so the user can write them...
13:56symbioquine[m]Kinda weird
13:57symbioquine[m]* That's interesting. I guess I need to change the permissions on /dev/stderr and /dev/stdout so the www-data user can write them...
14:02symbioquine[m]It's ugly and I'm not sure what the security consequences are, but I added a chmod 777 /dev/stderr /dev/stdout and that fixed it 🫣
14:08mstenta[m]Eh it's just for testing
14:09mstenta[m]Not sure I understand why that's happening here though... but it's not an issue with the image itself, right?
14:09symbioquine[m]Nope
14:10symbioquine[m]It's my use of user: root in the docker-compose.yml file
14:11symbioquine[m]Presumably that causes docker to create those (presumably) named pipes.
14:11symbioquine[m]* I guess that causes docker to create those (presumably) named pipes.
14:11symbioquine[m]* I guess that causes docker to create those (presumably) named pipes with the user's ownership - in my case root.
14:11mstenta[m]huh
14:11*sent a bash code block: matrix.org/oftc/media/v1/media/download/
14:12symbioquine[m]Hmmm
14:12symbioquine[m]oh
14:12symbioquine[m]that's a different case
14:12mstenta[m]oh
14:12symbioquine[m]This would be more like docker run --rm -it -u root farmos/farmos:4.0.0-beta2 su www-data -s /bin/bash -c 'exec docker-entrypoint.sh apache2-foreground'
14:13mstenta[m]because you are trying to start as root but run as www-data
14:13symbioquine[m]yeah
14:13mstenta[m]yup...
14:13*sent a bash code block: matrix.org/oftc/media/v1/media/download/
14:16mstenta[m]same thing with drupal base image...
14:16*sent a bash code block: matrix.org/oftc/media/v1/media/download/
14:16symbioquine[m]I bet it goes all the way back to the apache image.
14:24symbioquine[m]Unsuprisingly, I also had to add;... (full message at <matrix.org/oftc/media/v1/media/download/>)
16:12symbioquine[m]github.com/symbioquine/farmOS_wfs/action 🤞

< 142026-02-15⋏16 >