Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugins #87

Open
ahmaddxb opened this issue Nov 13, 2023 · 3 comments
Open

Plugins #87

ahmaddxb opened this issue Nov 13, 2023 · 3 comments

Comments

@ahmaddxb
Copy link

I dont know how to get plugins for docker to work. If i add this to my docker compose the container wont start

environment:
  - FP_PLUGINS=`./plugins/feedpushr-twiter.so,./plugins/feedpushr-rake.so`

Installation
Copy the feedpushr-rake.so file into your Feedpushr working directory.

I can not fine a file called feedpushr-rake.so

@ncarlier
Copy link
Owner

Using this syntaxe with backquotes is maybe the problem.
Can you try one of these syntaxes? :

environment:
  - FP_PLUGINS=./plugins/feedpushr-twiter.so,./plugins/feedpushr-rake.so
# OR (with key/value)
environment:
  FP_PLUGINS: "./plugins/feedpushr-twiter.so,./plugins/feedpushr-rake.so"
# OR (list with absolute path)
environment:
  - FP_PLUGINS=/usr/local/share/feedpushr/plugins/feedpushr-twiter.so,/usr/local/share/feedpushr/plugins/feedpushr-rake.so

@Janhouse
Copy link

Janhouse commented Jan 22, 2024

The documentation is bad. Compose example suggests bind mounting /usr/local/share/feedpushr which contains all the plugins, so they won't ever exist in the container.

Then, if you fix that problem, after loading plugins, they don't seem to appear in the "add new output" view. Maybe the one for mastodon doesn't have UI. 🤷
Ignore that last part, appears there was some weird cache issue.

@ncarlier
Copy link
Owner

Ah yes! Sorry for the error. The documentation for the Docker example has been corrected.
The "cache issue" is due to the fact that output and filter specifications are loaded only once and stored in session storage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants