I cant start my vanilla server 2

Well, I run the reset scripts as instructed and this is the outcome:

{“level”:“info”,“message”:“Starting up server, using commit: 0e45be7 disabled mcquery on phar servers\n”,“timestamp”:“2020-06-25T14:02:59.000Z”}
{“level”:“info”,“message”:"[WEBUI] mc connected from 192.168.1.10",“timestamp”:“2020-06-25T14:03:27.966Z”}
{“level”:“info”,“message”:"[WEBUI] Downloading official profiles.",“timestamp”:“2020-06-25T14:03:28.560Z”}
{“command”:“create”,“server_name”:“world”,“properties”:{“generate-structures”:true,“max-players”:“4”,“difficulty”:“0”,“gamemode”:“1”},“level”:“info”,“message”:"[WEBUI] Received emit command from 192.168.1.10:mc",“timestamp”:“2020-06-25T14:03:39.968Z”}
{“level”:“info”,“message”:"[world] Discovered server",“timestamp”:“2020-06-25T14:03:39.990Z”}
{“level”:“error”,“message”:"[world] Create tail on logs/latest.log failed",“timestamp”:“2020-06-25T14:03:40.032Z”}
{“level”:“info”,“message”:"[world] Watching for file generation: logs/latest.log",“timestamp”:“2020-06-25T14:03:40.032Z”}
{“level”:“error”,“message”:"[world] Create tail on server.log failed",“timestamp”:“2020-06-25T14:03:40.033Z”}
{“level”:“info”,“message”:"[world] Watching for file generation: server.log",“timestamp”:“2020-06-25T14:03:40.033Z”}
{“level”:“error”,“message”:"[world] Create tail on proxy.log.0 failed",“timestamp”:“2020-06-25T14:03:40.034Z”}
{“level”:“info”,“message”:"[world] Watching for file generation: proxy.log.0",“timestamp”:“2020-06-25T14:03:40.034Z”}
{“level”:“info”,“message”:"[world] mc (192.168.1.10) joined server namespace",“timestamp”:“2020-06-25T14:03:40.231Z”}
{“level”:“info”,“message”:"[world] Server created in filesystem.",“timestamp”:“2020-06-25T14:03:40.459Z”}
{“profile”:{“id”:“1.12.2”,“time”:“2019-06-28T07:05:57+00:00”,“releaseTime”:“2017-09-18T08:39:46+00:00”,“type”:“release”,“group”:“mojang”,“webui_desc”:“Official Mojang Jar”,“weight”:0,“downloaded”:false,“filename”:“minecraft_server.1.12.2.jar”,“version”:“1.12.2”,“release_version”:“1.12.2”,“url”:"(I cannot post this link) Received emit command from 192.168.1.10:mc",“timestamp”:“2020-06-25T14:03:49.068Z”}
{“level”:“info”,“message”:"[WEBUI] Downloading official profiles.",“timestamp”:“2020-06-25T14:04:00.146Z”}
{“level”:“info”,“message”:"[world] 192.168.1.10 issued command : “modify_sc”",“timestamp”:“2020-06-25T14:04:04.162Z”}
{“level”:“info”,“message”:"[world] received request “modify_sc”",“timestamp”:“2020-06-25T14:04:04.298Z”}
{“level”:“info”,“message”:"[world] 192.168.1.10 issued command : “modify_sc”",“timestamp”:“2020-06-25T14:04:05.670Z”}
{“level”:“info”,“message”:"[world] received request “modify_sc”",“timestamp”:“2020-06-25T14:04:05.671Z”}
{“level”:“info”,“message”:"[world] 192.168.1.10 issued command : “modify_sc”",“timestamp”:“2020-06-25T14:04:07.783Z”}
{“level”:“info”,“message”:"[world] received request “modify_sc”",“timestamp”:“2020-06-25T14:04:07.783Z”}
{“level”:“info”,“message”:"[world] 192.168.1.10 issued command : “accept_eula”",“timestamp”:“2020-06-25T14:04:10.218Z”}
{“level”:“info”,“message”:"[world] received request “accept_eula”",“timestamp”:“2020-06-25T14:04:10.219Z”}
{“level”:“info”,“message”:"[world] eula.txt detected: ACCEPTED (eula=true)",“timestamp”:“2020-06-25T14:04:10.674Z”}
{“level”:“info”,“message”:"[world] 192.168.1.10 issued command : “accept_eula”",“timestamp”:“2020-06-25T14:04:10.858Z”}
{“level”:“info”,“message”:"[world] received request “accept_eula”",“timestamp”:“2020-06-25T14:04:10.859Z”}
{“level”:“info”,“message”:"[world] 192.168.1.10 issued command : “accept_eula”",“timestamp”:“2020-06-25T14:04:11.018Z”}
{“level”:“info”,“message”:"[world] received request “accept_eula”",“timestamp”:“2020-06-25T14:04:11.018Z”}
{“level”:“info”,“message”:"[world] eula.txt detected: ACCEPTED (eula=true)",“timestamp”:“2020-06-25T14:04:11.110Z”}
{“level”:“info”,“message”:"[world] 192.168.1.10 issued command : “accept_eula”",“timestamp”:“2020-06-25T14:04:11.154Z”}
{“level”:“info”,“message”:"[world] received request “accept_eula”",“timestamp”:“2020-06-25T14:04:11.154Z”}
{“level”:“info”,“message”:"[world] 192.168.1.10 issued command : “accept_eula”",“timestamp”:“2020-06-25T14:04:11.320Z”}
{“level”:“info”,“message”:"[world] received request “accept_eula”",“timestamp”:“2020-06-25T14:04:11.321Z”}
{“level”:“info”,“message”:"[world] 192.168.1.10 issued command : “accept_eula”",“timestamp”:“2020-06-25T14:04:11.458Z”}
{“level”:“info”,“message”:"[world] received request “accept_eula”",“timestamp”:“2020-06-25T14:04:11.458Z”}
{“level”:“info”,“message”:"[world] 192.168.1.10 issued command : “accept_eula”",“timestamp”:“2020-06-25T14:04:11.602Z”}
{“level”:“info”,“message”:"[world] received request “accept_eula”",“timestamp”:“2020-06-25T14:04:11.602Z”}
{“level”:“info”,“message”:"[world] 192.168.1.10 issued command : “start”",“timestamp”:“2020-06-25T14:04:12.242Z”}
{“level”:“info”,“message”:"[world] received request “start”",“timestamp”:“2020-06-25T14:04:12.243Z”}
{“level”:“info”,“message”:"[world] eula.txt detected: ACCEPTED (eula=true)",“timestamp”:“2020-06-25T14:04:12.977Z”}
{“level”:“info”,“message”:"[world] Discovered server",“timestamp”:“2020-06-25T14:11:14.061Z”}
{“level”:“error”,“message”:"[world] Create tail on logs/latest.log failed",“timestamp”:“2020-06-25T14:11:14.087Z”}
{“level”:“info”,“message”:"[world] Watching for file generation: logs/latest.log",“timestamp”:“2020-06-25T14:11:14.088Z”}
{“level”:“error”,“message”:"[world] Create tail on server.log failed",“timestamp”:“2020-06-25T14:11:14.392Z”}
{“level”:“info”,“message”:"[world] Watching for file generation: server.log",“timestamp”:“2020-06-25T14:11:14.392Z”}
{“level”:“error”,“message”:"[world] Create tail on proxy.log.0 failed",“timestamp”:“2020-06-25T14:11:14.393Z”}
{“level”:“info”,“message”:"[world] Watching for file generation: proxy.log.0",“timestamp”:“2020-06-25T14:11:14.393Z”}
{“level”:“error”,“message”:"[world] Create tail on logs/fml-server-latest.log failed",“timestamp”:“2020-06-25T14:11:14.394Z”}
{“level”:“info”,“message”:"[world] Watching for file generation: logs/fml-server-latest.log",“timestamp”:“2020-06-25T14:11:14.394Z”}
{“level”:“info”,“message”:"[world] Using skipDirEntryPatterns: world,world_the_end,world_nether,dynmap,plugins,web,region,playerdata,stats,data",“timestamp”:“2020-06-25T14:11:14.395Z”}
{“level”:“info”,“message”:"[world] eula.txt detected: ACCEPTED (eula=true)",“timestamp”:“2020-06-25T14:11:16.188Z”}
{“level”:“info”,“message”:“Starting up server, using commit: 4470b92 corrected -d base_dir not being extracted properly\n”,“timestamp”:“2020-06-25T14:11:16.281Z”}
{“level”:“info”,“message”:"[world] autostart = true",“timestamp”:“2020-06-25T14:11:19.569Z”}
{“level”:“info”,“message”:"[world] Server started. Waiting 10000 ms…",“timestamp”:“2020-06-25T14:11:20.059Z”}
{“level”:“info”,“message”:"[world] Discovered server",“timestamp”:“2020-06-26T11:03:02.012Z”}
{“level”:“error”,“message”:"[world] Create tail on logs/latest.log failed",“timestamp”:“2020-06-26T11:03:02.061Z”}
{“level”:“info”,“message”:"[world] Watching for file generation: logs/latest.log",“timestamp”:“2020-06-26T11:03:02.062Z”}
{“level”:“error”,“message”:"[world] Create tail on server.log failed",“timestamp”:“2020-06-26T11:03:02.366Z”}
{“level”:“info”,“message”:"[world] Watching for file generation: server.log",“timestamp”:“2020-06-26T11:03:02.366Z”}
{“level”:“error”,“message”:"[world] Create tail on proxy.log.0 failed",“timestamp”:“2020-06-26T11:03:02.367Z”}
{“level”:“info”,“message”:"[world] Watching for file generation: proxy.log.0",“timestamp”:“2020-06-26T11:03:02.367Z”}
{“level”:“error”,“message”:"[world] Create tail on logs/fml-server-latest.log failed",“timestamp”:“2020-06-26T11:03:02.368Z”}
{“level”:“info”,“message”:"[world] Watching for file generation: logs/fml-server-latest.log",“timestamp”:“2020-06-26T11:03:02.368Z”}
{“level”:“info”,“message”:"[world] Using skipDirEntryPatterns: world,world_the_end,world_nether,dynmap,plugins,web,region,playerdata,stats,data",“timestamp”:“2020-06-26T11:03:02.369Z”}
{“level”:“info”,“message”:"[world] eula.txt detected: ACCEPTED (eula=true)",“timestamp”:“2020-06-26T11:03:04.242Z”}
{“level”:“info”,“message”:“Starting up server, using commit: 4470b92 corrected -d base_dir not being extracted properly\n”,“timestamp”:“2020-06-26T11:03:04.356Z”}
{“level”:“info”,“message”:"[world] autostart = true",“timestamp”:“2020-06-26T11:03:07.498Z”}
{“level”:“info”,“message”:"[world] Server started. Waiting 10000 ms…",“timestamp”:“2020-06-26T11:03:08.001Z”}
{“level”:“info”,“message”:"[world] Discovered server",“timestamp”:“2020-06-26T11:06:43.425Z”}
{“level”:“error”,“message”:"[world] Create tail on logs/latest.log failed",“timestamp”:“2020-06-26T11:06:43.429Z”}
{“level”:“info”,“message”:"[world] Watching for file generation: logs/latest.log",“timestamp”:“2020-06-26T11:06:43.429Z”}
{“level”:“error”,“message”:"[world] Create tail on server.log failed",“timestamp”:“2020-06-26T11:06:43.453Z”}
{“level”:“info”,“message”:"[world] Watching for file generation: server.log",“timestamp”:“2020-06-26T11:06:43.453Z”}
{“level”:“error”,“message”:"[world] Create tail on proxy.log.0 failed",“timestamp”:“2020-06-26T11:06:43.454Z”}
{“level”:“info”,“message”:"[world] Watching for file generation: proxy.log.0",“timestamp”:“2020-06-26T11:06:43.454Z”}
{“level”:“error”,“message”:"[world] Create tail on logs/fml-server-latest.log failed",“timestamp”:“2020-06-26T11:06:43.454Z”}
{“level”:“info”,“message”:"[world] Watching for file generation: logs/fml-server-latest.log",“timestamp”:“2020-06-26T11:06:43.454Z”}
{“level”:“info”,“message”:"[world] Using skipDirEntryPatterns: world,world_the_end,world_nether,dynmap,plugins,web,region,playerdata,stats,data",“timestamp”:“2020-06-26T11:06:43.455Z”}
{“level”:“info”,“message”:“Starting up server, using commit: 4470b92 corrected -d base_dir not being extracted properly\n”,“timestamp”:“2020-06-26T11:06:43.651Z”}
{“level”:“info”,“message”:"[world] eula.txt detected: ACCEPTED (eula=true)",“timestamp”:“2020-06-26T11:06:43.939Z”}
{“level”:“info”,“message”:"[world] autostart = true",“timestamp”:“2020-06-26T11:06:48.505Z”}
{“level”:“info”,“message”:"[world] Server started. Waiting 10000 ms…",“timestamp”:“2020-06-26T11:06:48.732Z”}
{“level”:“info”,“message”:"[world] Discovered server",“timestamp”:“2020-06-26T19:51:11.895Z”}
{“level”:“error”,“message”:"[world] Create tail on logs/latest.log failed",“timestamp”:“2020-06-26T19:51:11.946Z”}
{“level”:“info”,“message”:"[world] Watching for file generation: logs/latest.log",“timestamp”:“2020-06-26T19:51:11.946Z”}
{“level”:“error”,“message”:"[world] Create tail on server.log failed",“timestamp”:“2020-06-26T19:51:12.172Z”}
{“level”:“info”,“message”:"[world] Watching for file generation: server.log",“timestamp”:“2020-06-26T19:51:12.173Z”}
{“level”:“error”,“message”:"[world] Create tail on proxy.log.0 failed",“timestamp”:“2020-06-26T19:51:12.173Z”}
{“level”:“info”,“message”:"[world] Watching for file generation: proxy.log.0",“timestamp”:“2020-06-26T19:51:12.173Z”}
{“level”:“error”,“message”:"[world] Create tail on logs/fml-server-latest.log failed",“timestamp”:“2020-06-26T19:51:12.174Z”}
{“level”:“info”,“message”:"[world] Watching for file generation: logs/fml-server-latest.log",“timestamp”:“2020-06-26T19:51:12.174Z”}
{“level”:“info”,“message”:"[world] Using skipDirEntryPatterns: world,world_the_end,world_nether,dynmap,plugins,web,region,playerdata,stats,data",“timestamp”:“2020-06-26T19:51:12.175Z”}
{“level”:“info”,“message”:"[world] eula.txt detected: ACCEPTED (eula=true)",“timestamp”:“2020-06-26T19:51:15.310Z”}
{“level”:“info”,“message”:“Starting up server, using commit: 4470b92 corrected -d base_dir not being extracted properly\n”,“timestamp”:“2020-06-26T19:51:15.736Z”}
{“level”:“info”,“message”:"[world] autostart = true",“timestamp”:“2020-06-26T19:51:17.294Z”}
{“level”:“info”,“message”:"[world] Server started. Waiting 10000 ms…",“timestamp”:“2020-06-26T19:51:17.797Z”}
Script execution started on: Fri Jun 26 19:52:08 UTC 2020
Updating mineos-node repository…OK
Pulling master branch…Already up-to-date.
OK
Updating npm dependencies…OK
Setting node javascript files to executable…OK
Script execution ended on: Fri Jun 26 19:52:17 UTC 2020

Ok, then do this:

rm -rf /usr/games/minecraft/node_modules

and then update again.

It’s clear from the output that we’re not getting a reset, because the reset actually reports it’s resetting and deleting. Since I don’t see those words, I have to assume you’re still continuing to do update_webui.sh and not reset_webui.sh.

I’m not losing patience, but I’m worried you will start losing patience, but the things I’m asking of you aren’t being returned back, so I’m sorry if this is a cumbersome experience for you.

First of all, I would never lose patience, I am not that kind of person, I am not entitled to any of your time or knowledge so I am grateful for your help and support.

Secondly, I run the reset scripts and I’ve screenshot the whole process, here is the link to the pics:
https://drive.google.com/drive/folders/1wx97ErB4aClqb7xMNucvZYmb86rmHnZc?usp=sharing

I see immediately your system is reporting node 4.9.1.

From the instructions, it should’ve been node v10:

Note, I know that installing the new 10.x node uses apt-get install nodejs, but I’m not sure whether your 4.x would be removed with:

apt-get remove node
apt-get remove nodejs

Try the nodejs one and confirm your 4.x is removed. Then, install nodejs and rebuild the modules:

curl -sL https://deb.nodesource.com/setup_10.x | bash -
apt-get -y install nodejs
cd /usr/games/minecraft
rm -rf node_modules
npm install --unsafe-perm

Old version of node is all.

I type: apt-get remove node
and it says: Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package node
Should I continue?

Try this one. The key here is the 4.9 version of node must be gone.

It says:
root@core games/minecraft# apt-get remove nodejs
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following package was automatically installed and is no longer required:
rlwrap
Use ‘apt-get autoremove’ to remove it.
The following packages will be REMOVED:
nodejs
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 36.6 MB disk space will be freed.
Do you want to continue [Y/n]? y
[master cbd2e98] saving uncommitted changes in /etc prior to apt run
1 file changed, 1 insertion(+), 1 deletion(-)
rewrite webmin/system-status/info (100%)
(Reading database … 31443 files and directories currently installed.)
Removing nodejs …
Processing triggers for man-db …
[master 1eca2b3] committing changes in /etc after apt run
2 files changed, 2 deletions(-)
delete mode 120000 alternatives/nodejs
delete mode 120000 alternatives/nodejs.1.gz
Counting objects: 1202, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (732/732), done.
Writing objects: 100% (1202/1202), done.
Total 1202 (delta 65), reused 1192 (delta 60)

1 Like

Now you’re ready for this.

It didnt go so well:

root@core games/minecraft# curl -sL https://deb.nodesource.com/setup_10.x | bash -

Installing the NodeSource Node.js 10.x repo…

Populating apt-get cache…

Err http://cdn.debian.net wheezy/contrib amd64 Packages

Hit https://deb.nodesource.com wheezy/main Sources
Ign http://archive.turnkeylinux.org wheezy-security/main Translation-en
Err http://cdn.debian.net wheezy/main amd64 Packages
404 Not Found [IP: 2a04:4e42:4::204 80]
Err http://cdn.debian.net wheezy/contrib amd64 Packages
404 Not Found [IP: 2a04:4e42:4::204 80]
Ign http://archive.turnkeylinux.org wheezy/main Translation-en
Ign http://cdn.debian.net wheezy/contrib Translation-en
Ign http://cdn.debian.net wheezy/main Translation-en
Hit https://deb.nodesource.com wheezy/main amd64 Packages
Ign https://deb.nodesource.com wheezy/main Translation-en
W: Failed to fetch http://security.debian.org/dists/wheezy/updates/main/binary-amd64/Packages 404 Not Found [IP: 2a04:4e42:c00::204 80]

W: Failed to fetch http://security.debian.org/dists/wheezy/updates/contrib/binary-amd64/Packages 404 Not Found [IP: 2a04:4e42:c00::204 80]

W: Failed to fetch http://cdn.debian.net/debian/dists/wheezy/main/binary-amd64/Packages 404 Not Found [IP: 2a04:4e42:4::204 80]

W: Failed to fetch http://cdn.debian.net/debian/dists/wheezy/contrib/binary-amd64/Packages 404 Not Found [IP: 2a04:4e42:4::204 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.
Error executing command, exiting

From NodeJS website where we get the binaries from:

Supported Debian versions:

NodeSource will maintain support for stable, testing and unstable releases of Debian, due to the long release cycle a considerable number of users are running unstable.

  • Debian 8 / oldoldstable (Jessie)
  • Debian 9 / oldstable (Stretch)
  • Debian 10 / stable (Buster)
  • Debian unstable (Sid)

You’re on 7, right? Is this a new install of Debian? Was this MineOS Turnkey or a different Turnkey release?

This is debian 7 and this is not the recommended mineos iso, it is an older version I found on the website

I think we’ve run into a real hard stop, here.

NodeJS 10 is modern and required, but your underlying OS cannot run NodeJS 10.

It’s quite possible to upgrade from Debian 7 and beyond, but doing so requires probably a lot more work than its worth, compared to just installing a newer version of Debian right from the get-go.

1 Like

After I install debia 9, do I need any more software and if yes which one?

After you install Debian 9, you’d follow the wiki:

https://minecraft.codeemo.com/mineoswiki/index.php?title=MineOS-node_(apt-get)

Thank you, I will do that first thing in the morning.
Goodnight!

1 Like

What am I doing wrong?

https://drive.google.com/file/d/16BOO-0JIkzmu7cZGfDn9m4hcp6X7G72R/view?usp=sharing

Looks like you need to install curl and git

Use apt-get -y install curl git

thanks man, it worked!!
But after I type ‘‘npm install --unsafe-perm’’ it says ‘’-su: npm: command not found’’

Does your account have sudo privileges? I use that moreover than su?
If you already logged into su with the root password, then root won’t need su

I havent logged in with my root account, I will try that.
Also, do I need to start again or from the place I got the error?