- Issue created by @Hephaestus
- Assigned to wim leers
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
The
d7_file_private
migration works fine for the initial file importπ
however the
d7_file_entity:{default, image, video, audio}:private
migrations fails for every file, with the error "You do not have access to the referenced entity".This is possibly a similar issue to #3134245: Run drush imports as user=1 in migrate_tools.
Hm β¦ interesting! That seems like a very plausible theory π€
- Issue was unassigned.
- Status changed to Postponed: needs info
about 1 year ago 3:25pm 8 December 2023 - π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
Just to make sure: could you please run the "Private files" migration through the AM:A UI and let me know whether that works correctly? π
(The AM:A UI is always used by user
1
so this should be the case. But I'd like to confirm that before digging in and working on this.)Thanks!
- π¬π§United Kingdom Hephaestus
Hi Wim, I can confirm that the private files migration works correctly through the AM:A UI, it's only when using
drush ama:import
that it fails with this error.Thanks!
- Status changed to Active
about 1 year ago 4:03pm 8 December 2023 - π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
π Thanks, that was very fast!
I am swamped this month, so I doubt I'd be able to get to this this month. Maybe in January. If you are willing to create an MR against
src/Commands/AcquiaMigrateCommands.php
, it could go a lot faster ππ - First commit to issue fork.
- Merge request !383396206: Alter AMA Drush commands to run as UID 1 admin. β (Open) created by jienckebd
- Status changed to Needs work
10 months ago 3:00pm 16 February 2024 - π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
Thanks for the merge request, @jienckebd! π₯³
The logic changes look good β just some minor remarks and this'll be good to go π
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
Investigating the first random failure in π CI: frequent (random?) failures of InlineEntityFormCompatibilityTest in "ποΈβ π Contrib migrations Drupal 10 (next)" job Active . This issue is clearly blocked by that π¬
- Assigned to jienckebd
- πΊπΈUnited States jienckebd
Updated MR to support both "drush ama:*" and "drush migrate:*" commands.
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
Why are we modifying a
drush
built-in command in this MR now? π± And that even without linking to the corresponding upstream issue?! (I spot no@see
)How do we ensure that this won't break when it is fixed upstream?