| 01:41 | * | farmBOT has joined |
| 07:51 | AnasHaddad[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:56 | AnasHaddad[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:56 | AnasHaddad[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:21 | mstenta[m] | Hi Anas Haddad: yea, the migration does require a bit of command line work |
| 11:21 | mstenta[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:54 | tool172[m] | the interface update is quick |
| 18:54 | tool172[m] | i like it so far |
| 18:54 | tool172[m] | good work guys |
| 19:11 | tool172[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:15 | mstenta[m] | tool172: what interface update? |
| 19:15 | tool172[m] | v2 |
| 19:15 | tool172[m] | in general |
| 19:15 | mstenta[m] | oh haha |
| 19:15 | mstenta[m] | 😄 |
| 19:15 | tool172[m] | my other drupal takes seconds to load |
| 19:16 | mstenta[m] | /admin/reports/dblog is the watchdog log, if that helps? |
| 19:16 | mstenta[m] | (same as v1) |
| 19:16 | tool172[m] | i found that 2 min ago |
| 19:16 | tool172[m] | :) |
| 19:16 | tool172[m] | it doesn't like my private file directory apparently |
| 19:16 | mstenta[m] | ah yea, common problem it seems |
| 19:17 | mstenta[m] | (on a call at the moment sorry) |
| 19:17 | tool172[m] | your fine |
| 19:17 | tool172[m] | i'm just looking through logs now |
| 19:23 | tool172[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:23 | tool172[m] | what if iwant it to be public though |
| 19:23 | tool172[m] | i never set the private directory |
| 19:24 | tool172[m] | found it |
| 19:27 | mstenta[m] | yea you just need to set up the directory and add a line to your settings.php to reference it |
| 19:27 | tool172[m] | well |
| 19:27 | tool172[m] | i did it all in public last time |
| 19:27 | tool172[m] | i justr ticket the bvox |
| 19:27 | tool172[m] | reloaded |
| 19:27 | tool172[m] | testing now |
| 19:27 | mstenta[m] | private is the default now |
| 19:27 | tool172[m] | that explains a lot |
| 19:27 | tool172[m] | let me go set it up then |
| 19:28 | tool172[m] | recommended location under sites? |
| 19:29 | tool172[m] | sites/default/private? |
| 19:29 | mstenta[m] | yea that's what i usually do |
| 19:29 | mstenta[m] | just needs to be writable by www-data |
| 19:31 | tool172[m] | is and says can't do it |
| 19:31 | * | uploaded an image: (82KiB) < libera.ems.host/_matrix/media/r0/downloa > |
| 19:32 | MarcosCarballal[ | Hey all, trying to grab some taxonomy terms. Can't seem to grab the label or index properly this way |
| 19:47 | tool172[m] | I'm good mstenta forgot to reload the cache. pesky cache |
| 19:49 | mstenta[m] | Marcos Carballal: $term->label() will give you the label |
| 19:49 | mstenta[m] | (not sure what you mean by index?) |
| 19:49 | mstenta[m] | $term->id() will give you the entity ID |
| 19:50 | mstenta[m] | www.drupal.org/docs/drupal-apis/entity-a |
| 20:15 | MarcosCarballal[ | Got it, thank you. I made a silly mistake trying to access the private variables directly instead of calling methdos |
| 21:51 | paul121[m] | Taxonomy terms also have a pesky convention where it is sometimes the "tid" not "id" |
| 21:52 | paul121[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:53 | mstenta[m] | that is really annoying i agree |
| 21:55 | mstenta[m] | there's probably a core issue open for that.... somewhere |
| 21:58 | paul121[m] | whomever made that decision... grrr! |
| 21:58 | mstenta[m] | don't forget `uid` |
| 21:59 | paul121[m] | ohhh dang |
| 21:59 | mstenta[m] | if we used the `node` module we'd also have to deal with `nid` 🥴 |
| 21:59 | mstenta[m] | github.com/farmOS/farmOS/blob/76a6fdf563 |
| 22:01 | mstenta[m] | some decisions that were made 20+ years ago are hard to shake |