Appears after restore of a backup I get this on captive portal page. Seems like it must not get backed up or restored properly to new system.
Code:
MOD_PYTHON ERROR ProcessId: 6756 Interpreter: 'localhost' ServerName: 'localhost' DocumentRoot: '/var/www/' URI: '/capture/handler.py/index' Location: '/capture' Directory: None Filename: '/usr/share/untangle/web/capture/handler.py' PathInfo: '/index' Phase: 'PythonHandler' Handler: 'mod_python.publisher' Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1537, in HandlerDispatch default=default_handler, arg=req, silent=hlist.silent) File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1229, in _process_target result = _execute_target(config, req, object, arg) File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1128, in _execute_target result = object(arg) File "/usr/lib/python2.7/dist-packages/mod_python/publisher.py", line 213, in handler published = publish_object(req, object) File "/usr/lib/python2.7/dist-packages/mod_python/publisher.py", line 425, in publish_object return publish_object(req,util.apply_fs_data(object, req.form, req=req)) File "/usr/lib/python2.7/dist-packages/mod_python/util.py", line 554, in apply_fs_data return object(**args) File "/usr/share/untangle/web/capture/handler.py", line 256, in index page = generate_page(req,captureSettings,args) File "/usr/share/untangle/web/capture/handler.py", line 406, in generate_page webfile = open(name, "r") IOError: [Errno 2] No such file or directory: '/usr/share/untangle/web/capture/custom_63/custom.html' MODULE CACHE DETAILS Accessed: Sun Jun 23 13:42:54 2019 Generation: 3 _mp_c987cf865de2aaf876a5e472306c64ad { FileName: '/usr/share/untangle/web/capture/handler.py' Instance: 1 Generation: 2 Modified: Mon Apr 1 20:52:11 2019 Imported: Sun Jun 23 13:39:59 2019 }
Comment