106
20.7 Legacy Series / Re: Captiveportal Template Upload Fails
« on: December 29, 2020, 04:49:55 pm »
to add
some failed templates show this on logs. I say "some" becuase most failed upload does not show anything on logs.
if you upload the default unmodified template, you get the following...
it would be nice if it would be possible to upload manually until this issue is resolved, i have tried to restore to default in console one of my system. but it was a no go, i have also tried the development firmware same thing...
i guess one last thing im thingking is to reinstall to 20.7.5 or 20.7.6 is there even a easyway to go back to older builds?
some failed templates show this on logs. I say "some" becuase most failed upload does not show anything on logs.
Quote
2020-12-29T15:25:37 configd.py[21139] [a922a169-75f8-4825-b177-b9f86287c90c] Script action failed with Command '/usr/local/opnsense/scripts/OPNsense/CaptivePortal/strip_template.py 'cp_2cfdbd8d-c875-430b-af03-3897a1af90ff.tmp'' returned non-zero exit status 1. at Traceback (most recent call last): File "/usr/local/opnsense/service/modules/processhandler.py", line 479, in execute stdout=output_stream, stderr=error_stream) File "/usr/local/lib/python3.7/subprocess.py", line 363, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '/usr/local/opnsense/scripts/OPNsense/CaptivePortal/strip_template.py 'cp_2cfdbd8d-c875-430b-af03-3897a1af90ff.tmp'' returned non-zero exit status 1.
if you upload the default unmodified template, you get the following...
Quote
2020-12-29T15:34:49 configd.py[21139] [9a61b866-280c-4471-a8c1-58002e77b404] strip user captiveportal web template package and return new base64 encoded content
it would be nice if it would be possible to upload manually until this issue is resolved, i have tried to restore to default in console one of my system. but it was a no go, i have also tried the development firmware same thing...
i guess one last thing im thingking is to reinstall to 20.7.5 or 20.7.6 is there even a easyway to go back to older builds?