Hello everybody,
I have installed MineOS on a VPS i bought from OVH with CentOS 7.
I used the installer found at:
(wget friendly link)
https://gist.githubusercontent.com/hexparrot/8831fa43dcf12d3b0ab0/raw/cca4be3984d2e6428aadf7493ddc83caf24627bf/install_mineos-node
The problem is whenever I try to login using the webUI it doesn’t work, like i’m using the wrong password.
Steps I made:
useradd username
passwd username
(set password twice)
The logs doesnt write something useful:
mineos.log
[root@vps ~]# cat /var/log/mineos.log
{“level”:“info”,“message”:“Starting up server, using commit: 3a63e00 updated various npm module versions\n”,“timestamp”:“2017-05-23T22:35:46.655Z”}
{“level”:“info”,“message”:“Starting up server, using commit: 3a63e00 updated various npm module versions\n”,“timestamp”:“2017-05-23T22:37:35.320Z”}
{“level”:“info”,“message”:“Starting up server, using commit: 3a63e00 updated various npm module versions\n”,“timestamp”:“2017-05-23T22:41:06.819Z”}
{“level”:“info”,“message”:“Starting up server, using commit: 3a63e00 updated various npm module versions\n”,“timestamp”:“2017-05-23T22:43:34.595Z”}
Mineos.auth.log
[root@vps ~]# cat /var/log/mineos.auth.log
Wed May 24 2017 00:41:23 GMT+0200 (CEST) - failure from: myip user: custom
Wed May 24 2017 00:41:52 GMT+0200 (CEST) - failure from: myip user: minecraft
Wed May 24 2017 00:43:44 GMT+0200 (CEST) - failure from: myip user: minecraft
Obviously I can login with that user in SSH:
[minecraft@vps ~]$ whoami
minecraft
[minecraft@vps ~]$
[custom@vps ~]$ whoami
custom
[custom@vps ~]$
I tried to reset the webUI but it still doesn’t work.
The I modified the file webui.js:
.fail(function (err) { console.log('Unsuccessful login attempt for username:', username, password); <--HERE var logstring = new Date().toString() + ' - failure from: ' + req.connection.remoteAddress + ' user: ' + username + '\n'; fs.appendFileSync('/var/log/mineos.auth.log', logstring); done(null); });
to print the password, and it looks like the password i’m using is right. (run it using the ./webui.js command)
Do you have any suggestions?
Thanks a lot.