unicef / iogt

BSD 2-Clause "Simplified" License
25 stars 36 forks source link

Server error when using Import tool #1684

Closed cbunicef closed 6 months ago

cbunicef commented 7 months ago

Receiving an generic Internal server error when trying to import from the global site

Root > English homepage > Sandbox > IIPC Training Package

to sa.goodinternet.org

Root > English homepage > Sandbox

So that it ends up in the sa.goodinternet.org Sandbox.

istride commented 6 months ago

The logs on the global site show an error message that is related to the upgrade to Wagtail 3. Specifically, one of the Wagtail settings was renamed from BASE_URL to WAGTAIL_BASE_URL in v3. The Wagtail Transfer component has not been upgraded yet, and it uses BASE_URL, which is now no longer available.

Later versions of Wagtail Transfer have compensated for this change, so we need to upgrade to a version (0.8.5) than is compatible with Wagtail v3 while maintaining the customisations we have made for IoGT.