[PR #2021] [CLOSED] fix: Remove plugins directory before linking #1709

Closed
opened 2026-02-04 20:09:32 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/panel/pull/2021
Author: @DjordyKoert
Created: 12/20/2025
Status: Closed

Base: mainHead: patch-1


📝 Commits (1)

  • e9d3372 fix: Remove plugins directory before linking

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 Dockerfile (+1 -0)

📄 Description

The plugins directory already exists during when creating the Symlinks. This causes the ln command to create a symlink inside the directory instead of replacing it.

This currently causes issues in dockerized installs, throwing errors like ZipArchive::extractTo(): Permission denied when attempting to install any plugin through the web panel.

Current incorrect structure:

/var/www/html
- plugins
  - plugins -> /pelican-data/plugins (Symlink)

Removing the existing plugins directory before creating the symlink. Gives us the correct structure:

/var/www/html
- plugins -> /pelican-data/plugins (Symlink)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/pelican-dev/panel/pull/2021 **Author:** [@DjordyKoert](https://github.com/DjordyKoert) **Created:** 12/20/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`e9d3372`](https://github.com/pelican-dev/panel/commit/e9d33726abea82b650641b8462a4b793fb48a943) fix: Remove plugins directory before linking ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `Dockerfile` (+1 -0) </details> ### 📄 Description The `plugins` directory already exists during when creating the Symlinks. This causes the `ln` command to create a symlink inside the directory instead of replacing it. This currently causes issues in dockerized installs, throwing errors like `ZipArchive::extractTo(): Permission denied` when attempting to install any plugin through the web panel. Current incorrect structure: ``` /var/www/html - plugins - plugins -> /pelican-data/plugins (Symlink) ``` Removing the existing plugins directory before creating the symlink. Gives us the correct structure: ``` /var/www/html - plugins -> /pelican-data/plugins (Symlink) ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-04 20:09:32 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel#1709