Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. Unable to locate package - installation on Ubuntu 16.04

Unable to locate package - installation on Ubuntu 16.04

Added by Scott Prock over 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)

RE: Unable to locate package - installation on Ubuntu 16.04 - Added by Oliver Günther over 7 years ago

Hi Scott,

you posted the solution to your error yourself in your message:

E: The method driver /usr/lib/apt/methods/https could not be found.
N: Is the package apt-transport-https installed?

You can’t use the package source without apt-transport-https present. Install it with apt-get install apt-transport-https.

Best,
Oliver

RE: Unable to locate package - installation on Ubuntu 16.04 - Added by Tamir Halperin almost 7 years ago

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

RE: Unable to locate package - installation on Ubuntu 16.04 - Added by Oliver Günther almost 7 years ago

Hi Tamir,

1. Is it possible you’re on a 32bit Ubuntu that we don’t support ? Please check with lscpu.

oliver@ubuntu ~ $ lscpu | grep Architecture
Architecture:        x86_64

2. can you check whether apt shows any versions for OpenProject with apt-cache show openproject ?

Best,
Oliver

RE: Unable to locate package - installation on Ubuntu 16.04 - Added by Tamir Halperin almost 7 years ago

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:~$

RE: Unable to locate package - installation on Ubuntu 16.04 - Added by Tamir Halperin almost 7 years ago

openoffice@openoffice:~$ lscpu | grep Architecture
Architecture: x86_64

RE: Unable to locate package - installation on Ubuntu 16.04 - Added by Olavo Alexandrino about 5 years ago

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?

  • (1 - 6/6)
Loading...