In
http://tracker.in-portal.org/view.php?id=1317 task from we've introduced new code, that would allow to have have unified check for user's IP address across all In-Portal code.
1. However CLI script invocation mode isn't taken into account. Because of that Column 'IpAddress' cannot be null error is raised several times during In-Portal invocation from command line.
2. I've attached SystemLog table record with details about this problem. Based on it we have another problem: session is created during deployment script invocation, however we have code, that prevent any session to be created, unless user is logged-in.