Package: tt-rss
Version: 18.12+dfsg-1
Severity: important

Hi,

after upgrading from 16.8+git20160826+dfsg-3 (which I had run under
Debian stretch), tt-rss fails to display anything after the login page.
There is this error:

[Sun Mar 03 13:15:12.954927 2019] [php7:error] [pid 2055] [client XXX] PHP 
Fatal error:  Uncaught PDOException: SQLSTATE[22001]: String data, right 
truncated: 1406 Data too long for column 'context' at row 1 in 
/usr/share/tt-rss/www/classes/logger/sql.php:18
Stack trace:
#0 /usr/share/tt-rss/www/classes/logger/sql.php(18): 
PDOStatement->execute(Array)
#1 /usr/share/tt-rss/www/classes/logger.php(28): Logger_SQL->log_error(8192, 
'strpos(): Non-s...', 'vendor/JShrink/...', 184, '1. vendor/JShri...')
#2 /usr/share/tt-rss/www/include/errorhandler.php(43): Logger->log_error(8192, 
'strpos(): Non-s...', 'vendor/JShrink/...', 184, '1. vendor/JShri...')
#3 [internal function]: ttrss_error_handler(8192, 'strpos(): Non-s...', 
'vendor/JShrink/...', 184, '1. vendor/JShri...')
#4 /usr/share/tt-rss/www/vendor/JShrink/Minifier.php(184): strpos('(-+{[@', 
false)
#5 /usr/share/tt-rss/www/vendor/JShrink/Minifier.php(144): 
JShrink\\Minifier->loop()
#6 /usr/share/tt-rss/www/vendor/JShrink/Minifier.php(110): 
JShrink\\Minifier->minifyDirectToOutput('/* global dijit...', Array)
#7 /usr/share/tt-rss/www/include/functions.php in 
/usr/share/tt-rss/www/classes/logger/sql.php on line 18, referer: https://XXX


I have then changed LOG_DESTINATION to syslog in config.php and it
worked again. In syslog, I see this message:

php: [tt-rss] E_DEPRECATED (8192) (vendor/JShrink/Minifier.php:184) strpos(): 
Non-string needles will be interpreted as strings in the future. Use an 
explicit chr() call to preserve the current behavior


If no other fix is possible in time for buster release, maybe the default for 
LOG_DESTINATION
could be changed?

Cheers,
Stefan


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages tt-rss depends on:
ii  dbconfig-common                             2.0.11
ii  dbconfig-mysql                              2.0.11
ii  debconf [debconf-2.0]                       1.5.70
ii  init-system-helpers                         1.56+nmu1
ii  libapache2-mod-php                          2:7.3+69
ii  libapache2-mod-php7.3 [libapache2-mod-php]  7.3.2-3
ii  libjs-dojo-core                             1.14.2+dfsg1-1
ii  libjs-dojo-dijit                            1.14.2+dfsg1-1
ii  libjs-scriptaculous                         1.9.0-2
ii  lsb-base                                    10.2018112800
ii  php                                         2:7.3+69
ii  php-cli                                     2:7.3+69
ii  php-mbstring                                2:7.3+69
ii  php-mysql                                   2:7.3+69
ii  php-php-gettext                             1.0.12-0.1
ii  php-xml                                     2:7.3+69
ii  php7.0-cli [php-cli]                        7.0.33-0+deb9u2
ii  php7.0-json [php-json]                      7.0.33-0+deb9u2
ii  php7.0-mbstring [php-mbstring]              7.0.33-0+deb9u2
ii  php7.0-xml [php-xml]                        7.0.33-0+deb9u2
ii  php7.3 [php]                                7.3.2-3
ii  php7.3-cli [php-cli]                        7.3.2-3
ii  php7.3-json [php-json]                      7.3.2-3
ii  php7.3-mbstring [php-mbstring]              7.3.2-3
ii  php7.3-xml [php-xml]                        7.3.2-3
ii  phpqrcode                                   1.1.4-3

Versions of packages tt-rss recommends:
ii  apache2 [httpd]             2.4.38-2
ii  ca-certificates             20190110
ii  php-curl                    2:7.3+69
ii  php-gd                      2:7.3+69
ii  php-mcrypt                  1:7.0+49
ii  php7.0-gd [php-gd]          7.0.33-0+deb9u2
ii  php7.0-mcrypt [php-mcrypt]  7.0.33-0+deb9u2
ii  php7.3-curl [php-curl]      7.3.2-3
ii  php7.3-gd [php-gd]          7.3.2-3

Versions of packages tt-rss suggests:
pn  php-apc       <none>
pn  sphinxsearch  <none>

-- Configuration Files:
/etc/tt-rss/apache.conf changed [not included]
/etc/tt-rss/config.php changed [not included]

-- debconf information:
  tt-rss/pgsql/manualconf:
  tt-rss/internal/reconfiguring: false
  tt-rss/pgsql/authmethod-admin: ident
* tt-rss/dbconfig-reinstall: true
  tt-rss/upgrade-error: abort
* tt-rss/database-type: mysql
* tt-rss/reconfigure-webserver: apache2
* tt-rss/dbconfig-install: true
* tt-rss/db/basepath:
  tt-rss/remote/port:
  tt-rss/dbconfig-remove: true
* tt-rss/passwords-do-not-match:
  tt-rss/pgsql/admin-user: postgres
  tt-rss/remove-error: abort
  tt-rss/remote/newhost:
* tt-rss/db/dbname: ttrss
* tt-rss/dbconfig-upgrade: true
  tt-rss/remote/host: localhost
  tt-rss/purge: false
  tt-rss/pgsql/method: TCP/IP
* tt-rss/self_url_path: https://XXX
  tt-rss/pgsql/no-empty-passwords:
* tt-rss/mysql/method: Unix socket
  tt-rss/install-error: abort
  tt-rss/upgrade-backup: true
  tt-rss/pgsql/changeconf: false
  tt-rss/internal/skip-preseed: false
  tt-rss/missing-db-package-error: abort
  tt-rss/pgsql/authmethod-user: password
* tt-rss/mysql/admin-user: root
* tt-rss/db/app-user: tt-rss@localhost

Reply via email to