Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subscriptions aren't updating on self-hosted copy? #1175

Closed
chxseh opened this issue May 15, 2020 · 14 comments
Closed

Subscriptions aren't updating on self-hosted copy? #1175

chxseh opened this issue May 15, 2020 · 14 comments

Comments

@chxseh
Copy link

chxseh commented May 15, 2020

I have a self hosted copy of invidious, my subscriptions page isn't updating.

The current list is from when I created my account, screenshot here

and this is what the public instance of invidious shows

Subscriptions are identical across both sites.

Any ideas?

@Perflyst
Copy link
Contributor

Maybe your IP got blocked. Check the following:
#811 (comment)
#811 (comment)

@chxseh
Copy link
Author

chxseh commented May 16, 2020

That didn't appear to help. I was able to grab the entire curl, as opposed to it error'ing. YouTube still plays videos with no captcha as well.

Video playback on my instance also works, just the subscriptions don't update.

@chxseh
Copy link
Author

chxseh commented May 17, 2020

@Perflyst What's also strange is I can see new videos on the search page, but not subscriptions, got any ideas? I'm totally stumped. Am i missing some sort of cronjob or something that needs to run?

EDIT: with the database cronjobs I can get the homepage to update, just not subscriptions.

@unixfox
Copy link
Member

unixfox commented May 17, 2020

Try to open a YouTube channel on your instance and see if it works. If it doesn't work then your IP is blocked.

@chxseh
Copy link
Author

chxseh commented May 18, 2020

@unixfox I am able to look at channels and play their latest videos, it's just that, that video won't show in the subscriptions tab.

@999eagle
Copy link

I have the exact same issue on my instance. Subscriptions aren't updating, but my IP doesn't seem to be blocked.

@geraldwuhoo
Copy link

Can also confirm same bug. I can search, look at channels, and play their latest videos, but subscriptions are not updating.

@czhang03
Copy link

I have the same problem on https://invidio.us/. I can watch video, but I cannot see my subscription vidos.

@chxseh
Copy link
Author

chxseh commented Jun 5, 2020

Appears to work on latest version. Will reopen if I encounter it again.

@chxseh chxseh closed this as completed Jun 5, 2020
@chxseh
Copy link
Author

chxseh commented Jun 27, 2020

Reopening since it seems to freeze randomly, am on 0.20.1-8c65b8c.

Edit: For reference, here's the instance

@chxseh chxseh reopened this Jun 27, 2020
@chxseh
Copy link
Author

chxseh commented Jul 23, 2020

Closing (again), as it appears to be fixed running several maintenance crontab jobs.

@chxseh chxseh closed this as completed Jul 23, 2020
@unixfox
Copy link
Member

unixfox commented Jul 23, 2020

For the sake of archiving or if one doesn't want to take time to filter only the interesting part, here are the crontabs:

@hourly psql invidious -c "DELETE FROM nonces * WHERE expire < current_timestamp;" > /dev/null
@hourly psql invidious -c "TRUNCATE TABLE videos;" > /dev/null
@daily vacuumdb --dbname=invidious --analyze --verbose --table 'videos' > /dev/null
@daily reindexdb --dbname=invidious > /dev/null

@LennyPenny
Copy link
Contributor

are there any plans on having these issues fixed inside of invidious? These crontabs are not easily added to a docker setup and might have some side effects?

@thatHguy
Copy link

I am having this issue on a fresh local install.

systemctl restart invidious.service

Running the above command in a terminal appears to update the subscriptions page, but then it won't update again until the invidious service is manually restarted again. It's not really a solution.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants