Open arvitus opened 1 month ago
Will look into the startup issue,
However you need to replace 127.0.0.1
in the config file it says it loads, and then restart it, that is also where you do your other settings for it.
If I could get the entire log that would be great. lets me pinpoint which mc and fabric version you are on so I can test if its a specific version issue
okay if you want to test this without installing intellij locally
click the "open in gitpod" button in the readme (new), and make sure you run sdk install java 17.0.1-tem
before running ./gradlew build mergeJars
download the jar file from the new "Merged" directory and test that
That will get you a src-build, which currently has an issue where the code-server process doesn't die when the server does, meaning you will need to forcibly murder the java process, (most server panels have a KILL button) the main issue occurs when the java process exits unexpectidly, leaving a forked code-server process running independently from the server
This currently wont crash the server, just scream
Idk if your above message is related to this...
Anyway. I got access to code-server in the browser after setting bind-addr
to 0.0.0.0:8102
.
I could even use my domain so that's good but I noticed that I got a warning in firefox that the site is not secure even though I set cert: true
and the url even begins with https, but that is actually not important right now.
Even though I can now access the server file through code-server, the mc server itself is still not starting. Code server is loading and then probably blocks the executon of everything else. Here are the server logs: https://pastebin.com/iCwFjqmt
Also, I noticed that some extensions did not work, because node.js is not installed. If it would be possible to bundle this into the mod so that those extensions do work, that would be great!
These were the extensions that did not work because of missing node.js: https://open-vsx.org/extension/mtxr/sqltools https://open-vsx.org/extension/mtxr/sqltools-driver-sqlite (sqlite driver for the above extension)
I was just trying to connect to a sqlite db on the server.
To address the issues in order 1) https doesnt work directly unless you obtain an SSL Cert for the domain you are connecting to, or reverse proxy the port through a webserver that does, documentation for this can be found on code-server's wiki
2) Did you use the build the instructions in my reply? because ./gradlew fabric:runServer
does infact, run server with the latest commit (not released yet due to the outstanding issue that code-server will just keep running in the background even after server shutdown leading to an error if java is not brutally murdered)
3) I think that is a code-server issue? will need to investigate. Which mod were you using that you needed to poke its db?
No I didn't use the build from gitpod. Tbh I don't currently have the patience to test the mod thoroughly... I just wanted to let you know the problems I encountered :)
I was using the banhammer fabric mod and it was an sqlite db, but I don't think that's where the problem is. The extension did not even want to start because of missing node.
the gitpod build will solve the server start issue, just know running /stop
on the server wont kill java, you will have to do that manually until I can figure out how to solve that issue in the code side.
When I start my server with code-server installed, it just gets stuck after this:
The mc server doesn't start or does any further processing and the code-server is not reachable through the url (yes, I did replace 127.0.0.1 with my domainname ;))