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:

Image cache is not writable (chmod -R 777 /var/cache/rss/cache/images)
Upload cache is not writable (chmod -R 777 /var/cache/rss/cache/upload)
Data export cache is not writable (chmod -R 777 /var/cache/rss/cache/export)
Javascript cache is not writable (chmod -R 777 /var/cache/rss/cache/js)

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.

Exception while creating PDO object:SQLSTATE[08006] [7] connection to server at "localhost" (::1), port 5432 failed: Connection refused
	Is the server running on that host and accepting TCP/IP connections?
connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused
	Is the server running on that host and accepting TCP/IP connections?