/root/backup_procedure.bash
Backing up the GitLab secrets file is required to avoid complicated steps when recovering GitLab from backup. The secrets file is stored at /etc/gitlab/gitlab-secrets.json inside the container, or $GITLAB_HOME/config/gitlab-secrets.json on the container host.
Upgrade from 10.7.3 to 15.7.0.
Instant restoration: Run docker-compose up at /home/git/gitlab-2022-12-30
Two projects (yshimmyo/graduation_thesis and yshimmyo/IMUReceiver) occured errors that the repositories are read-only. I used ruby console of gitlab runtime and manually release read-only attributes following the below article.
Projects::HashedStorage::RepositoryInUseError: Target repository 'yshimmyo/IMUReceiver' cannot be made read-only: Repository already read-only
From a certain (undetermined) version, gitlab parses `external_url` and if the url does not begin from `http://`, the webserver does not listen on :80. I added a nginx configuration environment variable on docker-compose.yaml:
nginx['listen_port'] = 80
Timestamps of repositories are updated into a same datetime during migration. Accordingly, the order of the project list sorted by Updated date is awkward. One of the solutions against this problem is to use file timestamps in repositories kept as before upgrade and manually manipulate the DB. This is a little bit dangerous so I don't want to do unless it is absolutely necessary. Contact administrator if you think it is a serious problem.
We encourage everyone to run the latest stable release ...
If you are unable to follow our monthly release cycle, there are a couple of cases you must consider.
https://docs.gitlab.com/ee/policy/maintenance.html#upgrade-recommendations
docker-compose -f docker-compose.yml -f docker-compose.without-nginx.yml up -d
Instant restoration: Run docker-compose at /home/mie/mattermost-2022-12-30
You can copy `app` volumes directly with a few structure changes.
Current version (2022-12-30) of mattermost is 5.26.0. Upgrading from the version requires a chain upgrade.
https://forum.mattermost.com/t/failed-to-get-channel-members-after-upgrade/13101/5
See also https://adaptive.u-aizu.ac.jp/gitlab/yshimmyo/configuration-of-adaptive-u-aizu-ac-jp
Yohei Shimmyo <d8221101@u-aizu.ac.jp> <qwpmb554@gmail.com>