Skip to content

[Bug] SiYuan Note has updated its startup method #13199

Description

@allyxmiko

Contact Information

No response

1Panel Version

v2.2.2

Problem Description

思源笔记更新的3.7.0版本将启动命令进行变更,但是应用商店中的启动脚本没有更新导致应用无法启动
应用商店的docker compose

command:
    - --workspace=/siyuan/workspace/
    - --accessAuthCode=${ACCESS_AUTH_CODE}

思源官方的docker compose

command: ['serve', '--workspace=/siyuan/workspace/', '--accessAuthCode=${AuthCode}']

Steps to Reproduce

升级或全新安装均有此问题

The expected correct result

No response

Related log output

Using existing group: siyuan (1000)
Using existing user siyuan (PUID: 1000, PGID: 1000)
Adjusting ownership of /opt/siyuan, /home/siyuan/, and /siyuan/workspace/
Starting SiYuan with UID:1000 and GID:1000 in workspace /siyuan/workspace/
Error: unknown flag: --accessAuthCode
Usage:
  kernel [command]

Available Commands:
  asset       Manage assets
  attr        Manage block attributes
  block       Block operations
  bookmark    Manage bookmarks
  completion  Generate the autocompletion script for the specified shell
  dailynote   Daily note (dailynote) operations
  database    Manage databases (attribute views)
  document    Manage documents
  export      Export documents
  file        Workspace file operations
  help        Help about any command
  history     Data history
  import      Import files
  notebook    Manage notebooks
  outline     Document outline (heading tree)
  ref         Backlinks and references
  repo        Data snapshots
  search      Full-text search
  serve       Start kernel HTTP server
  sql         Execute SQL query
  sync        Sync data with cloud
  system      System information
  tag         Manage tags
  template    Manage templates
  workspace   Manage SiYuan workspaces

Flags:
      --dry-run            dry run mode: validate and print what would happen without making changes
  -f, --format string      output format: table | json (default "table")
  -h, --help               help for kernel
  -v, --version            version for kernel
  -w, --workspace string   workspace path

Use "kernel [command] --help" for more information about a command.

Additional Information

No response

Metadata

Metadata

Type

No type

Fields

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