install.xxxx.js in version 0.107.57-r1 is broken, by a bad french translation
Prerequisites
-
[x] I have checked the Wiki and Discussions and found no answer
-
[x] I have searched other issues and found no duplicates
-
[x] I want to report a bug and not ask a question or ask for help
-
[x] I have set up AdGuard Home correctly and configured clients to use it. (Use the Discussions for help with installing and configuring clients.)
Platform (OS and CPU architecture)
Linux, ARMv7
Installation
Custom package (OpenWrt, HomeAssistant, etc; please mention in the description)
Setup
On a router, DHCP is handled by the router
AdGuard Home version
0.107.57-r1
Action
Opened http://172.16.1.202:3000/install.html page to start the install.
Expected result
That the install.html page was shows.
Actual result
The install.html page throws an Uncaught SyntaxError: Invalid or unexpected token (at install.76ea81b534c31877216e.js:2:759833) causing the page to not work.
Specifically the issue starts at fr:{translation:JSON.parse('{"client_settings":"Paramètres du client",
Until "cache_ttl_min_override_desc":"Prolonger where it starts showing weird caracter to the end of the line, the characters a not printable here, so i added a pucture to show them.
Additional information and/or screenshots
Eventhough I checked the requirement I have set up AdGuard Home correctly and configured clients to use it., this is not true, since I cannot even install and configure it properly with the present bug.
The install was done in OpenWRT on a Raspberry PI CM4 on a carrier board from Waveshare CM4-DUAL-ETH-BASE.
Yesterday the adguardhome package was version 0.106.xx and the install page was working fine.
The affected version string ends in -r1, which is a downstream OpenWrt
package revision. I checked the exact official v0.107.57 frontend artifact:
install.76ea81b534c31877216e.js is valid UTF-8, passes Node syntax
validation, and has SHA-256:
249ee5a79e81496f353ca2f857b5a2cf7d6e98c5671caf11851d7fae9a8e0f13
That makes corruption or transformation in the downstream package/build path the likely boundary. The package maintainer can compare its installed file with this hash and the official release archive. Unless the official archive can be reproduced as invalid, this issue can be closed upstream and followed with the OpenWrt package maintainer.
Hello. It appears that some corruption occurred during the OpenWrt build or installation process. This is not a bug in AdGuardHome. If the problem persists in the new version (v0.107.79), please try reinstalling or updating the OpenWrt package.