Skip to content

halo 安装 markdown 和 内容助手 插件 无法正常使用,版本是2.24 #9912

@XieLincai

Description

@XieLincai

Prerequisites

  • I have searched for related issues in the issues list.
  • This is an issue with the Halo project itself. If it is not an issue with the project itself(For example: Installation and deployment issues.), it is recommended to submit it in the Discussions.
  • I have tried disabling all plugins to rule out plugins as the cause of the problem.
  • If it is an issue with plugins and themes, please submit it in the respective plugin and theme repositories.

System information

halo版本:2.24
数据库:postgres:15.4

What is the project operation method?

Docker Compose

What happened?

我用官网推荐docker compose 配置启动了halo服务,我用api接口上传了一个md文件,打开报错未找到符合 markdown 格式的编辑器,请检查是否已安装编辑器插件,实际上我是安装了markdown 和 内容助手 插件,因为控制台无法正常使用才用api上传

services:
halo:
image: registry.fit2cloud.com/halo/halo-pro:2.24
restart: on-failure:3
depends_on:
halodb:
condition: service_healthy
networks:
halo_network:
volumes:

  • ./halo2:/root/.halo2
    ports:
  • "8090:8090"
    healthcheck:
    test: ["CMD", "curl", "-f", "http://localhost:8090/actuator/health/readiness"]
    interval: 30s
    timeout: 5s
    retries: 5
    start_period: 30s
    environment:

JVM 参数,默认为 -Xmx256m -Xms256m,可以根据实际情况做调整,置空表示不添加 JVM 参数

  • JVM_OPTS=-Xmx256m -Xms256m
    command:
  • --spring.r2dbc.url=r2dbc:pool:postgresql://halodb/halo
  • --spring.r2dbc.username=halo

PostgreSQL 的密码,请保证与下方 POSTGRES_PASSWORD 的变量值一致。

  • --spring.r2dbc.password=openpostgresql
  • --spring.sql.init.platform=postgresql

外部访问地址,请根据实际需要修改

  • --halo.external-url=http://localhost:8090/
    halodb:
    image: postgres:15.4
    restart: on-failure:3
    networks:
    halo_network:
    volumes:
  • ./db:/var/lib/postgresql/data
    healthcheck:
    test: [ "CMD", "pg_isready" ]
    interval: 10s
    timeout: 5s
    retries: 5
    environment:
  • POSTGRES_PASSWORD=openpostgresql
  • POSTGRES_USER=halo
  • POSTGRES_DB=halo
  • PGUSER=halo

networks:
halo_network:

Reproduce Steps

No response

Relevant log output

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    triage/needs-informationIndicates an issue needs more information in order to work on it.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions