Skip to main content
Sebastiaan_Koopmans
New Member
June 16, 2017
Solved

FortiClient EMS Internal Server error after upgrade 1.2

  • June 16, 2017
  • 2 replies
  • 48792 views

Hi,

 

We upgraded EMS from 1.05 to 1.2 but after upgrading we get the error below when we go to the console/webgui

 

Anyone an idea what to do?

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at admin@yourcompany.com to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

    Best answer by Sebastiaan_Koopmans

    Hi Steve,

    No i dont now an Bug ID yet... it should be possible to upgrade (stated in the release notes) but on the moment its not possible.

     

    See latest TAC reaction on our ticket below:

     

    Issue that you face is already reported to engineering , once we have a feedback we will get back to you with further information

     

    I will keep you updated.

     

    Sebastiaan

     

    2 replies

    kolawale_FTNT
    Staff
    Staff
    June 16, 2017

    Try to reboot the EMS server.

    Check the server error log, usually located at:

    c:\Program Files (x86)\Fortinet\FortiClientEMS\Apache24\logs\error.log

    Send the file to beta {at} fortinet [dot] com.

    Consider creating a Support request.

    Sebastiaan_Koopmans
    New Member
    June 16, 2017

    Hi,

     

    Reboot already tried but no success

     

    CHeckt the server log and we see a lot of wsgi errors:

     

    [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124] \r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124] Traceback (most recent call last):\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\lib\\site-packages\\django\\core\\handlers\\base.py", line 99, in get_response\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]     resolver_match = resolver.resolve(request.path_info)\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\lib\\site-packages\\django\\core\\urlresolvers.py", line 337, in resolve\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]     for pattern in self.url_patterns:\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\lib\\site-packages\\django\\core\\urlresolvers.py", line 365, in url_patterns\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]     patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\lib\\site-packages\\django\\core\\urlresolvers.py", line 360, in urlconf_module\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]     self._urlconf_module = import_module(self.urlconf_name)\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\Lib\\importlib\\__init__.py", line 109, in import_module\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]     return _bootstrap._gcd_import(name[level:], package, level)\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "<frozen importlib._bootstrap>", line 2254, in _gcd_import\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "<frozen importlib._bootstrap>", line 2237, in _find_and_load\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "<frozen importlib._bootstrap>", line 1129, in _exec\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "<frozen importlib._bootstrap>", line 1471, in exec_module\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\Scripts\\fcm\\fcm\\urls.py", line 256, in <module>\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]     ApacheService.startup_check()\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\Scripts\\fcm\\fcm\\models\\services\\apache_service.py", line 33, in startup_check\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]     cls.upgrade_check()\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\Scripts\\fcm\\fcm\\models\\services\\apache_service.py", line 72, in upgrade_check\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]     profile_api.upgrade_profiles(vdoms)\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\Scripts\\fcm\\fcm\\profile_api.py", line 366, in upgrade_profiles\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]     profile.update_from_xml(connection=connection, xml=config['config'])\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\Scripts\\fcm\\fcm\\models\\profiles\\config.py", line 236, in update_from_xml\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]     self._update_from_xml_dict(connection, self._get_xml_dict(**kwargs), kwargs.get('append', False), kwargs.pop('is_compliance', False), kwargs.pop('compliance_enabled', True))\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\Scripts\\fcm\\fcm\\models\\profiles\\config_profile.py", line 562, in _update_from_xml_dict\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]     self.system.update_from_xml(connection=connection, xml_dict=profile_dict['system'], append=append, is_compliance=is_compliance, compliance_enabled=compliance_enabled)\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\Scripts\\fcm\\fcm\\models\\profiles\\config.py", line 236, in update_from_xml\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]     self._update_from_xml_dict(connection, self._get_xml_dict(**kwargs), kwargs.get('append', False), kwargs.pop('is_compliance', False), kwargs.pop('compliance_enabled', True))\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\Scripts\\fcm\\fcm\\models\\profiles\\config_system.py", line 216, in _update_from_xml_dict\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]     self.log.update_from_xml(connection=connection, xml_dict=xml_dict['log_settings'], append=append, is_compliance=is_compliance, compliance_enabled=compliance_enabled)\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\Scripts\\fcm\\fcm\\models\\profiles\\config.py", line 236, in update_from_xml\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]     self._update_from_xml_dict(connection, self._get_xml_dict(**kwargs), kwargs.get('append', False), kwargs.pop('is_compliance', False), kwargs.pop('compliance_enabled', True))\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\Scripts\\fcm\\fcm\\models\\profiles\\config_system_log.py", line 342, in _update_from_xml_dict\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]     self.compressed = bool(int(remote_logging_dict.pop('log_compressed')))\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124] ValueError: invalid literal for int() with base 10: 'False'\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124] \r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124] During handling of the above exception, another exception occurred:\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124] \r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124] Traceback (most recent call last):\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\lib\\site-packages\\django\\core\\urlresolvers.py", line 358, in urlconf_module\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]     return self._urlconf_module\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124] AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124] \r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124] During handling of the above exception, another exception occurred:\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124] \r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124] Traceback (most recent call last):\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\lib\\site-packages\\django\\core\\handlers\\wsgi.py", line 206, in __call__\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]     response = self.get_response(request)\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\lib\\site-packages\\django\\core\\handlers\\base.py", line 194, in get_response\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]     response = self.handle_uncaught_exception(request, resolver, sys.exc_info())\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\lib\\site-packages\\django\\core\\handlers\\base.py", line 232, in handle_uncaught_exception\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]     if resolver.urlconf_module is None:\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\lib\\site-packages\\django\\core\\urlresolvers.py", line 360, in urlconf_module\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]     self._urlconf_module = import_module(self.urlconf_name)\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\Lib\\importlib\\__init__.py", line 109, in import_module\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]     return _bootstrap._gcd_import(name[level:], package, level)\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "<frozen importlib._bootstrap>", line 2254, in _gcd_import\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "<frozen importlib._bootstrap>", line 2237, in _find_and_load\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "<frozen importlib._bootstrap>", line 1129, in _exec\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "<frozen importlib._bootstrap>", line 1471, in exec_module\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\Scripts\\fcm\\fcm\\urls.py", line 256, in <module>\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]     ApacheService.startup_check()\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\Scripts\\fcm\\fcm\\models\\services\\apache_service.py", line 33, in startup_check\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]     cls.upgrade_check()\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\Scripts\\fcm\\fcm\\models\\services\\apache_service.py", line 72, in upgrade_check\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]     profile_api.upgrade_profiles(vdoms)\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\Scripts\\fcm\\fcm\\profile_api.py", line 366, in upgrade_profiles\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]     profile.update_from_xml(connection=connection, xml=config['config'])\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\Scripts\\fcm\\fcm\\models\\profiles\\config.py", line 236, in update_from_xml\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]     self._update_from_xml_dict(connection, self._get_xml_dict(**kwargs), kwargs.get('append', False), kwargs.pop('is_compliance', False), kwargs.pop('compliance_enabled', True))\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\Scripts\\fcm\\fcm\\models\\profiles\\config_profile.py", line 562, in _update_from_xml_dict\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]     self.system.update_from_xml(connection=connection, xml_dict=profile_dict['system'], append=append, is_compliance=is_compliance, compliance_enabled=compliance_enabled)\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\Scripts\\fcm\\fcm\\models\\profiles\\config.py", line 236, in update_from_xml\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]     self._update_from_xml_dict(connection, self._get_xml_dict(**kwargs), kwargs.get('append', False), kwargs.pop('is_compliance', False), kwargs.pop('compliance_enabled', True))\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\Scripts\\fcm\\fcm\\models\\profiles\\config_system.py", line 216, in _update_from_xml_dict\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]     self.log.update_from_xml(connection=connection, xml_dict=xml_dict['log_settings'], append=append, is_compliance=is_compliance, compliance_enabled=compliance_enabled)\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\Scripts\\fcm\\fcm\\models\\profiles\\config.py", line 236, in update_from_xml\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]     self._update_from_xml_dict(connection, self._get_xml_dict(**kwargs), kwargs.get('append', False), kwargs.pop('is_compliance', False), kwargs.pop('compliance_enabled', True))\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\Scripts\\fcm\\fcm\\models\\profiles\\config_system_log.py", line 342, in _update_from_xml_dict\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124]     self.compressed = bool(int(remote_logging_dict.pop('log_compressed')))\r [Fri Jun 16 20:55:20.072734 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56124] ValueError: invalid literal for int() with base 10: 'False'\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126] mod_wsgi (pid=3144): Exception occurred processing WSGI script 'C:/Program Files (x86)/Fortinet/FortiClientEMS/Python/Scripts/fcm/fcm/wsgi.py'. [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126] Traceback (most recent call last):\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\lib\\site-packages\\django\\core\\urlresolvers.py", line 358, in urlconf_module\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]     return self._urlconf_module\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126] AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126] \r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126] During handling of the above exception, another exception occurred:\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126] \r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126] Traceback (most recent call last):\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\lib\\site-packages\\django\\core\\handlers\\base.py", line 99, in get_response\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]     resolver_match = resolver.resolve(request.path_info)\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\lib\\site-packages\\django\\core\\urlresolvers.py", line 337, in resolve\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]     for pattern in self.url_patterns:\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\lib\\site-packages\\django\\core\\urlresolvers.py", line 365, in url_patterns\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]     patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\lib\\site-packages\\django\\core\\urlresolvers.py", line 360, in urlconf_module\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]     self._urlconf_module = import_module(self.urlconf_name)\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\Lib\\importlib\\__init__.py", line 109, in import_module\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]     return _bootstrap._gcd_import(name[level:], package, level)\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]   File "<frozen importlib._bootstrap>", line 2254, in _gcd_import\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]   File "<frozen importlib._bootstrap>", line 2237, in _find_and_load\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]   File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]   File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]   File "<frozen importlib._bootstrap>", line 1129, in _exec\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]   File "<frozen importlib._bootstrap>", line 1471, in exec_module\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]   File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\Scripts\\fcm\\fcm\\urls.py", line 256, in <module>\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]     ApacheService.startup_check()\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\Scripts\\fcm\\fcm\\models\\services\\apache_service.py", line 33, in startup_check\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]     cls.upgrade_check()\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\Scripts\\fcm\\fcm\\models\\services\\apache_service.py", line 72, in upgrade_check\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]     profile_api.upgrade_profiles(vdoms)\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\Scripts\\fcm\\fcm\\profile_api.py", line 366, in upgrade_profiles\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]     profile.update_from_xml(connection=connection, xml=config['config'])\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\Scripts\\fcm\\fcm\\models\\profiles\\config.py", line 236, in update_from_xml\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]     self._update_from_xml_dict(connection, self._get_xml_dict(**kwargs), kwargs.get('append', False), kwargs.pop('is_compliance', False), kwargs.pop('compliance_enabled', True))\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\Scripts\\fcm\\fcm\\models\\profiles\\config_profile.py", line 562, in _update_from_xml_dict\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]     self.system.update_from_xml(connection=connection, xml_dict=profile_dict['system'], append=append, is_compliance=is_compliance, compliance_enabled=compliance_enabled)\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\Scripts\\fcm\\fcm\\models\\profiles\\config.py", line 236, in update_from_xml\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]     self._update_from_xml_dict(connection, self._get_xml_dict(**kwargs), kwargs.get('append', False), kwargs.pop('is_compliance', False), kwargs.pop('compliance_enabled', True))\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\Scripts\\fcm\\fcm\\models\\profiles\\config_system.py", line 216, in _update_from_xml_dict\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]     self.log.update_from_xml(connection=connection, xml_dict=xml_dict['log_settings'], append=append, is_compliance=is_compliance, compliance_enabled=compliance_enabled)\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\Scripts\\fcm\\fcm\\models\\profiles\\config.py", line 236, in update_from_xml\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]     self._update_from_xml_dict(connection, self._get_xml_dict(**kwargs), kwargs.get('append', False), kwargs.pop('is_compliance', False), kwargs.pop('compliance_enabled', True))\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\Scripts\\fcm\\fcm\\models\\profiles\\config_system_log.py", line 342, in _update_from_xml_dict\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]     self.compressed = bool(int(remote_logging_dict.pop('log_compressed')))\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126] ValueError: invalid literal for int() with base 10: 'False'\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126] \r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126] During handling of the above exception, another exception occurred:\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126] \r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126] Traceback (most recent call last):\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\lib\\site-packages\\django\\core\\urlresolvers.py", line 358, in urlconf_module\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]     return self._urlconf_module\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126] AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126] \r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126] During handling of the above exception, another exception occurred:\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126] \r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126] Traceback (most recent call last):\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\lib\\site-packages\\django\\core\\handlers\\wsgi.py", line 206, in __call__\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]     response = self.get_response(request)\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\lib\\site-packages\\django\\core\\handlers\\base.py", line 194, in get_response\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]     response = self.handle_uncaught_exception(request, resolver, sys.exc_info())\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\lib\\site-packages\\django\\core\\handlers\\base.py", line 232, in handle_uncaught_exception\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]     if resolver.urlconf_module is None:\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]   File "C:\\Program Files (x86)\\Fortinet\\FortiClientEMS\\Python\\lib\\site-packages\\django\\core\\urlresolvers.py", line 360, in urlconf_module\r [Fri Jun 16 20:55:30.600854 2017] [wsgi:error] [pid 3144:tid 1232] [client ::1:56126]     self._urlconf_module = import_module(self.urlconf_name)\r

    Sebastiaan_Koopmans
    New Member
    June 16, 2017

    Created this morning ticket.

     

    In the meanwhile i was told its an BUG!

    So wait with upgrade! Keep you informed.

    Carl_Wallmark
    New Member
    July 7, 2017

    Heads up!

     

    I upgraded EMS from 1.2.0 to 1.2.1 and it removed the keyword "prompt_username" from every SSLVPN tunnel.

    And when it was gone, you could not right click on the tunnel in the lower right corner anymore, (fast way to open tunnel), you received an error saying "username cannot be blank".

     

    Workaround is to manually add the keyword to the XML:

    <prompt_username>1</prompt_username> 

    Sebastiaan_Koopmans
    New Member
    July 13, 2017

    Hi Guys,

     

    We did some investigation on our profile upgrade issue when we upgrade from 1.05 to 1.2.1

     

    We had added in our advanced XML an vpn option on_connect and on_disconnect , we have removed that before upgrade and then upgraded ems.

    Profiles are now upgraded and then we added it again and works like charm again. (option is now in gui also possible instead of only throught advanced XML)