strapi-plugin-sitemap icon indicating copy to clipboard operation
strapi-plugin-sitemap copied to clipboard

The plugin causes strapi import to fail

Open ahmedsaed opened this issue 1 year ago • 0 comments

Bug report

Describe the bug

Whenever I try to import a backup made using strapi export. I get this error

error: [strapi-plugin-sitemap]: Something went wrong while trying to build the SitemapStream. TypeError: Invalid URL

Steps to reproduce the behavior

  1. install and configure the plugin
  2. run npm run strapi export at source machine
  3. run npm run strapi import at destination machine

Expected behavior

I expect the import to complete sucessfully

System

  • Node.js version: v20.12.2
  • NPM version: 10.5.0
  • Strapi version: v4.25.1 and v4.23.1
  • Plugin version: 3.1.1 and 3.8.0
  • Database: postgres
  • Operating system: linux

ahmedsaed avatar Jun 30 '24 17:06 ahmedsaed