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

Update all Feed not working #1227

Closed
Barrnet opened this issue Aug 25, 2016 · 20 comments
Closed

Update all Feed not working #1227

Barrnet opened this issue Aug 25, 2016 · 20 comments
Assignees
Milestone

Comments

@Barrnet
Copy link

Barrnet commented Aug 25, 2016

Greetings,
I'm experiencing a strange bug on my installation of FreshRSS that's affecting - version 1.2.0. - 1.4.0. It's impossible to update any feed via the update button in the webgui or thought php-cli command "/app/actualize_script.php", the webgui simply print "There is no feed to refresh…", sometimes it prints in the FreshRSS log page "feed error: [insert here feed log]", and after that a red allert icon appear in the category .
The error_log doesn't show anything, and if I try to download the last RSS from curl it works, at this point I don't know what to do.

My configuration:
OS: Debian 8
Web-Server: nginx .10.1 (for the FressRSS Virtual Host I used your file configuration in the documentation)
PHP: 5.6.24-0+deb8u1 (via php-fpm)
MySQL: 5.5.50-0+deb8u1-log
And i'm using Cloudflare for DNS and caching.

That is my nginx configuration:
`server {
listen 80; # http on port 80
#listen 443 ssl; # https on port 443

https configuration

ssl on;

ssl_certificate /etc/nginx/server.crt;

ssl_certificate_key /etc/nginx/server.key;

your server's url(s)

server_name newser.videogamezone.eu;

the folder p of your FreshRSS installation

root /home/newser/p/;

index index.php index.html index.htm;

nginx log files

access_log /home/newser/rss.access.log;
error_log /home/newser/rss.error.log;

php files handling

this regex is mandatory because of the API

location ~ ^.+?.php(/.)?$ {
fastcgi_pass unix:/var/run/php5-fpm-newser.sock;
fastcgi_split_path_info ^(.+.php)(/.
)$;
# By default, the variable PATH_INFO is not set under PHP-FPM
# But FreshRSS API greader.php need it. If you have a "Bad Request" error, double check this var !
fastcgi_param PATH_INFO $fastcgi_path_info;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}

location / {
try_files $uri $uri/ index.php;
}
}
That is my php5-fpm configuration:
[newser.videogamezone.eu]
user = newser
group = newser

listen = 127.0.0.1:9010

listen = /var/run/php5-fpm-newser.sock
listen.owner = www-data
listen.group = www-data
php_admin_value[disable_functions] = exec,passthru,shell_exec,system
php_admin_flag[allow_url_fopen] = on
pm = dynamic
pm.max_children = 5
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 3
chdir = /home/newser/

listen.allowed_clients = 127.0.0.1

`

@Alkarex
Copy link
Member

Alkarex commented Aug 25, 2016

Hello,
Let's try to find out.

Start by adding more detailed logs in FreshRSS, by editing ./data/config.php and add a line 'environment' => 'development', for instance just below your line salt

(In the commands below, replace www-data by the Unix user running your PHP)

# Ensure that your files have the proper access rights:
cd /path/to/FreshRSS/
sudo chown -R :www-data .
sudo chmod -R g+w ./data/

# Clear the locks
sudo rm /tmp/*freshrss.lock

# Clear your cache
sudo rm ./data/cache/*.spc

# Start your cron job manually, e.g.
sudo -u www-data php -f /path/to/FreshRSS/app/actualize_script.php
# Look at the output

# Look also at your system log
sudo less /var/log/syslog
# In particular, look for FreshRSS and SimplePie
sudo grep -iE 'FreshRSS|SimplePie' /var/log/syslog

Look at your FreshRSS logs (for each user, and also in ./data/users/_/log.txt).

You can enable your MySQL logs.

I personally use this command to see all relevant logs at once:

multitail --mergeall /var/log/*log --mergeall /var/log/apache2/*.log --mergeall /var/log/mysql/*.log --mergeall /path/to/FreshRSS/data/users/*/log*

@Alkarex
Copy link
Member

Alkarex commented Aug 25, 2016

P.S. Only the feeds that have not been recently updated (according to their respective configuration, which you can change from the FreshRSS Web interface) will be updatable. This was the explanation for #1168

@Barrnet
Copy link
Author

