Tutorial Raspberry Pi + TTRSS + OwnCloud

If you run tt-rss on an officially unsupported platform (shared hosting, Windows, etc.) post here
aelg305
Bear Rating Trainee
Bear Rating Trainee
Posts: 4
Joined: 02 Apr 2013, 17:05

Tutorial Raspberry Pi + TTRSS + OwnCloud

Postby aelg305 » 11 Mar 2014, 21:59

I put together this tutorial to have the following systems workings under one: OwnCloud, TinyTny RRS and Ninja Blocks (next app to be added: xbmc, but currently under development - memory its a big issue)

For those that have not read about NinjaBlocks, its basically in a nutshell a sensor added to your Pi, so, if you buy the HUE phillip light bulbs, or a door bell with 433mhz capabilities, you in turn could control or set rules to use these devices with your Pi!

My Setup:
-Raspberry Pi B
-LAN connection
-SD 8GB
-Ninja Pi Crust

Installed Packages:
-Raspbian 2013-02-09 (apparently NB has compatibility issues with newer versions - suggestion appreciate it)
-Apache 2
-PHP5
-MySQL
-PHPMyAdmin

Tutorial can be found under:
Updates, corrections, comments; are always welcome.
setting up TTRSS should be similar to any normal linux-dist installation

zeiram
Bear Rating Trainee
Bear Rating Trainee
Posts: 12
Joined: 29 Apr 2013, 17:04

Re: Tutorial Raspberry Pi + TTRSS + OwnCloud

Postby zeiram » 12 Mar 2014, 00:05

My advice would be to replace Apache by either Nginx or Lighttpd, and MySQL by PostgreSql (as both tt-rss and OwnCloud support both DBs). You will then use a lot less resources on your RPi (the switch from MySQL to PostgreSql alone made my RPi write a lot less on the SD card and thus also freed a lot of CPU cycles to do other things).

wtvar
Bear Rating Trainee
Bear Rating Trainee
Posts: 2
Joined: 26 Apr 2014, 00:49

Re: Tutorial Raspberry Pi + TTRSS + OwnCloud

Postby wtvar » 26 Apr 2014, 00:54

hi,
im also using ttrss on raspberry. just managed to get it to work but im a bit of a noob.
used the update once to update all my feeds, but wondering how to have it run in background?
used "Run: php ./update.php --daemon" which i found here: http://tt-rss.org/redmine/projects/tt-r ... atingFeeds
but i cant just leave that open running in a window.. how do i make it run in background?
and if youve tried it, how cpu hungry/how much does it slow down the pi.
also want to run some other stuff (owncloud, webserver)

mrc0mmand
Bear Rating Trainee
Bear Rating Trainee
Posts: 16
Joined: 06 Feb 2014, 21:49

Re: Tutorial Raspberry Pi + TTRSS + OwnCloud

Postby mrc0mmand » 26 Apr 2014, 16:38


User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Tutorial Raspberry Pi + TTRSS + OwnCloud

Postby fox » 26 Apr 2014, 17:48

replace screen with tmux ^

User avatar
sleeper_service
Bear Rating Overlord
Bear Rating Overlord
Posts: 884
Joined: 30 Mar 2013, 23:50
Location: Dallas, Texas

Re: Tutorial Raspberry Pi + TTRSS + OwnCloud

Postby sleeper_service » 26 Apr 2014, 21:03


mrc0mmand
Bear Rating Trainee
Bear Rating Trainee
Posts: 16
Joined: 06 Feb 2014, 21:49

Re: Tutorial Raspberry Pi + TTRSS + OwnCloud

Postby mrc0mmand » 26 Apr 2014, 23:05


wtvar
Bear Rating Trainee
Bear Rating Trainee
Posts: 2
Joined: 26 Apr 2014, 00:49

Re: Tutorial Raspberry Pi + TTRSS + OwnCloud

Postby wtvar » 28 Apr 2014, 16:43

hey thanks for the help.
ive typed in "sudo screen -dmS ttrss /usr/bin/php /var/www/reader --daemon"
should i get some sort of confirmation/output after this?
it just moves to the next line, and my ttrss is still saying that update daemon isnt running.?
/var/www/reader is where update.php is.
or am i doing it wrong?
also tried it with /var/www/reader/update.php --daemon like in the wiki but no difference.?

basica
Bear Rating Trainee
Bear Rating Trainee
Posts: 7
Joined: 27 Apr 2014, 11:49

Re: Tutorial Raspberry Pi + TTRSS + OwnCloud

Postby basica » 28 Apr 2014, 17:25

don't run the daemon through sudo as that's probably a security risk. Most likely the easiest way depending if you can't find a init/upstart script for your distro is to run a cron job.

in the terminal type in "sudo crontab -u www-data -e" and then paste in this "*/30 * * * * /usr/bin/php /home/user/public_html/tt-rss/update.php --feeds --quiet"

change the folder to the one you have tt-rss installed in. that way your rss feed will get updated every 30mins. You might need to change www-data to another user account, depending on what you're using as a web server.


Return to “Unsupported platforms”

Who is online

Users browsing this forum: No registered users and 4 guests