-
-
Notifications
You must be signed in to change notification settings - Fork 777
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
[BUG] Regression with 1.22.1: feeds are not updated any more (probably related to TRUSTED_PROXY env var with space) #5792
Comments
I also have this problem, but my TRUSTED_PROXY doesn't contain any space in it. Manual update of feeds works correctly. Note: I also have some error I'm currently testing with 1.22.0 to verify it was working fine before. |
Same Problem here with Docker and 1.22.1. Version 1.22.0 working fine! CRON_MIN: '2,12,22,32,42,52' same without TRUSTED_PROXY ! |
Same here. I don't think this is related to TRUSTED_PROXY. For my setup,
TRUSTED_PROXY is not set. So it should be empty. Feeds don't update. I cannot connect to the terminal. Everytime I tried terminal, the container crashes and restarts. Edit: I know where the problem is, after I managed to get into container terminal. The crontab entry as following.
So I manually run the command from container terminal. And I got the following error.
On Line 11 of env.txt, it is my MariaDB password, which has a single quote in it. @mossroy @tyrossel @Dominion0815 , please check your config for single or double quote, especially in any password. Edit 2: I'm using container linking to MariaDB 10. It seems docker automatically passes all MariaDB's container environment variables to FreshRSS's container. The problematic one is My solution is to user |
OK, might be due to #5772 then |
Yes, confirm cron is working after changing plain mariadb password to password hash. |
fix FreshRSS#5792 regression from FreshRSS#5772
Fix in #5795 |
If you want to test, I have made an image available |
Describe the bug
Since the upgrade of my FreshRSS instance to 1.22.1, the feeds are not updated any more.
It was working fine with docker image 1.22.0, and even with this one: https://hub.docker.com/layers/freshrss/freshrss/edge-arm/images/sha256-c62c0655f28d6e87f0433aeca0ad5fd51e14d3d2e2bf80f4e9360de35ed0909f (between 1.22.0 and 1.22.1)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Feeds should be updated
Environment information (please complete the following information):
Additional context
A workaround is to not pass TRUSTED_PROXY env var.
I suspect it's because its value contains a space, which would not be properly handled by the changes of this commit: de51f6e : some quotes might be needed around the value of each "export" line. But I'm not 100% sure it's the reason
Using 1.22.0 docker image is also a workaround
The text was updated successfully, but these errors were encountered: