Skip to content

[BUG] Upload to Dokuwiki Failed #84

@atmape

Description

@atmape

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I' m currently running the latest container:

Linuxserver.io version:- 2025-05-14a-ls277 Build-date:- 2025-08-22T15:46:58+00:00
ID: 6596a8b8eb41778a1bb4c6d431098e2a12a4a45b10979c9dcba01910d21f2ea5

Upload of Files failed. The last time I uploaded files was von 2025.08.22, I do autmatically updates via watchtower and the latest version was pulled on 2025.08.23. Today I realised that the upload didn't work.

Error Message in German:

Die hochgeladenen Daten stimmen nicht mit der Dateiendung .jpg überein.

Should be in English:

The uploaded content did not match the .jpg file extension.

Config didn't change and jpg is in the allowed extension list.

Found an old bug in Dokuwiki which describes the problem (https://forum.dokuwiki.org/d/1297-upload-doesn-t-match-extension/9) and the had problems with tmp directory.

Expected Behavior

To upload allowed files.

Steps To Reproduce

Linuxserver.io version:- 2025-05-14a-ls277 Build-date:- 2025-08-22T15:46:58+00:00
ID: 6596a8b8eb41778a1bb4c6d431098e2a12a4a45b10979c9dcba01910d21f2ea5

Upload any allowed filetype. Size doesn't matter. My file was 80kb. It's no difference if it's a single file or multiple files.

Environment

- OS: Debian 11 on Raspberry PI
- How docker service was installed: via docker install script

CPU architecture

arm64

Docker creation

tmb-wiki-app:
    image: lscr.io/linuxserver/dokuwiki:latest
    container_name: dokuwikitmb
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Vienna
    volumes:
      - tmb-wiki:/config
    restart: unless-stopped

Container logs

docker logs dokuwikitmb
[migrations] started
[migrations] 01-nginx-site-confs-default: skipped
[migrations] 02-default-location: skipped
[migrations] done
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: 2025-05-14a-ls277
Build-date: 2025-08-22T15:46:58+00:00
───────────────────────────────────────
    
using keys found in /config/keys
**** The following active confs have different version dates than the samples that are shipped. ****
**** This may be due to user customization or an update to the samples. ****
**** You should compare the following files to the samples in the same folder and update them. ****
**** Use the link at the top of the file to view the changelog. ****
┌────────────┬────────────┬────────────────────────────────────────────────────────────────────────┐
│  old date  │  new date  │ path                                                                   │
├────────────┼────────────┼────────────────────────────────────────────────────────────────────────┤
│ 2024-05-27 │ 2025-05-31 │ /config/nginx/nginx.conf                                               │
│ 2023-08-13 │ 2025-07-18 │ /config/nginx/ssl.conf                                                 │
└────────────┴────────────┴────────────────────────────────────────────────────────────────────────┘
Existing install found, deleting install.php.
[custom-init] No custom files found, skipping...
[ls.io-init] done.
[migrations] started
[migrations] 01-nginx-site-confs-default: skipped
[migrations] 02-default-location: skipped
[migrations] done
usermod: no changes
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: 2025-05-14a-ls277
Build-date: 2025-08-22T15:46:58+00:00
───────────────────────────────────────
    
using keys found in /config/keys
**** The following active confs have different version dates than the samples that are shipped. ****
**** This may be due to user customization or an update to the samples. ****
**** You should compare the following files to the samples in the same folder and update them. ****
**** Use the link at the top of the file to view the changelog. ****
┌────────────┬────────────┬────────────────────────────────────────────────────────────────────────┐
│  old date  │  new date  │ path                                                                   │
├────────────┼────────────┼────────────────────────────────────────────────────────────────────────┤
│ 2024-05-27 │ 2025-05-31 │ /config/nginx/nginx.conf                                               │
│ 2023-08-13 │ 2025-07-18 │ /config/nginx/ssl.conf                                                 │
└────────────┴────────────┴────────────────────────────────────────────────────────────────────────┘
Existing install found, deleting install.php.
[custom-init] No custom files found, skipping...
[ls.io-init] done.
[migrations] started
[migrations] 01-nginx-site-confs-default: skipped
[migrations] 02-default-location: skipped
[migrations] done
usermod: no changes
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: 2025-05-14a-ls277
Build-date: 2025-08-22T15:46:58+00:00
───────────────────────────────────────
    
using keys found in /config/keys
**** The following active confs have different version dates than the samples that are shipped. ****
**** This may be due to user customization or an update to the samples. ****
**** You should compare the following files to the samples in the same folder and update them. ****
**** Use the link at the top of the file to view the changelog. ****
┌────────────┬────────────┬────────────────────────────────────────────────────────────────────────┐
│  old date  │  new date  │ path                                                                   │
├────────────┼────────────┼────────────────────────────────────────────────────────────────────────┤
│ 2024-05-27 │ 2025-05-31 │ /config/nginx/nginx.conf                                               │
│ 2023-08-13 │ 2025-07-18 │ /config/nginx/ssl.conf                                                 │
└────────────┴────────────┴────────────────────────────────────────────────────────────────────────┘
Existing install found, deleting install.php.
[custom-init] No custom files found, skipping...
[ls.io-init] done.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions