Open link in a new tab

Content

Expand project menu

Error when I try to log in via shell

Hi guys, when I try to access through command: su openproject -c "bash -l" gives me an error: bash: cannot set terminal process group (-1): Inappropriate ioctl for device bash: no job control in this shell

how can i fix it?

Message actions

You can ignore that error.
If you execute whoami, you will see that you are openproject user. Just check where you are by typing pwd

Regards,
Igor

Message actions

When i try to do every operation it give me: sudo no tty present and no askpass program specified

i can’t continue, i’m stuck on git clone

Message actions

If you specify more details on the enviroment and what guidelines you are following, somebody might help you:

- OS

- guidelines which you are following

- provide example what operation you have tried when you got the error above
- step to reproduce the problem

Regards,
Igor

Message actions

I Have Ubuntu 14.04 x64, I’m using the official installation guide for ubuntu 12.04, as I wrote before, when I tried to access to the user OpenProject via su openproject -c "bash -l it gives me bash: cannot set terminal process group (–1): Inappropriate ioctl for device bash: no job control in this shell and i can’t do any superuser operation, and it give me sudo no tty present and no askpass program specified, maybe because isn’t in sudoers, but if you could give me some advice or something that I could try to do to solve it

Ciuino

Message actions

I inserted the OpenProject user in the sudoers file but still don’t work… any advice?

Message actions

Hi,

you can try other options to run commands with the openproject user.
The following should give you a shell as the openproject user:

su - openproject

In that shell you can run commands as the openproject user.

I hope this helps to resolve your problem.

cheers,
tessi

PS: After some a little google search for your error message I found this stack exchange answer which might help you.

Message actions

Thanks for the advice, it give me the same error but now seems that the git clone works :D

Message actions

The original error (cannot set terminal process group (-1)) sounds like something ubuntu related (I’m pretty sure that it’s not OpenProject specific).
Unfortunately I don’t know why this is happening, sorry.

Message actions

At the end, i used the 3.1 pre ppa, but I have several problems there too, i’ll wait for your answers

Thanks a lot for the support :)