| 13:38 | mstenta[m] | symbioquine: FYI I opened a PR for www.drupal.org/project/farm/issues/32172 |
| 13:38 | mstenta[m] | github.com/farmOS/farmOS/pull/1047 |
| 13:44 | symbioquine[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:44 | symbioquine[m] | TIL: IE may be around 0.3% of browser usage these days 🎉 |
| 13:45 | symbioquine[m] | (based on caniuse.com/usage-table) |
| 13:45 | symbioquine[m] | Probably higher if you include corporate intranet kinds of usage I'd imagine. |
| 13:45 | symbioquine[m] | Also interesting would be to know what the usage of different browsers is among our actual target demographics. |
| 13:51 | symbioquine[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:52 | symbioquine[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:55 | symbioquine[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:55 | mstenta[m] | Hmm |
| 13:56 | * | uploaded an image: (153KiB) < matrix.org/oftc/media/v1/media/download/ > |
| 13:56 | symbioquine[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:56 | symbioquine[m] | Kinda weird |
| 13:57 | symbioquine[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:02 | symbioquine[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:08 | mstenta[m] | Eh it's just for testing |
| 14:09 | mstenta[m] | Not sure I understand why that's happening here though... but it's not an issue with the image itself, right? |
| 14:09 | symbioquine[m] | Nope |
| 14:10 | symbioquine[m] | It's my use of user: root in the docker-compose.yml file |
| 14:11 | symbioquine[m] | Presumably that causes docker to create those (presumably) named pipes. |
| 14:11 | symbioquine[m] | * I guess that causes docker to create those (presumably) named pipes. |
| 14:11 | symbioquine[m] | * I guess that causes docker to create those (presumably) named pipes with the user's ownership - in my case root. |
| 14:11 | mstenta[m] | huh |
| 14:11 | * | sent a bash code block: matrix.org/oftc/media/v1/media/download/ |
| 14:12 | symbioquine[m] | Hmmm |
| 14:12 | symbioquine[m] | oh |
| 14:12 | symbioquine[m] | that's a different case |
| 14:12 | mstenta[m] | oh |
| 14:12 | symbioquine[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:13 | mstenta[m] | because you are trying to start as root but run as www-data |
| 14:13 | symbioquine[m] | yeah |
| 14:13 | mstenta[m] | yup... |
| 14:13 | * | sent a bash code block: matrix.org/oftc/media/v1/media/download/ |
| 14:16 | mstenta[m] | same thing with drupal base image... |
| 14:16 | * | sent a bash code block: matrix.org/oftc/media/v1/media/download/ |
| 14:16 | symbioquine[m] | I bet it goes all the way back to the apache image. |
| 14:24 | symbioquine[m] | Unsuprisingly, I also had to add;... (full message at <matrix.org/oftc/media/v1/media/download/>) |
| 16:12 | symbioquine[m] | github.com/symbioquine/farmOS_wfs/action 🤞 |