Re: Installing tt-rss
On Tuesday 19 April 2016 03:58:02 Sebastian Reichel wrote:
> On Mon, Apr 18, 2016 at 10:42:54PM +0200, Rainer Dorsch wrote:
> > On Monday 18 April 2016 18:20:19 Sebastian Reichel wrote:
> > > On Sat, Apr 16, 2016 at 03:30:30PM +0200, Rainer Dorsch wrote:
> > > > I tried to install tt-rss on a stretch system. During the
> > > > configuration of
> > > > tt- rss, debconf asks for a username and a password confirmation for
> > > > the
> > > > tt-rss database ... but it never asked for the password itself.
> > > >
> > > > /usr/share/doc/tt-rss/README.* does also not give more insight.
> > > >
> > > > Did anybody manage to setup tt-rss using the debconf and
> > > > dbconfig-common ?
> > >
> > > Are you sure, that you did not accidently skip the password
> > > question?
> > Hmmm....I tried again (not sure if dbconfig keeps somewhare some config):
> > I noticed
> > /var/lib/dpkg/info/tt-rss.prerm: 32: [: =: unexpected operator
> > not sure if it does any harm.
> Interesting. That should not happen.
> > When running
> > root@scw:/etc# apt-get install tt-rss
> > I get these questions
> > Configure database for tt-rss with dbconfig-common? <Yes>
> > Host name of the database server for tt-rss: localhost
> > Port number for the service: <blank>
> > database name for tt-rss: ttrss_
> > storage directory for tt-rss: <blank> -- I hope there is a sensible
> > default
> > username for tt-rss: ttrss
> > Password confirmation: ???
> Ok. I think it's a bug in tt-rss due to changes in dbconfig-common
> introduced in version 2.0. Can you try installing dbconfig-mysql or
> dbconfig-pgsql (depending on which database type you want) before
> installing tt-rss?
Installing dbconfig-mysql changed the behavior. Now debconf asks for passwd
for the mysql root and tt-rss user. But I end up with another error:
Configuring tt-rss ├─────────────────────────────────────────────────────┐
│ An error occurred while installing the database:
│ ERROR 2002 (HY000): Can't connect to local MySQL server
through socket '/var/run/mysqld/mysqld.sock' (2) . Your options are: │
│ * abort - Causes the operation to fail; you will need to
│ reinstall, reconfigure this package, or otherwise manually
│ to continue using it. This will usually also impact your
ability to │
│ install other packages until the installation failure is
│ * retry - Prompts once more with all the configuration
│ (including ones you may have missed due to the debconf
│ setting) and makes another attempt at performing the
│ * retry (skip questions) - Immediately attempts the operation
│ skipping all questions. This is normally useful only if you
│ solved the underlying problem since the time the error
│ * ignore - Continues the operation ignoring dbconfig-common
│ This will usually leave this package without a functional
│ Next step for database installation:
│ retry (skip
Do you have an idea what went wrong here?