Closed Timoses closed 3 years ago
Issue in nextcloud repo was closed with (https://github.com/nextcloud/server/issues/26251): "We don't support foreign keys on database level. App should not use it."
So I'm hoping for a workaround or resolution here. Any suggestions?
You can work around it by manually removing the entries, there is not much more we can offer in terms of support.
Thanks. I took the easier route and deleted News app. The database conversion tool will by default ignore its tables then.
IMPORTANT
Read and tick the following checkbox after you have created the issue or place an x inside the brackets ;)
Explain the Problem
What problem did you encounter? During database conversion an entry in table _oc_newsfeeds contains a feed id which no longer exists (probably because it has been removed previously). This leads to an unsuccessful database conversion (from SQLite to PostgreSQL).
Maybe this is an issue with the News App not cleaning up database entries after deleting a feed? There exists an issue in nextcloud as well: https://github.com/nextcloud/server/issues/26251
Steps to Reproduce
Explain what you did to encounter the issue
System Information
Cron type: (system cron/python updater/...) Python updater (https://github.com/nextcloud/news-updater)
docker_entrypoint.sh
Contents of nextcloud/data/nextcloud.log
Is it relevant for this issue? ```json ```Contents of Browser Error Console
Read http://ggnome.com/wiki/Using_The_Browser_Error_Console if you are unsure what to put here Is it relevant for this issue? ``` Paste output here ```The error message from the conversion tool is: