linuxserver / docker-freshrss

GNU General Public License v3.0
170 stars 24 forks source link

[BUG] ERR_CONNECTION_REFUSED #53

Closed Krushx0 closed 1 year ago

Krushx0 commented 1 year ago

Is there an existing issue for this?

Current Behavior

I cannot reach the website and I have errors in the Container logs.

Expected Behavior

I can reach the website and use it as intended without having errors in the container logs.

Steps To Reproduce

  1. In this environment: docker + portioner using stack on a debian LXC container on proxmox. (every other "linuxserver" docker image works in this environment)
  2. using the following docker compose:

version: "2.1" services: freshrss: image: lscr.io/linuxserver/freshrss:latest container_name: freshrss environment:

  1. Deploy the stack (without the extension volume row still the same behavior. I use the same path structure login for my other linuxserver docker image there is no problem with the path on my side. I give the proper 1000 puid an pgid for the folders as I did before for the other containers that works.)
  2. You should wait for a 3-5 minutes to get the same result.
  3. Check the container logs.

Environment

- OS: Proxmox -> LXC container -> debian-11-standard_11.6-1_amd64.tar.zst -> docker -> Portainer latest 
- How docker service was installed: following this guide: https://docs.docker.com/engine/install/debian/
- How Portainer installed: following this guide: https://docs.portainer.io/start/install-ce/server/docker/linux

CPU architecture

x86-64

Docker creation

---
version: "2.1"
services:
  freshrss:
    image: lscr.io/linuxserver/freshrss:latest
    container_name: freshrss
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Budapest
    volumes:
      - /srv/dockerapps/freshrss/config:/config
      - /srv/dockerapps/freshrss/extensions:/config/www/freshrss/extensions
    ports:
      - 49999:80
    restart: unless-stopped

Container logs

[migrations] started
[migrations] 01-nginx-site-confs-default: skipped
[migrations] 02-default-location: skipped
[migrations] done
───────────────────────────────────────
      ██╗     ███████╗██╗ ██████╗ 
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝ 
   Brought to you by linuxserver.io
───────────────────────────────────────
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID:    1000
User GID:    1000
───────────────────────────────────────
using keys found in /config/keys
mv: cannot remove '/app/www/data/fever': Invalid argument
mv: cannot remove '/app/www/data/cache': Invalid argument
mv: cannot remove '/app/www/data/tokens': Invalid argument
mv: cannot remove '/app/www/data/users/_': Invalid argument
mv: cannot remove '/app/www/data/extensions-data': Invalid argument
mv: cannot remove '/app/www/data/favicons': Invalid argument
mv: cannot remove '/app/www/data/PubSubHubbub/feeds': Invalid argument
mv: cannot remove '/app/www/data/PubSubHubbub/keys': Invalid argument
mv: cannot remove '/app/www/extensions': Invalid argument
[custom-init] No custom files found, skipping...
[ls.io-init] done.
nginx: [emerg] no "ssl_certificate" is defined for the "listen ... ssl" directive in /config/nginx/site-confs/default.conf:3
nginx: [emerg] no "ssl_certificate" is defined for the "listen ... ssl" directive in /config/nginx/site-confs/default.conf:3
nginx: [emerg] no "ssl_certificate" is defined for the "listen ... ssl" directive in /config/nginx/site-confs/default.conf:3
nginx: [emerg] no "ssl_certificate" is defined for the "listen ... ssl" directive in /config/nginx/site-confs/default.conf:3
nginx: [emerg] no "ssl_certificate" is defined for the "listen ... ssl" directive in /config/nginx/site-confs/default.conf:3
nginx: [emerg] no "ssl_certificate" is defined for the "listen ... ssl" directive in /config/nginx/site-confs/default.conf:3
nginx: [emerg] no "ssl_certificate" is defined for the "listen ... ssl" directive in /config/nginx/site-confs/default.conf:3
nginx: [emerg] no "ssl_certificate" is defined for the "listen ... ssl" directive in /config/nginx/site-confs/default.conf:3
nginx: [emerg] no "ssl_certificate" is defined for the "listen ... ssl" directive in /config/nginx/site-confs/default.conf:3
nginx: [emerg] no "ssl_certificate" is defined for the "listen ... ssl" directive in /config/nginx/site-confs/default.conf:3
nginx: [emerg] no "ssl_certificate" is defined for the "listen ... ssl" directive in /config/nginx/site-confs/default.conf:3
nginx: [emerg] no "ssl_certificate" is defined for the "listen ... ssl" directive in /config/nginx/site-confs/default.conf:3
nginx: [emerg] no "ssl_certificate" is defined for the "listen ... ssl" directive in /config/nginx/site-confs/default.conf:3
nginx: [emerg] no "ssl_certificate" is defined for the "listen ... ssl" directive in /config/nginx/site-confs/default.conf:3
github-actions[bot] commented 1 year ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

nemchik commented 1 year ago

Fixed in https://github.com/linuxserver/docker-freshrss/pull/52 (not merged yet as of writing).

You can manually fix your instance by including the ssl.conf in the default.conf

Krushx0 commented 1 year ago

Fixed in #52 (not merged yet as of writing).

You can manually fix your instance by including the ssl.conf in the default.conf

I see. In that case I will wait for a merge. Can you tell how often happen a merge usually?

On the other hand these errors are intended?

mv: cannot remove '/app/www/data/fever': Invalid argument
mv: cannot remove '/app/www/data/cache': Invalid argument
mv: cannot remove '/app/www/data/tokens': Invalid argument
mv: cannot remove '/app/www/data/users/_': Invalid argument
mv: cannot remove '/app/www/data/extensions-data': Invalid argument
mv: cannot remove '/app/www/data/favicons': Invalid argument
mv: cannot remove '/app/www/data/PubSubHubbub/feeds': Invalid argument
mv: cannot remove '/app/www/data/PubSubHubbub/keys': Invalid argument
mv: cannot remove '/app/www/extensions': Invalid argument
[migrations] 01-nginx-site-confs-default: skipped
[migrations] 02-default-location: skipped
nemchik commented 1 year ago

This should be resolved in https://github.com/linuxserver/docker-freshrss/releases/tag/1.21.0-ls173

Krushx0 commented 1 year ago

the problem still persist after the merge [stack(docker compose) and image deleted. Stack recreated and image repulled]

j0nnymoe commented 1 year ago

could you try without a lxc container at all? They're known to cause problems with docker (even proxmox dev's don't recommend it).