< 172022-05-18⋎19 >

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
01:41*farmBOT has joined
07:51AnasHaddad[m]<mstenta[m]> "Hi Anas Haddad: what kind of..." <- I have v1 on a server on Godaddy and now i installed the v2 on a local server in my farm.. I want to migrate the data from Godaddy server v1 to the new istallation
07:56AnasHaddad[m]mstenta: I am using v1 since two years now, and Im very happy to manage all my farm assets and activities. now as you announced the new version, and I watched your videos.. I installed the new v2 on a local server in my farm after I got internet on the farm.. I learned how to do this installation by following steps from the internet.. I am not an IT... but I grow olives .. with a modern touch.. so now I want go to V2 I need to move the
07:56AnasHaddad[m]data from the old one to the new one. when I read the tutorial.. it looks very complicated to me.. or I might need long time to know how to do it..
11:21mstenta[m]Hi Anas Haddad: yea, the migration does require a bit of command line work
11:21mstenta[m]If you want to start a forum topic perhaps we can work through it together step by step
16:00*GuilhermePerotta has quit (Quit: You have been kicked for being idle)
18:54tool172[m]the interface update is quick
18:54tool172[m]i like it so far
18:54tool172[m]good work guys
19:11tool172[m]is there a hard log file i can browse to fix an error or do i have to drush it all now in docker
19:15mstenta[m]tool172: what interface update?
19:15tool172[m]v2
19:15tool172[m]in general
19:15mstenta[m]oh haha
19:15mstenta[m]😄
19:15tool172[m]my other drupal takes seconds to load
19:16mstenta[m] /admin/reports/dblog is the watchdog log, if that helps?
19:16mstenta[m](same as v1)
19:16tool172[m]i found that 2 min ago
19:16tool172[m]:)
19:16tool172[m]it doesn't like my private file directory apparently
19:16mstenta[m]ah yea, common problem it seems
19:17mstenta[m](on a call at the moment sorry)
19:17tool172[m]your fine
19:17tool172[m]i'm just looking through logs now
19:23tool172[m]my message: The upload directory farm/log/2022-05 for the file field file could not be created or is not accessible. A newly uploaded file could not be saved in this directory as a consequence, and the upload was canceled.
19:23tool172[m]what if iwant it to be public though
19:23tool172[m]i never set the private directory
19:24tool172[m]found it
19:27mstenta[m]yea you just need to set up the directory and add a line to your settings.php to reference it
19:27tool172[m]well
19:27tool172[m]i did it all in public last time
19:27tool172[m]i justr ticket the bvox
19:27tool172[m]reloaded
19:27tool172[m]testing now
19:27mstenta[m]private is the default now
19:27tool172[m]that explains a lot
19:27tool172[m]let me go set it up then
19:28tool172[m]recommended location under sites?
19:29tool172[m]sites/default/private?
19:29mstenta[m]yea that's what i usually do
19:29mstenta[m]just needs to be writable by www-data
19:31tool172[m]is and says can't do it
19:31*uploaded an image: (82KiB) < libera.ems.host/_matrix/media/r0/downloa >
19:32MarcosCarballal[Hey all, trying to grab some taxonomy terms. Can't seem to grab the label or index properly this way
19:47tool172[m]I'm good mstenta forgot to reload the cache. pesky cache
19:49mstenta[m]Marcos Carballal: $term->label() will give you the label
19:49mstenta[m](not sure what you mean by index?)
19:49mstenta[m]$term->id() will give you the entity ID
19:50mstenta[m]www.drupal.org/docs/drupal-apis/entity-a
20:15MarcosCarballal[Got it, thank you. I made a silly mistake trying to access the private variables directly instead of calling methdos
21:51paul121[m]Taxonomy terms also have a pesky convention where it is sometimes the "tid" not "id"
21:52paul121[m]it really bugs me. it's just slightly different in the API too!... (full message at libera.ems.host/_matrix/media/r0/downloa)
21:53mstenta[m]that is really annoying i agree
21:55mstenta[m]there's probably a core issue open for that.... somewhere
21:58paul121[m]whomever made that decision... grrr!
21:58mstenta[m]don't forget `uid`
21:59paul121[m]ohhh dang
21:59mstenta[m]if we used the `node` module we'd also have to deal with `nid` 🥴
21:59mstenta[m]github.com/farmOS/farmOS/blob/76a6fdf563
22:01mstenta[m]some decisions that were made 20+ years ago are hard to shake

< 172022-05-18⋏19 >