Updated MineOS now everything isn't translating

I updated the server by doing the following steps:

cd /usr/games/minecraft
git fetch
git merge origin/master

npm install.

It had a few more steps after that npm requested me to do. I followed the steps, but now my WebGUI isn’t translated at all. Here is a screenshot

EDIT: For some reason the website wouldn’t let me save my edit to finish typing out what happened. Sorry about that.

Can you share with me /var/log/mineos.log?

Uh its a huge file. Is there a specific part you need?

Here is a pastebin of it. https://pastebin.com/sADeHtts

It tells me a few things; there’s an error in there, that I’m not quite sure where it’s coming from.

Here’s what we should try:

  1. For starters, we should avoid logging into the webui as root. root is a privileged user which also makes the actions it performs potentially more (and inadvertently) impactful than running Minecraft servers as unprivileged users created exactly for Minecraft servers.

  2. I see a few errors referring to the absence of latest.log for each of your servers.

“stack”:[“Error: ENOENT: no such file or directory, stat ‘/var/games/minecraft/servers/vanillaServer/logs/latest.log’”," at Object.fs.statSync (fs.js:948:11)"," at Tail.watch (/usr/games/minecraft/node_modules/tail/lib/tail.js:92:16)"," at Timeout._onTimeout (/usr/games/minecraft/node_modules/tail/lib/tail.js:141:26)"," at ontimeout (timers.js:498:11)"," at tryOnTimeout (timers.js:323:5)"," at Timer.listOnTimeout (timers.js:290:5)"],“level”:“error”,“message”:“uncaughtException: ENOENT: no such file or directory, stat ‘/var/games/minecraft/servers/vanillaServer/logs/latest.log’”,“timestamp”:“2019-12-07T17:02:42.897Z”}

Are these files present for vanillaServer and vh_survival?

These issues are suggesting that the files did exist at one point, at least, and then somehow no longer existed. This uncaughtException is likely causing the server to stop executing as it should and therefore the portions handling the translation are botched.

That’s my best guess at least.

Regardless, I think #1 should be handled first–create a non-root user and re-chown those files to that user. Then, restart the host (or the webui) and we can go from there.

Do this as root: the last line is to clear your logs so you don’t have to worry about existing entries irrelevant to any persisting issues.

chown -R user:user /var/games/minecraft/servers/*
chown -R user:user /var/games/minecraft/archive/*
chown -R user:user /var/games/minecraft/backup/*
echo '' > /var/log/mineos.log

There are definitely “latest.log” in both servers. I don’t know why it would say there isn’t. (Photo capped before chown commands)
Imgur

I did what you suggested with the chown commands. Logged into the Webui with the new user, and it still isn’t translated correctly.

Here is a pastebin of what the current mineos.log has inside of it. https://pastebin.com/6JPzYPE5

I definitely see there’s a latest log, but that means that it’s in .../servers/test/log/latest.log, whereas the expected location is .../servers/test/latest.log.

That said, since it’s not erroring out upon the reboot, then I can guess that issue is irrelevant to the problem you’re experiencing.

Can you check your browser’s console for any javascript errors?

Not 100% what exactly you’re looking for, but it looks like there are two errors.

(Not sure why that link was flagged and deleted)

What are the errors?

For some reason my pastebin link got reported as spam and i cannot post it anymore, so i’ll just post it in here. Its fairly short.

Uncaught Error: [$injector:modulerr] http://errors.angularjs.org/1.7.9/$injector/modulerr?p0=mineos&p1=Error%3A%20%5B%24injector%3Amodulerr%5D%20http%3A%2F%2Ferrors.angularjs.org%2F1.7.9%2F%24injector%2Fmodulerr%3Fp0%3DngSanitize%26p1%3DTypeError%253A%2520q%2520is%2520not%2520a%2520function%250A%2520%2520%2520%2520at%2520k%2520(https%253A%252F%252F192.168.0.11%253A8443%252Fangular-sanitize%252Fangular-sanitize.min.js%253A6%253A259)%250A%2520%2520%2520%2520at%2520new%2520%253Canonymous%253E%2520(https%253A%252F%252F192.168.0.11%253A8443%252Fangular-sanitize%252Fangular-sanitize.min.js%253A12%253A3)%250A%2520%2520%2520%2520at%2520Object.instantiate%2520(https%253A%252F%252F192.168.0.11%253A8443%252Fangular%252Fangular.min.js%253A45%253A163)%250A%2520%2520%2520%2520at%2520c%2520(https%253A%252F%252F192.168.0.11%253A8443%252Fangular%252Fangular.min.js%253A42%253A55)%250A%2520%2520%2520%2520at%2520Object.provider%2520(https%253A%252F%252F192.168.0.11%253A8443%252Fangular%252Fangular.min.js%253A41%253A502)%250A%2520%2520%2520%2520at%2520d%2520(https%253A%252F%252F192.168.0.11%253A8443%252Fangular%252Fangular.min.js%253A42%253A443)%250A%2520%2520%2520%2520at%2520https%253A%252F%252F192.168.0.11%253A8443%252Fangular%252Fangular.min.js%253A43%253A63%250A%2520%2520%2520%2520at%2520r%2520(https%253A%252F%252F192.168.0.11%253A8443%252Fangular%252Fangular.min.js%253A8%253A76)%250A%2520%2520%2520%2520at%2520g%2520(https%253A%252F%252F192.168.0.11%253A8443%252Fangular%252Fangular.min.js%253A42%253A344)%250A%2520%2520%2520%2520at%2520https%253A%252F%252F192.168.0.11%253A8443%252Fangular%252Fangular.min.js%253A43%253A27%0A%20%20%20%20at%20https%3A%2F%2F192.168.0.11%3A8443%2Fangular%2Fangular.min.js%3A7%3A168%0A%20%20%20%20at%20https%3A%2F%2F192.168.0.11%3A8443%2Fangular%2Fangular.min.js%3A43%3A285%0A%20%20%20%20at%20r%20(https%3A%2F%2F192.168.0.11%3A8443%2Fangular%2Fangular.min.js%3A8%3A76)%0A%20%20%20%20at%20g%20(https%3A%2F%2F192.168.0.11%3A8443%2Fangular%2Fangular.min.js%3A42%3A344)%0A%20%20%20%20at%20https%3A%2F%2F192.168.0.11%3A8443%2Fangular%2Fangular.min.js%3A43%3A27%0A%20%20%20%20at%20r%20(https%3A%2F%2F192.168.0.11%3A8443%2Fangular%2Fangular.min.js%3A8%3A76)%0A%20%20%20%20at%20g%20(https%3A%2F%2F192.168.0.11%3A8443%2Fangular%2Fangular.min.js%3A42%3A344)%0A%20%20%20%20at%20fb%20(https%3A%2F%2F192.168.0.11%3A8443%2Fangular%2Fangular.min.js%3A46%3A460)%0A%20%20%20%20at%20c%20(https%3A%2F%2F192.168.0.11%3A8443%2Fangular%2Fangular.min.js%3A22%3A57)%0A%20%20%20%20at%20Uc%20(https%3A%2F%2F192.168.0.11%3A8443%2Fangular%2Fangular.min.js%3A22%3A370)
    at angular.js:99
    at angular.js:5062
    at r (angular.js:387)
    at g (angular.js:5022)
    at fb (angular.js:4939)
    at c (angular.js:1962)
    at Uc (angular.js:1983)
    at Ae (angular.js:1868)
    at HTMLDocument.<anonymous> (angular.js:36426)
    at j (jquery-2.1.4.min.js:2)
:8443/favicon.ico:1 Failed to load resource: the server responded with a status of 404 (Not Found)