| 10:54 | * | uploaded an image: (14KiB) < libera.ems.host/_matrix/media/r0/downloa > |
| 10:54 | tool172[m] | any idea why this is hanging? |
| 11:00 | tool172[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:26 | mstenta[m] | You can check error messages with: |
| 11:26 | mstenta[m] | drush migrate:messages [migration-id] |
| 11:26 | mstenta[m] | That should give you a clue |
| 15:12 | mstenta[m] | Hey all FYI: I won't be able to attend today's dev call. |
| 16:15 | * | farmBOT has joined |
| 19:46 | mstenta[m] | symbioquine: whoa what are we looking at in your two most recent comments? farmos.discourse.group/t/asset-link-dev- |
| 19:59 | symbioquine[m] | Rough UI for managing/authoring plugins and plugin lists... |
| 20:00 | symbioquine[m] | That page itself is implemented as a plugin - a single-file Vue.js component. |
| 20:00 | mstenta[m] | Interesting |
| 20:00 | mstenta[m] | Authoring?? |
| 20:02 | symbioquine[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:03 | mstenta[m] | Whoa |
| 20:05 | symbioquine[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:07 | mstenta[m] | That's awesome |
| 20:07 | mstenta[m] | Where do plugins get stored? |
| 20:07 | mstenta[m] | On client? Server? |
| 20:07 | symbioquine[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:07 | symbioquine[m] | Both |
| 20:08 | mstenta[m] | Cool! |
| 20:08 | mstenta[m] | Yea some security considerations with URL sharing :-) |
| 20:08 | symbioquine[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:09 | symbioquine[m] | mstenta[m]: Of course |
| 20:09 | mstenta[m] | curl | sudo sh :-P |
| 20:09 | mstenta[m] | That'll be super useful though! |
| 20:09 | mstenta[m] | Oh very neat |
| 20:09 | symbioquine[m] | Planning on some warnings when loading plugins from third party domains. |
| 20:10 | mstenta[m] | I still need to wrap my head around what makes up a plugin |
| 20:13 | symbioquine[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:53 | tool172[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:53 | tool172[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:53 | tool172[m] | hmmmmm |
| 20:54 | mstenta[m] | Ooohhhh right. |
| 20:54 | mstenta[m] | That's a bug we discovered a little while ago with MySQL migrations |
| 20:54 | mstenta[m] | There's an open issue for it |
| 20:54 | tool172[m] | ahh |
| 20:54 | mstenta[m] | All the migration testing was done against PostgreSQL :-/ |
| 20:54 | tool172[m] | :) |
| 20:54 | tool172[m] | well then I shall relax |
| 20:55 | mstenta[m] | If I recall, you can comment out one line to work around it |
| 20:55 | tool172[m] | i'm migrating this whole thing to docker on a postgres instance |
| 20:55 | mstenta[m] | Search the GitHub issue queue for MySQL migration. You should find it |
| 20:55 | tool172[m] | from mysql |
| 20:56 | mstenta[m] | Oh I thought you said earlier you are migrating into MySQL |
| 20:56 | tool172[m] | so it's on mysql right now |
| 20:56 | mstenta[m] | Sorry not at my computer right now... Will check back later |
| 20:56 | tool172[m] | i'm moving to a subserver (dell optiplex) to take the load off my NAS |
| 20:56 | mstenta[m] | Ok MySQL -> PostgreSQL is well tested |
| 20:56 | tool172[m] | i'm still learning docker is my issue :) |
| 20:57 | tool172[m] | i looked at sequines guide but the transfer is a PITA |
| 20:57 | tool172[m] | i might spinup a VM postgres instance and then copy it over |
| 20:57 | tool172[m] | and boot it up |
| 20:57 | tool172[m] | thx |
| 21:02 | mstenta[m] | That error definitely looks like the same one someone else reported though |
| 21:02 | mstenta[m] | github.com/farmOS/farmOS/issues/506 |
| 21:03 | mstenta[m] | See this bit: |
| 21:03 | mstenta[m] | > As a temporary workaround, if you don't mind losing that message, you can disable that by commenting out this line: |
| 21:03 | tool172[m] | i'm reading it. Thank you! as always your on top of the project |