Server log not working

In my MineOS webui, if I go to the console tab, it does not update whats going on with the server. I can send commands using the command line entry and they work fine. The history listed on the page is from a couple days ago when I initially started the server.

I have an older server on the same machine that still works fine, if I start it.

Running…

MineOS 0.6.4, apt updated and upgraded
Spigot 1649 + 10/01 bin update
Oracle Java 8

fixed it. Started digging around and looking for settings that were screwy or something. Decided to rename the latest.log file in the logs directory to latest.log.bak, and when I restarted the server, I had a current log file again. Everything is working fine now.

If renaming the file was the fix, the most likely cause is permissions/ownership. Since it’s still there, you can verify this is the case by checking if it is still owned by mc:mc (if that’s the user you’re using). If anything should happen in the future, try to narrow down if you’ve done any root-related command-lining.

I just encountered this issue myself, However Scrufdog_mike’s suggestion did not work for me, I had to copy and delete the latest log which seems to have gotten corrupted. I restarted the server and it created a new log file and seem to be working correctly now. Only thing i did was update the Webui Friday? go figure.

Hex parrot, i’m having this issue again, log does not seem to be responding even though the server is running and working as it should? Any suggestion where to start troubleshooting?

What commit are you on (in the webui, top right)?

What does the mineos log say? /var/log/mineos.log

What kind of minecraft server software are you running?

I repaired it again by running the Webui update, i had to use the reset script , which stated i had a file outdated or something.

I’m running git commit 1853741

These are the two messages that i see where it states errors or fails.

{“level”:“error”,“message”:"[TestServer] Create tail on proxy.log.0 failed",“timestamp”:“2016-03-29T02:27:50.030Z”}
{“level”:“info”,“message”:"[TestServer] Watching for file generation: proxy.log.0",“timestamp”:“2016-03-29T02:27:50.030Z”}

{“level”:“info”,“message”:“Starting up server, using commit: 1853741 fixed issue: crash when pocketmine returned html not json\n”,“timestamp”:“2016-03-29T02:27:51.142Z”}

If you care i can send you the whole miners.log, let me know.

I’m running Spigot Server 1.9

If the problem persists then yes, provide the full mineos.log.

Will do . so far it seems to be working again.

I have the same issue… with the latest greatest version.

