Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #166768 > unrolled thread

Installing tt-rss

Started byRainer Dorsch <ml@bokomoko.de>
First post2016-04-16 15:50 +0200
Last post2016-04-23 22:20 +0200
Articles 7 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  Installing tt-rss Rainer Dorsch <ml@bokomoko.de> - 2016-04-16 15:50 +0200
    Re: Installing tt-rss Jochen Spieker <ml@well-adjusted.de> - 2016-04-16 19:50 +0200
    Re: Installing tt-rss Sebastian Reichel <sre@debian.org> - 2016-04-18 18:30 +0200
      Re: Installing tt-rss Rainer Dorsch <ml@bokomoko.de> - 2016-04-18 22:50 +0200
        Re: Installing tt-rss Sebastian Reichel <sre@debian.org> - 2016-04-19 04:00 +0200
          Re: Installing tt-rss Rainer Dorsch <ml@bokomoko.de> - 2016-04-20 22:30 +0200
            Re: Installing tt-rss Rainer Dorsch <ml@bokomoko.de> - 2016-04-23 22:20 +0200

#166768 — Installing tt-rss

FromRainer Dorsch <ml@bokomoko.de>
Date2016-04-16 15:50 +0200
SubjectInstalling tt-rss
Message-ID<royLL-4bu-7@gated-at.bofh.it>
Hi,

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 ?

Many thanks
Rainer
-- 
Rainer Dorsch
http://bokomoko.de/

[toc] | [next] | [standalone]


#166784

FromJochen Spieker <ml@well-adjusted.de>
Date2016-04-16 19:50 +0200
Message-ID<roCw3-7l6-17@gated-at.bofh.it>
In reply to#166768

[Multipart message — attachments visible in raw view] — view raw

Rainer Dorsch:
> Hi,
> 
> 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 ?

I am running the Git version, but used the Debian package previously as
well. I think what you are looking for can be found in
/etc/tt-rss*/database.php. Why debconf didn't ask for it in the first
place, I don't know. You can retry using 'dpkg-reconfigure tt-rss'.

J.
-- 
All participation is a myth.
[Agree]   [Disagree]
                 <http://archive.slowlydownward.com/NODATA/data_enter2.html>

[toc] | [prev] | [next] | [standalone]


#166870

FromSebastian Reichel <sre@debian.org>
Date2016-04-18 18:30 +0200
Message-ID<rpkdI-bo-5@gated-at.bofh.it>
In reply to#166768

[Multipart message — attachments visible in raw view] — view raw

Hi,

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?

-- Sebastian

[toc] | [prev] | [next] | [standalone]


#166877

FromRainer Dorsch <ml@bokomoko.de>
Date2016-04-18 22:50 +0200
Message-ID<rpohk-3i4-29@gated-at.bofh.it>
In reply to#166870
Hi Sebastian,

On Monday 18 April 2016 18:20:19 Sebastian Reichel wrote:
> Hi,
> 
> 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):


root@scw:/etc# apt-get purge tt-rss
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer 
required:
  apache2 apache2-bin apache2-data apache2-utils dbconfig-common javascript-
common libapache2-mod-php libapache2-mod-php7.0 libapr1 libaprutil1
  libaprutil1-dbd-sqlite3 libaprutil1-ldap libjs-dojo-core libjs-dojo-dijit 
libjs-dojo-dojox libjs-prototype libjs-scriptaculous liblua5.2-0 libmcrypt4
  libphp-phpmailer libwebp5 libxslt1.1 php php-cli php-common php-gd php-
gettext php-mbstring php-mcrypt php-mysql php-pear php-xml php7.0 php7.0-cli
  php7.0-common php7.0-gd php7.0-json php7.0-mbstring php7.0-mcrypt php7.0-
mysql php7.0-opcache php7.0-readline php7.0-xml phpqrcode ssl-cert
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  tt-rss*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 7,103 kB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 48042 files and directories currently installed.)
Removing tt-rss (15.7+git20151123+dfsg-4) ...
/var/lib/dpkg/info/tt-rss.prerm: 32: [: =: unexpected operator
Purging configuration files for tt-rss (15.7+git20151123+dfsg-4) ...
root@scw:/etc# 

I noticed

/var/lib/dpkg/info/tt-rss.prerm: 32: [: =: unexpected operator

not sure if it does any harm.


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: ???


Kind regards,
Rainer

-- 
Rainer Dorsch
http://bokomoko.de/

[toc] | [prev] | [next] | [standalone]


#166881

FromSebastian Reichel <sre@debian.org>
Date2016-04-19 04:00 +0200
Message-ID<rpt7l-7i8-3@gated-at.bofh.it>
In reply to#166877

[Multipart message — attachments visible in raw view] — view raw

Hi,

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?

-- Sebastian

[toc] | [prev] | [next] | [standalone]


#166910

FromRainer Dorsch <ml@bokomoko.de>
Date2016-04-20 22:30 +0200
Message-ID<rq6V5-5pd-25@gated-at.bofh.it>
In reply to#166881
Hi Sebastian,

On Tuesday 19 April 2016 03:58:02 Sebastian Reichel wrote:
> Hi,
> 
> 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 
downgrade,                                                          │              
              │    reinstall, reconfigure this package, or otherwise manually 
intervene                                                       │              
              │    to continue using it. This will usually also impact your 
ability to                                                        │              
              │    install other packages until the installation failure is 
resolved.                                                         │              
              │  * retry - Prompts once more with all the configuration 
questions                                                             │              
              │    (including ones you may have missed due to the debconf 
priority                                                            │              
              │    setting) and makes another attempt at performing the 
operation.                                                            │              
              │  * retry (skip questions) - Immediately attempts the operation 
again,                                                         │              
              │    skipping all questions. This is normally useful only if you 
have                                                           │              
              │    solved the underlying problem since the time the error 
occurred.                                                           │              
              │  * ignore - Continues the operation ignoring dbconfig-common 
errors.                                                          │              
              │    This will usually leave this package without a functional 
database.                                                        │              
              │                                                                                                                               
│              
              │ Next step for database installation:                                                                                          
│              
              │                                                                                                                               
│              
              │                                                    abort                                                                      
│              
              │                                                    retry                                                                      
│              
              │                                                    retry (skip 
questions)                                                     │              
              │                                                    ignore                                                                     
│              
              │                                                                                                                               
│              
              │                                                                                                                               
│              
              │                                     <Ok>                                         
<Cancel>    


Do you have an idea what went wrong here?

Thanks
Rainer


-- 
Rainer Dorsch
http://bokomoko.de/

[toc] | [prev] | [next] | [standalone]


#167045

FromRainer Dorsch <ml@bokomoko.de>
Date2016-04-23 22:20 +0200
Message-ID<rrcc1-K6-1@gated-at.bofh.it>
In reply to#166910
Hi,

I switched to postgresql, which makes tt-rss now working for me after 
installing a few other packages

# apt-get install dbconfig-pgsql 
# apt-get install postgresql-9.5
# apt-get install php-pgsql 
# apt-get install tt-rss

Thanks,
Rainer

-- 
Rainer Dorsch
http://bokomoko.de/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web