Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#69993 - [tt-rss] fails post-transaction hooks

Attached to Project: Community Packages
Opened by The Fiuz (Fiuz) - Monday, 15 March 2021, 14:06 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 15 March 2021, 14:29 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
TT-RSS fails its post transaction hook.
This happens on an updated system with an existing mariaDB ttrss database.
apache, php and php-apache just reinstalled. phpinfo() works correctly.
Every required PHP extension is loaded *before* installing tt-rss (curl, iconv, intl, mysqli, pdo_mysql, soap)

My guess is that
Exec = /usr/bin/runuser -u http -- /usr/bin/php /usr/share/webapps/tt-rss/update.php --update-schema
Fails to load the appropriate database driver to run the update.

The output:

(3/3) Updating TT-RSS Database
<pre>Exception while creating PDO object:could not find driver</pre>
<pre>Exception while creating PDO object:could not find driver</pre>
error: command failed to execute correctly

Additional info:
* package version(s): 2:r10820.4e81233ac-1


Steps to reproduce:
Install the above mentioned tt-rss version.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 15 March 2021, 14:29 GMT
Reason for closing:  Not a bug
Comment by Doug Newgard (Scimmia) - Monday, 15 March 2021, 14:12 GMT
Where does that hook come from?
Comment by The Fiuz (Fiuz) - Monday, 15 March 2021, 14:28 GMT
Sorry, I forgot to mention.

/etc/pacman.d/hooks/tt-rss.hook
Comment by Doug Newgard (Scimmia) - Monday, 15 March 2021, 14:29 GMT
The fact that it's in /etc tells me it wasn't from a package. Custom hooks are not Arch's responsibility.

Loading...