ch2dit-byte commented on issue #7520: URL: https://github.com/apache/hop/issues/7520#issuecomment-4975105687
Thank you for the quick reply! git cat-file -t <object-id> git rev-parse HEAD git fsck --no-full 2>&1 | head <img width="1229" height="1030" alt="Image" src="https://github.com/user-attachments/assets/9c5856ae-8f53-4ed4-a415-a19c2304739e" /> rm -f logs/HEAD rm -f logs/refs/heads/main git fsck --no-full 2>&1 | head I cleared the corrupted logs using the commands above. However, when I restarted Apache Hop and tried to switch projects, I encountered an error like `edp_meta -> Test`. <img width="2456" height="1088" alt="Image" src="https://github.com/user-attachments/assets/eedf9171-e26f-4d64-a42c-3efe9f04d2cf" /> I tried implementing it again following my original steps Gitea version: 1.26.4 Repositories: 2 repositories (admin/test and edp/edp_meta) For admin/test, I pushed pipelines and workflows created in Apache Hop 2.17.0. I set up a separate BAT script to sync git automatically when Hop starts. The git sync script executes the following: - Cleaned up residual Git lock files and graph indexes before pulling. - Added automatic --unshallow fetch for shallow clones. - Executed pull with --rebase --autostash, disabling auto-gc to prevent background lock collisions. - Added a 1-second buffer delay to ensure file handles are safely released. - Added post-pull repository optimizations (remote prune origin, pack-refs --all). - Included error handling to automatically abort rebase on failure and detailed timestamp logging. I added the following to my Git global options to fix compatibility issues between JGit and native Git. (Assisted by AI) <img width="1046" height="427" alt="Image" src="https://github.com/user-attachments/assets/f0e5d4d7-0506-4451-a425-f7375d1a523d" /> [Steps taken] 1. Reinstalled Apache Hop (using the zip file). However, I couldn't initialize/reset the Gitea repository. 2. Moved to the Hop repository folder and ran git clone <img width="1465" height="1033" alt="Image" src="https://github.com/user-attachments/assets/e4f575c9-958e-4aa0-aaf7-f219573b77be" /> 3. In Hop, registered the cloned folder as the home folder by selecting "Add Project" -> "In a folder". a. Added admin/test (successfully). b. An error occurred while adding edp/edp_meta. --> The error message was related to the last commit of admin/test. <img width="2376" height="1385" alt="Image" src="https://github.com/user-attachments/assets/b100ef0c-db35-4f12-ba89-58324405f05a" /> Full SHA1 : 43d95f23121db40b3c8dddf78f272de30bee3d7c <img width="1881" height="1216" alt="Image" src="https://github.com/user-attachments/assets/ddab9900-1666-4e75-b79f-387dce62a133" /> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