cat /var/log/mineos.log | grep error
{“date”:“Sun Mar 19 2017 14:28:54 GMT+0000 (UTC)”,“process”:{“pid”:191,“uid”:0,“gid”:0,“cwd”:"/usr/games/minecraft",“execPath”:"/usr/bin/nodejs",“version”:“v4.6.2”,“argv”:["/usr/bin/nodejs","/usr/games/minecraft/webui.js"],“memoryUsage”:{“rss”:110727168,“heapTotal”:75481440,“heapUsed”:55408944}},“os”:{“loadavg”:[1.232421875,2.0263671875,1.9580078125],“uptime”:468154},“trace”:[{“column”:27,“file”:"/usr/games/minecraft/node_modules/sha512crypt-node/sha512crypt.js",“function”:“Object.sha512crypt”,“line”:129,“method”:“sha512crypt”,“native”:false},{“column”:33,“file”:"/usr/games/minecraft/auth.js",“function”:null,“line”:22,“method”:null,“native”:false},{“column”:20,“file”:"/usr/games/minecraft/node_modules/etc-passwd/index.js",“function”:"",“line”:60,“method”:null,“native”:false},{“column”:13,“file”:“events.js”,“function”:“emitOne”,“line”:77,“method”:null,“native”:false},{“column”:7,“file”:“events.js”,“function”:“EventEmitter.emit”,“line”:169,“method”:“emit”,“native”:false},{“column”:21,“file”:"/usr/games/minecraft/node_modules/etc-passwd/index.js",“function”:"",“line”:42,“method”:null,“native”:false},{“column”:13,“file”:“events.js”,“function”:“emitOne”,“line”:77,“method”:null,“native”:false},{“column”:7,“file”:“events.js”,“function”:“LineReadStream.emit”,“line”:169,“method”:“emit”,“native”:false},{“column”:26,“file”:"/usr/games/minecraft/node_modules/etc-passwd/node_modules/lazylines/lazylines.js",“function”:"",“line”:29,“method”:null,“native”:false},{“column”:13,“file”:“events.js”,“function”:“emitOne”,“line”:77,“method”:null,“native”:false}],“stack”:[“TypeError: Cannot read property ‘split’ of undefined”," at Object.sha512crypt (/usr/games/minecraft/node_modules/sha512crypt-node/sha512crypt.js:129:27)"," at /usr/games/minecraft/auth.js:22:33"," at EventEmitter. (/usr/games/minecraft/node_modules/etc-passwd/index.js:60:20)"," at emitOne (events.js:77:13)"," at EventEmitter.emit (events.js:169:7)"," at LineReadStream. (/usr/games/minecraft/node_modules/etc-passwd/index.js:42:21)"," at emitOne (events.js:77:13)"," at LineReadStream.emit (events.js:169:7)"," at ReadStream. (/usr/games/minecraft/node_modules/etc-passwd/node_modules/lazylines/lazylines.js:29:26)"," at emitOne (events.js:77:13)"],“level”:“error”,“message”:“uncaughtException: Cannot read property ‘split’ of undefined”,“timestamp”:“2017-03-19T14:28:54.584Z”}
{“date”:“Sun Mar 19 2017 14:29:06 GMT+0000 (UTC)”,“process”:{“pid”:203,“uid”:0,“gid”:0,“cwd”:"/usr/games/minecraft",“execPath”:"/usr/bin/nodejs",“version”:“v4.6.2”,“argv”:["/usr/bin/nodejs","/usr/games/minecraft/webui.js"],“memoryUsage”:{“rss”:64020480,“heapTotal”:39362656,“heapUsed”:24061664}},“os”:{“loadavg”:[1.3408203125,2.00927734375,1.95361328125],“uptime”:468165},“trace”:[{“column”:27,“file”:"/usr/games/minecraft/node_modules/sha512crypt-node/sha512crypt.js",“function”:“Object.sha512crypt”,“line”:129,“method”:“sha512crypt”,“native”:false},{“column”:33,“file”:"/usr/games/minecraft/auth.js",“function”:null,“line”:22,“method”:null,“native”:false},{“column”:20,“file”:"/usr/games/minecraft/node_modules/etc-passwd/index.js",“function”:"",“line”:60,“method”:null,“native”:false},{“column”:13,“file”:“events.js”,“function”:“emitOne”,“line”:77,“method”:null,“native”:false},{“column”:7,“file”:“events.js”,“function”:“EventEmitter.emit”,“line”:169,“method”:“emit”,“native”:false},{“column”:21,“file”:"/usr/games/minecraft/node_modules/etc-passwd/index.js",“function”:"",“line”:42,“method”:null,“native”:false},{“column”:13,“file”:“events.js”,“function”:“emitOne”,“line”:77,“method”:null,“native”:false},{“column”:7,“file”:“events.js”,“function”:“LineReadStream.emit”,“line”:169,“method”:“emit”,“native”:false},{“column”:26,“file”:"/usr/games/minecraft/node_modules/etc-passwd/node_modules/lazylines/lazylines.js",“function”:"",“line”:29,“method”:null,“native”:false},{“column”:13,“file”:“events.js”,“function”:“emitOne”,“line”:77,“method”:null,“native”:false}],“stack”:[“TypeError: Cannot read property ‘split’ of undefined”," at Object.sha512crypt (/usr/games/minecraft/node_modules/sha512crypt-node/sha512crypt.js:129:27)"," at /usr/games/minecraft/auth.js:22:33"," at EventEmitter. (/usr/games/minecraft/node_modules/etc-passwd/index.js:60:20)"," at emitOne (events.js:77:13)"," at EventEmitter.emit (events.js:169:7)"," at LineReadStream. (/usr/games/minecraft/node_modules/etc-passwd/index.js:42:21)"," at emitOne (events.js:77:13)"," at LineReadStream.emit (events.js:169:7)"," at ReadStream. (/usr/games/minecraft/node_modules/etc-passwd/node_modules/lazylines/lazylines.js:29:26)"," at emitOne (events.js:77:13)"],“level”:“error”,“message”:“uncaughtException: Cannot read property ‘split’ of undefined”,“timestamp”:“2017-03-19T14:29:06.149Z”}
{“level”:“error”,“message”:"[bluedusty_world] Create tail on logs/latest.log failed",“timestamp”:“2017-03-19T16:04:18.445Z”}
{“level”:“error”,“message”:"[bluedusty_world] Create tail on server.log failed",“timestamp”:“2017-03-19T16:04:18.530Z”}
{“level”:“error”,“message”:"[bluedusty_world] Create tail on proxy.log.0 failed",“timestamp”:“2017-03-19T16:04:18.538Z”}
{“level”:“error”,“message”:"[bluedusty_world] Create tail on logs/fml-server-latest.log failed",“timestamp”:“2017-03-19T16:04:18.545Z”}
{“level”:“error”,“message”:"[bluedusty_world] Aborted server startup; condition not met: true",“timestamp”:“2017-03-19T16:04:23.769Z”}
{“level”:“error”,“message”:"[bluedusty_world] Create tail on logs/latest.log failed",“timestamp”:“2017-03-19T16:06:25.538Z”}
{“level”:“error”,“message”:"[bluedusty_world] Create tail on server.log failed",“timestamp”:“2017-03-19T16:06:25.617Z”}
{“level”:“error”,“message”:"[bluedusty_world] Create tail on proxy.log.0 failed",“timestamp”:“2017-03-19T16:06:25.624Z”}
{“level”:“error”,“message”:"[bluedusty_world] Create tail on logs/fml-server-latest.log failed",“timestamp”:“2017-03-19T16:06:25.629Z”}
{“level”:“error”,“message”:"[test] Create tail on logs/latest.log failed",“timestamp”:“2017-03-19T16:06:25.795Z”}
{“level”:“error”,“message”:"[test] Create tail on server.log failed",“timestamp”:“2017-03-19T16:06:25.800Z”}
{“level”:“error”,“message”:"[test] Create tail on proxy.log.0 failed",“timestamp”:“2017-03-19T16:06:25.804Z”}
{“level”:“error”,“message”:"[test] Create tail on logs/fml-server-latest.log failed",“timestamp”:“2017-03-19T16:06:25.807Z”}
{“level”:“error”,“message”:"[bluedusty_world] Aborted server startup; condition not met: true",“timestamp”:“2017-03-19T16:06:30.859Z”}
{“level”:“error”,“message”:"[test] Aborted server startup; condition not met: true",“timestamp”:“2017-03-19T16:06:30.877Z”}
{“level”:“error”,“message”:"[bluedusty_world] Create tail on logs/latest.log failed",“timestamp”:“2017-03-19T16:16:50.534Z”}
{“level”:“error”,“message”:"[bluedusty_world] Create tail on server.log failed",“timestamp”:“2017-03-19T16:16:50.608Z”}
{“level”:“error”,“message”:"[bluedusty_world] Create tail on proxy.log.0 failed",“timestamp”:“2017-03-19T16:16:50.615Z”}
{“level”:“error”,“message”:"[bluedusty_world] Create tail on logs/fml-server-latest.log failed",“timestamp”:“2017-03-19T16:16:50.621Z”}
{“level”:“error”,“message”:"[test] Create tail on logs/latest.log failed",“timestamp”:“2017-03-19T16:16:50.798Z”}
{“level”:“error”,“message”:"[test] Create tail on server.log failed",“timestamp”:“2017-03-19T16:16:50.803Z”}
{“level”:“error”,“message”:"[test] Create tail on proxy.log.0 failed",“timestamp”:“2017-03-19T16:16:50.809Z”}
{“level”:“error”,“message”:"[test] Create tail on logs/fml-server-latest.log failed",“timestamp”:“2017-03-19T16:16:50.814Z”}
{“level”:“error”,“message”:"[bluedusty_world] Aborted server startup; condition not met: true",“timestamp”:“2017-03-19T16:16:55.869Z”}
{“level”:“error”,“message”:"[test] Aborted server startup; condition not met: true",“timestamp”:“2017-03-19T16:16:55.890Z”}

Based on your logs, vs. what is in this thread, this isn’t so much the same issue. Go ahead and repost this as a new issue because the original stuff is almost 3 years older and it doesn’t look like their solutions (even if your symptoms are similar) will apply to you.

With your new post, let us know what distro you’re using, what username you’re using, and the method of installation. The errors in your traceback are missing these details from your grep.