This is an upgraded and improved GitLab package which uses the stock Synology Package from Synology Repo.
Download latest SPK: here
- All-In-One Installer
- MariaDB10 Migration
- Backup/Restore scripts
- restore custom ENVIRONMENT variables after update (any variable not in scripts/env_ignore)
Database Migration fails because of MariaDB ROW_FORMAT, waiting for fix.
x86 avoton bromolow cedarview braswell kvmx64 broadwell apollolake
Since i can't test all architectures i had to make a choice which i can cover or which i expect to work. If your architecture is not in this list so please feel free to contact me and we can give it a try.
You can check the architecture of your device here or here.
# backup files will be saved in docker/backup directory
# the backup contains the config files including !PASSWORDS! be shure to keep them in an safe place!
sudo ./var/packages/Docker-GitLab/scripts/backup --maria-db-root-password "<root-password>"
# restoring to a mismatched GitLab Version (e.g. 10.1.4 backup file to 9.4.4 GitLab) my cause problems
# i highly reccommend to restore only matching backup and GitLab versions.
sudo ./var/packages/Docker-GitLab/scripts/restore --maria-db-root-password "<root-password>" --restore-file "2018-01-27-16-12-03-gitlab-10.1.4.tar.gz"
Always backup data before update! Please be patient during the Update process.
The first docker container boot up - after installation/update - takes some minutes because GitLab needs to migrate the Database first, you can see the status in the GitLab container log (DSM docker backend). The Update is complete when the CPU begins to idle.
Package Type | Prev. Version | New Version | Status |
---|---|---|---|
Stock | 8.17.4-0022 | 10.1.4 | incompatible |
Stock | 9.4.4-0024 | 10.1.4 | ok |
Stock | 9.4.4-0050 | 10.1.4 | ok |
Old | 9.5.2 | 10.1.4 | ok |
Old | 10.0.2 | 10.1.4 | ok |
Old | 10.1.1 | 10.1.4 | ok |
New | 10.1.4 | 10.2.5 | ok |
Package Type | Prev. Version | New Version | Status |
---|---|---|---|
Stock | 8.17.4-0022 | 10.1.4 | incompatible |
Stock | 9.4.4-0024 | 10.1.4 | ok |
Stock | 9.4.4-0050 | 10.1.4 | ok |
Old | 9.5.2 | 10.1.4 | ok |
Old | 10.0.2 | 10.1.4 | ok |
Old | 10.1.1 | 10.1.4 | ok |
New | 10.1.4 | 10.2.5 | ok |
New | 10.2.5 | 10.3.x | DB Migrate fail |
New | 10.2.5 | 10.4.2 | DB Migrate fail |
New | 10.2.5 | 10.5.1 | DB Migrate fail |
Stock: Package directly installed from Synology
Old: Old modified Gitlab Package up to v10.1.1
New: New modified Gitlab Package from v10.1.4