Project

General

Profile

Bug #5406

Installer Fails

Added by Maurice Müller almost 2 years ago. Updated almost 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
30.11.2017
Due date:
% Done:

0%

Estimated time:
Sorting:
Commit Number:
Affected Version:

Description

The current CE installer fails with

Error: License was not found.

I followed the instructions on your site exactly ( https://docs.rhodecode.com/RhodeCode-Control/tasks/install-linux.html ):

  • set up the DB
  • downloaded the installer
  • chmod 755 RhodeCode-installer-*
  • ./RhodeCode-installer-*

Obviously, I replaced the * with the correct file name.

History

#1 Updated by Marcin Kuzminski [staff] almost 2 years ago

Hi,

What's the name of the installer ? Our latest one should be: RhodeCode-installer-linux-build20171123_1300

Best,

#2 Updated by Maurice Müller almost 2 years ago

Yes, that is the installer.

Here is also my log:

2017-11-30 17:18:54,510 - rhodecode-installer - INFO - Detecting installer.
2017-11-30 17:18:54,510 - rhodecode-installer - INFO - Detected installer from system arguments.
2017-11-30 17:18:54,510 - rhodecode-installer - INFO - Detected installer: /root/tmp/RhodeCode-installer-linux-build20171123_1300
2017-11-30 17:18:54,510 - rhodecode-installer - INFO -
x86_64-linuxplatform detected.
2017-11-30 17:18:54,510 - rhodecode-installer - INFO - Check if platform is supported.
2017-11-30 17:18:54,510 - rhodecode-installer - INFO -
x86_64-linuxplatform allowed.
2017-11-30 17:18:54,510 - rhodecode-installer - INFO - Detect if downloaded installer is for the correct platform.
2017-11-30 17:18:54,510 - rhodecode-installer - INFO - Installer file matches current platform.
2017-11-30 17:18:54,510 - rhodecode-installer - INFO - Warn user that installing as root is not recommended.
2017-11-30 17:18:54,510 - rhodecode-installer - INFO - Reading license from: License.txt
2017-11-30 17:18:54,511 - rhodecode-installer - DEBUG - Looking for license file locally.
2017-11-30 17:18:54,511 - rhodecode-installer - ERROR - License was not found.
Traceback (most recent call last):
File "./RhodeCode-installer-linux-build20171123_1300/__main__.py", line 590, in main
is_license_accepted(accept_license, installer)
File "./RhodeCode-installer-linux-build20171123_1300/__main__.py", line 328, in is_license_accepted
raise Error(_("license_not_found"))
Error: License was not found.
2017-11-30 17:18:54,512 - rhodecode-installer - INFO - Removing temporary path: /tmp/rc-installer-_AJvFs
2017-11-30 17:18:54,513 - rhodecode-installer - INFO - Removing temporary path: /tmp/rc-installer-control-Kv2oXJ

#3 Updated by Marcin Kuzminski [staff] almost 2 years ago

Hmm, this is very odd. We cannot reproduce this.

Can you, create an empty file called License.txt inside the directory where the installer is present?

#4 Updated by Marcin Kuzminski [staff] almost 2 years ago

After running few checks, seems that the problem is that installer file is somehow corrupted zip?

What system are you using?
Can you re-download our installer again and check? We do an check and extract the License.txt from the zip file, if verification of installer fails as zip it fallbacks to the License.txt file.

#5 Updated by Maurice Müller almost 2 years ago

Ok, I tested everything again and it seemed to be a right issue. The installation user didn't have rights on the full path where the installer file was stored. I assumed everything would be extracted at /tmp - but even then it would be stupid of me not to check the rights on each parent directory. After moving the installer to a directory for which the installation user has full rights (up to root) it worked like a charm.

So I'm sorry for bothering you. But I was so frustrated yesterday evening after trying to install it for about 2h - and checking and downloading everything again and again. So I thought I check here if maybe for some reason the installer itself is faulty.

Thanks for your patience though. And for your very fast response!

Maurice

Also available in: Atom PDF