From e5b2995b1e359ba0cd10c6eb874a1738aa18d649 Mon Sep 17 00:00:00 2001 From: Wenkai Yin Date: Fri, 25 Nov 2016 15:17:49 +0800 Subject: [PATCH] log collection doc --- docs/installation_guide_ova.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/installation_guide_ova.md b/docs/installation_guide_ova.md index 7a760bbaa..0741f5926 100644 --- a/docs/installation_guide_ova.md +++ b/docs/installation_guide_ova.md @@ -175,3 +175,18 @@ If you want to change the properties of Harbor, follow the below steps: * **MySQL Root Password**: Change it by logging in the virtual appliance and doing it in the Linux operating system. * **Networking Properties**: Visit `https://harbor_ip_address:5480`, log in with root/password of your virtual appliance and modify networking properties. Reboot the system after modification to ensure Harbor's self-signed certificate gets updated. +## Troubleshooting + +### Log collection +For diagnosis purpose, logs can be collected by the following steps: + +1. Log in the operating system of Harbor virtual appliance and run the below command: + ```sh + /harbor/script/collect.sh + ``` + A "harbor_logs.tar.gz" file is generated in the current directory. + +2. Copy the log file to other host and send to your administrator, replace the `` , `` and `` with proper values: + ```sh + scp ./harbor_logs.tar.gz @: + ``` \ No newline at end of file