-
I am having a hard time figuring out how to add third-party extension to a docker instance. So, I have the following
Then i created I finished the initial completion at Then, I downloaded the What problem am i having? Is it to do with permission rights or something on the dir? Here, I include some info from the
Appreciate any help here. |
Beta Was this translation helpful? Give feedback.
Replies: 13 comments 1 reply
-
Make sure you aren't seeing a cached version of the extensions page, by adding |
Beta Was this translation helpful? Give feedback.
-
Thanks, I tried with the &123 appended to the end of url. Still, extension is not available |
Beta Was this translation helpful? Give feedback.
-
What is the output of: |
Beta Was this translation helpful? Give feedback.
-
the
and the
Thanks |
Beta Was this translation helpful? Give feedback.
-
Can you try running Edit: make sure to run |
Beta Was this translation helpful? Give feedback.
-
Followed. But the extension still doesn't show up. Here are the outputs from the earlier command
I think there is still something wrong with the permission setting :(
|
Beta Was this translation helpful? Give feedback.
-
Yes, it's a permission error, but I'm not exactly sure what's wrong. edit: I meant check http://localhost:8080/i/?c=extension&534543 after running the new chmod command if that won't fix it then: what are the outputs of:
|
Beta Was this translation helpful? Give feedback.
-
Thanks a lot for helping so far. I Here is output of
|
Beta Was this translation helpful? Give feedback.
-
What about Can you run Maybe you can edit this line in your
to
stop the container: This may have a better chance of working |
Beta Was this translation helpful? Give feedback.
-
I got
I ran
For One thing I want to ask: say, the extensions is set up as default |
Beta Was this translation helpful? Give feedback.
-
As I wrote earlier, by using Regarding the earlier approach though: Since you use Fedora, which has SELinux enabled by default, according to https://stackoverflow.com/questions/24288616/permission-denied-on-accessing-host-directory-in-docker the best solution is to use Let me know if you are able to get extensions working with |
Beta Was this translation helpful? Give feedback.
-
As @Inverle wrote, this is an issue due to a wrong SELinux configuration and permissions. |
Beta Was this translation helpful? Give feedback.
-
@Inverle @Alkarex , Thank you for providing help so far and giving some relevant info. I am just a novice user for Fedora and know nothing about SELinux. I look up some to read , especially about docker and find this info about docker label for SELinux-enabled host: https://docs.docker.com/engine/storage/bind-mounts/#configure-the-selinux-label Then, I decided to re-do the whole installation for this docker instance. From the link above, I use the Thanks again, |
Beta Was this translation helpful? Give feedback.
@Inverle @Alkarex , Thank you for providing help so far and giving some relevant info.
I am just a novice user for Fedora and know nothing about SELinux. I look up some to read , especially about docker and find this info about docker label for SELinux-enabled host: https://docs.docker.com/engine/storage/bind-mounts/#configure-the-selinux-label
Then, I decided to re-do the whole installation for this docker instance. From the link above, I use the
:z
option at the end of bind mount- ./extensions:/var/www/FreshRSS/extensions:z
indocker-compose.yml
file. Now, my docker instance is set up, and I can cp the extension dir into ./extensions so that the extension is available to use. I wonder…