yiguodev 说明 OneXray Windows 旧版迁移失败及暂不专门修复的安排
在 OneXray Windows 26.8.3 升级至 26.11.6 的问题讨论中,yiguodev 根据截图判断:缺少 subscription.count 列使数据库迁移失败,地区列表因此无法加载;EXE 从全机器安装改为按用户安装,也解释了两个版本并存。他表示暂不为这条升级路径提供专门迁移修复,建议先保存订阅 URL 和手动配置,退出两个托盘进程,将旧数据目录改名保留备份,再以全新数据完成设置并重新导入。旧版 ZIP 可留作回退,但新版不能导入该格式。后续建议只选一个更新渠道:Microsoft Store 自动更新,或 EXE 配合 WinGet。
作者原文@yiguodevThanks for the screenshots. The setup screen shows a database migration failing because the
subscription.countcolumn is missing. Setup needs to open that database before it can load the region list. The EXE installer also changed from a machine-wide installation in 26.8.3 to a per-user installation in 26.11.6, which explains why Windows can show both versions.Given the version gap, we recommend starting with fresh app data. We aren't planning a dedicated migration fix for this upgrade path at the moment.
- If 26.8.3 still opens, save your subscription URLs and export any manually added profiles you want to keep. You can also export a ZIP from Settings → Backup & Restore and save it outside OneXray's data folder for rollback. The new version cannot import that old ZIP format.
- Disconnect OneXray and quit both versions from their system tray icons. The window's X hides the app to the tray, so it can still appear in Task Manager.
- In File Explorer, open
%APPDATA%\YuanDevLLCand rename theOneXrayfolder toOneXray.backup(or another unused name). Keep that folder so you can recover your old data if needed.- In Windows Settings → Apps → Installed apps, uninstall the 26.8.3 entry. If you're keeping the desktop EXE, run the 26.11.6 x64 installer again. Complete setup with a fresh data folder and re-import your saved subscription URLs and profiles. If you're using VPN tunnel mode, select your active Wi-Fi or Ethernet interface. You can leave Direct regions unset. Keep the old database in the backup folder so it won't trigger the migration again.
For future updates, we recommend choosing one channel. Install OneXray from Microsoft Store for automatic app updates. If you prefer the desktop EXE, WinGet can check for and install the current version when you run
winget upgrade --id YuanDevLLC.OneXray --exact --source winget.