[Bug]: v2rayN autoupdate replaces regional geoip/geosite files with the default ones #6218
Open
2 tasks done
Labels
bug
Something isn't working
预期情况
When the regional Russian setting is enabled, and some of the regional tags are used in the routing rules, when you update v2rayN with a new version, the updater unpacks geoip/geosite files from the downloaded archive and replaces the regional files. These default files don't have the regional tags in them. As the result, the app doesn't work after the restart because xray-core reports missing tags in routing settings.
实际情况
Autoupdater should not overwrite regional geoip/geosite files with the default "Chinese" files from the distribution.
复现方法
Use regional Russian settings;
Set up some routing rules that use geosite:ru-blocked-all and geoip:ru-blocked rules;
Autoupdate v2rayN to a new version.
After a restart, xray-core fails to start.
日志信息
2024/12/04 14:32:58 [Info] infra/conf/serial: Reading config: &{Name:config.json Format:json}
Failed to start: main: failed to load config files: [config.json] > infra/conf: invalid field rule > infra/conf: failed to parse domain rule: geosite:ru-blocked-alll > infra/conf: failed to load geosite: RU-BLOCKED-ALL > infra/conf: list not found in geosite.dat: RU-BLOCKED-ALL
额外信息
XTLS/Xray-core#4105
我确认已更新至最新版本
我确认已查询历史issues
The text was updated successfully, but these errors were encountered: