session_lifetime in /var/lib/roundcube/config/defaults.inc.php gets lost.
rather annoying. ![]()
session_lifetime in /var/lib/roundcube/config/defaults.inc.php gets lost.
rather annoying. ![]()
Show the outoup of these commands:
grep RCMAIL_VERSION /var/lib/roundcube/program/include/iniset.php | cut -d "'" -f 4
ls -ld /var/lib/roundcube/config
grep -r session_lifetime /var/lib/roundcube/config
grep -r session_lifetime /etc/roundcube/
After the update, it’d (been) reverted to “10” … I re-edited /var/lib/roundcube/config/defaults.inc.php
root@myvps:/backup/backup# grep RCMAIL_VERSION /var/lib/roundcube/program/include/iniset.php | cut -d “'” -f 4
1.6.17
root@myvps:/backup/backup# ls -ld /var/lib/roundcube/config
lrwxrwxrwx 1 hestiamail www-data 15 Oct 27 2024 /var/lib/roundcube/config → /etc/roundcube/
root@myvps:/backup/backup# grep -r session_lifetime /var/lib/roundcube/config
/var/lib/roundcube/config/defaults.inc.php:$config[‘session_lifetime’] = 43200;
root@myvps:/backup/backup# grep -r session_lifetime /etc/roundcube/
/etc/roundcube/defaults.inc.php:$config[‘session_lifetime’] = 43200;
If you want to keep the param session_lifetime during upgrades, you should not edit defaults.inc.php, you should add that param to config.inc.php
Done.
Thank you very much. (I’d been looking to modify, not add… and it did work… for a while)