Added by Eric Simard over 10 years ago
Good morning!
All went good for the installation through ubuntu pkg manager, except that the service did not get installed, I can only run it by executing openproject run web.
How can I manually install the service?
Replies (3)
Hi Eric,
sorry for the late answer. I’ve done the pkgr installation as a private project in my free time, and can only contribute so much time to it.
That being said, I just tried an installation on Ubuntu 14.04 and it worked flawlessly (I can run
sudo service openproject start
). Although my zsh auto-completion does not notice the service, it seems to be available and running.I remember that in one of my test installations the service was not present (like in your case). But I couldn’t reproduce the issue as I did not appear at any later installations.
Which linux distribution do you use (in which version)? Do you have any other details about your system?
I don’t know yet how to fix the issue, but I’m sure we can fix it once we can reproduce it.
cheers,
Philipp
I installed on Ubuntu 12.04. I won’t be able to help with much troubleshooting info, but I will be reinstalling on another server soon, I will pipe all install activities to a file and will be able to figure it out from there. For now can you copy the content of the service file, I will be able to create it or attache it if you want.
I have a lot of experience with Linux I should be able to help fix the issue but it won’t be this week.
Thanks.
Thanks! I’ll try to test the installation on a 12.04 image soon.
I attached you a zip file containing the following init scripts in
/etc/init
from my 14.04 installation./etc/init/openproject.conf
/etc/init/openproject-web-1.conf
/etc/init/openproject-web.conf
/etc/init/openproject-worker-1.conf
/etc/init/openproject-worker.conf