Websoft9 / manufacture

商品交付过程管理:销售计划、生产计划、生产、发布等
https://www.websoft9.com
0 stars 0 forks source link

some error when updating on AWS debian12 #2453

Open HTGZYY opened 1 week ago

HTGZYY commented 1 week ago

生产时报错

619095b6b60e757d41a3313ac69d43f

qiaofeng1227 commented 1 week ago
Try again
(254, '\nAn error occurred (InvalidInstanceId) when calling the SendCommand operation: Instances [[i-01c50626e0f5f04c3]] not in a valid state for account 797851739507')
qiaofeng1227 commented 5 days ago

debian12 not install SSM Agent https://docs.aws.amazon.com/systems-manager/latest/userguide/ami-preinstalled-agent.html

https://docs.aws.amazon.com/systems-manager/latest/userguide/agent-install-deb.html#quick-install-debian

qiaofeng1227 commented 4 days ago
服务器预装依赖...
aws ssm send-command            --instance-ids i-0a039164a6acac8cc            --document-name "AWS-RunShellScript"            --timeout-seconds 60            --parameters "commands=curl -o- https://raw.githubusercontent.com/Websoft9/StackHub/main/scripts/preinstall.sh | bash"