When I use the Web IDE to edit a file, the commit it creates deletes all lines from the file. This occurred with the previous (13.5.2?) and current (13.6.0) versions of GitLab CE. I am running the latest versions of everything (see below) that I can. I am running the GitLab Omnibus installation for Raspberry Pi OS on the recommended hardware (see below for more information). I also attached screenshots for reference. Thank you for your help with this.
Steps:
- Create new branch
- Edit file in new branch (e.g., add a line)
- Create commit and turn into a merge request
- Inspect the commit and it will show up where all lines were deleted
System:
- Raspberry Pi 4 Model B
- Raspberry Pi OS (Buster)
- 8 GB RAM
- 4 GB Swap
- GitLab Omnibus for this platform
Relevant Command Line Output:
{{{
$ sudo gitlab-rake gitlab:env:info
System information
System: Raspbian 10
Current User: git
Using RVM: no
Ruby Version: 2.7.2p137
Gem Version: 3.1.4
Bundler Version:2.1.4
Rake Version: 13.0.1
Redis Version: 5.0.9
Git Version: 2.29.0
Sidekiq Version:5.2.9
Go Version: unknown
GitLab information
Version: 13.6.0
Revision: 6317794da29
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: PostgreSQL
DB Version: 11.9
URL: https://teamdaidalos.hopto.org
HTTP Clone URL: https://teamdaidalos.hopto.org/some-group/some-project.git
SSH Clone URL: git@teamdaidalos.hopto.org:some-group/some-project.git
Using LDAP: no
Using Omniauth: yes
Omniauth Providers:
GitLab Shell
Version: 13.13.0
Repository storage paths:
- default: /var/opt/gitlab/git-data/repositories
GitLab Shell path: /opt/gitlab/embedded/service/gitlab-shell
Git: /opt/gitlab/embedded/bin/git
$ uname -a
Linux foo.org 5.4.72-v7l+ #1356 SMP Thu Oct 22 13:57:51 BST 2020 armv7l GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 10 (buster)
Release: 10
Codename: buster
$ dmesg | grep Model
[ 0.000000] OF: fdt: Machine model: Raspberry Pi 4 Model B Rev 1.4
$ free -m
total used free shared buff/cache available
Mem: 7875 2500 2545 93 2829 5064
Swap: 4095 1 4094
}}}