IRC logs for #farmOS, 2020-09-10 (GMT)

2020-09-09
2020-09-11
TimeNickMessage
[21:11:16]* JustTB has quit (Quit: Leaving.)
[22:07:19]* fcserr has joined #farmos
[22:52:50]<symbioquine[m]><symbioquine[m] "I just get a loading spinner htt"> Turns out there was a bad cookie for some domain besides element.io which was somehow breaking the matrix.org authentication process... clearing cookies for this Firefox container fixed the problem.
[23:00:50]<mstenta[m]>Ah that's annoying
[23:01:56]<symbioquine[m]>Yeah, I didn't figure it out at first because clearing cookies/localStorage/etc for the element.io didn't make any difference.
[23:02:14]<symbioquine[m]>How was the monthly call? I was sad to miss it...
[02:34:59]* hra38192639[m] has joined #farmos
[02:35:52]<hra38192639[m]>Hello! Question to developers: do you intend do release other languages?
[02:55:57]* JustTB has joined #farmos
[05:00:30]* toto[m] has quit (Quit: Idle for 30+ days)
[05:00:40]* todrobbins[m] has quit (Quit: Idle for 30+ days)
[07:22:08]<mstenta[m]>symbioquine: it was a great monthly call! good turnout
[07:22:19]<mstenta[m]>hra38192639: yes
[07:23:35]<mstenta[m]>https://farmos.org/hosting/localization/
[07:23:40]<mstenta[m]>https://farmos.discourse.group/t/farmos-translation-i18n/91
[07:23:46]<mstenta[m]>https://github.com/farmOS/farmOS-client/issues/214
[09:49:38]<paul121[m]>I totally goofed last night & missed the farmOS training call! How did that go?
[09:50:37]<mstenta[m]>It was good! Good number of folks - great questions
[09:51:01]<mstenta[m]>They will be giving participants "assignments" (things to try in farmOS) over the next two weeks, and then we'll come back together on 9/23 to discuss
[09:52:12]<paul121[m]>very cool
[11:34:47]* davd[m] has joined #farmos
[11:38:19]<davd[m]>mstenta: Howdy Mike. I have a farm! Working on getting systems set up. I'm planning to use FarmOS, and would like to support the project with a paid Farmier hosting subscription. But... my internet is fine, but sometimes has "issues" due to being in the relative middle of nowhere and having several single-point-of-failure nodes between me and the interwebs. How easy is it to backup everything from a Farmier FarmOS
[11:38:19]<davd[m]>instance, and import it into a Docker contained local FarmOS server instance, and then to also backup the local and import to Farmier. I'm thinking that I want to use Farmier hosting, but also keep a local copy for when internet goes down, and regularly, automatically, sync them.
[11:39:04]<symbioquine[m]>Would one of the copies be read-only?
[11:39:09]<mstenta[m]>Hi @davd!
[11:39:33]<mstenta[m]>I am actually going to be adding an ability to download a snapshot db backup!
[11:39:50]<mstenta[m]>So that it can be pulled locally - for your own backups, or for spinning up locally/elsewhere
[11:39:54]<davd[m]>I would make the local read-only, until internet went down, then I would make changes to the local, and then sync to Farmier hosted..
[11:40:01]<mstenta[m]>But.... there will not be a way to import back into Farmier
[11:40:03]<davd[m]>awesomesauce, mstenta.
[11:40:15]<mstenta[m]>That is much more complicated...
[11:40:15]<davd[m]>ok.
[11:40:22]<mstenta[m]>Basically: we need to think of one of them as the canonical
[11:40:31]<mstenta[m]>So exports are unidirectional in that sense
[11:40:31]<davd[m]>but the data could be synced? possibly somewhat manually?
[11:40:49]<mstenta[m]>Perhaps...
[11:41:10]<davd[m]>for instance, if logs were made locally, could you export the logs and import them in farmier?
[11:41:36]<mstenta[m]>You could write a Python script that would push records to the "canonical" server potentially
[11:42:28]<mstenta[m]>It would be harder to make a general tool for doing that... not impossible but not simple
[11:42:34]<davd[m]>on Farmier website, what does "CSV import/export + REST API" mean? I assumed it meant you could download a bunch of logs, or assets, as csv, and then import them somewhere else?
[11:42:53]<mstenta[m]>Yes - the REST API will give you complete data as JSON
[11:43:00]<mstenta[m]>and you can push data via that API as well
[11:43:04]<mstenta[m]>CSV exports are NOT complete data
[11:43:11]<davd[m]>I generally only lose internet for a day or so max... so it wouldn't be a lot of records.
[11:43:14]<mstenta[m]>See https://farmos.org/guide/export/
[11:43:37]<symbioquine[m]>I've also been interested in this problem... I'm using backup and migrate (https://www.drupal.org/project/backup_migrate) to do my production backups. It is pretty easy to take those backups and load them into a local installation - which is what I do for development testing. But thus far, my conclusion is that bidirectional mirroring/replication would be pretty hard without UUID entity ids...
[11:44:00]<symbioquine[m]>or... doing it at the DB level
[11:44:03]<mstenta[m]>The catch with REST API, though, is... you need to manage the ID references... so if you export a log from one site, and want to push it to another site, you need to delete that ID (otherwise it will look for an id to update on the server)
[11:44:12]<symbioquine[m]>yeah
[11:44:17]<mstenta[m]>And: if a log references other IDs, you need to make sure it's the canonical IDs
[11:44:37]<mstenta[m]>> pretty hard without UUID entity ids...
[11:44:49]<mstenta[m]>YES! we will have this in farmOS 2.x - which should make this easier
[11:44:51]<davd[m]>yeah.
[11:44:51]<davd[m]>for my use case, it's probably fine in that I could take notes and add to Farmos once internet was back. But at least I could have a local copy of records quite easily.
[11:45:06]<mstenta[m]>Also worth asking: have you heard of Field Kit?
[11:45:08]<mstenta[m]>https://farmOS.app
[11:45:31]<mstenta[m]>That works offline, you can sync todo logs to it, create new logs, and sync changes back to the server when you have internet
[11:45:34]<davd[m]>oh yeah. I had forgotten about that. I don't know much about it... I'll read
[11:46:13]<davd[m]>yes... that sounds like exactly what I'm looking for.
[11:46:43]<mstenta[m]>ah ha!
[11:46:48]<mstenta[m]>much simpler :-)
[11:47:13]<mstenta[m]>Field Kit doesn't save everything offline, though... only todo logs
[11:47:25]<mstenta[m]>So maybe not perfect for your needs, but hopefully a start
[11:47:43]<davd[m]>as an aside, when I pay for software, the #1 thing I look for on the website is a very clear and unambiguous statement regarding the ease to take back control and preferably a how-to guide. A mention about that on Farmier would get the attention of people like me who don't like being burned by not being able to get your data back out
[11:48:04]<mstenta[m]>I agree. :-)
[11:48:10]<mstenta[m]>That's my plan once I get the export stuff together
[11:48:14]<davd[m]>cool
[11:48:37]<davd[m]>Field kit sounds like 90%+ of what I would need
[11:49:17]<davd[m]>Also, hope you're well Mike. And if you're ever coming through central PA, give me a shout.
[11:49:56]<mstenta[m]>Thanks will do! Things are good here. Hope you are well too!
[11:50:07]<mstenta[m]>About to sign off to take over with the kiddos :-)
[11:50:17]<mstenta[m]>Until next time.....
[12:00:57]* donblair[m] has left #farmos ("Kicked by @appservice-irc:matrix.org : Idle for 30+ days")
[12:00:57]* munjoma[m] has left #farmos ("Kicked by @appservice-irc:matrix.org : Idle for 30+ days")
[12:28:30]<mstenta[m]>"jgaehring" (https://matrix.to/#/@jgaehring:matrix.org) lol @ "tribute to Lord apple"
[12:30:00]<jgaehring[m]>It's really so feudal
[12:39:51]<symbioquine[m]>https://github.com/farmOS/farmOS-map/pull/87
[12:40:00]<symbioquine[m]>ACTION uploaded an image: Peek 2020-09-10 09-38.gif (154KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/ELsAEBEMBjXdVZot... 2020-09-10 09-38.gif >
[12:40:43]<symbioquine[m]>^ Curious about folks' thoughts... is this useful enough to warrant farmOS-map being 10 KiB larger?
[12:47:16]<paul121[m]>neat!
[13:17:08]<symbioquine[m]>Alternatively, javascript `eval` could be used instead of https://www.npmjs.com/package/math-expression-evaluator but I'm not entirely sure there wouldn't be any security implications...