n0plan
March 29, 2023, 5:42pm
1
NC25.0.5
i added as a followup to this post / thougths (see LINK)
Link to NCforum POST
‘session_lifetime’ => 60 * 60 * 3,
‘auto_logout’ => true,
‘remember_login_cookie_lifetime’ => 6060 24*1,
‘token_auth_activity_update’ => 60,
‘auth.bruteforce.protection.enabled’ => true,
to config.php
restarted my nginx
thought that should do the trick …
hmmm …
checked again today.
all the entries from above gone …
anyone facing the same, or am I missing something.
br NP
rawtaz
March 29, 2023, 7:20pm
2
Check out Configuration Parameters — Nextcloud latest Administration Manual latest documentation - I’ve started putting my custom configuration directives in a file of my own instead of config.php.
n0plan
March 29, 2023, 7:22pm
3
Thx
But don’t get me wrong…
These are all standard config options
And I don’t get it why these options get lost
Should not be default procedure
Or??
Thx… BTW have not concidered yet a second config file… Thx
rawtaz
March 29, 2023, 7:48pm
4
And I can’t answer that. I just know that if you put your config in your own custom.config.php then that one shall override the config.php one and also not be touched by anything else.
n0plan
March 29, 2023, 7:56pm
5
Yeah it’s pretty funny
Cuz other not that let’s call it security concerning parameters are kept within the config.php
Lets see if someone can shine some light on this one
BR Np
n0plan
March 30, 2023, 5:25am
7
Not runnin in docker
Not checked the timestamp
now checked, and again added (cron runs every 5 minutes)
Mär 30 07:47
Logs are clean (not mentioning something about config… Spooky)
update:
loged in via ssh to check if config was touched…
everything looked fine:
used nexcloud a bit config got changed:
Mär 31 07:05
entries gone
‘session_lifetime’ => 60 * 60 * 3,
‘auto_logout’ => true,
‘remember_login_cookie_lifetime’ => 60 * 60 * 24 * 1,
‘token_auth_activity_update’ => 60,
‘auth.bruteforce.protection.enabled’ => true,
by the way none of them worked as tested yesterday …
strange !
anyone any idea ??
Is maybe some autoconf entry or an environmental variable ocerwriting these values?
n0plan
April 1, 2023, 10:59am
9
yeah that sounds reasonable …
where tha hack can i find n autoconf entry on my own system
at least it is pretty bad weather so i can check stuff out here (on that system)
br NP