Ultraviolet icon indicating copy to clipboard operation
Ultraviolet copied to clipboard

question about a problem

Open ftita opened this issue 3 years ago • 10 comments

root@localhost:~/o/Ultraviolet-1.1/cmd/Ultraviolet# ./Ultraviolet run -config "/root/o/Ultraviolet-1.1/cmd/Ultraviolet/cn/" 2022/02/09 08:35:57 Starting Ultraviolet (unknown version) 2022/02/09 08:35:57 Running 10 worker(s) 2022/02/09 08:35:57 got error while starting up: no config files found root@localhost:~/o/Ultraviolet-1.1/cmd/Ultraviolet#

ftita avatar Feb 09 '22 08:02 ftita

oot@localhost:~/o/Ultraviolet-1.1/cmd/Ultraviolet# ./Ultraviolet run -config "/root" 2022/02/09 08:49:48 Starting Ultraviolet (unknown version) 2022/02/09 08:49:48 Running 10 worker(s) 2022/02/09 08:49:48 got error while starting up: invalid character '{' after top-level value root@localhost:~/o/Ultraviolet-1.1/cmd/Ultraviolet#

ftita avatar Feb 09 '22 08:02 ftita

oot@localhost:~/o/Ultraviolet-1.1/cmd/Ultraviolet# ./Ultraviolet run -config "/root" 2022/02/09 08:49:48 Starting Ultraviolet (unknown version) 2022/02/09 08:49:48 Running 10 worker(s) 2022/02/09 08:49:48 got error while starting up: invalid character '{' after top-level value root@localhost:~/o/Ultraviolet-1.1/cmd/Ultraviolet#`

ftita avatar Feb 09 '22 08:02 ftita

etch the logs of a container root@localhost:~/o/Ultraviolet-1.1/cmd/Ultraviolet# docker container logs 55ce3376502f 2022/02/09 09:14:20 Starting Ultraviolet docker 2022/02/09 09:14:20 Running 10 worker(s) 2022/02/09 09:14:20 got error while starting up: no config files found 2022/02/09 09:14:21 Starting Ultraviolet docker 2022/02/09 09:14:21 Running 10 worker(s) 2022/02/09 09:14:21 got error while starting up: no config files found 2022/02/09 09:14:21 Starting Ultraviolet docker 2022/02/09 09:14:21 Running 10 worker(s) 2022/02/09 09:14:21 got error while starting up: no config files found 2022/02/09 09:14:22 Starting Ultraviolet docker 2022/02/09 09:14:22 Running 10 worker(s) 2022/02/09 09:14:22 got error while starting up: no config files found 2022/02/09 09:14:23 Starting Ultraviolet docker 2022/02/09 09:14:23 Running 10 worker(s) 2022/02/09 09:14:23 got error while starting up: no config files found 2022/02/09 09:14:25 Starting Ultraviolet docker 2022/02/09 09:14:25 Running 10 worker(s) 2022/02/09 09:14:25 got error while starting up: no config files found 2022/02/09 09:14:31 Starting Ultraviolet docker 2022/02/09 09:14:31 Running 10 worker(s) 2022/02/09 09:14:31 got error while starting up: no config files found 2022/02/09 09:14:38 Starting Ultraviolet docker 2022/02/09 09:14:38 Running 10 worker(s) 2022/02/09 09:14:38 got error while starting up: no config files found 2022/02/09 09:14:51 Starting Ultraviolet docker 2022/02/09 09:14:51 Running 10 worker(s) 2022/02/09 09:14:51 got error while starting up: no config files found 2022/02/09 09:15:17 Starting Ultraviolet docker 2022/02/09 09:15:17 Running 10 worker(s) 2022/02/09 09:15:17 got error while starting up: no config files found 2022/02/09 09:16:09 Starting Ultraviolet docker 2022/02/09 09:16:09 Running 10 worker(s) 2022/02/09 09:16:09 got error while starting up: no config files found root@localhost:~/o/Ultraviolet-1.1/cmd/Ultraviolet#

ftita avatar Feb 09 '22 09:02 ftita

same for docker

ftita avatar Feb 09 '22 09:02 ftita

do you have any valid server config(s) in the config folder?

realDragonium avatar Feb 09 '22 09:02 realDragonium

{ "listenTo": ":25565", "defaultStatus": { "name": "My Shield", "protocol": 755, "text": "Some proxy didnt proxy" }, "numberOfWorkers": 10, "numberOfListeners": 1, "acceptProxyProtocol": false, "enablePrometheus": true, "prometheusBind": ":9100", "apiBind": "127.0.0.1:9090", "useTableflip": true, "pidFile": "/root/uv.pid" }

ftita avatar Feb 09 '22 09:02 ftita

this is my config, u have a discord?

ftita avatar Feb 09 '22 09:02 ftita

u are the dev of infrared?

ftita avatar Feb 09 '22 09:02 ftita

Join https://discord.gg/r98YPRsZAx

haveachin avatar Feb 09 '22 09:02 haveachin

im also a collaborator of infrared yes, but the config you sent me is the general config of ultraviolet, it also requires separated files for server configs.

check https://github.com/realDragonium/Ultraviolet/blob/main/examples/server-example.json as example for such server config file

realDragonium avatar Feb 09 '22 09:02 realDragonium