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. Not able to install packaged installation on ubuntu

Not able to install packaged installation on ubuntu

Added by Praful Soni about 10 years ago

Dear All,

I tried following installation package instruction as below —-

wget qO https://deb.packager.io/key | sudo apt-key add - echo “deb https://deb.packager.io/gh/opf/openproject trusty stable” | sudo tee /etc/apt/sources.list.d/openproject.list

and getting OK message after running above command.

But when I try running —- sudo apt-get update I am getting below error and package is not install.

tttt@simplerisk:~$ sudo apt-get update
E: Type ‘OK’ is not known on line 1 in source list /etc/apt/sources.list.d/openproject.list
E: The list of sources could not be read.

I am installing this on latest ubuntu release —

Distributor ID: Ubuntu
Description: Ubuntu 14.10
Release: 14.10
Codename: utopic

Please help me to resolve the issue. I am not linux expert but having basic knowledge only.


Replies (9)

RE: Not able to install packaged installation on ubuntu - Added by Sanchit J about 10 years ago

Could you please post the content of /etc/apt/sources.list.d/openproject.list ?

RE: Not able to install packaged installation on ubuntu - Added by Praful Soni about 10 years ago

/etc/apt/sources.list.d/openproject.list file just contain one word “OK” in it.

RE: Not able to install packaged installation on ubuntu - Added by Sanchit J about 10 years ago

Delete ‘OK’ and add-

deb https://deb.packager.io/gh/opf/openproject trusty stable

And then try running-

sudo apt-get update

./Sanchit

RE: Not able to install packaged installation on ubuntu - Added by Praful Soni about 10 years ago

Hai Sanchit,

Thanks… after making to the changes i could able to install packages.

I have now another error while running “openproject configure” wizard. On completion of wizard i m getting below error —-

[openproject] ./bin/configure
[legacy-installer] ./bin/preinstall
[mysql] ./bin/preinstall
[apache2] ./bin/preinstall
[svn-dav] ./bin/preinstall
[smtp] ./bin/preinstall
[memcached] ./bin/preinstall
[openproject] ./bin/preinstall
[legacy-installer] ./bin/postinstall
[mysql] ./bin/postinstall
Can’t find the root password to create the MySQL database

Please let me know where I can configure MySQL password to resolve this error.

Also let me know how to launch application on client browser and what will be default username and password to access application.

RE: Not able to install packaged installation on ubuntu - Added by Marcus Liebhardt about 10 years ago

I’m stuck with the same error. Please advise.

RE: Not able to install packaged installation on ubuntu - Added by Marcus Liebhardt about 10 years ago

Just got it running after I chose “use existing database” and provided the correct credentials.

To get those “correct” credentials I first had to set a root password (http://stackoverflow.com/questions/10895163/how-to-find-out-the-mysql-root-password), even though I never did anything with MySQL on my machine. While doing that I also noticed that a “openproject” database has already been set up. I guess, by the automatic installer.

On a side note: My colleague went through the setup procedure and it worked out of the box. No idea what was different. He said, he also didn’t do anything with MySQL before.

RE: Not able to install packaged installation on ubuntu - Added by Praful Soni about 10 years ago

Thanks for your inputs.

I also use same options and could resolve that issue. But now I am getting below error while running “openproject configure” command.

  • Restarting web server apache2 AH00558: apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1. Set the ‘ServerName’ directive globally to suppress this message
    [ OK ]
    [svn-dav] ./bin/postinstall
    cp: cannot create regular file ‘/usr/lib/perl5/Apache/’: No such file or directory

I stuck at every phase of installation and also tried fresh installation of Ubuntu server on two different hardware but result is same.

RE: Not able to install packaged installation on ubuntu - Added by Uzix Suzix almost 10 years ago

The problem is you join two commands that should be called separately.

Just run these commands in order to install OpenProject Core edition:

1st command (download a fresh generated key and add it to the key list):
wget qO https://deb.packager.io/key | sudo apt-key add -
PS: Note that -qO parameter’s second letter is a capital letter “O” not zero.

2nd command (write the echoed string to the “openproject.list” file):
echo “deb https://deb.packager.io/gh/opf/openproject trusty stable” | sudo tee /etc/apt/sources.list.d/openproject.list
PS: If you want to install OpenProject Community edition instead of Core edition use this command:
echo “deb https://deb.packager.io/gh/finnlabs/pkgr-openproject-community trusty stable” | sudo tee /etc/apt/sources.list.d/pkgr-openproject-community.list

3rd command (because of 2nd command it’ll work):
sudo apt-get update

4th command (install OpenProject):
sudo apt-get install openproject
PS: For OpenProject Community edition use this command:
sudo apt-get install openproject-ce

5th and the last command (configure the openproject :-))
openproject configure
PS: For OpenProject Community edition use this command:
sudo openproject-ce configure

Hope it’ll help you..

RE: Not able to install packaged installation on ubuntu - Added by syazana ishak over 4 years ago

try to follow the set of command of "sudo wget -O /etc....../openproject.list \https://dl.packager......."

Note that, there is a space before the backslash of https, and no space after the backslash of that https.

Hope this helps u.

Salam.

May God bless you.

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