Profiles not updating

Did you do all three parts?

   git fetch
   git merge origin/master
   npm install

did you restart MineOS after updating?

service mineos stop
service mineos start

Restarting MineOS this way do not restart your Minecraft Servers.

I get unrecognized server if I run service mineos stop

Try:

supervisorctl start mineos 
supervisorctl stop mineos

I’m using a different path of MineOS’ing: I installed Ubuntu server, then added MineOS on top, instead of using the preconfigured ISO’s, so some commands are different for me.

(Or if you have no Minecraft servers running, or clients connected you couls simply reboot the entire computer:

as root:  
reboot now

)

the supervisor worked,I seem to be having trouble with Java now,I do javac -version and get command not found

_ use to use these commands they don’t work on this version

add-apt-repository ppa:webupd8team/java
apt-get update
apt-get install oracle-java8-installer
apt-get install oracle-java8-set-default

_

I think I just found it

echo “deb Index of /webupd8team/java/ubuntu xenial main” | tee /etc/apt/sources.list.d/webupd8team-java.list
echo “deb-src Index of /webupd8team/java/ubuntu xenial main” | tee -a /etc/apt/sources.list.d/webupd8team-java.list
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
apt-get update
apt-get install oracle-java8-installer
exit

We have now moved from a MineOS issue (MineOS version to old) to a linux os (Turnkey issue).

first off:
usually I use “java -version” and not “javac -version”. Hexparrot wrote a bit about that (and expected versions) here: Servers won’t start after Java 7 to 8 Upgrade

User tNt alsowrote about java updating in Hexparrot megathread : Megathread for MineOS webui issues

servers are starting now that I have java 8 installed

1 Like

after a reboot of MineOS now I can’t start or stop any servers, the main reason I started this whole thing

What do the logs say?

when server start no errors, they are running now, but I can’t stop them

In the Web Ui, at the “logs” section, at the bottom, you can write in minecraft system commands. if you write in the command “stop” it’ll do the same thing as the button, but directly on the server.

If I could use console I would be in heaven but that don’t work, nothing works,I can’t create servers from import, drop down boxes will not drop. Stop and Start buttons do nothing, if I choose to kill server still will not do stop server.

I’m running
Linux core 3.2.0-4-amd64 #1 SMP Debian 3.2.93-1 x86_64
Welcome to Core, TurnKey Linux 13.0 / Debian 7.11 Wheezy

with Java 8 b151 and nothing works anymore

since WebUI don’t work on my server is there another way to do the same thing, via putty or another interface

Console should be the console separate from MineOS and the webui. You’d console by either being at the keyboard of the physical machine, or you could get a virtual terminal by using something like PuTTy.

The error with “nothing working” probably indicates there were errors in the npm install (the required step in updating nodejs dependencies) but perhaps you overlooked them?

The logs we’re looking for are in /var/log/mineos.log, which–again–should be accessible even if MineOS is completely inaccessible.

So to reiterate:

  1. you need to get yourself access to the command prompt, the Linux Terminal.
  2. we need to confirm you actually ran npm install, which is the most likely place where these failures are happening.
  3. we want to look at /var/log/mineos.log. You can access this file via a file browser like Filezilla or WinSCP–mineos being down won’t affect this.

The Minecraft server console is what don’t work. I have access to my Linux terminal, here is the bottom half of the log, even thou the server is a few hours old it is too long to paste https://pastebin.com/6VZWnwGu
MineOS is running just can’t control anything via WebUI

In that log, I see the word ‘error’ show up 1572 times.

About 90% or more of them revolve around the server named ‘bungee’. I recommend you archive that server, back up the archive somewhere outside of the /var/games/minecraft directory tree, and delete the server from:

/var/games/minecraft/servers/bungee

You can, as I see, easily restore that server using the /var/games/minecraft/import directory and corresponding import button in the webui (when it’s restored).

Secondly, at the end of your log, I see that it’s trying to start all the servers because they’re auto-started. I also see that that followed your updating of the webui (meaning you ran the update while all servers were up).

Of course, you didn’t have the webui to shut them down, but you can also shut them down in the following ways, in the future:

cd /usr/games/minecraft; nodejs mineos_console.js -s bungee kill
cd /usr/games/minecraft; nodejs mineos_console.js -s Faction stop

Alternatively, using screen:

su - mc    (log in as mc user)
screen -r mc-Faction
stop

Alternatively, simply restarting the host Linux system.

I’d recommend you (optionally) stop the servers, but definitely restart your system. According to the logs, your most recent webui startup is done while all the servers were up, and–while this doesn’t normally cause issues–you’re also having abnormal issues, so it’s good to start from a nice, clean space.

1 Like

well after stooping all the servers took many attempts since when I stopped them they wanted to start themselves back up on their own. I updated WebUI and now I can see all the servers, just can’t make a archive or a backup, so I refreshed the browser and now all my servers are running again and I didn’t tell them to start. If was to restart MineOS still have same issue, my guess is I got a bad ISO download or got the wrong ISO. I was just trying to fix this issue with WebUI and made things worse. In the past I would just re-install newer OS to make things work better. Not this time.

If the ISO where bad, you would most likely not have gotten int installed.

It is probably something else.

In each server directory there is a server.config file. It is written in plain text, and you can edit it. If you edit each file to disable autostart, your servers should not start at startup.

Do that, then do a hard reboot (run reboot as root). You MineOS should then start up without any servers started. Then start one server at a time until you run into problems. Then you know which minecraft server is bugging out MineOS.

Not able to backup or archive? It also sounds like you may have a rights-problem.

well I downloaded the ISO again and burned another disk, stuck on restoring SQL can’t seem to find the correct command line to restore

I got it to work, but it was working glitchy, one of my server went down and I can’t bring it back up cause it keeps asking me for what version of spigot I’m running I set it and then it ask again in a pop up window but there are no choices, I refresh the browser and the loop starts all over. Also it shows 7 servers in list and it says I have 9 servers running. well I have 10 servers and right now only 9 are running and I can’t see the one that is down anymore