Open link in a new tab

Content

Expand project menu

[solved] OpenProject in the Background - AutoStart of the Rail App

Hello Community,

Finally after several hours I have OpenProject installed under Centos 7.3 in Linux. But a question, I start the Rail App with this command.

rails s -b 0.0.0.0

But how can I run OpenProject automatically because I have to continue working with the console.

This start command does not work in development mode.

touch tmp/restart.txt

Thanks in advance.

Message actions

Hi Alexander,

If you’re unsure how to set up OpenProject, we strongly suggest you use our packaged installation to install and upgrade OpenProject. It will set up OpenProject as well as an integration into apache2 (if you choose so in the installer wizard ).
In this case, the application will run through a Unicorn ruby app server behind a proxy served by Apache.

touch tmp/restart.txt is a helper for Rails applications run through the passenger web app server. It does nothing if the Rails application is not served through passenger.
In our manual installation guide , there is a section regarding the integration of OpenProject into apache2 using passenger.

Best,
Oliver

Message actions

Hi Oliver,

Thanks for your hints and tips. I have now implemented a package installation and have only the only problem that I can not log in.

Error displayed is as follows.

Cross-Site-Request-Forgery Token kann nicht verifiziert werden.

I’ve already tried everything, nothing helps.

My project is at https://portfolio.liebrecht-projekte.de and I can not log in as admin with the password “admin”.

Could you help me?

Thanks in advance.

Message actions

Hi Oliver again,

I have solved the cookie problem now. It seems that deleting the cookies directly in the browser is not enough. So I deleted it with the external tool called Ccleaner and already I could log in as admin:admin.

I just did not come, but with time one gets a bit smarter :)