Update continues even when preinstall fails
When updating through Debian apt-get upgrade, the preinstall step failed because I'm using an external PostgreSQL, which is at a different version than the internal one. See #382 (closed). However, the installation didn't stop there and overwrote the previous installation.
gitlab preinstall: Backing up GitLab SQL database (excluding Git repositories, uploads)
Dumping database ...
Dumping PostgreSQL database gitlabhq_production ... pg_dump: server version: 9.4.1; pg_dump version: 9.2.9
pg_dump: aborting because of server version mismatch
[FAILED]
Backup failed
gitlab preinstall:
gitlab preinstall: Backup failed! If you want to skip this backup, run the following command and
gitlab preinstall: try again:
gitlab preinstall:
gitlab preinstall: sudo touch /etc/gitlab/skip-auto-migrations
gitlab preinstall:
Unpacking gitlab-ce (7.11.4~omnibus-1) over (7.10.3~omnibus-1) ...
Setting up gitlab-ce (7.11.4~omnibus-1) ...
Of course, the message at the end
If you need to roll back to the previous version you can
use the database backup made during the upgrade (scroll up for the filename).
isn't very helpful.
This went okay, probably also as it was a minor release. However, it is my opinion this and #382 (closed) should be fixed before a major release.