Open vince7lf opened 1 year ago
GCP startup-script: fatal: detected dubious ownership in repository at '/app/aerial_wildlife_detection'
Open the startup script log : udeshelper@instance-1:~$ sudo journalctl -u google-startup-scripts.service
udeshelper@instance-1:~$ sudo journalctl -u google-startup-scripts.service
Oct 13 13:00:59 instance-1 GCEMetadataScripts[1716]: 2022/10/13 13:00:59 GCEMetadataScripts: startup-script: fatal: detected dubious ownership in repository at '/app/aerial_wildlife_detection' Oct 13 13:00:59 instance-1 GCEMetadataScripts[1716]: 2022/10/13 13:00:59 GCEMetadataScripts: startup-script: To add an exception for this directory, call: Oct 13 13:00:59 instance-1 GCEMetadataScripts[1716]: 2022/10/13 13:00:59 GCEMetadataScripts: startup-script: Oct 13 13:00:59 instance-1 GCEMetadataScripts[1716]: 2022/10/13 13:00:59 GCEMetadataScripts: startup-script: git config --global --add safe.directory /app/aerial_wildlife_detection Oct 13 13:00:59 instance-1 GCEMetadataScripts[1716]: 2022/10/13 13:00:59 GCEMetadataScripts: startup-script: fatal: detected dubious ownership in repository at '/app/aerial_wildlife_detection' Oct 13 13:00:59 instance-1 GCEMetadataScripts[1716]: 2022/10/13 13:00:59 GCEMetadataScripts: startup-script: To add an exception for this directory, call: Oct 13 13:00:59 instance-1 GCEMetadataScripts[1716]: 2022/10/13 13:00:59 GCEMetadataScripts: startup-script: Oct 13 13:00:59 instance-1 GCEMetadataScripts[1716]: 2022/10/13 13:00:59 GCEMetadataScripts: startup-script: git config --global --add safe.directory /app/aerial_wildlife_dete
Or in the GCP console > Logging
on the instance run udeshelper@instance-1:~$ git config --global --add safe.directory /app/aerial_wildlife_detection
udeshelper@instance-1:~$ git config --global --add safe.directory /app/aerial_wildlife_detection
GCP startup-script: fatal: detected dubious ownership in repository at '/app/aerial_wildlife_detection'
Open the startup script log :
udeshelper@instance-1:~$ sudo journalctl -u google-startup-scripts.service
Or in the GCP console > Logging