-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error updating to 2019.1.2 #7
Comments
The same error occurs when updating to version 2019.1.3, using the gcloud command:
|
What works for me was copying the same command which I initially used to launch the deployment and replaced the 'create' with 'update'. Here's the difference between the two (create and update) : CREATE Deployment : UPDATE Deployment : |
Yes, in fact, does the update, unfortunately, in my case, the installation stopped working. Due to a conflict in the space needed for the Docker containers update. I had to run a fresh install with more storage and migrate the old server. |
I can confirm that the tip from @martinasia allows the update command to work, but like @egimbernat, the update broke my installation. After resetting the VM, I get a certificate error because nginx is running, but not TeamCity. I have a basically empty and new instance, so I think the process is just flawed. However, you can also revert to 2019.1.1 then reset for things to come back. @egimbernat when you say fresh install, are you still using the template, or did you set up a vm manually? How'd you migrate the old server? |
@wuservices the process was divided into two steps: 1- Modify https://github.com/JetBrains/teamcity-google-template/blob/master/virtual-machine.jinja#L33 to allow more space. And execute again I found easy to recreate all the deployment than try to fix the damaged instance, but I realized later, that some of the steps that the Jinja does can be reproduced on the damaged instance. Mainly they are to increase the disk storage capacity and stop all the services After that run the TeamCity service, let it finish and run nginx. In a short resume, the problem of the update is that Docker doesn't found enough space to download the new image and silently fails. You can somewhat easy see it on the team city service journal. |
Thanks for these tips! It looks like the disk size in https://github.com/JetBrains/teamcity-google-template/blob/master/virtual-machine.jinja#L33 is for the data disk, not the vm / main server disk, which I think is the one we need more space on. I was putting off working on the upgrade before, but today my instance ran out of space and went to 0 bytes on its own on the server disk for some reason. This forced me to start playing around. I resized the vm / server disk in the console to 12 GB (although I think 10 GB might be OK), then I reset the instance for the new space to be usable automatically. You can ignore the advice the console gives that you have to do repartitioning. This got me up and running again, but I decided to try the update again and it worked smoothly. It sounds like the permanent solution here should be #5. |
When executing the update script as the Readme says, the following error occurs:
The text was updated successfully, but these errors were encountered: