< 132022-04-14⋎15 >

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
10:54*uploaded an image: (14KiB) < libera.ems.host/_matrix/media/r0/downloa >
10:54tool172[m]any idea why this is hanging?
11:00tool172[m]i'm using mysql to mysql to new database and separate install in apache24. Initial migration looked fine until it failed and then i rolled back and this is what is happening
11:26mstenta[m]You can check error messages with:
11:26mstenta[m]drush migrate:messages [migration-id]
11:26mstenta[m]That should give you a clue
15:12mstenta[m]Hey all FYI: I won't be able to attend today's dev call.
16:15*farmBOT has joined
19:46mstenta[m]symbioquine: whoa what are we looking at in your two most recent comments? farmos.discourse.group/t/asset-link-dev-
19:59symbioquine[m]Rough UI for managing/authoring plugins and plugin lists...
20:00symbioquine[m]That page itself is implemented as a plugin - a single-file Vue.js component.
20:00mstenta[m]Interesting
20:00mstenta[m]Authoring??
20:02symbioquine[m]Yeah, first pass will just be a light weight text editor for plugin code, but it should be pretty easy to also allow authoring "code-less plugins".
20:03mstenta[m]Whoa
20:05symbioquine[m]Plugins can be grouped together into a "plugin list" and loaded via a Url so a collection of conventions codified via plugins could be shared in a semi-peer-to-peer manner - assuming the "manage plugins plugin" is loaded.
20:07mstenta[m]That's awesome
20:07mstenta[m]Where do plugins get stored?
20:07mstenta[m]On client? Server?
20:07symbioquine[m]It would normally come from the farmOS server itself via the default plugin list which is managed by the site admin so that ad-hoc plugin sharing could be discouraged if a site admin so chose.
20:07symbioquine[m]Both
20:08mstenta[m]Cool!
20:08mstenta[m]Yea some security considerations with URL sharing :-)
20:08symbioquine[m]They're normally loaded from a server, but you could author one locally and it would only be in your browser storage until you upload it somewhere.
20:09symbioquine[m]mstenta[m]: Of course
20:09mstenta[m]curl | sudo sh :-P
20:09mstenta[m]That'll be super useful though!
20:09mstenta[m]Oh very neat
20:09symbioquine[m]Planning on some warnings when loading plugins from third party domains.
20:10mstenta[m]I still need to wrap my head around what makes up a plugin
20:13symbioquine[m]I just chose "plugin" so it wouldn't overlap so much with "farmOS modules" - though a farmOS module could "provide" a "Asset Link plugin" and make it available to be served as part of the default plugin list.
20:53tool172[m]Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[HY000]: General error: 1093 You can't specify target table 'taxonomy_term_revision' for update in FROM clause: UPDATE taxonomy_term_revision SET revision_log_message = :revision_log_message WHERE revision_id IN ( SELECT r.revision_id FROM "migrate_map_farm_migrate_taxonomy_log_category" mm INNER JOIN taxonomy_term_revision r ON mm.destid1 = r.tid ); Array ( [:revision_log_message] =>
20:53tool172[m]Migrated from farmOS 1.x on 2022-04-14 ) in Drupal\farm_migrate\EventSubscriber\FarmMigrationSubscriber->addRevisionLogMessage() (line 348 of /usr/local/www/farmOS/web/profiles/farm/modules/core/migrate/src/EventSubscriber/FarmMigrationSubscriber.php).
20:53tool172[m]hmmmmm
20:54mstenta[m]Ooohhhh right.
20:54mstenta[m]That's a bug we discovered a little while ago with MySQL migrations
20:54mstenta[m]There's an open issue for it
20:54tool172[m]ahh
20:54mstenta[m]All the migration testing was done against PostgreSQL :-/
20:54tool172[m]:)
20:54tool172[m]well then I shall relax
20:55mstenta[m]If I recall, you can comment out one line to work around it
20:55tool172[m]i'm migrating this whole thing to docker on a postgres instance
20:55mstenta[m]Search the GitHub issue queue for MySQL migration. You should find it
20:55tool172[m]from mysql
20:56mstenta[m]Oh I thought you said earlier you are migrating into MySQL
20:56tool172[m]so it's on mysql right now
20:56mstenta[m]Sorry not at my computer right now... Will check back later
20:56tool172[m]i'm moving to a subserver (dell optiplex) to take the load off my NAS
20:56mstenta[m]Ok MySQL -> PostgreSQL is well tested
20:56tool172[m]i'm still learning docker is my issue :)
20:57tool172[m]i looked at sequines guide but the transfer is a PITA
20:57tool172[m]i might spinup a VM postgres instance and then copy it over
20:57tool172[m]and boot it up
20:57tool172[m]thx
21:02mstenta[m]That error definitely looks like the same one someone else reported though
21:02mstenta[m]github.com/farmOS/farmOS/issues/506
21:03mstenta[m]See this bit:
21:03mstenta[m]> As a temporary workaround, if you don't mind losing that message, you can disable that by commenting out this line:
21:03tool172[m]i'm reading it. Thank you! as always your on top of the project

< 132022-04-14⋏15 >