WebUI all buttons don't work

My WebUI doesn’t react do nothing. No Button is working. I resetted and updated it with the scripts. No Change! Please Help!

There is a good chance this is the same issue as here.

The issue being that a recent change in the JSON downloaded for the Mianite profile is causing an exception.

However, it might not be. Here’s what you need to do:

  1. provide any information about how I can reproduce this issue
  2. provide any information about what kind of system you have set up
  3. let me know what commit you’re running

commit ab13105f90e07c94f1d954fd07afba8a07126ca4

I set up turnkey linux on an older pc. it worked perfectly until the 18.8.
Here’s my mineos.log: http://pastebin.com/Aw1CKRRV

dear aphi,

please read this and update to commit 37e4a9dce2fad1c00bc4e162dffebf27d8744839 to see if this resolves your issue:

thanks,

tNt

How to restart the webui service?

I found this in the mineos.log

“stack”:[“TypeError: Cannot read property ‘match’ of undefined”," at Request.handle_reply [as _callback] (/usr/games/minecraft/server.js:1572:42)"," at Request.self.callback (/usr/games/minecraft/node_modules/request/request.js:198:22)"," at emitTwo (events.js:87:13)"," at Request.emit (events.js:172:7)"," at Request. (/usr/games/minecraft/node_modules/request/request.js:1035:10)"," at emitOne (events.js:82:20)"," at Request.emit (events.js:169:7)"," at IncomingMessage. (/usr/games/minecraft/node_modules/request/request.js:962:12)"," at emitNone (events.js:72:20)"," at IncomingMessage.emit (events.js:166:7)"],“level”:“error”,“message”:“uncaughtException: Cannot read property ‘match’ of undefined”,“timestamp”:“2016-08-19T09:12:29.844Z”}

please follow the instructions here:

https://minecraft.codeemo.com/mineoswiki/index.php?title=Updating_the_Webui

please report back what happens after you upgrade MineOS, thanks

best regards,

tNt

This is the output:

`Script execution started on: Sat Aug 20 09:43:13 UTC 2016
Updating mineos-node repository…remote: Counting objects: 3, done.
remote: Compressing objects: 100% (1/1), done.
remote: Total 3 (delta 2), reused 3 (delta 2), pack-reused 0
Unpacking objects: 100% (3/3), done.
From https://github.com/hexparrot/mineos-node
ab13105…37e4a9d master -> origin/master

  • [new tag] v1.1.6 -> v1.1.6
    OK
    Pulling master branch…From https://github.com/hexparrot/mineos-node
  • branch master -> FETCH_HEAD
    OK
    Updating npm dependencies…OK
    Setting node javascript files to executable…OK
    Script execution ended on: Sat Aug 20 09:43:37 UTC 2016
    `

looking good so far…

No change. The WebUI loads the CPU balancing a few seconds and then- stops- the time field also stops. Then nothing works again.

while i am there, after the npm install command, i usually run:

apt-get update
reboot

then see of every thing works better.

Good Luck!

tNt

systemctl restart mineos (as root)

More common now is supervisorctl restart mineos

Supervisor is now the preferred system since it seems to operate unilaterally on all distros and is now instructed on most (if not all) MineOS installation wikipages.

Really? Supervisor can even control systemd services?
I can see Supervisor only on the page which treats older versions of Ubuntu/Debian and FreeBSD.
All the other pages use systemd and I never heard of Supervisor before :thinking:

No, you’re right; I need to update all these wiki pages. There’s nothing wrong with systemd except the fact that it just simply isn’t available on all systems, as supervisord is. Ubuntu/Debian/FreeBSD are by far the mot popular distros, so I suppose I fell behind in leaving the pacman and yum pages left unchanged.

supervisord isn’t going to be controlling or replacing systemd except in the single instance of MineOS, where it would be spawned and kept alive by supervisord. Existing installations can by all means continue to use the systemd they have–forever.

1 Like

I see, thanks for the clarification.