-
-
Notifications
You must be signed in to change notification settings - Fork 785
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
actualize_script.php PHP errors since 3 days when updating the feeds #3476
Comments
1.18 supports PHP 8. There are a few minor remaining issues before an RC can be put out. Your error suggests it might be something with your DB? Is there enough disk space and such? |
Hmm thanks a lot So far that seems to have (hopefully not coincidental) worked. Thanks a lot again. |
sorry that didnt do the job PHP Warning: Error while sending STMT_PREPARE packet. PID=27500 in /public_html/lib/Minz/Pdo.php on line 40 Warning: Error while sending STMT_PREPARE packet. PID=27500 in /public_html/lib/Minz/Pdo.php on line 40 checked for updates any ideas where to look further please? |
@Alkarex knows a lot more about DBs than I do. Is there a log for the DB itself? With any luck it's more specific. |
db log only states |
What is your MySQL config for: show local variables like 'wait_timeout'; How many feeds do you have / how long time does |
What address are you using for your database? |
grep -i timeout my.cnf
wait_timeout=60
interactive_timeout=50 ./FreshRSS/data/config.php 'db' =>
array (
'type' => 'mysql',
'host' => 'localhost',
'user' => 'USER',
'password' => 'PASSWORD',
'base' => 'BASE',
'prefix' => 'freshrss_',
'connection_uri_params' => '',
'pdo_options' => I have around 120 feeds The script runs at most maybe 2 minutes but is usually quite faster. sudo -u RSS /public_html/app/actualize_script.php
I'm checking if that USER1 which is my main user has some bad feeds. Current user 36 580 articles (51.42 MiB) Maybe some DB corruption? |
The errors related to |
Is it still an actual issue? |
Sorry for that. It became an issue again when I moved to a new Ubuntu VPS and had the exact issue again, but could not recall what I did the last time to fix in the end. But now I did because I found my own entry here. I'm not sure if it's related to the default HestiaCP MySQL config, but I had to change (again) the default values in /etc/mysql/my.cnf And restart the database. (systemctl restart mysql) |
Since I believe 3 days I noted issues with my feed updating or well not properly updating.
I have a cronjob doing that for me calling
.... /public_html/app/actualize_script.php
I did run that command from command line and noted the following errors.
PHP Warning: Error while sending STMT_PREPARE packet. PID=406805 in ... /public_html/lib/Minz/Pdo.php on line 40
PHP Warning: DOMXPath::query(): Invalid expression in ... /public_html/lib/lib_phpQuery.php on line 1780
PHP Notice: Trying to get property 'length' of non-object in ... /public_html/lib/lib_phpQuery.php on line 1782
PHP Warning: Invalid argument supplied for foreach() in ... /public_html/lib/lib_phpQuery.php on line 1785
The server is running under ubuntu 20.04 with APACHE and NGinx. No config changes made, but Ubuntu did update the php versions around that time too.
I'm running on php 7.4
Side related question are there plans for PHP 8 support?
Thanks
The text was updated successfully, but these errors were encountered: