Open nemosmithasf opened 4 years ago
After recreating my ttrss container a few days ago, I get the same error message. The image wasn't updated in quite some time, though. I guess ttrss changed something in their GitHub repo and the docker image does not reflect it, yet?
Everything worked fine a week (or few weeks) ago. :-)
Everything worked fine a week (or few weeks) ago. :-)
Is there a way to use an older version of TTRSS? I've tried 2-3 other docker images and they all have the same error for SELF_URL_PATH
and some flavour of error in the logs
@nemosmithasf You can fix SELF_URL_PATH
issue in the meantime with the workaround proposed in this issue.
I just created pull request #41 to resolve
With pull request #41 merged this should be resolved.
I also have the issue with "relation "ttrss_version" does not exist", with the latest docker image pulled.
@Ambroisie re-starting your container should resolve this, the container hasn't finished initializing the database.
It still is happening with the latest Docker image for a clean install.
Looks like because of this:
ttrss | Configuring database for: config.php
ttrss | PHP Notice: Undefined variable: confpath in /srv/ttrss-configure-db.php on line 8
ttrss | pgsql:host=ttrssdb;port=5432;dbname=ttrss;user=ttrss;password=super_secret_password;pgsql:host=ttrssdb;port=5432;dbname=ttrss;user=ttrss;password=super_secret_password;Database table not found, applying schema...
ttrss | PHP Notice: Undefined variable: confpath in /srv/ttrss-configure-db.php on line 77
ttrss | PHP Warning: file_get_contents(schema/ttrss_schema_pgsql.sql): failed to open stream: No such file or directory in /srv/ttrss-configure-db.php on line 77
ttrss | PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: trying to execute an empty query in /srv/ttrss-configure-db.php:82
PR #45 was merged -- please retry and let me know if the issue persists. Thanks!
I am not going to be using this software after reading up on the author, but thank you for your work.
Hi, still having the same problem here.
/ # env
TTRSS_SELF_URL_PATH=https://ttrss.23-5.eu
HOSTNAME=e5426eaf0a8e
DB_PORT=5432
SHLVL=1
DB_ENV_PASS=
HOME=/root
DB_NAME=ttrss
DB_ENV_USER=ttrss
TERM=xterm
SELF_URL_PATH=https://ttrss.23-5.eu
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
TTRSS_DB_PORT_5432_TCP_ADDR=postgres
TTRSS_DB_HOST=postgres
TTRSS_DB_USER=ttrss
TTRSS_DB_PORT_5432_TCP_PORT=5432
TTRSS_DB_PASS=
DB_PASS=
TTRSS_DB_PORT=5432
TTRSS_DB_NAME=ttrss
PWD=/
DB_PORT_5432_TCP_ADDR=postgres
DB_HOST=postgres
DB_USER=ttrss
DB_PORT_5432_TCP_PORT=5432
I added TTRSS_SELF_URL_PATH=https://ttrss.23-5.eu SELF_URL_PATH=https://ttrss.23-5.eu
but still getting
Please set Config::get(Config::SELF_URL_PATH) to the correct value detected for your server: https://ttrss.23-5.eu/ (you're using: http://localhost/)
Changing the /var/www/ttrss/config.php inside the container can be used as a quick-fix.
I'm trying to install the image on a Synology NAS via Docker.
I think my configurations are correct docker-ttrss
postgres
But I get the following error / log when I run everything
Visiting the URL gives me a "startup failed, set SELF_URL_PATH" message
Does anybody have any insight into what's wrong with my configuration?