Skip to content

[Bug] When installing an app, the App Store will try to create a database. If the database already exists, it will cause an error and stop the installation process #10966

@pooneyy

Description

@pooneyy

Contact Information

No response

1Panel Version

2.0.12

Problem Description

安装应用时,应用商店会尝试创建一个数据库,当这个数据库已经存在时会报错,并终止安装流程。

某一些项目的代码里似乎写死了必须使用默认的数据库,而当应用商店尝试创建这个已经存在的数据库时会报错并终止安装。

希望在尝试创建一个已经存在的数据库,然后遭遇失败时,仅在日志显示错误,然后继续安装。因为数据库既然已经存在,实际上是不影响应用正常使用的。

Image

Steps to Reproduce

The expected correct result

No response

Related log output

Additional Information

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions