I want use ttrss with docker. So I found the official help which title is Dockerized tt-rss using docker-compose.
I do with the tutor, git clone, and change file env.
When I docker-compose up --build complete(or building). It report me cannot open input file. The Log is:
updater_1 | uid=1000(app) gid=1000(app) groups=1000(app),1000(app)
updater_1 | db:5432 - accepting connections
updater_1 | Could not open input file: /var/www/html/tt-rss/update_daemon2.php
ttrss-docker_updater_1 exited with code 1
What can I deal with this bug?
The tutor is fox’s ttrss-docker-compose at this git
I cannot post the link. That I have to described the link where is.
fox
April 26, 2020, 6:48am
4
it’s very likely that you can’t clone from master repository because cloudflare doesn’t like you
use this setup instead - https://git.tt-rss.org/fox/ttrss-docker-compose/src/static-dockerhub
also before you post any further read support subforum sticky
https://community.tt-rss.org/t/read-before-posting-reporting-bugs/120
I’m so sorry about that.
I will try to git clone master and wait some time for cloning.
ty.
fox
April 26, 2020, 7:08am
6
i’ll make a note to add better error reporting if source is not available while containers are starting
Wonderful.
And some new error are happening.
app_1 | lib/dojo/cldr/nls/mk/currency.js
802 100% 1.11kB/s 0:00:00 (xfr#1507, ir-chk=1003/2765)
app_1 | lib/dojo/cldr/nls/mk/generic.js
3,777 100% 5.22kB/s 0:00:00 (xfr#1508, ir-chk=1002/2765)
app_1 | lib/dojo/cldr/nls/mk/gregori+ rsync -aP --delete /src/tt-rss//plugins.local/nginx_xaccel /var/www/html/tt-rss/plugins.local/nginx_xaccel
app_1 | rsync: mkdir "/var/www/html/tt-rss/plugins.local/nginx_xaccel" failed: No such file or directory (2)
app_1 | rsync error: error in file IO (code 11) at main.c(664) [Receiver=3.1.3]
app_1 | an.js
6,471 100% 8.95kB/s 0:00:00 (xfr#1509, ir-chk=1001/2765)
app_1 | lib/dojo/cldr/nls/mk/number.js
615 100% 0.85kB/s 0:00:00 (xfr#1510, ir-chk=1000/2765)
like this.
finally, it’s rolling those error
updater_1 | + id app
updater_1 | uid=1000(app) gid=1000(app) groups=1000(app),1000(app)
updater_1 | + pg_isready -h db -U postgres
updater_1 | + DST_DIR=/var/www/html/tt-rss
updater_1 | + '[' '!' -s /var/www/html/tt-rss/config.php -a -e /var/www/html/tt-rss/.app_is_ready ]
updater_1 | + sudo -u app /usr/bin/php /var/www/html/tt-rss/update_daemon2.php
updater_1 | db:5432 - accepting connections
updater_1 | PHP Warning: require_once(config.php): failed to open stream: No such file or directory in /var/www/html/tt-rss/include/functions.php on line 33
updater_1 | PHP Fatal error: require_once(): Failed opening required 'config.php' (include_path='/var/www/html/tt-rss/include:.:/usr/share/php7') in /var/www/html/tt-rss/include/functions.php on line 33
ttrss-docker_updater_1 exited with code 255
app_1 | + rsync -aP --delete /src/tt-rss//plugins.local/nginx_xaccel /var/www/html/tt-rss/plugins.local/nginx_xaccel
app_1 | sending incremental file list
app_1 | rsync: mkdir "/var/www/html/tt-rss/plugins.local/nginx_xaccel" failed: No such file or directory (2)
app_1 | rsync error: error in file IO (code 11) at main.c(664) [Receiver=3.1.3]
ttrss-docker_app_1 exited with code 11
It seems like something wrong.
And the docker_app was in Restarting loop.
maybe there need another test if the file is missing.
I want to build it at local without reverese proxy like nginx.
May be something wrong was happened
fox
April 27, 2020, 4:34am
9
i can’t really help you because i have no idea what you’re doing.
you haven’t posted any information based on the stickied thread i’ve linked above
you don’t post entire logs but fragments
i don’t know if you changed to dockerhub container setup or not
your English doesn’t help either
i don’t know what your native language is but i can suggest trying your local forums for any further help