<< Back to previous view

[QB-3634] Upgrade step doesn't work well with QB server pushed to a git repo
Created: 30/Oct/20  Updated: 17/Feb/21

Status: Closed
Project: QuickBuild
Component/s: None
Affects Version/s: 10.0.19
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Benoit Maury-Bouet Assigned To: Robin Shen
Resolution: Cannot Reproduce Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown

File Attachments: PNG File 2020-11-02 09_20_49-QB_Server.png    

 Description   
Dear all,
I don't know if this should be really a bug or a improvement.
But for security sake we pushed our QB server to git (exluding logs/temp/etc).
but last time we tried to upgrade it provoked an issue with the upgrade script that complain about not beeing able to access some files in the .git folder.
Not this was on a Windows based machine (haven't tried on Linux)

 Comments   
Comment by Robin Shen [ 31/Oct/20 12:35 AM ]
I am not sure how you organized your QB folder. But I tested on Windows and it works fine out of box.
Comment by Benoit Maury-Bouet [ 02/Nov/20 08:23 AM ]
Hi Robin,
Nothing special I just have .git / .gitignore in the folder as it's now under git.
I'll retry with our next upgrade, may be I left a 3rd party run in the background that could have cause issue access to the .git folder ? (like gitkracken)
I'm pretty sure I did not but i'm not 100% confident.
Comment by Robin Shen [ 02/Nov/20 01:05 PM ]
Just tested, and it works fine at my side. This is what I am doing:
1. Add QB9 install dir to git so that the installation directory has .git and .gitignore
2. Add QB10 install dir to git to have .git and .gitignore
3. From QB10 install dir, run "bin/upgrade.sh /path/to/QB9"
Generated at Thu Apr 18 12:11:58 UTC 2024 using JIRA 189.