IRC logs for #farmOS, 2018-12-30 (GMT)

2018-12-29
2018-12-31
TimeNickMessage
[19:11:10]* JustTB has joined #farmos
[19:27:45]* JustTB has quit (Ping timeout: 252 seconds)
[19:42:34]* JustTB has joined #farmos
[19:55:48]* JustTB has quit (Ping timeout: 252 seconds)
[06:03:15]* JustTB has joined #farmos
[07:18:01]* JustTB has quit (Ping timeout: 260 seconds)
[07:27:09]* JustTB has joined #farmos
[08:17:12]* JustTB has quit (Ping timeout: 252 seconds)
[08:22:28]* JustTB has joined #farmos
[08:33:16]* JustTB has quit (Ping timeout: 260 seconds)
[08:34:22]* JustTB has joined #farmos
[10:01:45]* JustTB has quit (Ping timeout: 250 seconds)
[10:36:12]* JustTB has joined #farmos
[11:16:28]* JustTB has quit (Quit: Leaving.)
[11:29:24]* JustTB has joined #farmos
[11:35:18]* JustTB has quit (Ping timeout: 268 seconds)
[11:49:02]* JustTB has joined #farmos
[11:55:16]* JustTB has quit (Quit: Leaving.)
[12:22:30]* zackfarmos[m] is now known as zack[m]
[12:24:05]* zack[m] has left #farmos ("User left")
[13:05:10]* zackmuma[m] has joined #farmos
[17:07:00]* Fosten has joined #farmos
[17:10:59]<Fosten>mstenta[m]: subscribable gcal/ical for monthly call, also i think the pi doc is missing a "-t"
[17:22:21]<mstenta[m]>Fosten: that's a good idea... I'll look into that...
[17:23:22]<mstenta[m]>Can you elaborate on the pi doc? Not sure I understand
[17:27:05]<Fosten>i needed sudo docker build -t farmos .
[17:29:49]<mstenta[m]>Fosten: A gotcha!
[17:29:52]<mstenta[m]>I updated https://github.com/farmOS/farmOS/issues/58#issuecomment-437237256
[17:30:03]<mstenta[m]>Good catch - thanks!
[17:30:54]<Fosten>its not saving areas correctly, but i'm not sure if that's pi-related or map-related.
[17:31:20]<mstenta[m]>Oh really? Are you getting any error messages? Check /admin/reports/dblog too...
[17:33:41]<Fosten>there's the logs ;-)
[17:33:48]<Fosten>Exception: ParseException: Invalid HEX char in GEOSWKBReader->readHEX() (line 150 of /var/www/html/profiles/farm/modules/contrib/geophp/geoPHP/lib/geometry/Geometry.class.php).
[17:34:15]<Fosten>guessed maybe cuz i didn't have in an map api key?
[17:35:33]<mstenta[m]>Hmm no I don't think it's the API key... That sounds like an issue with saving the geometry of the shape
[17:36:35]<mstenta[m]>When you are drawing a shape in the map, it will show you the WKT ("well-known text") of the geometry in the "Data" field below the map... it seems like there's an issue with saving that data...
[17:37:59]<mstenta[m]>farmOS uses the Geofield module, which saves data as WKB (well-known binary) in a longblob column
[17:38:55]<mstenta[m]>It sounds like that error is with the reading of the geometry... but I also wonder if it's related to the database... what kind of database are you using? MySQL/MariaDB? SQLite? PostgreSQL?
[17:41:23]<Fosten>oh right, good call. sqlite, got the impression that was best for pi?
[17:41:36]<Fosten>also, i did raspbian lite rather than raspbian, which doesn't include git… intuitive apt-get install, not sure if you want to mention that in the docs
[17:42:17]<mstenta[m]>good to know - i've tested installing on sqlite3, and some other stuff... but not extensively
[17:42:28]<Fosten>plus you need to put the docker run command in a startup file /etc/rc.local or the like
[17:42:33]<mstenta[m]>it would be good to know if there's an issue with sqlite3, because i'd like to support that
[17:43:18]<mstenta[m]>Ah actually... there is a way to tell Docker to keep it running (even on reboot)
[17:43:29]<Fosten>ok good
[17:43:32]<Fosten>i didn't have area problems with mysql in non-pi environment, so its probably sqlite3
[17:43:35]<mstenta[m]>https://docs.docker.com/config/containers/start-containers-automatically/
[17:44:06]<mstenta[m]>I think you basically just need to set the `--restart` flag to `always` when you do `docker run`
[17:44:18]<mstenta[m]>that will keep it up and running
[17:44:50]<Fosten>i can test that out
[17:45:05]<mstenta[m]>Hmm good to know... would you mind filing a bug report on Github for the SQLite3 issue?
[17:45:25]<mstenta[m]>I might be able to take a closer look this week
[17:45:35]<Fosten>will do
[17:45:56]<mstenta[m]>Thanks! Link it to https://github.com/farmOS/farmOS/issues/58
[18:16:40]* JustTB has joined #farmos
[18:18:50]* Fosten has quit (Quit: Leaving.)
[18:41:34]* Fosten has joined #farmos