Your message dated Sat, 13 Feb 2016 17:21:52 +0000 with message-id <[email protected]> and subject line Bug#814458: fixed in gitlab 8.4.3+dfsg-4 has caused the Debian Bug report #814458, regarding gitlab postinst deletes existing data from postgresql database to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 814458: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=814458 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: gitlab Version: 8.4.3+dfsg-1 Severity: critical Justification: causes serious data loss Hi, I previously encountered bug #812841, so I left gitlab as unconfigured by apt/dpkg and started it manually using `systemctl start gitlab.target` This seems to have worked well and gitlab was able to make use of the existing database table from my old manual installation of version 7.8.4. Then later I wanted to install an unrelated package, so apt/dpkg were running the gitlab postinst again. As part of the postinst, the database seems to be completely overwritten with new content. All my existing content would've been lost if I hadn't made a backup beforehand. That I now have an empty gitlab instance can be seen from the following output: gitlab@22gitlab:~$ rake gitlab:check RAILS_ENV=production fatal: Not a git repository (or any of the parent directories): .git Checking GitLab Shell ... GitLab Shell version >= 2.6.10 ? ... OK (2.6.10) Repo base directory exists? ... yes Repo base directory is a symlink? ... no Repo base owned by gitlab:gitlab? ... yes Repo base access is drwxrws---? ... yes hooks directories in repos are links: ... can't check, you have no projects Running /usr/share/gitlab-shell/bin/check Check GitLab API access: FAILED. code: 302 gitlab-shell self-check failed Try fixing it: Make sure GitLab is running; Check the gitlab-shell configuration file: sudo -u gitlab -H editor /usr/share/gitlab-shell/config.yml Please fix the error above and rerun the checks. Checking GitLab Shell ... Finished Checking Sidekiq ... Running? ... yes Number of Sidekiq processes ... 1 Checking Sidekiq ... Finished Checking Reply by email ... Reply by email is disabled in config/gitlab.yml Checking Reply by email ... Finished Checking LDAP ... LDAP is disabled in config/gitlab.yml Checking LDAP ... Finished Checking GitLab ... Git configured with autocrlf=input? ... yes Database config exists? ... yes Database is SQLite ... no All migrations up? ... yes Database contains orphaned GroupMembers? ... no GitLab config exists? ... yes GitLab config outdated? ... no Log directory writable? ... yes Tmp directory writable? ... yes Uploads directory setup correctly? ... skipped (no tmp uploads folder yet) Init script exists? ... yes Init script up-to-date? ... yes projects have namespace: ... can't check, you have no projects Redis version >= 2.8.0? ... yes Ruby version >= 2.1.0 ? ... yes (2.2.4) Your git bin path is "/usr/bin/git" Git version >= 1.7.10 ? ... yes (2.1.4) Active users: 1 Checking GitLab ... Finished This should not happen! Thanks! cheers, josch
--- End Message ---
--- Begin Message ---Source: gitlab Source-Version: 8.4.3+dfsg-4 We believe that the bug you reported is fixed in the latest version of gitlab, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Pirate Praveen <[email protected]> (supplier of updated gitlab package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Sat, 13 Feb 2016 21:55:51 +0530 Source: gitlab Binary: gitlab Architecture: source all Version: 8.4.3+dfsg-4 Distribution: unstable Urgency: medium Maintainer: Debian Ruby Extras Maintainers <[email protected]> Changed-By: Pirate Praveen <[email protected]> Description: gitlab - git powered software platform to collaborate on code Closes: 814458 814476 814503 Changes: gitlab (8.4.3+dfsg-4) unstable; urgency=medium . * Don't overwrite existing database (Closes: #814458) * Write logs, pids and sockets to /var (Closes: #814476) * Add more files to debian/install (Closes: #814503) * Add a check in debian/rules for installing all files Checksums-Sha1: a047a83be364b53ec7d0ded2f0eeeafb7fec23bc 2058 gitlab_8.4.3+dfsg-4.dsc 8fde785462d400a3c492b08727eab6612f9db5b9 32352 gitlab_8.4.3+dfsg-4.debian.tar.xz 2b3e95b307e0f7f28ddd777dd0c448d6c00e0dbc 11517324 gitlab_8.4.3+dfsg-4_all.deb Checksums-Sha256: 8d6d44e215097c11bec7f062ad1e063bf2229768279e8b4b7a14a824ac0d664a 2058 gitlab_8.4.3+dfsg-4.dsc 8404bc7af1096ac2d2934db8813c816efb09dfe04dc7be0a0a2499e5b8cee346 32352 gitlab_8.4.3+dfsg-4.debian.tar.xz f304533c128e68f86075cd0ac79a2312339b23a41d6746780d2befa83d99bb05 11517324 gitlab_8.4.3+dfsg-4_all.deb Files: 3292160b0f309ba45895ac29c0292eec 2058 ruby optional gitlab_8.4.3+dfsg-4.dsc 0cb6dc4010ebf224cc482499d5446c82 32352 ruby optional gitlab_8.4.3+dfsg-4.debian.tar.xz baed5f1408adc994e50714178fa1b410 11517324 ruby optional gitlab_8.4.3+dfsg-4_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJWv1pRAAoJEM4fnGdFEsIqcs8P/2FAS7g/5+UMB0Qa3RNtCIYR izxAYqwK3nbkFYqwH7pspuvVPun9wdaFlllU/cO5/gSqKBHHzVnE51K/rZ81Ndm0 Jv7JTYZto80rUe+NTxhTjkd28rwEjZlS5tOs/01DHde3k989TH7hBXzdq295m7ZR m6GFb17E1odS3Ge4AFgOLJn3A1KYwq8bpSU4rJg+2cURSNJheVKY2zYtjmJD2Tba NANsoiSRtAC3KH/N0zJ4paJ/iSsWdnqumMfhdS+/1CnxwIZVQYS/EZ/WsGtR0/uT NRcsoLBjTnoKvyA885XwJyovKvvJp93eNRBXZnYEjUcr4+EsJ8uFnjrnUWeAtZrO uSYcgkrW+J6vzTRMk4uer7JyuNan1b8/dvOz1dV9qXjaGW/cGZtbCvHDpkwDYLD9 V9Nzlp8+h1KGQh0ecJmU3bgQFcwyhGtKpsPsEgBcF/HN8KVUmfwQlu16VL9QvEmp FxevoYTUUCaILS83pz/AbDDBfhRZ8XMjB+STpNn9isD+KFiXW3WeHN7JaHVN73B7 lhQc7vId0lXtRyCJu1LzXRYfNzTL37BTA7THTsVOL8eLbkQD4csSJovrJbKA8p/t sj/lYrMX+p4NqXSENWV7/FmjapcLJnBkAVeXY1UxkAcU38SLNy49rmfvxCO9JEOR zxP/q1BM+EVrGsMrJpsi =VQvW -----END PGP SIGNATURE-----
--- End Message ---

