Public bug reported:

(attachements : term.log, history.log)

When gitlab service is not launched, the command "apt-get upgrade"
fails.

There's at least one workaround for this issue : I start the service
(systemctl start gitlab-runsvdir.service) and I run "apt-get upgrade"
again.

Context : 
========
gitlab is installed but was disabled (to save memory...) using "systemctl 
disable gitlab-runsvdir.service" 


I performed those commands :  
> sudo apt-get update
> sudo apt-get upgrade

The result in /var/log/apt/ : 
 Start-Date: 2018-04-30  09:57:34
 Commandline: apt-get upgrade
 Requested-By: ggo-gnome (1004)
 Upgrade: gitlab-ee:amd64 (10.6.4-ee.0, 10.7.1-ee.0)
 Error: Sub-process /usr/bin/dpkg returned an error code (1)
 End-Date: 2018-04-30  09:58:30

After that, I tried to start the service and launch the upgrade again : it 
worked...
> systemctl start gitlab-runsvdir.service 
> sudo apt-get upgrade

The result in /var/log/apt/ : 
 Start-Date: 2018-04-30  10:17:58
 Commandline: apt-get upgrade
 Requested-By: ggo-gnome (1004)
 Upgrade: gitlab-ee:amd64 (10.6.4-ee.0, 10.7.1-ee.0)
 End-Date: 2018-04-30  10:26:24

The file term.log (attached) shows an error :
================================================================================
  ERROR: Encountered unsupported config key 'auto' in /etc/gitlab/gitlab.rb.
================================================================================

thanks a lot
regards

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "apt-get_upgrade_gitlab.tar.gz"
   
https://bugs.launchpad.net/bugs/1767984/+attachment/5130643/+files/apt-get_upgrade_gitlab.tar.gz

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1767984

Title:
  "apt-get upgrade" failed for gitlab when the service is  stopped

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1767984/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to