No profiles in MineOS WebUI

No Profiles Are Available; Check Internet Connectivity And Refresh The Profile List.” I get this message on the webui in the profiles tab.

Also the web ui isn’t displaying any kind of stats in the overview page
Processing: image.png…

Running on Ubuntu 20.04 LTS

root@mcserver-Inspiron3670:/usr/games/minecraft# node -v 
v14.19.1
root@mcserver-Inspiron3670:/usr/games/minecraft# java -version
openjdk version "16.0.1" 2021-04-20
OpenJDK Runtime Enviornment AdoptOpenJDK-16.0.1+9 (build 16.0.1+9)
OpenJDK 64-Bit Server VM AdoptOpenJDK-16.0.1+9 (build 16.0.1+9, mixed mode, sharing)
root@mcserver-Inspiron-3670:/usr/games/minecraft# ls -la /var/games/minecraft/*
/var/games/minecraft/archive:
total 8
drwxrwxr-x 2 root root 4096 Mar 29 14:22 .
drwxrwxrwx 7 root root 4096 Mar 29 14:22 ..

/var/games/minecraft/backup:
total 8
drwxrwxr-x 2 root root 4096 Mar 29 14:22 .
drwxrwxrwx 7 root root 4096 Mar 29 14:22 ..

/var/games/minecraft/import:
total 8
drwxrwxrwx 2 root root 4096 Mar 29 14:22 .
drwxrwxrwx 7 root root 4096 Mar 29 14:22 ..

/var/games/minecraft/profiles:
total 8
drwxrwxr-x 2 root root 4096 Mar 29 14:22 .
drwxrwxrwx 7 root root 4096 Mar 29 14:22 ..

/var/games/minecraft/servers:
total 8
drwxrwxr-x 2 root root 4096 Mar 29 14:22 .
drwxrwxrwx 7 root root 4096 Mar 29 14:22 ..
root@mcserver-Inspiron-3670:/# ps -aux | grep node
root       13442  0.0  0.0   8908   712 pts/0    S+   13:26   0:00 grep --color=auto node
nano /var/log/mineos.log

