no message

This commit is contained in:
kuaifan 2024-10-14 16:24:47 +08:00
parent 3c67b49d08
commit 1702aab538
5 changed files with 19 additions and 9 deletions

11
cmd
View File

@ -428,13 +428,18 @@ if [ $# -gt 0 ]; then
exit 1 exit 1
fi fi
chmod -R 775 "${cur_path}/docker/mysql/data" chmod -R 775 "${cur_path}/docker/mysql/data"
sleep 3
done done
run_exec php "php artisan migrate --seed" # 数据库迁移
if [ ! -f "${cur_path}/docker/mysql/data/$(env_get DB_DATABASE)/$(env_get DB_PREFIX)migrations.ibd" ]; then remaining=20
while [ ! -f "${cur_path}/docker/mysql/data/$(env_get DB_DATABASE)/$(env_get DB_PREFIX)migrations.ibd" ]; do
((remaining=$remaining-1))
if [ $remaining -lt 0 ]; then
error "数据库安装失败!" error "数据库安装失败!"
exit 1 exit 1
fi fi
sleep 3
run_exec php "php artisan migrate --seed"
done
# 设置初始化密码 # 设置初始化密码
res=`run_exec mariadb "sh /etc/mysql/repassword.sh"` res=`run_exec mariadb "sh /etc/mysql/repassword.sh"`
$COMPOSE up -d $COMPOSE up -d

View File

@ -12,7 +12,7 @@ default_storage_engine = InnoDB
performance_schema_max_table_instances = 400 performance_schema_max_table_instances = 400
table_definition_cache = 400 table_definition_cache = 400
key_buffer_size = 1024M key_buffer_size = 1024M
max_allowed_packet = 8192M max_allowed_packet = 1024M
table_open_cache = 2048 table_open_cache = 2048
sort_buffer_size = 4096K sort_buffer_size = 4096K
net_buffer_length = 4K net_buffer_length = 4K

View File

@ -1611,3 +1611,8 @@ License Key
视频 视频
发起会议 发起会议
返回参数错误
未知错误
网络异常
请求失败

View File

@ -1,6 +1,6 @@
{ {
"name": "DooTask", "name": "DooTask",
"version": "0.38.27", "version": "0.38.28",
"codeVerson": 141, "codeVerson": 141,
"description": "DooTask is task management system.", "description": "DooTask is task management system.",
"scripts": { "scripts": {

@ -1 +1 @@
Subproject commit c359b7d11daca3d6adba287089c4705f2ec5d652 Subproject commit f197723f80e3d9753a6e1d82c0cae8c95ec2fa3d