Content
You are here:
Change value in DB
Added by Andreas Wagner over 6 years ago
Hi,
I will change the Value “WEB_TIMEOUT” in the Database but I’m not able to do this by the Guide you provide
https://www.openproject.org/download-and-installation/#configuration
Can some one help me in this case? I think only my syntax is wrong.
the DATABASE_URL is following:
mysql2://openproject:password@127.0.0.1:3306/openproject
this is in the output from “sudo openproject config”
So I think to change the value web_timeout the command should like this or?
openproject config:set DATABASE_URL=“mysql2://openproject:password@127.0.0.1:3306” /openproject ?WEB_TIMEOUT=60
is this correct?
Regards
Andi
Replies (4)
Some Idea’s?
check https://community.openproject.com/topics/7321?board_id=6&r=7334#message-7334
they suggest simply:
openproject config:set WEB_TIMEOUT=300
you said you can’t do it this way, think it’s the same as it is described in the manual, what exactly happens resp. what’s the error output?
maybe you got a typo in this line:
openproject config:set DATABASE_URL=“mysql2://openproject:password@127.0.0.1:3306” /openproject ?WEB_TIMEOUT=60
shouldn’t it be
openproject config:set DATABASE_URL=“mysql2://openproject:password@127.0.0.1:3306/openproject?WEB_TIMEOUT=60”
or maybe
openproject config:set DATABASE_URL=“mysql2://openproject:password@127.0.0.1:3306/openproject” WEB_TIMEOUT=60
Thanks a lot ;) the simple way was the solution!
openproject config:set WEB_TIMEOUT=300