XF 2.2 Should I do anything special to XF instances installed on my local computer (for dev and offline-maintenance purposes)?

ShikiSuen

Well-known member
I got this notification on my mac mini, despite that it is a local install (not on a web server accessible on the internet).

P.S.: a mac computer in a local intranet ends with ".local" as a part of its identity name.

P.P.S.: Offline maintenance is required when some major changes towards themes or phrases can cause overwhelming performance pressure to my VPS.

1622729198923.png
 
Last edited:

Lee

Well-known member
That is normal, it is because the license is configured for your online installation not your offline one. You can ignore that message.
 

Brogan

XenForo moderator
Staff member
No, that's unrelated.

In general, admin sessions should not be forcibly closed.

You can extend the admin session time by adding this to the src/config.php file:
PHP:
$c['session.admin'] = function (\XF\Container $c)
{
    $session = new \XF\Session\Session($c['session.admin.storage'], [
        'cookie' => 'session_admin',
        'lifetime' => 86400
    ]);
    return $session->start($c['request']);
};

There are some other useful switches documented here: https://xenforo.com/community/resou...-test-site.2792/updates#resource-update-36689
 

ShikiSuen

Well-known member
No, that's unrelated.

In general, admin sessions should not be forcibly closed.

You can extend the admin session time by adding this to the src/config.php file:
PHP:
$c['session.admin'] = function (\XF\Container $c)
{
    $session = new \XF\Session\Session($c['session.admin.storage'], [
        'cookie' => 'session_admin',
        'lifetime' => 86400
    ]);
    return $session->start($c['request']);
};

There are some other useful switches documented here: https://xenforo.com/community/resou...-test-site.2792/updates#resource-update-36689
Thanks for your trick. Looks like the kick-out issue is related to my macOS nginx configuration, possibly.
 
Top