Closed Abystus closed 2 years ago
I am having the same issue
Same here
Is this still an issue?
@ItsSt0ne Pinging owner of the instance
@unixfox It seems to be resolved. Thanks!
I had the same issue after upgrading my PG cluster from v12 to v14. Reading at the error, the view existed but was simply missing data, making it invalid.
I connected via psql and ran REFRESH MATERIALIZED VIEW <view name>;
and it fixed the issue.
@unixfox I believe the solution would be for Invidious to refresh the view soon after starting or if this error is caught.
I had the same issue after upgrading my PG cluster from v12 to v14. Reading at the error, the view existed but was simply missing data, making it invalid. I connected via psql and ran
REFRESH MATERIALIZED VIEW <view name>;
and it fixed the issue.@unixfox I believe the solution would be for Invidious to refresh the view soon after starting or if this error is caught.
The real solution is to merge this PR: https://github.com/iv-org/invidious/pull/2469 But it requires some DB changes.
I also came across this one and the temporary solution was tor recreate the views. After that, the granted permissions were gone and an error message about this came. I then granted access to these individual views (I only have 2 users, including myself). I still feel that this might not be the best, flexible solution, but the subscriptions view works again.
GRANT SELECT, INSERT, UPDATE, DELETE ON subscriptions_<ID_HERE> TO kemal;
Describe the bug Error appears when attempting to load subscriptions using https://vid.puffyan.us/feed/subscriptions.
Steps to Reproduce
Screenshots