Are you using stock Docker compose setup? No
If not, either reproduce this issue on the official demo or switch to Docker and see if the issue is resolved. - It’s a code bug (I think) so reporting it here, hope that’s OK.
Describe the problem you’re having:
[Tue Mar 02 07:36:57.828377 2021] [proxy_fcgi:error] [pid 20237:tid 120432794420992] [client 192.168.0.120:7355] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught PDOException: SQLSTATE[22007]: Invalid datetime format: 1292 Incorrect datetime value: 'NOW()' for column `reader`.`ttrss_users`.`last_login` at row 1 in /var/www/reader/vendor/j4mie/idiorm/idiorm.php:505\nStack trace:\n#0 /var/www/reader/vendor/j4mie/idiorm/idiorm.php(505): PDOStatement->execute()\n#1 /var/www/reader/vendor/j4mie/idiorm/idiorm.php(2090): ORM::_execute('UPDATE `ttrss_u...', Array, 'default')\n#2 /var/www/reader/classes/userhelper.php(136): ORM->save()\n#3 /var/www/reader/index.php(21): UserHelper::login_sequence()\n#4 {main}\n thrown in /var/www/reader/vendor/j4mie/idiorm/idiorm.php on line 505'
[Tue Mar 02 07:37:11.729760 2021] [proxy_fcgi:error] [pid 20237:tid 120432794420992] [client 192.168.0.109:45618] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught PDOException: SQLSTATE[22007]: Invalid datetime format: 1292 Incorrect datetime value: 'NOW()' for column `reader`.`ttrss_users`.`last_login` at row 1 in /var/www/reader/vendor/j4mie/idiorm/idiorm.php:505\nStack trace:\n#0 /var/www/reader/vendor/j4mie/idiorm/idiorm.php(505): PDOStatement->execute()\n#1 /var/www/reader/vendor/j4mie/idiorm/idiorm.php(2090): ORM::_execute('UPDATE `ttrss_u...', Array, 'default')\n#2 /var/www/reader/classes/userhelper.php(55): ORM->save()\n#3 /var/www/reader/classes/api.php(76): UserHelper::authenticate('admin', 'XqkKLa37h3eOoEo...', false, '_api')\n#4 /var/www/reader/api/index.php(55): API->login()\n#5 {main}\n thrown in /var/www/reader/vendor/j4mie/idiorm/idiorm.php on line 505'
Include steps to reproduce the problem:
Be an annoying user, use MYSQL(!) on a legacy setup with PHP 7.3.27-1~deb10u1. Pull the latest version of tt-rss from git.
tt-rss version (including git commit id):
Latest commit: cd962dfa000f2da6ea0cc2c208c6061a3916ea85
Platform (i.e. Linux distro, PHP, PostgreSQL, etc) versions:
Debian 10, PHP 7.3.27-1~deb10u1, mysql Ver 15.1 Distrib 10.3.27-MariaDB, for debian-linux-gnu
Please provide any additional information below:
Contents of config.php:
<?php
// *******************************************
// *** Database configuration (important!) ***
// *******************************************
putenv('TTRSS_DB_TYPE=mysql');
putenv('TTRSS_DB_HOST=localhost');
putenv('TTRSS_DB_USER=reader');
putenv('TTRSS_DB_NAME=reader');
putenv('TTRSS_DB_PASS=<redacted>');
putenv('TTRSS_MYSQL_CHARSET=UTF8');
putenv('TTRSS_SELF_URL_PATH=https://reader.muppetz.com/');
/* putenv('TTRSS_ENABLE_REGISTRATION=true'); */
/* putenv('TTRSS_REG_NOTIFY_ADDRESS=tim@muppetz.com'); */
/* putenv('TTRSS_REG_MAX_USERS=100'); */
/* putenv('TTRSS_SESSION_COOKIE_LIFETIME=6998400'); */
/* putenv('TTRSS_SMTP_FROM_NAME=Tiny Tiny RSS'); */
/* putenv('TTRSS_SMTP_FROM_ADDRESS=reader@muppetz.com'); */
/* putenv('TTRSS_DIGEST_SUBJECT=[tt-rss] New headlines for last 24 hours'); */
/* putenv('TTRSS_SMTP_SERVER=mail.muppetz.com'); */
/* putenv('TTRSS_SMTP_SECURE=tls'); */
/* putenv('TTRSS_ENABLE_GZIP_OUTPUT=false'); */
/* putenv('TTRSS_PLUGINS=auth_internal, note, digest, cache_starred_images'); */
// vim:ft=php
?>
Fully understand if the response is: ‘You are using a totally unsupported setup, go away.’ Just thought I’d log it in case.