服务器机房迁移-系统无法登录-数据库怎么更换连接

背景&操作步骤

做了什么操作后,出现的该问题

  1. 由于服务器机房迁移 ,服务器ip发生变化,怎么重新设置,现在登录不进去

问题

页面截图

http://97.whidc.92photo.cn:81/wanyun/AdminApp/Main

1.在应用的源码目录 home/environs/{envId}/{orgId}/{appId}/{version}/{databases}/Default/Default.json
更新
2.supervisorctl restart server task

image

运行命令报错了

没有 sudo