< 242024-07-25⋎26 >

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
08:59*ian_vai[m] has joined
08:59ian_vai[m]hi guys,... (full message at <matrix.org/_matrix/media/v3/download/mat>)
13:27mstenta[m]ian_vai: I would highly recommend starting with farmOS v3. v2 is no longer supported.
13:28mstenta[m]You can build the image yourself on a Pi pretty easily.
13:28mstenta[m]Happy to help walk through how to do that... and if you wouldn't mind maybe we can document it in a forum topic for future reference.
13:29mstenta[m]Ultimately, we'd like to provide official ARM64 images. We've taken steps towards it in the past, and the path is pretty clear, just haven't had the time to prioritize it.
13:29mstenta[m]paul121: Nice work debugging that `consumers` issue!
15:02symbioquine[m]Haven't looked too deeply yet, but I'm getting a failure with the docker image builds...
15:02*uploaded an image: (81KiB) < matrix.org/_matrix/media/v3/download/mat >
15:03symbioquine[m](Modified to just run the apt-get step to show that's where it's failing.)
15:04mstenta[m]Hmm. Odd. You know... I was doing some Debian upgrades yesterday (unrelated) and ran into a few remote Debian repository URL failures. I wonder if they're having some upstream server instability?
15:04mstenta[m]Maybe unrelated though... and they did resolve for me eventually.
15:05mstenta[m]FWIW I just pushed 3.x and it built successfully ~1 hr ago: github.com/farmOS/farmOS/actions/runs/10
15:05symbioquine[m]Yeah, that sounds like a likely culprit
15:05mstenta[m]Try rerunning? 🤷
15:07symbioquine[m]Will do once I'm back at my computer
15:56symbioquine[m]I was actually out of disk space... stackoverflow.com/questions/62473932/at-
15:57mstenta[m]Ahh
15:57mstenta[m]That'd do it :-)
15:57symbioquine[m]Unclear why that error message results, but guessing it fails to save the package listing and then it doesn't match the signature.
15:57mstenta[m]Yea interesting
15:57mstenta[m]Hey @room! farmOS dev call starts in a few minutes! All are welcome! :-)
15:57mstenta[m]meet.jit.si/farmos-dev
15:58symbioquine[m]Now I'm getting a weird error where the PROJECT_REPO variable isn't being populated for the build-farmos.sh script.
17:27symbioquine[m]It looks like there's a better way to do what we want than using the ARG/ENV pattern...
17:28symbioquine[m]github.com/moby/moby/issues/37622#issuec
17:29symbioquine[m]Still not sure why it's working as-is for Mike and working in the GH actions though...
17:30mstenta[m]ah so we set ARG FOO=defaultvalue before the first FROM and then just put ARG FOO at the beginning of each build stage that needs it?
17:31symbioquine[m]Exactly
17:31mstenta[m]Simple enough! Makes sense!
17:31mstenta[m]But/and yea... no idea why it's working for me and github actions without that right now
17:31symbioquine[m]github.com/symbioquine/farmOS/commit/3a9
17:31mstenta[m]www.quickmeme.com/img/a2/a20a0adec6f4b2d
17:32symbioquine[m]I tried looking through the Docker 26 vs 27 changelogs and didn't find anything that seemed relevant
17:33symbioquine[m]Not sure I'll have time to look into reproducing the problem/lack-thereof on a clean VM today. Maybe sometime soon though.
17:33mstenta[m]Well if you want to open a PR at least... I think we could consider merging even without nailing down why it worked
17:34mstenta[m]This is the documented right way to do it
17:34symbioquine[m]Sigh...
17:34symbioquine[m]I'll probably see if I can get to the bottom of it before opening the PR.
17:35symbioquine[m]For now it's in this branch if we need it: github.com/symbioquine/farmOS/tree/3.x-u
17:35symbioquine[m]Need to add some links to the commit message and explain what/why.
17:36symbioquine[m]Anyway. Gotta run for today. Thanks for the help!
17:36mstenta[m]Cool sounds good! Thanks symbioquine !
18:03ian_vai[m]<mstenta[m]> "Happy to help walk through how..." <- sounds good. happy to document an arm64 docker image build. where do i start? what are the steps?
18:05mstenta[m]You basically just clone the farmOS repo, checkout the version you want (eg: 3.2.3) and run docker build -t farmOS/farmOS:3.2.3 docker
18:05mstenta[m]that will build an image named farmOS/farmOS:3.2.3 which you can then use locally
18:06mstenta[m]docker build will build it for arm64 since that's what you're running it on
18:09ian_vai[m]awesome. thanks for that. I will give it a try tonight and report back

< 242024-07-25⋏26 >