printfuck / xExtension-Readable

A FreshRSS extension to fetch article content with Readability or Mercury
GNU Affero General Public License v3.0
51 stars 9 forks source link

Not able to run the extensions? #9

Closed kangruixiang closed 2 months ago

kangruixiang commented 3 months ago

Hi there. So I've never been able to make the extensions work. I have the following docker compose file:

name: freshrss
services:
    freshrss:
        container_name: freshrss
        ports:
            - 9009:80
        environment:
            - TZ=America/New_York
        volumes:
            - /Users/kangruixiang/Documents/docker/freshrss:/config
        restart: always
        image: ghcr.io/linuxserver/freshrss
        links:
          - read:read

    read:
        image: phpdockerio/readability-js-server
        restart: always

    merc:
        image: wangqiru/mercury-parser-api
        restart: always

    fivefilters:
        image: "heussd/fivefilters-full-text-rss:latest"
        environment:
          # Leave empty to disable admin section
          - FTR_ADMIN_PASSWORD=
        volumes:
          - /Users/kangruixiang/Documents/docker/freshrss/fivefilters:/var/www/html/cache/rss
        ports:
          - "127.0.0.1:8006:80"
        restart: always

On the plugin page I have other plugins. But Read and Merc are not showing up:

Screenshot 2024-08-18 at 3 34 57 PM

dahlbergc commented 3 months ago

Did you add the files from the repository to the xExtension-Readable folder in your extension directory and are they owned by the correct user/group?

printfuck commented 2 months ago

As @dahlbergc said, you have to clone the extension repository into your extensions folder. In your case, I'd suggest adding the extensions folder as a volume similar to the reference docker-compose.yml.

Good luck

kangruixiang commented 2 months ago

@printfuck, @dahlbergc So I copied over the folder to the extension folder and has everything up and running. My setting page now looks like this:

image

But I'm still not getting any formatting. I can go to the Fivefilters URL on my computer and confirm the frontend is working.

Also tried this to match the docker compose links:

image

dahlbergc commented 2 months ago

Based on your screenshot, you need to adjust your plugin config to use the hostname of the FiveFilters docker container and the default exposed port of the container - http://fivefilters:80

kangruixiang commented 2 months ago

Thank you for the reply. I never got it to work so ended up moving to Miniflux.