Skip to content

question about a problem #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ftita opened this issue Feb 9, 2022 · 10 comments
Open

question about a problem #4

ftita opened this issue Feb 9, 2022 · 10 comments
Labels
question Further information is requested

Comments

@ftita
Copy link

ftita commented Feb 9, 2022

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 ftita added the question Further information is requested label Feb 9, 2022
@ftita
Copy link
Author

ftita commented Feb 9, 2022

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
Copy link
Author

ftita commented Feb 9, 2022

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
Copy link
Author

ftita commented Feb 9, 2022

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
Copy link
Author

ftita commented Feb 9, 2022

same for docker

@realDragonium
Copy link
Owner

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

@ftita
Copy link
Author

ftita commented Feb 9, 2022

{ "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
Copy link
Author

ftita commented Feb 9, 2022

this is my config, u have a discord?

@ftita
Copy link
Author

ftita commented Feb 9, 2022

u are the dev of infrared?

@haveachin
Copy link

Join https://discord.gg/r98YPRsZAx

@realDragonium
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants