[BUG] Plugin Breaking change
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- docker, nginx
- Domain
- devops
Research direction
Start by reading the Nginx configuration linked in the issue, especially the location rule denying access to paths containing vendor/, and compare it with how DokuWiki serves plugin assets. The issue seeks a general solution for browser requested plugin files; done means the ProseMirror asset and similar plugin updates work without exposing protected paths. No repository file or test is identified in the issue.
Written by the indexing model from the issue text.
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
According to https://github.com/cosmocode/dokuwiki-plugin-prosemirror/issues/232 the prosemirror plugin changed its behaviour with the latest update:
Since the last update they are no longer loaded via the DokuWiki dispatcher but requested directly by your browser.
The browser requests to get https://<server>/lib/plugins/prosemirror/vendor/prosemirror.js and gets a 403 forbidden error.
The forbidden error comes from:
location ~ /(conf/|bin/|inc/|vendor/) {
deny all;
}
The AI suggests an exact match:
location = /lib/plugins/prosemirror/vendor/prosemirror.js {
# Nginx will serve the file using the server's existing root/alias settings.
}
I prefer to more generic solution that works for all plugins who switch from DokuWiki dispatcher to the browser.
Expected Behavior
The prosemirror plugin and future plugin updates shall continue to work.
Steps To Reproduce
- Install/Update prosemirror plugin
- Edit a page
- See error
Environment
- OS: Synology DSM
- How docker service was installed: Synology Container Manager
CPU architecture
x86-64
Docker creation
docker-compose up -d --wait
Container logs
no container logs
- Dominant language
- Dockerfile
- Stars
- 125
- Forks
- 24
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from linuxserver/docker-dokuwiki
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
linuxserver/docker-dokuwiki#92 · 2 comments ·
All issues in linuxserver/docker-dokuwiki
Similar issues
-
canary-dead
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
activescott/home-infra-k8s-flux#578 ·
Maintainers usually reply within 1 day
-
repo-harnesses: the entrypoint-guard check greps a message `#13692` reworded, so it fails on mainOpen
Difficulty 1/5 Under an hour Newbie friendliness 88/100
daniel-ospina/tortoise#14947 ·
Maintainers usually reply within 1 day
-
area: infra tier: p3 type: chore
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
flashinfer-ai/flashinfer#10251 ·
Maintainers usually reply within 1 day