{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>
{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>
{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>
{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>
{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>
{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>
{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>
{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>
{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>
{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>
{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>
{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>
Script execution started on: Wed 30 Mar 2022 12:43:08 PM PDT
Updating mineos-node repository...OK
Pulling master branch...Already up to date.
OK
Updating npm dependencies...audited 581 packages in 1.778s

2 packages are looking for funding
  run `npm fund` for details{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>
{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>
{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>
{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>
{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>
{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>
{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>
{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>
{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>
{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>
{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>
{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>
Script execution started on: Wed 30 Mar 2022 12:43:08 PM PDT
Updating mineos-node repository...OK
Pulling master branch...Already up to date.
OK
Updating npm dependencies...audited 581 packages in 1.778s

2 packages are looking for funding
  run `npm fund` for details

found 47 vulnerabilities (8 low, 17 moderate, 20 high, 2 critical)
  run `npm audit fix` to fix them, or `npm audit` for details
OK
Setting node javascript files to executable...OK
Script execution ended on: Wed 30 Mar 2022 12:43:11 PM PDT
{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>
{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>




found 47 vulnerabilities (8 low, 17 moderate, 20 high, 2 critical)
  run `npm audit fix` to fix them, or `npm audit` fo{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>
{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>
{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>
{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>
{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>
{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>
{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>
{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>
{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>
{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>
{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>
{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>
Script execution started on: Wed 30 Mar 2022 12:43:08 PM PDT
Updating mineos-node repository...OK
Pulling master branch...Already up to date.
OK
Updating npm dependencies...audited 581 packages in 1.778s

2 packages are looking for funding
  run `npm fund` for details

found 47 vulnerabilities (8 low, 17 moderate, 20 high, 2 critical)
  run `npm audit fix` to fix them, or `npm audit` for details
OK
Setting node javascript files to executable...OK
Script execution ended on: Wed 30 Mar 2022 12:43:11 PM PDT
{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>
{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>


r details
OK
Setting node javascript files to executable...OK
Script execution ended on: Wed 30 Mar 2022 12:43:11 PM PDT
{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>
{"level":"info","message":"Starting up server, using commit: b6e0d1e Update rootless.md\n","t>

This is my first time using linux so bare with me as I will most likely ask a lot of questions or not not know what you are talking about. Thanks in advance to any and all that reply :smile: let me know if there is anything else that you need me to provide, hopefully i provided a good base of information that will prove useful.

I see a lot of startup attempts, and no logs indictating that any of the startup attempts succeeded.

  1. your ps -aux is showing that there is no webui running. Getting a page to show up must be in your web browser cache
  2. if the webui were running, I think we’d gelt more than just the first log the webui tries to print, so I think we start with manually starting the server.

From terminal, as root,

cd /usr/games/minecraft
killall webui.js
./webui.js

It should start the webui in the foreground. It should provide errors or feedback on what is happening here.

Sorry for the late reply

mcserver@mcserver-Inspiron-3670:~$ sudo -s
[sudo] password for mcserver: 
root@mcserver-Inspiron-3670:/home/mcserver# cd /usr/games/minecraft
root@mcserver-Inspiron-3670:/usr/games/minecraft# killall webui.js
webui.js: no process found
root@mcserver-Inspiron-3670:/usr/games/minecraft# ./webui.js
(node:11767) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
first mineos configuration identified as /etc/mineos.conf
using base_directory:  /var/games/minecraft
Uncaught Exception: Error: listen EADDRINUSE: address already in use 0.0.0.0:8443
Error: listen EADDRINUSE: address already in use 0.0.0.0:8443
    at Server.setupListenHandle [as _listen2] (net.js:1331:16)
    at listenInCluster (net.js:1379:12)
    at doListen (net.js:1516:7)
    at processTicksAndRejections (internal/process/task_queues.js:83:21)
About to exit with code 1
root@mcserver-Inspiron-3670:/usr/games/minecraft# 


</pre>

Looks like something is running on 8443.

Is it MineOS? Is it something else?

When I run the netstat command there doesn’t seem to be anything different to what you had in the thread you linked.


root@mcserver-Inspiron-3670:/usr/games/minecraft# netstat -tnl | grep 8443
tcp        0      0 0.0.0.0:8443            0.0.0.0:*               LISTEN  

Then I tried basically everything else in the thread

root@mcserver-Inspiron-3670:/usr/games/minecraft# curl -k -c cookie.txt -d "username=[blank for privacy purposes]" -d "password=[blank for privacy purposes]" https://172.27.0.65:8443/auth
Found. Redirecting to /admin/index.htmlroot@mcserver-Inspiron-3670:/usr/games/minecraft# ^C
root@mcserver-Inspiron-3670:/usr/games/minecraft# 

root@mcserver-Inspiron-3670:/usr/games/minecraft# systemctl status mineos
● mineos.service - Start MineOS minecraft front-end
     Loaded: loaded (/etc/systemd/system/mineos.service; enabled; vendor preset: enabled)
     Active: active (running) since Mon 2022-04-04 14:08:40 PDT; 3 days ago
   Main PID: 974 (mineos)
      Tasks: 11 (limit: 14061)
     Memory: 69.2M
     CGroup: /system.slice/mineos.service
             └─974 mineos

Apr 04 21:14:37 mcserver-Inspiron-3670 systemd[1]: /etc/systemd/system/mineos.service:13: PIDFile= referenc>
Apr 05 06:35:49 mcserver-Inspiron-3670 systemd[1]: /etc/systemd/system/mineos.service:13: PIDFile= referenc>
Apr 05 06:35:50 mcserver-Inspiron-3670 systemd[1]: /etc/systemd/system/mineos.service:13: PIDFile= referenc>
Apr 05 06:35:50 mcserver-Inspiron-3670 systemd[1]: /etc/systemd/system/mineos.service:13: PIDFile= referenc>
Apr 05 06:35:50 mcserver-Inspiron-3670 systemd[1]: /etc/systemd/system/mineos.service:13: PIDFile= referenc>
Apr 05 06:35:51 mcserver-Inspiron-3670 systemd[1]: /etc/systemd/system/mineos.service:13: PIDFile= referenc>
Apr 06 21:05:16 mcserver-Inspiron-3670 systemd[1]: /etc/systemd/system/mineos.service:13: PIDFile= referenc>
Apr 06 21:05:16 mcserver-Inspiron-3670 systemd[1]: /etc/systemd/system/mineos.service:13: PIDFile= referenc>
Apr 06 21:05:18 mcserver-Inspiron-3670 systemd[1]: /etc/systemd/system/mineos.service:13: PIDFile= referenc>
Apr 06 21:05:18 mcserver-Inspiron-3670 systemd[1]: /etc/systemd/system/mineos.service:13: PIDFile= referenc>
root@mcserver-Inspiron-3670:/usr/games/minecraft# git log -n 1 | grep commit
commit b6e0d1e3008232f23eb3f0cc9da5900c7ee6438a

root@mcserver-Inspiron-3670:/usr/games/minecraft# chown -R mc:mc /var/games/minecraft/servers/myserver
chown: invalid user: ‘mc:mc’
root@mcserver-Inspiron-3670:/usr/games/minecraft# chown -R mcserver:mcserver /var/games/minecraft/servers/myserver
chown: cannot access '/var/games/minecraft/servers/myserver': No such file or directory

This returned a lot, but this section seems to be similar to what is in the webui thread you linked

<pre>root@mcserver-Inspiron-3670:/usr/games/minecraft# curl -k -b cookie.txt https://172.27.0.65:8443/admin/indetxt https://172.27.0.65:8443/admin/index.html
&lt;!DOCTYPE html&gt;
&lt;html lang=&quot;en&quot;&gt;
&lt;head&gt;
&lt;meta charset=&quot;utf-8&quot;&gt;
&lt;title&gt;Error&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;pre&gt;Cannot GET /admin/indetxt&lt;/pre&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;!DOCTYPE html&gt;
&lt;!--[if lt IE 7]&gt;      &lt;html class=&quot;no-js lt-ie9 lt-ie8 lt-ie7&quot;&gt; &lt;![endif]--&gt;
&lt;!--[if IE 7]&gt;         &lt;html class=&quot;no-js lt-ie9 lt-ie8&quot;&gt; &lt;![endif]--&gt;
&lt;!--[if IE 8]&gt;         &lt;html class=&quot;no-js lt-ie9&quot;&gt; &lt;![endif]--&gt;
&lt;!--[if gt IE 8]&gt;&lt;!--&gt; &lt;html class=&quot;no-js&quot; ng-app=&quot;mineos&quot;&gt; &lt;!--&lt;![endif]--&gt;
</pre>
<pre>root@mcserver-Inspiron-3670:/usr/games/minecraft# iptables --list
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination </pre>