crux153 / synology-gitlab

Updated an improved Original Synology Package

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

synology-gitlab

This is an upgraded and improved GitLab package which uses the stock Synology Package from Synology Repo.

Download latest SPK: here

New since 10.1.1

  • All-In-One Installer
  • MariaDB10 Migration
  • Backup/Restore scripts
  • restore custom ENVIRONMENT variables after update (any variable not in scripts/env_ignore)

GitLab 10.5.x

Database Migration fails because of MariaDB ROW_FORMAT, waiting for fix.

Supported Architectures

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

# 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>"	

Restore

# 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"

Updates

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.

DSM 6.1.1-15101

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

DSM 6.1.4-15217

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		

About

Updated an improved Original Synology Package

License:MIT License


Languages

Language:Shell 100.0%