Skip to content

uploaded files do not display in pages in wikijs #3041

@ghost

Description

Describe the bug
Can't access to uploaded files: path must be absolute or specify root to res.sendFile

0|server | 2021-02-06T12:50:35.499Z [MASTER] error: path must be absolute or specify root to res.sendFile

Equals to this problem: #2463 and #2930

To Reproduce
Steps to reproduce the behavior:
Administration -> Utilities -> Flush Pages and Assets Cache

Expected behavior
These videos and pictures do not display

Screenshots
image

Report

Host Info (please complete the following information):
OS: Linux - Debian (buster) 10 x64
Wiki.js version: 2.5.159
Database engine: PostgreSQL 11.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions