-
-
Notifications
You must be signed in to change notification settings - Fork 784
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
Comments
Hello, Start by adding more detailed logs in FreshRSS, by editing (In the commands below, replace # 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 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* |
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 |
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
And log from "grep -iE 'FreshRSS|SimplePie' /var/log/syslog" command: http://pastebin.com/VQgwMc80 |
Do you have anything in /home/newser/tmp/FreshRSS.log ?
|
And have you tried the procedure above, including clearing the feeds cache, and checking the access rights? |
Permission are ok, and in /home/newser/tmp/FreshRSS.log in have only: ` |
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 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. |
Yep. I have already set development environment and feeds stop working in same time.
|
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? |
See my e-mail at the top of http://alexandre.alapetite.fr/cv/ |
Hello again, 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 |
PHP warning when not feed is iddle #1227 (comment)
There may be a problem with your cron indeed. I am looking into it |
FreshRSS#1227 Bug if base_url does not end with /
There was also a PubSubHubbub bug in your case (to receive new articles immediately, without having to refresh the feeds), fixed in #1229 |
I think I found the main problem: The command-line version of your PHP configuration (CLI) lacks some extensions: XML, cURL |
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)
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)
Ok, doing apt-get install php php-curl php-gmp php-intl php-mbstring php-xml php-zip: |
newser@vps:~$ php -v
PHP 7.0.10-1~dotdeb+8.1 (cli) ( NTS ) |
You are right lol |
So, is it working fine now? @Barrnet |
Yes, seems to work fine now. |
PHP warning when not feed is iddle FreshRSS#1227 (comment)
FreshRSS#1227 Bug if base_url does not end with /
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
`
The text was updated successfully, but these errors were encountered: