Closed JO3QMA closed 6 months ago
Enter the container, write the deleted sitemap.xml of 7b492ff77a5cad7b26c528354bdad72a204c4c72, and restart it to generate it successfully.
$ docker-compose exec wikijs-sitemap /bin/sh
/wiki/sitemap # mkdir static
/wiki/sitemap # touch sitemap.xml
/wiki/sitemap # cat << EOF > ./static/sitemap.xml
> <?xml version="1.0" encoding="UTF-8"?>
> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
> <!-- Wiki.js sitemap generator by https://hostwiki.com -->
>
> </urlset>
> EOF
/wiki/sitemap # exit
$ docker-compose restart wikijs-sitemap
[+] Running 1/1
? Container wikijs-sitemap Started 11.4s
$
thank you. It's working perfectly.
Summary
When trying to generate a sitemap using the Docker version ``wikijs-sitemap'', an error occurs if the file does not exist.
Expected Behavior
sitemap.xml with the following content is generated.
Actual Behavior
sitemap.xml not generated.
with the error below
Steps to Reproduce
Environment