linuxserver / docker-dokuwiki

GNU General Public License v3.0
110 stars 24 forks source link

[BUG] Updating does not update default plugins when config is mounted #64

Closed WetenSchaap closed 1 year ago

WetenSchaap commented 1 year ago

Is there an existing issue for this?

Current Behavior

When updating Dokuwiki using the normal docker way, plugins are not updated if they are mounted. This is fine for regular plugins, since they update independently, but the built-in plugins cannot be updated manually and are stuck at whatever version you originally installed. Among other things, this leads to some settings not being available.

The problem was mentioned for instance here: https://github.com/dokuwiki/dokuwiki/issues/2372 .

It can be solved manually by copying in the plugins folders from a fresh install,

Expected Behavior

During an update, the built-in plugins are also updated.

Steps To Reproduce

  1. Set-up dokuwiki.
  2. Wait until Dokuwiki is updated, and update the container.
  3. See that the built-in plugins are not updated.

Environment

- OS: Ubuntu 20.04
- How docker service was installed: apt

CPU architecture

x86-64

Docker creation

---
version: "2.1"
services:
  dokuwiki:
    image: lscr.io/linuxserver/dokuwiki:latest
    container_name: dokuwiki
    environment:
      - PUID=1001
      - PGID=1002
      - TZ=Europe/Berlin
    volumes:
      - ./config-new:/config
    ports:
      - 8765:80
      #- 443:443 #optional
    restart: unless-stopped

Container logs

-
github-actions[bot] commented 1 year ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.