Because my old Gitlab is running on a Ubuntu 16.04 server. The latest LTS version of Ubuntu is already 18.04 for more than one year. I was thinking about to directly upgrade the server from 16.04 to 18.04. There are still some chances it may fail and the server may crash. I can not afford to lose the data.
So the final decision is to migrate the Gitlab from the old server Ubuntu 16.04 to a new server with Ubuntu 18.04.
This is how to do it.
First, I install the new server on my Proxmox VE environment with Ubuntu 18.04. 3CPU Cores and 4GB memory and 64GB storage. Meanwhile, the old server still uses Ubuntu 16.04. And the Gitlab version that I use is 12.4.2
The backup file name looks like 1573175514_2019_11_07_12.4.2_gitlab_backup.tar. So the code in the step 8, BACKUP=1573175514_2019_11_07_12.4.2
The version of Gitlab I am using 12.4.2. I install the 12.4.2 on step 2. When I do the restore in step 8, it displays the error, the version does not match. The backup is 12.4.2, but the installation is 12.4.1. I have to do the apt update and apt upgrade to upgrade the Gitlab from 12.4.1 to 12.4.2. I am not sure where the problem came from. Just a reminder, double-check the version installed on the new server.
At the first step of adding the repo source, I always get the network error on my server. I believed it is the problem of guest OS on Proxmox VE. So I actually add the repo source and public key of gitlab source manually.
My current Gitlab information on the new server Ubuntu 18.04
davidyin@gitlab:~$ sudo gitlab-rake gitlab:env:info
System: Ubuntu 18.04
Current User: git
Using RVM: no
Ruby Version: 2.6.3p62
Gem Version: 2.7.9
Rake Version: 12.3.3
Redis Version: 3.2.12
Git Version: 2.22.0
Go Version: unknown
DB Adapter: PostgreSQL
DB Version: 10.9
HTTP Clone URL: https://gitlab.g2soft.net/some-group/some-project.git
SSH Clone URL: email@example.com:some-group/some-project.git
Using LDAP: no
Using Omniauth: yes
Repository storage paths:
- default: /var/opt/gitlab/git-data/repositories
GitLab Shell path: /opt/gitlab/embedded/service/gitlab-shell
At the end, I should give the credit to Didiet A. Pambudiono. Most of the steps above is based on this post.
Based on the schedule of release, Ubuntu 18.04 LTS (Bionic Beaver) will be released on April 26, 2018, the day after tomorrow.
Now, my all VPS is running on the Ubuntu 16.04 LTS. LTS is an abbreviation for “Long Term Support”. An LTS version is released every two years. So after Ubuntu 16.04 LTS, it is Ubuntu 18.04 LTS. Now all LTS version has five years support.
I can use Ubuntu 16.04 LTS until 2021. Security updates will be released during the time period.
I am waiting for the release of Ubuntu 18.04 LTS. I would like to try it on my staging server, or a virtual machine. Try all my existing web programs on Ubuntu 18.04 LTS. Find the compatible problems then fix them.
Maybe after a few months testing. I am sure there are no issues with it. I will install a new VPS with Ubuntu 18.04 LTS and move the websites to it.
It is a big upgrade. New version serials, starting 3.x.
Calibre 3.0 is released on June 16, 2017. Calibre 2.x is starting almost two years ago.
What is New in Calibre 3.0?
The new Content server
You can start the Content server by clicking the Connect/share button in calibre. Then just open up a browser and type http://localhost:8080 in the address bar. You will see a list of calibre libraries. Click on one and browse the books. Click on a book and you will have the option to read or download it.
Support for High Resolution (Retina) screens
Support for icon themes and a new default icon set
I am customer of CloudatCost, which is a VPS service provider at Ontario, Canada.
I saw the Ads on twitter, or just someone make a tweet. The most interesting thing is the one time payment and no more recurring invoice. Only one time setup fee. It also has monthly plan.
For example, the very basic plan, Developer 1, $1/month or $35/one time.
If subscribe the monthly plan, it will be $1/month, after a year, you paid $12. One time fee $35 is about three year subscription fee. So pay three year service in the front. That’s it. You own the plan for ever.
I purchased plan Developer 2, by one time fee.
$10/month or $70/one time
2 Xeon vCPU
1 public IP
1GB ECC RAM
1TB monthly transfer
I have a coupon for 50% off, that means you just need to pay $35/one time fee, you can have it for ever. See the coupon code :