Content
Unable to locate package - installation on Ubuntu 16.04
Added by Scott Prock almost 7 years ago
Hello,
I’m unable to install OpenProject onto my dedicated server.
I got the following after step three ( https://www.openproject.org/download-and-installation/ )
Reading package lists... Done E: The method driver /usr/lib/apt/methods/https could not be found. N: Is the package apt-transport-https installed? E: Failed to fetch https://dl.packager.io/srv/deb/opf/openproject-ce/stable/7/ubuntu/dists/16.04/InRelease E: Some index files failed to download. They have been ignored, or old ones used instead.
With the above, it’s understandable when trying
apt-get install openproject
I get an error back - unable to locate package openproject
My next question … should OpenProject be installed on a clean server? I’m trying to install it on a new server installation but it has the LiteSpeed server installed and I have three newly configured vhosts setup.
I’m also running MariaDB
Thank you for any and all suggestions … Scott
Replies (6)
Hi Scott,
you posted the solution to your error yourself in your message:
You can’t use the package source without apt-transport-https present. Install it with
apt-get install apt-transport-https
.Best,
Oliver
I am using Ubuntu 16.04 and I can’t get it installed. I am following the instructions above, including making sure that apt-transport-https is installed and working, but I am still getting the same result:
When I execute:
sudo apt-get install openproject
I receive:
E: Unable to locate package openproject
Hi Tamir,
1. Is it possible you’re on a 32bit Ubuntu that we don’t support ? Please check with
lscpu
.2. can you check whether apt shows any versions for OpenProject with
apt-cache show openproject
?Best,
Oliver
found a solution and was able to proceed to this point:
openoffice@openoffice:~$ sudo openproject configure
[sudo] password for openoffice:
Launching installer for openproject…
Selected addons: legacy-installer mysql apache2 repositories smtp memcached openproject
[legacy-installer] ./bin/configure
[mysql] ./bin/configure
MySQL connection OK
DONE
[apache2] ./bin/configure
DONE
[repositories] ./bin/configure
No server installed. Skipping.
DONE
[smtp] ./bin/configure
DONE
[memcached] ./bin/configure
DONE
[openproject] ./bin/configure
[legacy-installer] ./bin/preinstall
[mysql] ./bin/preinstall
[apache2] ./bin/preinstall
[repositories] ./bin/preinstall
[smtp] ./bin/preinstall
[memcached] ./bin/preinstall
[openproject] ./bin/preinstall
[legacy-installer] ./bin/postinstall
[mysql] ./bin/postinstall
Generating /etc/openproject/conf.d/database…
[apache2] ./bin/postinstall
[repositories] ./bin/postinstall
[smtp] ./bin/postinstall
[memcached] ./bin/postinstall
[openproject] ./bin/postinstall
rake aborted!
NoMethodError: private method `warn’ called for nil:NilClass
/opt/openproject/lib/open_project/version.rb:61:in `rescue in revision’
/opt/openproject/lib/open_project/version.rb:55:in `revision’
/opt/openproject/lib/open_project/version.rb:87:in `module:VERSION’
/opt/openproject/lib/open_project/version.rb:34:in `module:OpenProject’
/opt/openproject/lib/open_project/version.rb:33:in `<top (required)>’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.6/lib/active_support/dependencies.rb:293:in `require’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.6/lib/active_support/dependencies.rb:293:in `block in require’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.6/lib/active_support/dependencies.rb:259:in `load_dependency’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.6/lib/active_support/dependencies.rb:293:in `require’
/opt/openproject/lib/tasks/version.rake:30:in `<top (required)>’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.6/lib/active_support/dependencies.rb:287:in `load’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.6/lib/active_support/dependencies.rb:287:in `block in load’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.6/lib/active_support/dependencies.rb:259:in `load_dependency’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.6/lib/active_support/dependencies.rb:287:in `load’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/railties-5.0.6/lib/rails/engine.rb:654:in `block in run_tasks_blocks’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/railties-5.0.6/lib/rails/engine.rb:654:in `each’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/railties-5.0.6/lib/rails/engine.rb:654:in `run_tasks_blocks’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/railties-5.0.6/lib/rails/application.rb:443:in `run_tasks_blocks’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/railties-5.0.6/lib/rails/engine.rb:457:in `load_tasks’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/railties-5.0.6/lib/rails/railtie.rb:193:in `public_send’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/railties-5.0.6/lib/rails/railtie.rb:193:in `method_missing’
/opt/openproject/Rakefile:35:in `<top (required)>’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/rake-12.1.0/exe/rake:27:in `<top (required)>’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/cli/exec.rb:74:in `load’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/cli/exec.rb:74:in `kernel_load’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/cli/exec.rb:27:in `run’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/cli.rb:360:in `exec’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/cli.rb:20:in `dispatch’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/cli.rb:10:in `start’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/exe/bundle:35:in `block in <top (required)>’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/exe/bundle:27:in `<top (required)>’
/opt/openproject/bin/bundle:3:in `load’
/opt/openproject/bin/bundle:3:in `
’
Errno::ENOENT: No such file or directory - git
/opt/openproject/lib/open_project/version.rb:56:in `revision’
/opt/openproject/lib/open_project/version.rb:87:in `module:VERSION’
/opt/openproject/lib/open_project/version.rb:34:in `module:OpenProject’
/opt/openproject/lib/open_project/version.rb:33:in `<top (required)>’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.6/lib/active_support/dependencies.rb:293:in `require’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.6/lib/active_support/dependencies.rb:293:in `block in require’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.6/lib/active_support/dependencies.rb:259:in `load_dependency’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.6/lib/active_support/dependencies.rb:293:in `require’
/opt/openproject/lib/tasks/version.rake:30:in `<top (required)>’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.6/lib/active_support/dependencies.rb:287:in `load’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.6/lib/active_support/dependencies.rb:287:in `block in load’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.6/lib/active_support/dependencies.rb:259:in `load_dependency’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.6/lib/active_support/dependencies.rb:287:in `load’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/railties-5.0.6/lib/rails/engine.rb:654:in `block in run_tasks_blocks’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/railties-5.0.6/lib/rails/engine.rb:654:in `each’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/railties-5.0.6/lib/rails/engine.rb:654:in `run_tasks_blocks’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/railties-5.0.6/lib/rails/application.rb:443:in `run_tasks_blocks’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/railties-5.0.6/lib/rails/engine.rb:457:in `load_tasks’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/railties-5.0.6/lib/rails/railtie.rb:193:in `public_send’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/railties-5.0.6/lib/rails/railtie.rb:193:in `method_missing’
/opt/openproject/Rakefile:35:in `<top (required)>’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/rake-12.1.0/exe/rake:27:in `<top (required)>’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/cli/exec.rb:74:in `load’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/cli/exec.rb:74:in `kernel_load’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/cli/exec.rb:27:in `run’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/cli.rb:360:in `exec’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/cli.rb:20:in `dispatch’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/cli.rb:10:in `start’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/exe/bundle:35:in `block in <top (required)>’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.1/exe/bundle:27:in `<top (required)>’
/opt/openproject/bin/bundle:3:in `load’
/opt/openproject/bin/bundle:3:in `
’
(See full trace by running task with —trace)
openoffice@openoffice:~$
openoffice@openoffice:~$ lscpu | grep Architecture
Architecture: x86_64
I have just found this after having posted a case with the same issue.
https://community.openproject.com/topics/11912
But, it appears to me that no one has updated the "Install OpenProject with DEB/RPM packages" web page.
https://docs.openproject.org/installation-and-operations/installation/packaged/#ubuntu-1804
is anyone in the community able to help?