Are you using stock Docker compose setup?
Yes
Describe the problem you’re having:
I export OPML from version v19.8 (b158103) and try to import it to v21.07-73d1433. Import return error: “Error while parsing document”;
Include steps to reproduce the problem:
- Export OPML from tt-rss version v19.8 (b158103)
- Fresh install based on docker-compose
- Login as admin
- Try to import OPML
tt-rss version (including git commit id):
v21.07-73d1433
Platform (i.e. Linux distro, PHP, PostgreSQL, etc) versions:
Debian GNU/Linux 10 (buster)
Docker version 20.10.7, build f0df350
docker-compose version 1.29.2, build 5becea4c
Please provide any additional information below:
Event log:
E_DEPRECATED (8192) classes/opml.php:616 Function libxml_disable_entity_loader() is deprecated
1. classes/opml.php(616): ttrss_error_handler(8192, Function libxml_disable_entity_loader() is deprecated, classes/opml.php, 616)
2. classes/pref/feeds.php(869): opml_import(1)
3. backend.php(133): importOpml()
Forwarded For: 185.125.112.206
Forwarded Protocol: https
Remote IP: 172.23.0.1
Request URI: /tt-rss/backend.php
User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Waterfox/78.12.0.1
OPML File tt-rss_2021-08-01.opml — Яндекс.Диск
fox
2
your OPML has whitespace before opening XML stanza, possibly because of a misconfiguration of your old instance. this could be the problem.
FWIW, I’ve ran into this a couple times over the years (bare metal + Docker). Did a little digging, but it was easier to delete some blank lines.