Element-0 / ElementZero

Run windows version of BDS in linux with Mod support
GNU General Public License v3.0
272 stars 51 forks source link

How do I view server logs? #62

Closed ambiennt closed 4 years ago

ambiennt commented 4 years ago

I just had my first server crash ever, and this is very concerning for me. I would like to troubleshoot what went wrong, but I dont know how to do so without a log.

codehz commented 4 years ago

@nrss (check the internalData/DedicatedServer.txt at first

ambiennt commented 4 years ago

@nrss (check the internalData/DedicatedServer.txt at first

it has nothing detailing the crash. Just autocompactions and when players join/leave

ambiennt commented 4 years ago

oh, I just realized that the text file resets every time the server is booted up. However, the text file didnt clear from the session before the crash even though I booted the server up after it. Maybe a suggestion is to have a log for each session? just an idea. Also, the only custom mods I have enabled (aside from education edition and experimental toggled) is essentials and noencryption. Could either of these potentially cause a crash?

codehz commented 4 years ago

@nrss Yeah, it is stored in log.db, sqlite3

ambiennt commented 4 years ago

crash.txt what does this mean? do you know what went wrong exactly?

codehz commented 4 years ago

crash.txt what does this mean? do you know what went wrong exactly?

How do you get it, it seems neither database or text file... You can just send the whole log.db

ambiennt commented 4 years ago

crash.txt what does this mean? do you know what went wrong exactly?

How do you get it, it seems neither database or text file... You can just send the whole log.db

I just copied the crash section into a text document to isolate it for you to better analyze. I will put the whole log in though. log.txt (github doesnt support .db)

codehz commented 4 years ago

it seems to be a bds bug, and that's I cannot fix... hope 1.16 will fix it

ambiennt commented 4 years ago

it seems to be a bds bug, and that's I cannot fix... hope 1.16 will fix it

ah, okay. Thank you anyways!!