Barrnet commented Aug 25, 2016

It's not a waiting problem, whenever a red allert appears I can wait a indefined amount of time but the error message will always be "There is no feed to refresh". They will only work for a couple of cycle only when refreshed manually. By the way this is /data/users/Newser log

[Thu, 25 Aug 2016 17:19:59 +0200] [warning] --- PubSubHubbub lease ends at 2016-08-25T16:37:12+02:00 and needs renewal: http://www.gamespot.com/feeds/news/
[Thu, 25 Aug 2016 17:19:59 +0200] [notice] --- PubSubHubbub subscribe http://www.gamespot.com/feeds/news/
[Thu, 25 Aug 2016 17:20:00 +0200] [warning] --- Error while PubSubHubbub subscribing to http://www.gamespot.com/feeds/news/
[Thu, 25 Aug 2016 15:20:01 +0000] [warning] --- Feed error [http://blog.humblebundle.com/rss]
[Thu, 25 Aug 2016 15:20:01 +0000] [notice] --- Feed already being actualized: http://blog.indiegala.com/rss
[Thu, 25 Aug 2016 15:20:01 +0000] [warning] --- Feed error [http://feeds.feedburner.com/SCEEBlog]
[Thu, 25 Aug 2016 15:20:01 +0000] [warning] --- Feed error [http://feeds.feedburner.com/Gamnesia]
[Thu, 25 Aug 2016 15:20:01 +0000] [warning] --- Feed error [http://www.kotaku.com/index.xml]
[Thu, 25 Aug 2016 15:30:01 +0000] [warning] --- Feed error [https://www.blogger.com/feeds/6752074960104712501/posts/default]
[Thu, 25 Aug 2016 15:40:01 +0000] [warning] --- Feed error [http://www.vg247.com/feed/]
[Thu, 25 Aug 2016 15:40:01 +0000] [warning] --- Feed error [http://feeds.feedburner.com/RockPaperShotgun]
[Thu, 25 Aug 2016 15:40:01 +0000] [warning] --- Feed error [http://www.steparu.com/?format=feed&type=rss]
[Thu, 25 Aug 2016 15:40:01 +0000] [warning] --- Feed error [http://www.shacknews.com/rss?recent_articles=1]
[Thu, 25 Aug 2016 15:40:01 +0000] [warning] --- Feed error [http://gematsu.com/feed]
[Thu, 25 Aug 2016 15:40:01 +0000] [warning] --- Feed error [http://www.gamespot.com/feeds/news/]
[Thu, 25 Aug 2016 15:40:01 +0000] [warning] --- Feed error [http://blog.indiegala.com/rss]
[Thu, 25 Aug 2016 15:40:01 +0000] [warning] --- Feed error [http://news.xbox.com/feed/]
[Thu, 25 Aug 2016 15:40:01 +0000] [warning] --- Feed error [http://www.pcgamer.com/rss/]
[Thu, 25 Aug 2016 15:40:01 +0000] [warning] --- Feed error [http://blog.humblebundle.com/rss]
[Thu, 25 Aug 2016 15:40:01 +0000] [warning] --- Feed error [http://www.kotaku.com/index.xml]
[Thu, 25 Aug 2016 15:40:01 +0000] [warning] --- Feed error [http://feeds.feedburner.com/SCEEBlog]
[Thu, 25 Aug 2016 15:40:01 +0000] [warning] --- Feed error [http://feeds.feedburner.com/Gamnesia]
[Thu, 25 Aug 2016 15:50:01 +0000] [warning] --- Feed error [https://www.blogger.com/feeds/6752074960104712501/posts/default]
[Thu, 25 Aug 2016 16:00:01 +0000] [warning] --- Feed error [http://blog.humblebundle.com/rss]
[Thu, 25 Aug 2016 16:00:01 +0000] [warning] --- Feed error [http://blog.indiegala.com/rss]
[Thu, 25 Aug 2016 16:00:01 +0000] [warning] --- Feed error [http://feeds.feedburner.com/SCEEBlog]
[Thu, 25 Aug 2016 16:00:01 +0000] [warning] --- Feed error [http://news.xbox.com/feed/]
[Thu, 25 Aug 2016 16:00:01 +0000] [warning] --- Feed error [http://www.gamespot.com/feeds/news/]
[Thu, 25 Aug 2016 16:00:01 +0000] [warning] --- Feed error [http://feeds.feedburner.com/Gamnesia]
[Thu, 25 Aug 2016 16:00:01 +0000] [warning] --- Feed error [http://gematsu.com/feed]
[Thu, 25 Aug 2016 16:00:01 +0000] [warning] --- Feed error [http://www.kotaku.com/index.xml]
[Thu, 25 Aug 2016 16:00:01 +0000] [warning] --- Feed error [http://www.pcgamer.com/rss/]
[Thu, 25 Aug 2016 16:00:01 +0000] [warning] --- Feed error [http://feeds.feedburner.com/RockPaperShotgun]
[Thu, 25 Aug 2016 16:00:01 +0000] [warning] --- Feed error [http://www.shacknews.com/rss?recent_articles=1]
[Thu, 25 Aug 2016 16:00:01 +0000] [warning] --- Feed error [http://www.steparu.com/?format=feed&type=rss]
[Thu, 25 Aug 2016 16:00:01 +0000] [warning] --- Feed error [http://www.vg247.com/feed/]
[Thu, 25 Aug 2016 16:10:01 +0000] [warning] --- Feed error [https://www.blogger.com/feeds/6752074960104712501/posts/default]
[Thu, 25 Aug 2016 16:20:01 +0000] [warning] --- Feed error [http://blog.humblebundle.com/rss]
[Thu, 25 Aug 2016 16:20:02 +0000] [warning] --- Feed error [http://blog.indiegala.com/rss]
[Thu, 25 Aug 2016 16:20:02 +0000] [warning] --- Feed error [http://feeds.feedburner.com/SCEEBlog]
[Thu, 25 Aug 2016 16:20:02 +0000] [warning] --- Feed error [http://news.xbox.com/feed/]
[Thu, 25 Aug 2016 16:20:02 +0000] [warning] --- Feed error [http://www.gamespot.com/feeds/news/]
[Thu, 25 Aug 2016 16:20:02 +0000] [warning] --- Feed error [http://feeds.feedburner.com/Gamnesia]
[Thu, 25 Aug 2016 16:20:02 +0000] [warning] --- Feed error [http://gematsu.com/feed]
[Thu, 25 Aug 2016 16:20:02 +0000] [warning] --- Feed error [http://www.kotaku.com/index.xml]
[Thu, 25 Aug 2016 16:20:02 +0000] [warning] --- Feed error [http://www.pcgamer.com/rss/]
[Thu, 25 Aug 2016 16:20:02 +0000] [warning] --- Feed error [http://feeds.feedburner.com/RockPaperShotgun]
[Thu, 25 Aug 2016 16:20:02 +0000] [warning] --- Feed error [http://www.shacknews.com/rss?recent_articles=1]
[Thu, 25 Aug 2016 16:20:02 +0000] [warning] --- Feed error [http://www.steparu.com/?format=feed&type=rss]
[Thu, 25 Aug 2016 16:20:02 +0000] [warning] --- Feed error [http://www.vg247.com/feed/]
[Thu, 25 Aug 2016 16:30:01 +0000] [warning] --- Feed error [https://www.blogger.com/feeds/6752074960104712501/posts/default]
[Thu, 25 Aug 2016 16:40:01 +0000] [warning] --- Feed error [http://blog.humblebundle.com/rss]
[Thu, 25 Aug 2016 16:40:01 +0000] [warning] --- Feed error [http://blog.indiegala.com/rss]
[Thu, 25 Aug 2016 16:40:01 +0000] [warning] --- Feed error [http://feeds.feedburner.com/SCEEBlog]
[Thu, 25 Aug 2016 16:40:01 +0000] [warning] --- Feed error [http://news.xbox.com/feed/]
[Thu, 25 Aug 2016 16:40:01 +0000] [warning] --- Feed error [http://www.gamespot.com/feeds/news/]
[Thu, 25 Aug 2016 16:40:01 +0000] [warning] --- Feed error [http://feeds.feedburner.com/Gamnesia]
[Thu, 25 Aug 2016 16:40:01 +0000] [warning] --- Feed error [http://gematsu.com/feed]
[Thu, 25 Aug 2016 16:40:01 +0000] [warning] --- Feed error [http://www.kotaku.com/index.xml]
[Thu, 25 Aug 2016 16:40:01 +0000] [warning] --- Feed error [http://www.pcgamer.com/rss/]
[Thu, 25 Aug 2016 16:40:01 +0000] [warning] --- Feed error [http://feeds.feedburner.com/RockPaperShotgun]
[Thu, 25 Aug 2016 16:40:01 +0000] [warning] --- Feed error [http://www.shacknews.com/rss?recent_articles=1]
[Thu, 25 Aug 2016 16:40:01 +0000] [warning] --- Feed error [http://www.steparu.com/?format=feed&type=rss]
[Thu, 25 Aug 2016 16:40:01 +0000] [warning] --- Feed error [http://www.vg247.com/feed/]
[Thu, 25 Aug 2016 16:50:01 +0000] [warning] --- Feed error [https://www.blogger.com/feeds/6752074960104712501/posts/default]
[Thu, 25 Aug 2016 17:00:01 +0000] [warning] --- Feed error [http://blog.humblebundle.com/rss]
[Thu, 25 Aug 2016 17:00:01 +0000] [warning] --- Feed error [http://blog.indiegala.com/rss]
[Thu, 25 Aug 2016 17:00:01 +0000] [warning] --- Feed error [http://feeds.feedburner.com/SCEEBlog]
[Thu, 25 Aug 2016 17:00:01 +0000] [warning] --- Feed error [http://news.xbox.com/feed/]
[Thu, 25 Aug 2016 17:00:01 +0000] [warning] --- Feed error [http://www.gamespot.com/feeds/news/]
[Thu, 25 Aug 2016 17:00:01 +0000] [warning] --- Feed error [http://feeds.feedburner.com/Gamnesia]
[Thu, 25 Aug 2016 17:00:01 +0000] [warning] --- Feed error [http://gematsu.com/feed]
[Thu, 25 Aug 2016 17:00:01 +0000] [warning] --- Feed error [http://www.kotaku.com/index.xml]
[Thu, 25 Aug 2016 17:00:01 +0000] [warning] --- Feed error [http://www.pcgamer.com/rss/]
[Thu, 25 Aug 2016 17:00:01 +0000] [warning] --- Feed error [http://feeds.feedburner.com/RockPaperShotgun]
[Thu, 25 Aug 2016 17:00:01 +0000] [warning] --- Feed error [http://www.shacknews.com/rss?recent_articles=1]
[Thu, 25 Aug 2016 17:00:01 +0000] [warning] --- Feed error [http://www.steparu.com/?format=feed&type=rss]
[Thu, 25 Aug 2016 17:00:01 +0000] [warning] --- Feed error [http://www.vg247.com/feed/]
[Thu, 25 Aug 2016 17:10:01 +0000] [warning] --- Feed error [https://www.blogger.com/feeds/6752074960104712501/posts/default]
[Thu, 25 Aug 2016 19:17:49 +0200] [debug] --- PubSubHubbub unsubscribe http://www.gamespot.com/feeds/news/
[Thu, 25 Aug 2016 19:17:50 +0200] [warning] --- Error while PubSubHubbub unsubscribing from http://www.gamespot.com/feeds/news/
[Thu, 25 Aug 2016 19:17:50 +0200] [notice] --- Feed http://www.gamespot.com/feeds/news/ canonical address moved to http://www.gamespot.com/feeds/news/v/
[Thu, 25 Aug 2016 19:17:50 +0200] [warning] --- PubSubHubbub lease ends at 2016-08-25T19:16:49+02:00 and needs renewal: http://www.gamespot.com/feeds/news/v/
[Thu, 25 Aug 2016 19:17:50 +0200] [notice] --- PubSubHubbub subscribe http://www.gamespot.com/feeds/news/v/
[Thu, 25 Aug 2016 19:17:50 +0200] [warning] --- Error while PubSubHubbub subscribing to http://www.gamespot.com/feeds/news/v/
[Thu, 25 Aug 2016 19:17:57 +0200] [notice] --- PubSubHubbub subscribe http://feeds.feedburner.com/Gamnesia
[Thu, 25 Aug 2016 19:17:57 +0200] [warning] --- Error while PubSubHubbub subscribing to http://feeds.feedburner.com/Gamnesia
[Thu, 25 Aug 2016 19:19:21 +0200] [notice] --- PubSubHubbub subscribe http://feeds.feedburner.com/RockPaperShotgun
[Thu, 25 Aug 2016 19:19:21 +0200] [warning] --- Error while PubSubHubbub subscribing to http://feeds.feedburner.com/RockPaperShotgun
[Thu, 25 Aug 2016 17:40:01 +0000] [warning] --- Feed error [https://www.blogger.com/feeds/6752074960104712501/posts/default]
[Thu, 25 Aug 2016 17:40:01 +0000] [warning] --- Feed error [http://www.gamespot.com/feeds/news/v/]
[Thu, 25 Aug 2016 17:40:01 +0000] [warning] --- Feed error [http://feeds.feedburner.com/Gamnesia]
[Thu, 25 Aug 2016 17:40:01 +0000] [warning] --- Feed error [http://gematsu.com/feed]
[Thu, 25 Aug 2016 17:40:01 +0000] [warning] --- Feed error [http://www.vg247.com/feed/]
[Thu, 25 Aug 2016 17:40:01 +0000] [warning] --- Feed error [http://www.steparu.com/?format=feed&type=rss]
[Thu, 25 Aug 2016 17:40:01 +0000] [warning] --- Feed error [http://www.pcgamer.com/rss/]
[Thu, 25 Aug 2016 17:40:01 +0000] [warning] --- Feed error [http://www.kotaku.com/index.xml]
[Thu, 25 Aug 2016 17:40:01 +0000] [warning] --- Feed error [http://www.shacknews.com/rss?recent_articles=1]
[Thu, 25 Aug 2016 17:40:01 +0000] [warning] --- Feed error [http://feeds.feedburner.com/RockPaperShotgun]
[Thu, 25 Aug 2016 17:40:01 +0000] [warning] --- Feed error [http://news.xbox.com/feed/]
[Thu, 25 Aug 2016 17:40:01 +0000] [warning] --- Feed error [http://blog.humblebundle.com/rss]
[Thu, 25 Aug 2016 17:40:01 +0000] [warning] --- Feed error [http://feeds.feedburner.com/SCEEBlog]
[Thu, 25 Aug 2016 17:40:01 +0000] [warning] --- Feed error [http://blog.indiegala.com/rss]
[Thu, 25 Aug 2016 18:00:01 +0000] [warning] --- Feed error [http://blog.humblebundle.com/rss]
[Thu, 25 Aug 2016 18:00:01 +0000] [warning] --- Feed error [http://blog.indiegala.com/rss]
[Thu, 25 Aug 2016 18:00:01 +0000] [warning] --- Feed error [http://feeds.feedburner.com/SCEEBlog]
[Thu, 25 Aug 2016 18:00:01 +0000] [warning] --- Feed error [http://news.xbox.com/feed/]
[Thu, 25 Aug 2016 18:00:01 +0000] [warning] --- Feed error [https://www.blogger.com/feeds/6752074960104712501/posts/default]
[Thu, 25 Aug 2016 18:00:01 +0000] [warning] --- Feed error [http://www.gamespot.com/feeds/news/v/]
[Thu, 25 Aug 2016 18:00:01 +0000] [warning] --- Feed error [http://feeds.feedburner.com/Gamnesia]
[Thu, 25 Aug 2016 18:00:01 +0000] [warning] --- Feed error [http://gematsu.com/feed]
[Thu, 25 Aug 2016 18:00:01 +0000] [warning] --- Feed error [http://www.kotaku.com/index.xml]
[Thu, 25 Aug 2016 18:00:01 +0000] [warning] --- Feed error [http://www.pcgamer.com/rss/]
[Thu, 25 Aug 2016 18:00:01 +0000] [warning] --- Feed error [http://feeds.feedburner.com/RockPaperShotgun]
[Thu, 25 Aug 2016 18:00:01 +0000] [warning] --- Feed error [http://www.shacknews.com/rss?recent_articles=1]
[Thu, 25 Aug 2016 18:00:01 +0000] [warning] --- Feed error [http://www.steparu.com/?format=feed&type=rss]
[Thu, 25 Aug 2016 18:00:01 +0000] [warning] --- Feed error [http://www.vg247.com/feed/]

And log from "grep -iE 'FreshRSS|SimplePie' /var/log/syslog" command: http://pastebin.com/VQgwMc80

@Alkarex
Copy link
Member

Alkarex commented Aug 26, 2016 via email

@Alkarex
Copy link
Member

Alkarex commented Aug 26, 2016

And have you tried the procedure above, including clearing the feeds cache, and checking the access rights?

@Barrnet
Copy link
Author

Barrnet commented Aug 26, 2016

Permission are ok, and in /home/newser/tmp/FreshRSS.log in have only:
`
Starting feed actualization at 2016-08-26T10:35:01+00:00
Actualize Newser...
Done.
Ending feed actualization at 2016-08-26T10:35:01+00:00
Feed actualizations took 0 day(s), 0 hour(s), 0 minute(s) and 0 seconds for 1 users
Results:
Newser OK
End.

`

@Alkarex
Copy link
Member

Alkarex commented Aug 26, 2016

Yes, when it takes zero second, if means that all feeds were recently refreshed and did not need to be refreshed. It would be nice if you could pause your cron for a couple of hours, and then try the procedure I wrote above, so we actually get some feeds refreshed with some potential error messages.

Can you also confirm that you are using development in your config.php, and that you have cleared the files I mentioned?

Did all feeds stopped working at the same time?

If this all fails, I can try to have a look at your server directly, if you want.

@Barrnet
Copy link
Author

Barrnet commented Aug 26, 2016

Yep. I have already set development environment and feeds stop working in same time.
I found this in my php's error_log, can be usefull?

2016/08/25 02:34:25 [error] 25998#25998: *37340 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined variable: repartition in /home/newser/app/Models/StatsDAO.php on line 175
PHP message: PHP Warning:  Invalid argument supplied for foreach() in /home/newser/app/Models/StatsDAO.php on line 356
PHP message: PHP Notice:  Undefined variable: repartition in /home/newser/app/Models/StatsDAO.php on line 175
PHP message: PHP Warning:  Invalid argument supplied for foreach() in /home/newser/app/Models/StatsDAO.php on line 356
PHP message: PHP Notice:  Undefined variable: repartition in /home/newser/app/Models/StatsDAO.php on line 175
PHP message: PHP Warning:  Invalid argument supplied for foreach() in /home/newser/app/Models/StatsDAO.php on line 356" while reading response header from upstream, client: 188.114.103.62, server: newser.videogamezone.eu, request: "GET /i/?c=stats&a=repartition&id=8 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm-newser.sock:", host: "newser.videogamezone.eu", referrer: "http://newser.videogamezone.eu/i/?c=subscription"
2016/08/25 02:37:46 [error] 25998#25998: *37462 FastCGI sent in stderr: "PHP message: PHP Notice: A feed could not be found at `http://www.bemanistyle.com/feed/`; the status code is `400` and content-type is `text/html` in /home/newser/lib/SimplePie/SimplePie.php on line 1644" while reading response header from upstream, client: 188.114.103.62, server: newser.videogamezone.eu, request: "POST /i/?c=feed&a=actualize&id=8&ajax=1 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm-newser.sock:", host: "newser.videogamezone.eu", referrer: "http://newser.videogamezone.eu/i/"
2016/08/26 04:42:47 [error] 26000#26000: *73306 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 176.195.122.145, server: newser.videogamezone.eu, request: "GET /themes/fonts/openSans.woff%22)%20format(%22woff HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm-newser.sock:", host: "newser.videogamezone.eu", referrer: "http://newser.videogamezone.eu/i/?c=error"
2016/08/26 04:42:53 [error] 26000#26000: *73328 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 176.14.231.231, server: newser.videogamezone.eu, request: "GET /themes/fonts/openSans.woff%22)%20format(%22woff HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm-newser.sock:", host: "newser.videogamezone.eu", referrer: "http://newser.videogamezone.eu/i/?c=error"
2016/08/26 04:42:54 [error] 26000#26000: *73330 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 176.193.104.241, server: newser.videogamezone.eu, request: "GET /themes/fonts/openSans.woff%22)%20format(%22woff HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm-newser.sock:", host: "newser.videogamezone.eu", referrer: "http://newser.videogamezone.eu/i/"

@Barrnet
Copy link
Author

Barrnet commented Aug 26, 2016

No problem for give you access to the user where FreshRSS are running, are you have an email how i can send you the credential of newser user?

@Alkarex
Copy link
Member

Alkarex commented Aug 26, 2016

See my e-mail at the top of http://alexandre.alapetite.fr/cv/

@Alkarex
Copy link
Member

Alkarex commented Aug 28, 2016

Hello again,
I have just looked at your server, and as far as I can see so far, everything is working fine:

newser

I am guessing your cron was refreshing very often, so most of the time there was nothing to do. And if you tried a manual refresh, since the cron had already been running not so long before, there was nothing to do either.

I will look at the other warning message you got

Alkarex added a commit that referenced this issue Aug 28, 2016
PHP warning when not feed is iddle
#1227 (comment)
@Alkarex
Copy link
Member

Alkarex commented Aug 28, 2016

The warning you got regarding the foreach() in StatsDAO is now fixed in 961407b (dev version, soon in 1.5.0) #1219

@Alkarex
Copy link
Member

Alkarex commented Aug 28, 2016

There may be a problem with your cron indeed. I am looking into it

Alkarex added a commit to Alkarex/FreshRSS that referenced this issue Aug 28, 2016
FreshRSS#1227
Bug if base_url does not end with /
@Alkarex
Copy link
Member

Alkarex commented Aug 28, 2016

There was also a PubSubHubbub bug in your case (to receive new articles immediately, without having to refresh the feeds), fixed in #1229

@Alkarex Alkarex added this to the 1.5.1-beta milestone Aug 28, 2016
@Alkarex Alkarex self-assigned this Aug 28, 2016
Alkarex added a commit to Alkarex/FreshRSS that referenced this issue Aug 28, 2016
@Alkarex
Copy link
Member

Alkarex commented Aug 28, 2016

I think I found the main problem: The command-line version of your PHP configuration (CLI) lacks some extensions: XML, cURL
I have added some error messages in #1230
For PHP7, you should have php php-curl php-gmp php-intl php-mbstring php-xml php-zip

Alkarex added a commit to Alkarex/simplepie that referenced this issue Aug 28, 2016
The XML extension is not loaded by default on PHP7. Relevant to have the
reason of failure in the error message instead of returning an empty
error message.
FreshRSS/FreshRSS#1230
FreshRSS/FreshRSS#1227 (comment)
Alkarex added a commit to Alkarex/simplepie that referenced this issue Aug 28, 2016
The XML extension is not loaded by default on PHP7. Relevant to have the
reason of failure in the error message instead of returning an empty
error message.
FreshRSS/FreshRSS#1230
FreshRSS/FreshRSS#1227 (comment)
@Barrnet
Copy link
Author

Barrnet commented Aug 28, 2016

Ok, doing apt-get install php php-curl php-gmp php-intl php-mbstring php-xml php-zip:
php7.0-curl php7.0-gmp php7.0-intl php7.0-mbstring php7.0-xml php7.0-
Should be ok with php7, but the virtualhost actualy are using php5.6

@Alkarex
Copy link
Member

Alkarex commented Aug 28, 2016

newser@vps:~$ php -v
PHP 7.0.10-1~dotdeb+8.1 (cli) ( NTS )

@Barrnet
Copy link
Author

Barrnet commented Aug 28, 2016

You are right lol
I forgotten about it. I'm using php 7 with a website in nginx and, when I had installed it, that package was set as default for php cli.

@Alkarex
Copy link
Member

Alkarex commented Aug 29, 2016

So, is it working fine now? @Barrnet

@Barrnet
Copy link
Author

Barrnet commented Aug 29, 2016

Yes, seems to work fine now.

@Alkarex Alkarex closed this as completed Aug 29, 2016
javerous pushed a commit to javerous/FreshRSS that referenced this issue Jan 20, 2020
PHP warning when not feed is iddle
FreshRSS#1227 (comment)
javerous pushed a commit to javerous/FreshRSS that referenced this issue Jan 20, 2020
FreshRSS#1227
Bug if base_url does not end with /
javerous pushed a commit to javerous/FreshRSS that referenced this issue Jan 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants