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)

Hi, i’m having a similar issue. I installed a fresh version on a lubuntu system using the installer script found on the wiki page. https://minecraft.codeemo.com/mineoswiki/index.php?title=MineOS-node_(apt-get) so i do not have any servers.

the error i get in the web browser console is almost the same independently from the user i am logged with

Just as with the original person, can you share /var/log/mineos.log?

Most likely cause: npm didn’t build all the modules it required, and so the webui doesn’t operate as expected.

Hey I just updated the webui and I’m having the same issue.

Edit: I have gone through the steps you took with the previous person and I looked at my browser web console and this is what was there.

Error: [$injector:modulerr] [http://errors.angularjs.org/1.7.9/$injector/modulerr?p0=mine…%2Fassets%2Fjquery%2Fjs%2Fjquery-2.1.4.min.js%3A2%3A29723%0A](http://errors.angularjs.org/1.7.9/$injector/modulerr?p0=mineos&p1=%5B%24injector%3Amodulerr%5D%20http%3A%2F%2Ferrors.angularjs.org%2F1.7.9%2F%24injector%2Fmodulerr%3Fp0%3DngSanitize%26p1%3Dq%2520is%2520not%2520a%2520function%250Ak%2540https%253A%252F%252F192.168.1.27%253A8443%252Fangular-sanitize%252Fangular-sanitize.min.js%253A6%253A259%250A%2540https%253A%252F%252F192.168.1.27%253A8443%252Fangular-sanitize%252Fangular-sanitize.min.js%253A12%253A4%250Ainstantiate%2540https%253A%252F%252F192.168.1.27%253A8443%252Fangular%252Fangular.min.js%253A45%253A163%250Ac%2540https%253A%252F%252F192.168.1.27%253A8443%252Fangular%252Fangular.min.js%253A42%253A55%250Ad%252F%253C%2540https%253A%252F%252F192.168.1.27%253A8443%252Fangular%252Fangular.min.js%253A41%253A502%250Ad%2540https%253A%252F%252F192.168.1.27%253A8443%252Fangular%252Fangular.min.js%253A42%253A443%250Ag%252F%253C%2540https%253A%252F%252F192.168.1.27%253A8443%252Fangular%252Fangular.min.js%253A43%253A63%250Ar%2540https%253A%252F%252F192.168.1.27%253A8443%252Fangular%252Fangular.min.js%253A8%253A76%250Ag%2540https%253A%252F%252F192.168.1.27%253A8443%252Fangular%252Fangular.min.js%253A42%253A345%250Ag%252F%253C%2540https%253A%252F%252F192.168.1.27%253A8443%252Fangular%252Fangular.min.js%253A43%253A27%250Ar%2540https%253A%252F%252F192.168.1.27%253A8443%252Fangular%252Fangular.min.js%253A8%253A76%250Ag%2540https%253A%252F%252F192.168.1.27%253A8443%252Fangular%252Fangular.min.js%253A42%253A345%250Afb%2540https%253A%252F%252F192.168.1.27%253A8443%252Fangular%252Fangular.min.js%253A46%253A461%250Ac%2540https%253A%252F%252F192.168.1.27%253A8443%252Fangular%252Fangular.min.js%253A22%253A57%250AUc%2540https%253A%252F%252F192.168.1.27%253A8443%252Fangular%252Fangular.min.js%253A22%253A370%250AAe%2540https%253A%252F%252F192.168.1.27%253A8443%252Fangular%252Fangular.min.js%253A21%253A45%250A%2540https%253A%252F%252F192.168.1.27%253A8443%252Fangular%252Fangular.min.js%253A348%253A496%250Aj%2540https%253A%252F%252F192.168.1.27%253A8443%252Fadmin%252Fassets%252Fjquery%252Fjs%252Fjquery-2.1.4.min.js%253A2%253A26925%250AfireWith%2540https%253A%252F%252F192.168.1.27%253A8443%252Fadmin%252Fassets%252Fjquery%252Fjs%252Fjquery-2.1.4.min.js%253A2%253A27738%250Aready%2540https%253A%252F%252F192.168.1.27%253A8443%252Fadmin%252Fassets%252Fjquery%252Fjs%252Fjquery-2.1.4.min.js%253A2%253A29532%250AI%2540https%253A%252F%252F192.168.1.27%253A8443%252Fadmin%252Fassets%252Fjquery%252Fjs%252Fjquery-2.1.4.min.js%253A2%253A29723%250A%0AF%2F%3C%40https%3A%2F%2F192.168.1.27%3A8443%2Fangular%2Fangular.min.js%3A7%3A168%0Ag%2F%3C%40https%3A%2F%2F192.168.1.27%3A8443%2Fangular%2Fangular.min.js%3A43%3A285%0Ar%40https%3A%2F%2F192.168.1.27%3A8443%2Fangular%2Fangular.min.js%3A8%3A76%0Ag%40https%3A%2F%2F192.168.1.27%3A8443%2Fangular%2Fangular.min.js%3A42%3A345%0Ag%2F%3C%40https%3A%2F%2F192.168.1.27%3A8443%2Fangular%2Fangular.min.js%3A43%3A27%0Ar%40https%3A%2F%2F192.168.1.27%3A8443%2Fangular%2Fangular.min.js%3A8%3A76%0Ag%40https%3A%2F%2F192.168.1.27%3A8443%2Fangular%2Fangular.min.js%3A42%3A345%0Afb%40https%3A%2F%2F192.168.1.27%3A8443%2Fangular%2Fangular.min.js%3A46%3A461%0Ac%40https%3A%2F%2F192.168.1.27%3A8443%2Fangular%2Fangular.min.js%3A22%3A57%0AUc%40https%3A%2F%2F192.168.1.27%3A8443%2Fangular%2Fangular.min.js%3A22%3A370%0AAe%40https%3A%2F%2F192.168.1.27%3A8443%2Fangular%2Fangular.min.js%3A21%3A45%0A%40https%3A%2F%2F192.168.1.27%3A8443%2Fangular%2Fangular.min.js%3A348%3A496%0Aj%40https%3A%2F%2F192.168.1.27%3A8443%2Fadmin%2Fassets%2Fjquery%2Fjs%2Fjquery-2.1.4.min.js%3A2%3A26925%0AfireWith%40https%3A%2F%2F192.168.1.27%3A8443%2Fadmin%2Fassets%2Fjquery%2Fjs%2Fjquery-2.1.4.min.js%3A2%3A27738%0Aready%40https%3A%2F%2F192.168.1.27%3A8443%2Fadmin%2Fassets%2Fjquery%2Fjs%2Fjquery-2.1.4.min.js%3A2%3A29532%0AI%40https%3A%2F%2F192.168.1.27%3A8443%2Fadmin%2Fassets%2Fjquery%2Fjs%2Fjquery-2.1.4.min.js%3A2%3A29723%0A) [angular.js:99](https://192.168.1.27:8443/angular/angular.js)

Angular 9

jQuery 4

I’m guessing one of the webui components didn’t build. This information is in /var/log/mineos.log

I did a clean install of mineos and restored my server from and archive. Everything is working now.