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

After installing tt-rss with lighttpd on Debian Wheezy,   After editing the
config file to turn off "disabled" as suggested when the package is installed,
the daemon starts and appears to run fine.

However, when I go to http://localhost/tt-rss, I get an error message:


"Startup failed

Tiny Tiny RSS was unable to start properly. This usually means a
misconfiguration or an incomplete upgrade. Please fix errors indicated by the
following messages:
Please set SELF_URL_PATH to the correct value for your server (possible value:
http://localhost/tt-rss/)

You might want to check tt-rss wiki or the forums for more information. Please
search the forums before creating new topic for your question."


I wasn't able to resolve this without googling it, but apparently even though
tt-rss is installed properly (with all options telling tt-rss configure that
the database and web server is on the local machine), there is a line in the
configuration file:vim /etc/tt-rss/config.php

        define('SELF_URL_PATH', 'http://yourserver/tt-rss/');

This is misconfigured by default.  It'd think it should say "localhost".
Changing it to "localhost" and restarting tt-rss fixes the "Startup failed"
error.  Since tt-rss uses /etc/default/tt-rss for enabling/disabling the
program, I'd think after that point it should just work.






-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (500, 'testing'), (2, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.6-trunk-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages tt-rss depends on:
ii  dbconfig-common        1.8.47+nmu1
ii  debconf [debconf-2.0]  1.5.49
ii  libapache2-mod-php5    5.4.4-14
ii  libjs-dojo-core        1.7.2+dfsg-1
ii  libjs-dojo-dijit       1.7.2+dfsg-1
ii  libjs-scriptaculous    1.9.0-2
ii  libphp-phpmailer       5.1-1
ii  libphp-simplepie       1.2.1-3
ii  php-gettext            1.0.11-1
ii  php5                   5.4.4-14
ii  php5-cli               5.4.4-14
ii  php5-pgsql             5.4.4-14
ii  phpqrcode              1.1.4-1

Versions of packages tt-rss recommends:
ii  apache2-mpm-prefork [httpd]  2.2.22-13
ii  php5-gd                      5.4.4-14

Versions of packages tt-rss suggests:
pn  php-apc                                    <none>
ii  postgresql                                 9.1+134wheezy3
ii  postgresql-client-9.1 [postgresql-client]  9.1.9-1
pn  sphinxsearch                               <none>

-- Configuration Files:
/etc/default/tt-rss changed:
DISABLED=0
FORKING=0


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


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to