Closed kenzauros closed 5 months ago
5/19 の実行でエラーが出ている
なぜか git fetch でエラーが出ている。
確認用インスタンスを起動して確認してみる。
と思ったが、インスタンスがなかった(デプロイ忘れ)ので、再デプロイ
yamada@ubuntu:~/github-gitlab-backup$ cd aws-github-backup/
yamada@ubuntu:~/github-gitlab-backup/aws-github-backup$ npx serverless deploy --stage prod --config 03_ec2.yml
特に問題なくいけてしまった。
sh-4.2$ bash
[ssm-user@ip-172-30-7-113 bin]$
[ssm-user@ip-172-30-7-113 bin]$ ll /mnt/efs
total 0
[ssm-user@ip-172-30-7-113 bin]$ mount_efs
[ssm-user@ip-172-30-7-113 bin]$ cd /mnt/efs/a20-03-jim-system
[ssm-user@ip-172-30-7-113 a20-03-jim-system]$ git --version
git version 2.40.1
[ssm-user@ip-172-30-7-113 a20-03-jim-system]$ git fetch
fatal: detected dubious ownership in repository at '/mnt/efs/a20-03-jim-system'
To add an exception for this directory, call:
git config --global --add safe.directory /mnt/efs/a20-03-jim-system
[ssm-user@ip-172-30-7-113 a20-03-jim-system]$ git config --global --add safe.directory "$(pwd)"
[ssm-user@ip-172-30-7-113 a20-03-jim-system]$ git fetch
Username for 'https://github.com': kenzauros
Password for 'https://kenzauros@github.com':
remote: Enumerating objects: 278, done.
remote: Counting objects: 100% (150/150), done.
remote: Compressing objects: 100% (17/17), done.
remote: Total 278 (delta 135), reused 141 (delta 132), pack-reused 128
Receiving objects: 100% (278/278), 741.71 KiB | 5.01 MiB/s, done.
Resolving deltas: 100% (204/204), completed with 54 local objects.
From https://github.com/mseninc/a20-03-jim-system
* [new branch] 2817-06-fix-import-shien-kubun-from-csv -> origin/2817-06-fix-import-shien-kubun-from-csv
* [new branch] 2817-06-fix-shien-kubun-dgv-column -> origin/2817-06-fix-shien-kubun-dgv-column
9e5db9ed9..534901d9a 2824-02-kyomu-add-wait-cursor -> origin/2824-02-kyomu-add-wait-cursor
* [new branch] 2873-01-fix-iraibun-for-2025 -> origin/2873-01-fix-iraibun-for-2025
6f45690a5..7122ce298 61-kaikei-shiharai-fix-yosan-show-when-no-data -> origin/61-kaikei-shiharai-fix-yosan-show-when-no-data
610a57173..737d3369c 62-kaikei-kouenkai-input-shiwake -> origin/62-kaikei-kouenkai-input-shiwake
* [new branch] 62-kaikei-kouenkai-main -> origin/62-kaikei-kouenkai-main
bc67477ea..0603ac9dc master -> origin/master
Step Functions でももう一度実行するといけた