- 创建 /api/enhance 路由,实现图片变清晰API集成 - 在图片标注组件中添加变清晰按钮(Sparkles图标) - 在相册页面添加变清晰按钮 - 系统设置:将抠图设置改名为本地AI设置,添加变清晰API配置 - 支持同步和异步两种模式 - 自动上传到S3存储桶并保存到数据库 - 在相册和出图记录中显示处理后的图片
23 lines
919 B
Plaintext
23 lines
919 B
Plaintext
==========================================
|
|
AI Chatbot 服务器迁移脚本
|
|
==========================================
|
|
新服务器: root@45.192.99.48:22
|
|
域名: ai.yydd.ai
|
|
应用端口: 3125
|
|
从Git仓库拉取源码和备份数据库
|
|
时间: Sun Dec 28 18:07:53 CST 2025
|
|
==========================================
|
|
|
|
✅ 找到数据库备份文件: /Users/lanmu/Desktop/ai-chatbot-main/migration-backup-complete/database_complete.dump (144M)
|
|
✅ Git仓库: http://git.1080p.hk/chenpei/ai-chatbot.git
|
|
|
|
🔍 测试新服务器连接...
|
|
✅ 新服务器连接正常
|
|
|
|
📦 步骤 1/8: 在新服务器上安装必要软件...
|
|
Pseudo-terminal will not be allocated because stdin is not a terminal.
|
|
Last failed login: Sun Dec 28 18:07:47 CST 2025 from 68.183.46.135 on ssh:notty
|
|
There were 37 failed login attempts since the last successful login.
|
|
检测系统类型...
|
|
-bash: line 26: syntax error near unexpected token `('
|