NidukaAkalanka / x-ui-english

English Version of X-UI, A Multi-protocol & Multi-user Xray Panel with a Web UI and a TG Bot
GNU General Public License v3.0
727 stars 239 forks source link

failed to load config files #165

Closed rezaxv closed 1 year ago

rezaxv commented 1 year ago

Welcome

Description of the problem,screencshot would be good

Xray 1.6.4 (Xray, Penetrates Everything.) 2942f56 (go1.19.3 linux/amd64)

A unified platform for anti-censorship.

2023/03/01 16:30:59 [Info] infra/conf/serial: Reading config: bin/config.json

Failed to start: main: failed to load config files: [bin/config.json] > infra/conf: failed to load inbound detour config. > json: cannot unmarshal object into Go struct field VMessInboundConfig.clients of type []json.RawMessage

please help me

Version of x-ui

```console $ x-ui version # 1.6.4 ```

x-ui log or xray log

```console # Mar 01 16:42:19 x.myserver.com x-ui[840]: 2023/03/01 16:42:19 WARNING - disable invalid Client err: no such table: client_traffics Mar 01 16:42:19 x.myserver.com x-ui[840]: 2023/03/01 16:42:19 WARNING - disable invalid inbounds err: no such table: inbounds Mar 01 16:42:29 x.myserver.com x-ui[840]: 2023/03/01 16:42:29 ERROR - restart xray failed: no such table: settings Mar 01 16:42:49 x.myserver.com x-ui[840]: 2023/03/01 16:42:49 WARNING - disable invalid Client err: no such table: client_traffics Mar 01 16:42:49 x.myserver.com x-ui[840]: 2023/03/01 16:42:49 WARNING - disable invalid inbounds err: no such table: inbounds Mar 01 16:42:59 x.myserver.com x-ui[840]: 2023/03/01 16:42:59 ERROR - restart xray failed: no such table: settings Mar 01 16:45:23 x.myserver.com systemd[1]: Stopping x-ui Service... Mar 01 16:45:23 x.myserver.com systemd[1]: Stopped x-ui Service. Mar 01 16:45:23 x.myserver.com systemd[1]: Started x-ui Service. Mar 01 16:45:23 x.myserver.com x-ui[20877]: 2023/03/01 16:45:23 x-ui-english 0.2.1.2 Mar 01 16:45:23 x.myserver.com x-ui[20877]: 2023/03/01 16:45:23 INFO - web server run https on [::]:8080 Mar 01 16:46:19 x.myserver.com systemd[1]: Stopping x-ui Service... Mar 01 16:46:19 x.myserver.com systemd[1]: Stopped x-ui Service. Mar 01 16:46:19 x.myserver.com systemd[1]: Started x-ui Service. Mar 01 16:46:19 x.myserver.com x-ui[21131]: 2023/03/01 16:46:19 x-ui-english 0.2.1.2 Mar 01 16:46:19 x.myserver.com x-ui[21131]: 2023/03/01 16:46:19 file is not a database Mar 01 16:46:19 x.myserver.com systemd[1]: x-ui.service: main process exited, code=exited, status=1/FAILURE Mar 01 16:46:19 x.myserver.com systemd[1]: Unit x-ui.service entered failed state. Mar 01 16:46:19 x.myserver.com systemd[1]: x-ui.service failed. Mar 01 16:46:39 x.myserver.com systemd[1]: Started x-ui Service. Mar 01 16:46:39 x.myserver.com x-ui[21179]: 2023/03/01 16:46:39 x-ui-english 0.2.1.2 Mar 01 16:46:39 x.myserver.com x-ui[21179]: 2023/03/01 16:46:39 file is not a database Mar 01 16:46:39 x.myserver.com systemd[1]: x-ui.service: main process exited, code=exited, status=1/FAILURE Mar 01 16:46:39 x.myserver.com systemd[1]: Unit x-ui.service entered failed state. Mar 01 16:46:39 x.myserver.com systemd[1]: x-ui.service failed. Mar 01 16:49:15 x.myserver.com systemd[1]: Started x-ui Service. Mar 01 16:49:15 x.myserver.com x-ui[21254]: 2023/03/01 16:49:15 x-ui-english 0.2.1.2 Mar 01 16:49:15 x.myserver.com x-ui[21254]: 2023/03/01 16:49:15 file is not a database Mar 01 16:49:15 x.myserver.com systemd[1]: x-ui.service: main process exited, code=exited, status=1/FAILURE Mar 01 16:49:15 x.myserver.com systemd[1]: Unit x-ui.service entered failed state. Mar 01 16:49:15 x.myserver.com systemd[1]: x-ui.service failed. Mar 01 16:49:36 x.myserver.com systemd[1]: Started x-ui Service. Mar 01 16:49:36 x.myserver.com x-ui[21294]: 2023/03/01 16:49:36 x-ui-english 0.2.1.2 Mar 01 16:49:36 x.myserver.com x-ui[21294]: 2023/03/01 16:49:36 INFO - web server run https on [::]:8080 ```
rezaxv commented 1 year ago

I deleted the last user and the problem was solved