On Tue, Aug 20, 2013 at 11:20:33PM +0300, Atanas Vladimirov wrote: > >On Sun, Aug 18, 2013 at 03:05:56PM +0300, Atanas Vladimirov wrote: > >> Update Tiny Tiny RSS to 1.9 (Jul 21, 2013) > >> I removed '@sample tt-rss/config.php' from PLIST, because you don't need > >> it when you install (update) for the first time (from older version). > >> Is that right? Any comments? > > > >The @sampled file is needed so that you dont modify the reference > >config.php. So please dont remove it.. > > > >I'll have a look at it in the coming days. > > > >Landry > > After you install for the first time and there is @sampled file and you > point you browser to http://<hostname>/tt-rss/ it will give you an error, > that it > can't connect to database, because there is a default config.php in tt-rss > root. > Also http://<hostname>/tt-rss/install/ will give you an error, that > config.php already exists. > If you don't install config.php and you try to reach http://<hostname>/tt-rss/ > your browser will redirect you to http://<hostname>/tt-rss/install/ and will > give you chance to > create your own config.php. > If you update from older version you don't need config.php, except when some > options > are changed in the future.
I dont follow you. You always need a config.php to point at the correct database, and the method explained in /usr/local/share/doc/pkg-readmes/tt-rss-* should be preferred over any kind of bundled installation. Unless things changed a lot in 1.9 series.. Landry