Skip to content

External render failed when content is binary #35944

@NovichekLIS

Description

@NovichekLIS

Description

Hello . After upgrading to version 1.25.* pandoc stopped working, it returns an error 500.

I tried the command as in the manual.
500 Internal Server Error
An error occurred:

Render, docx render run command pandoc [--from docx --to html --self-contained --template /home/git/gitea/custom/html/basic.html] failed: exit status 63
Stderr: [WARNING] Deprecated: --self-contained. use --embed-resources --standalone
couldn't unpack docx container: not enough bytes

So it is with the recommended updated parameter.
500 Internal Server Error

An error occurred:

Render, docx render run command pandoc [--from docx --to html --embed-resources --template /home/git/gitea/custom/html/basic.html] failed: exit status 63
Stderr: couldn't unpack docx container: not enough bytes

I tried it on different machines, the result is the same

Gitea Version

1.25.1

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

git version 2.47.3

Operating System

SMP Debian 4.19.249-2 (2022-06-30) and SMP PREEMPT_DYNAMIC Debian 6.12.48-1 (2025-09-20)

How are you running Gitea?

I use your releases. I use systemd and gitea-1.25.1-linux-amd64.

Database

MySQL/MariaDB

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