<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>黑群晖相关文章列表 | 皇家元林</title>
	<atom:link href="https://hjyl.org/tags/%e9%bb%91%e7%be%a4%e6%99%96/feed/" rel="self" type="application/rss+xml" />
	<link>https://hjyl.org</link>
	<description>刘元林的个人博客</description>
	<lastBuildDate>Wed, 11 Jan 2023 08:17:51 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://img.hjyl.org/uploads/2019/10/cropped-about-me-32x32.png</url>
	<title>黑群晖相关文章列表 | 皇家元林</title>
	<link>https://hjyl.org</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>黑群晖 / docker / Tiny Tiny RSS</title>
		<link>https://hjyl.org/nas-docker-tiny-tiny-rss/</link>
					<comments>https://hjyl.org/nas-docker-tiny-tiny-rss/#comments</comments>
		
		<dc:creator><![CDATA[皇家元林]]></dc:creator>
		<pubDate>Wed, 11 Jan 2023 08:17:48 +0000</pubDate>
				<category><![CDATA[元林手札]]></category>
		<category><![CDATA[docker]]></category>
		<category><![CDATA[FreshRSS]]></category>
		<category><![CDATA[RSS订阅]]></category>
		<category><![CDATA[Tiny Tiny RSS]]></category>
		<category><![CDATA[黑群晖]]></category>
		<guid isPermaLink="false">https://hjyl.org/?p=4395</guid>

					<description><![CDATA[自从升级了黑群晖到7.1版本之后，freshrss订阅就没那么顺利了，经常出现感叹号，订阅失败的情况。于是乎就 [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>自从升级了黑群晖到7.1版本之后，freshrss订阅就没那么顺利了，经常出现感叹号，订阅失败的情况。于是乎就想折腾一下Tiny Tiny RSS，之前折腾过，因为数据库的问题，而且官方自2011年开始不支持普通的环境安装，就放弃了。</p>



<p>网上用群晖docker安装TTRSS的教程不多，而且还恶心人要花钱买，不过好在重点都能看到，终于搞定了。此文记录一下，留给有缘人！</p>



<p>TTRSS支持PostgreSQL 或者 MySQL数据库，MySQL数据库繁琐的很，此文重点说下PostgreSQL，在群晖里安装很方便。</p>



<p>推荐docker镜像：<br>1、nornagon/postgres：PostgreSQL数据库服务<br>2、fischerman/docker-ttrss：TTRSS的镜像服务</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img fetchpriority="high" decoding="async" width="991" height="569" src="https://img.hjyl.org/uploads/2023/01/20230111145857.png"  class="wp-image-4396" title="20230111145857.png" alt="20230111145857.png" /><figcaption class="wp-element-caption">docker镜像</figcaption></figure>
</div>


<p>一、安装PostgreSQL数据库服务</p>



<p>双击已经下载好的nornagon/postgres，直接创建，无需配置，只需要选中自动重启选项即可。</p>



<p>二、安装TTRSS</p>



<p>首先，在共享文件夹docker下新建一个文件夹，随便命名，比如TTRSS，再TTRSS下新建一个文件夹feed-icons，设置feed-icons属性里的权限，添加everyone用户，授予读取和写入的权限。当然你不新建feed-icons文件夹也行，直接赋予TTRSS文件夹上面的权限即可。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><a href="https://hjyl.org/?attachment_id=4397"><img decoding="async" src="https://img.hjyl.org/uploads/2023/01/20230111150457.png"  class="wp-image-4397" width="621" height="436" title="20230111150457.png" alt="20230111150457.png" /></a><figcaption class="wp-element-caption">TTRSS添加权限</figcaption></figure>
</div>


<p>其次，双击已经下载好的fischerman/docker-ttrss镜像，只需要设置两个关键点，①环境里的SELF_URL_PATH的值为TTRSS的网址，如果你是局域网网址就填局域网址，如果你直接绑定了域名，就填域名网址；②链接里添加刚才启动的数据库服务，值为db，注意一定是db，其他值都不行。</p>



<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><a href="https://hjyl.org/?attachment_id=4398"><img decoding="async" width="1045" height="592" data-id="4398" src="https://img.hjyl.org/uploads/2023/01/20230111150555.png" alt="环境变量配置" class="wp-image-4398" title="20230111150555.png" /></a><figcaption class="wp-element-caption">环境变量配置</figcaption></figure>



<figure class="wp-block-image size-large"><a href="https://hjyl.org/?attachment_id=4399"><img loading="lazy" decoding="async" width="1015" height="576" data-id="4399" src="https://img.hjyl.org/uploads/2023/01/20230111150700.png" alt="链接变量配置" class="wp-image-4399" title="20230111150700.png" /></a><figcaption class="wp-element-caption">链接变量配置</figcaption></figure>
</figure>



<p>端口那块，如果你不想自动分配，可以填一个固定的端口，譬如8080。</p>



<p>启动之后，你就可以打开SELF_URL_PATH后面的那个网址访问TTRSS服务了。默认用户名admin，密码password。</p>



<figure class="wp-block-table is-style-stripes has-small-font-size"><table class="has-fixed-layout"><tbody><tr><td></td><td class="has-text-align-left" data-align="left"><strong>FreshRSS</strong></td><td><strong>TTRSS</strong></td></tr><tr><td>优点</td><td class="has-text-align-left" data-align="left">1、界面UI简洁，好看，很容易习惯；<br>2、安装简单，无需繁琐的配置；<br>3、支持自主搭建LNMP环境安装服务；<br>4、支持sqlite数据库，简单不用配置；<br>5、出现订阅失败的网站可以强制订阅。</td><td>1、主题不多，但还算简洁，跟freshrss差不多；<br>2、订阅推送时间正常；<br>3、订阅失败能找到原因；<br>4、火狐浏览器导出备份正常；<br>5、听说有手机app支持，我没试过。</td></tr><tr><td>缺点</td><td class="has-text-align-left" data-align="left">1、像上面说的，突然出现无法订阅的情况，也不清楚什么原因；<br>2、订阅推送的时间貌似不太对，不知道是不是我配置的问题，一直没找到原因；<br>3、火狐浏览器导出备份出现错误，chrome内核的浏览器正常；</td><td>1、安装复杂，我是折腾了很久才搞定的；<br>2、订阅失败的网站不能强制订阅；<br>3、不支持自主搭建LNMP环境安装；</td></tr></tbody></table><figcaption class="wp-element-caption">FreshRSS与TTRSS优缺点比较</figcaption></figure>



<p>个人感觉，就这样了！主要是安装一个这样的服务，在所有平台都可以用。如有不同意见，欢迎指教！</p>
<div id="content-copyright"><span style="font-weight:bold;text-shadow:0 1px 0 #ddd;font-size: 13px;">版权声明: </span><span style="font-size: 13px;">本文采用 <a href="https://hjyl.org/go/aHR0cHM6Ly9jcmVhdGl2ZWNvbW1vbnMub3JnL2xpY2Vuc2VzL2J5LW5jLXNhLzMuMC8=" rel="nofollow" target="_blank">BY-NC-SA</a> 协议进行授权，如无注明均为原创，转载请注明转自 <a href="https://hjyl.org">皇家元林</a><br>本文链接: <a rel="bookmark" title="黑群晖 / docker / Tiny Tiny RSS" href="https://hjyl.org/nas-docker-tiny-tiny-rss/">黑群晖 / docker / Tiny Tiny RSS</a></span></div>]]></content:encoded>
					
					<wfw:commentRss>https://hjyl.org/nas-docker-tiny-tiny-rss/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
	</channel>
</rss>
