Imported Server Manually, No Start


#1

I imported a sever by copying the files directly, but I think there might be something wrong with my structure? My server doesn’t start when I click start. It always asks me to pick a “Profile” and set XMX and XMS. https://imgur.com/FimbigW

My latest.log file is from several months ago, before the import. So I know it hasn’t even started successfully. The Mineos.log complains about the timestamp, but I’m not sure I entirely understand the issue.Here’s a sample.

28T22:15:00.983Z"}
{“level”:“error”,“message”:"[TestRealm] Create tail on logs/fml-server-latest.log failed",“timestamp”:“2018-05-28T22:15:00.983Z”}
{“level”:“info”,“message”:"[TestRealm] Watching for file generation: logs/fml-server-latest.log",“timestamp”:“2018-05-28T22:15:00.983Z”}
{“level”:“info”,“message”:"[TestRealm] Using skipDirEntryPatterns: logs,world,world_the_end,world_nether,dynmap,plugins,web,region,playerdata,stats,data",“timestamp”:“2018-05-28T22:15:00.984Z”}
{“level”:“info”,“message”:“Starting up server, using commit: 8337217 npm update’d more modules\n”,“timestamp”:“2018-05-28T22:15:01.081Z”}
{“level”:“info”,“message”:"[ImportedServer] eula.txt detected: ACCEPTED (eula=true)",“timestamp”:“2018-05-28T22:15:03.033Z”}
{“level”:“info”,“message”:"[TestRealm] eula.txt detected: ACCEPTED (eula=true)",“timestamp”:“2018-05-28T22:15:03.034Z”}
{“level”:“info”,“message”:"[ImportedServer] autostart = false",“timestamp”:“2018-05-28T22:15:06.103Z”}
{“level”:“error”,“message”:"[ImportedServer] Aborted server startup; condition not met: true",“timestamp”:“2018-05-28T22:15:06.179Z”}
{“level”:“info”,“message”:"[TestRealm] autostart = false",“timestamp”:“2018-05-28T22:15:06.183Z”}
{“level”:“error”,“message”:"[TestRealm] Aborted server startup; condition not met: true",“timestamp”:“2018-05-28T22:15:06.184Z”}


#2

Even trying to create a new server and start it I encounter the same problem. I did do apt-get update/upgrade. Did that break something?


#3

I see that the entire server is owned by root–this isn’t the recommended approach.

But as far as the server not starting, by being owned by root, won’t start as anybody but root. Are you also logging in as root to the webui?

Overall, it would still be recommended for you to chown that to mc:mc and then log in as mc.

chown -R mc:mc /var/games/minecraft/{servers,archives,backup}/ImportedServer