Error when installing Rhodecode

simon.lopez's Avatar

simon.lopez

27 Oct, 2015 04:29 PM

Hi,

I was trying to install latest rhodecode version and I'm getting error.
See the full log file at the end of this email.

For information, the installation is made on a minimal debian 8 install
with 20go free disk.

Regards,
Simon Lopez

2015-10-27 16:24:42,479 - rhodecode-installer - INFO - Detecting
installer.
2015-10-27 16:24:42,479 - rhodecode-installer - INFO - Detected
installer from system arguments.
2015-10-27 16:24:42,479 - rhodecode-installer - INFO - Detected
installer:
/home/rhodecode/RhodeCode-installer-linux-688_3bf870f9aa2d_d3f70271ae0f
2015-10-27 16:24:42,480 - rhodecode-installer - INFO - `x86_64-linux`
platform detected.
2015-10-27 16:24:42,480 - rhodecode-installer - INFO - Check if platform
is supported.
2015-10-27 16:24:42,480 - rhodecode-installer - INFO - `x86_64-linux`
platform allowed.
2015-10-27 16:24:42,480 - rhodecode-installer - INFO - Detect if
downloaded installer is for the correct platform.
2015-10-27 16:24:42,480 - rhodecode-installer - INFO - Installer file
matches current platform.
2015-10-27 16:24:42,480 - rhodecode-installer - INFO - Warn user that
installing as root is not recommended.
2015-10-27 16:24:42,480 - rhodecode-installer - INFO - Is license
already accepted.
2015-10-27 16:24:42,481 - rhodecode-installer - INFO - Ask to accept the
license.
2015-10-27 16:24:46,870 - rhodecode-installer - DEBUG - When asked for
license `y` was pressed
2015-10-27 16:24:46,870 - rhodecode-installer - INFO - License accepted.
2015-10-27 16:24:46,871 - rhodecode-installer - INFO - Ask to create
/opt/rhodecode folder.
2015-10-27 16:24:46,871 - rhodecode-installer - INFO - `/opt/rhodecode`
directory exists and its writable
2015-10-27 16:24:46,880 - rhodecode-installer - INFO - Extracting
installer
(`/home/rhodecode/RhodeCode-installer-linux-688_3bf870f9aa2d_d3f70271ae0f`)
into `/tmp/rc-installer-j3WT84`.
2015-10-27 16:24:50,009 - rhodecode-installer - INFO - Installer
extracted.
2015-10-27 16:24:50,009 - rhodecode-installer - INFO - Content is:
['RhodeCodeControl-1.2.3+i686-linux_688_3bf870f9aa2d_d3f70271ae0f.info',
'licenses',
'RhodeCodeControl-1.2.3+x86_64-linux_688_3bf870f9aa2d_d3f70271ae0f.tar.bz2',
'colorama', 'License.txt',
'RhodeCodeControl-1.2.3+x86_64-linux_688_3bf870f9aa2d_d3f70271ae0f.info',
'RhodeCodeControl-1.2.3+i686-linux_688_3bf870f9aa2d_d3f70271ae0f.tar.bz2',
'MANIFEST', 'click', 'plumbum', '__main__.py']
2015-10-27 16:24:50,011 - rhodecode-installer - INFO - Looking for
RhodeCodeControl tarball
2015-10-27 16:24:50,011 - rhodecode-installer - INFO - Found
RhodeCodeControl tarball:
RhodeCodeControl-1.2.3+x86_64-linux_688_3bf870f9aa2d_d3f70271ae0f.tar.bz2
2015-10-27 16:24:50,011 - rhodecode-installer - INFO - Extracting
RhodeCodeControl tarball
2015-10-27 16:24:50,028 - rhodecode-installer - ERROR - Command line:
['/bin/tar', '-xf',
'/tmp/rc-installer-j3WT84/RhodeCodeControl-1.2.3+x86_64-linux_688_3bf870f9aa2d_d3f70271ae0f.tar.bz2',
'-C', '/tmp/rc-installer-control-7rN6Pz', '--strip=1']
Exit code: 2
Stderr: | tar (child): lbzip2: Cannot exec: No such file or directory
          | tar (child): Error is not recoverable: exiting now
          | /bin/tar: Child returned status 2
          | /bin/tar: Error is not recoverable: exiting now
Traceback (most recent call last):
   File
"./RhodeCode-installer-linux-688_3bf870f9aa2d_d3f70271ae0f/__main__.py",
line 512, in main
     control_nix_path = extract_control(platform, ignore_platform_check)
   File
"./RhodeCode-installer-linux-688_3bf870f9aa2d_d3f70271ae0f/__main__.py",
line 320, in extract_control
     INSTALLER_CONTROL_PATH)))
   File
"./RhodeCode-installer-linux-688_3bf870f9aa2d_d3f70271ae0f/plumbum/commands/base.py",
line 90, in __call__
     return self.run(args, **kwargs)[1]
   File
"./RhodeCode-installer-linux-688_3bf870f9aa2d_d3f70271ae0f/plumbum/commands/base.py",
line 213, in run
     return p.run()
   File
"./RhodeCode-installer-linux-688_3bf870f9aa2d_d3f70271ae0f/plumbum/commands/base.py",
line 176, in runner
     return run_proc(p, retcode, timeout)
   File
"./RhodeCode-installer-linux-688_3bf870f9aa2d_d3f70271ae0f/plumbum/commands/processes.py",
line 207, in run_proc
     stdout, stderr)
ProcessExecutionError: Command line: ['/bin/tar', '-xf',
'/tmp/rc-installer-j3WT84/RhodeCodeControl-1.2.3+x86_64-linux_688_3bf870f9aa2d_d3f70271ae0f.tar.bz2',
'-C', '/tmp/rc-installer-control-7rN6Pz', '--strip=1']
Exit code: 2
Stderr: | tar (child): lbzip2: Cannot exec: No such file or directory
          | tar (child): Error is not recoverable: exiting now
          | /bin/tar: Child returned status 2
          | /bin/tar: Error is not recoverable: exiting now
2015-10-27 16:24:50,030 - rhodecode-installer - INFO - Removing
temporary path: /tmp/rc-installer-j3WT84
2015-10-27 16:24:50,158 - rhodecode-installer - INFO - Removing
temporary path: /tmp/rc-installer-control-7rN6Pz

  1. 1 Posted by simon.lopez on 27 Oct, 2015 04:47 PM

    simon.lopez's Avatar

    Ok, bzip2 was missing.

    You should perform a full dependency checkup before starting install.

    Regards,
    SImon Lopez

  2. Support Staff 2 Posted by Marcin Kuzminsk... on 27 Oct, 2015 07:16 PM

    Marcin Kuzminski's Avatar

    Hi Simon,

    Thanks for reporting this, we never seen this issue. I'll make sure we handle this case properly in future.

    Best,

  3. Support Staff 3 Posted by develop on 13 Nov, 2015 01:06 PM

    develop's Avatar

    Update: I've made changes to better detect and handle problems related to external tools that are called from the installer. Thanks again for reporting this.

    Cheers,
    Oliver

  4. develop closed this discussion on 13 Nov, 2015 01:06 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac