[DRE-maint] Bug#815133: gitlab installation fails with LoadError: cannot load such file -- /usr/share/gitlab/config/application

Pirate Praveen praveen at onenetbeyond.org
Sat Feb 20 16:04:50 UTC 2016


On Fri, 19 Feb 2016 09:30:08 +0100 Johannes Schauer <josch at debian.org> wrote:
> Package: gitlab
> Version: 8.4.3+dfsg-9
> Severity: grave
> Justification: renders package unusable
> 
> Hi,
> 
> I just tried to upgrade my gitlab installation from 8.4.3+dfsg-8 to
> 8.4.3+dfsg-9 and this happened:
> 
> 
> 	Your bundle is complete!
> 	Use `bundle show [gemname]` to see where a bundled gem is installed.
> 	Running final rake tasks...
> 	Initializing database...
> 	gitlab_production database is not empty, skipping gitlab setup
> 	Precompiling assets...
> 	rake aborted!
> 	LoadError: cannot load such file -- /usr/share/gitlab/config/application
> 	/usr/share/gitlab/Rakefile:5:in `require'
> 	/usr/share/gitlab/Rakefile:5:in `<top (required)>'
> 	(See full trace by running task with --trace)
> 	dpkg: error processing package gitlab (--configure):
> 	 subprocess installed post-installation script returned error exit status 1
> 	Errors were encountered while processing:
> 	 gitlab
> 	E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> 
> Thus, the package is uninstallable.

I'm not able to reproduce it in a fresh install (after apt-get purge).

Can you check if config is a symlink to /etc/gitlab?

There are other symlinks too

config -> /etc/gitlab
Gemfile.lock -> /var/lib/gitlab/Gemfile.lock
log -> /var/log/gitlab
public -> /var/lib/gitlab/public
tmp -> /run/gitlab
shared/cache -> /var/lib/gitlab/cache
/usr/share/gitlab/.secret -> /var/lib/gitlab/.secret

Can you check if all symlinks are in order?

> Thanks!
> 
> cheers, josch
> 
> 

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20160220/5509e710/attachment.html>


More information about the Pkg-ruby-extras-maintainers mailing list