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. OP on Ubuntu 13,04 - 32 bit troubles. Help appreciated.

OP on Ubuntu 13,04 - 32 bit troubles. Help appreciated.

Added by Nuno Marques about 11 years ago

Hi all.

Trying to get openproject up and running on a old pc I have lying around. The idea is to set it up so me and my 4 friends can use it as a project management platform for our school projects. I am trying to get it to run on Ubuntu 13,04 since that is what I have installed on this box. It’s a clean install.
So I am following the guide over at [[https://www.openproject.org/projects/openproject/wiki/Installation_Ubuntu]] and ran in to errors from the get go. I was able to get around this by using sudo in front of each command. Got my second issue when installing libmagickcore4-extra because it kept saying “no such package” or whatever and had to install libmagickcore5-extra. Hope this is ok. Installed mysql but still no idea if it’s working, but I’ll cross that bridge when I get there. Then I ran into problems when trying passwd openproject (enter desired password) all that did was list the available passwd options. So I tried passwd openproject instead and the it prompted me to enter new UNIX password so I set the password here and then it asked me to retype and I did. It said it was successfull. I hope this is the way it’s done. So far, I was moving along with no clue as to wether I was doing well or not.

Finally got to the su openproject -c "bash -l" bit and it prompts me for the password. I type in the password I set for openproject in the previous step (at least I hope I did) and then it just presents me with bash: no job control in this shell

And this is where I am presently stuck. Google throws a lot of generic crap at me but nothing that seems to fit the bill here. Can any please help?

PS: although I know it’s risky, I am willing to let someone connect remotly to the machine if this would help somehow. But I would need some pointers as to how we would go about it.


Replies (8)

RE: OP on Ubuntu 13,04 - 32 bit troubles. Help appreciated. - Added by Hagen Schink about 11 years ago

Hi Nuno,

the command

su openproject -c "bash -l" 

opens a new shell scoped to the rights of the user openproject. This helps to prevent file permission issues that are probably hard to find. So the next step for you is to find an appropriate directory for OpenProject (for instance the home directory ~ like in the HowTo).

I hope that information helps you to get around the next tasks.

Kind regards,
Hagen

RE: OP on Ubuntu 13,04 - 32 bit troubles. Help appreciated. - Added by Nuno Marques about 11 years ago

Hi and thanks for replying. I have 3 questions:

1 - How the hell did you insert a code box!!! I can’t see it anywhere in the options ribbon :)
2 - You mean I can just skip over su openproject -c “bash -l” ?
3 - If I use the default folder as per the tutorial, will OpenProject be installed to that directory or will it create a sub-directory named OpenProject. I am not too fond of having things all over the base dirs and rather like everything in neatly organized sub-folders :P

RE: OP on Ubuntu 13,04 - 32 bit troubles. Help appreciated. - Added by Hagen Schink about 11 years ago

Hi Nuno,

  1. it is just the pre-tag (see pre in the toolbar).
  2. I guess you should not skip that step as it saves you from debugging permission issues.
  3. in any case (but I would recommend the home dir of the openproject user as in the how-to) there will be a separate sub-folder openproject.

Kind regards,
Hagen

RE: OP on Ubuntu 13,04 - 32 bit troubles. Help appreciated. - Added by Nuno Marques about 11 years ago

Ok. But in this case I have a problem because every time I run the bash -l it always presents me with the no job control error message. Suggestions?

And btw, thanks for taking the time to reply. I was loosing hope :(

RE: OP on Ubuntu 13,04 - 32 bit troubles. Help appreciated. - Added by Hagen Schink about 11 years ago

Hi Nuno,

btw. how did you create user openproject? Have you used admin rights (for instance with command sudo)?

Kind regards,
Hagen

RE: OP on Ubuntu 13,04 - 32 bit troubles. Help appreciated. - Added by Nuno Marques about 11 years ago

I ran

sudo apt-get install mysql-server
sudo apt-get install memcached

followed buy

sudo groupadd openproject
sudo useradd --create-home --gid openproject openproject
sudo passwd openproject # (enter desired password)

I haven’t done anything to mysql other than test if it’s running with

sudo netstat -tap | grep mysql

Also, running

sudo passwd openproject openproject

just presented me with a list of passwd options and did nothing, so i ended up running

sudo passwd openproject

instead and that prompted me for a UNIX password and i gave it (openproject) and then asked me to confirm, so I retyped openproject.

RE: OP on Ubuntu 13,04 - 32 bit troubles. Help appreciated. - Added by Nuno Marques about 11 years ago

Ok so I think I managed to get past the part where I was stuck, but still I am having a problem now: I think my sql is not correctly configured. Has anyone been able to correctly setup and use OpenProject on Ubuntu running a productive site for just a few (3 maybe 4) users?

RE: OP on Ubuntu 13,04 - 32 bit troubles. Help appreciated. - Added by Nuno Marques about 11 years ago

Started from scratch using PostgreSQL this time and was able to get to the CREATE ROLE portion, but when running

CREATE ROLE openproject LOGIN ENCRYPTED PASSWORD 'my_password' NOINHERIT VALID UNTIL 'infinity';

I am presented with

CREATE: command not found

Ideas?

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